Commit Graph

18 Commits

Author SHA1 Message Date
Noah
1eae2c8a12 Replace bufferish-types.borrow_value() with direct getters 2021-05-20 10:29:48 -05:00
Noah
99104faaf7 Re-export pyobject::* from the root of the crate 2021-05-20 10:24:07 -05:00
Noah
2246f8b6f0 marshal can give better error messages on eof 2020-12-19 15:00:47 -06:00
Noah
b30ca99a09 Implement string interning 2020-11-08 21:35:04 -06:00
Noah
5176864aa9 Update rustpython_vm to differentiate between bytecode::CodeObject and builtins::code::CodeObject 2020-10-19 23:55:55 -05:00
Jeong YunWon
9e6dfca9e9 Fix build with new builtins path 2020-10-11 21:16:16 +09:00
Jeong YunWon
b0445396f4 compactize invoke args 2020-10-11 09:38:06 +09:00
Kangzhi Shi
cf3572385c Fix more to pass unittest 2020-10-10 17:00:57 +09:00
Kangzhi Shi
499d99794c Implement Buffer Protocol 2020-10-10 16:57:19 +09:00
Noah
1af10cc96e Add marshal.{load,dump} 2020-10-07 19:28:19 -05:00
Jeong YunWon
dcf80e606d pymodule marshal 2020-08-11 01:13:47 +09:00
Jeong YunWon
3f6ebd3385 Use From::from for PyValues instead of new 2020-08-06 20:18:56 +09:00
Jeong YunWon
6ddb690e09 Remove _vm parameter when it is not required 2020-02-06 11:07:51 +09:00
Jeong YunWon
70b63eb758 new_rustfunc -> new_function & new_method to distinguish bindable functions 2020-01-12 18:39:16 +09:00
Windel Bouwman
64ab147f64 Compress bytecode using LZ4 2019-10-07 20:54:22 +02:00
coolreader18
02f5bccf40 Add error for marshal_loads 2019-08-15 15:52:29 -05:00
Daniel Shaulov
bd89c4e32b Reformat with rustfmt 2019-05-27 22:19:07 +03:00
Daniel Shaulov
b2f17a18ea Add support for marshal with loads and dumps 2019-05-27 22:09:47 +03:00