Commit Graph

15 Commits

Author SHA1 Message Date
coolreader18
c78c95f03a Add CPython library modules needed for unittest 2019-06-26 11:39:10 -05:00
coolreader18
cc76bf7a1f Add weakproxy class 2019-04-14 20:09:43 -05:00
Adam Kelly
9ed051e3b7 Module Initialisation takes VirtualMachine rather than PyContext. 2019-04-05 09:50:31 +01:00
Joey Hain
2449c12bf9 Merge remote-tracking branch 'origin/master' into make_module_not_mk_module
Conflicts:
      vm/src/stdlib/weakref.rs
2019-03-10 20:43:11 -07:00
ben
7c5be7d6b7 Add proper weakref type 2019-03-11 07:49:12 +13:00
Adam Kelly
0ff5155af9 Rename mk_module to make_module. 2019-03-10 17:10:51 +00:00
Windel Bouwman
6ba5b091e9 Use py_module at more places. 2019-03-09 12:38:14 +01:00
Joey Hain
f10fa6db44 Remove outer RefCell from PyObjectRef 2019-02-25 21:01:37 -08:00
Joey
eec76ef8e8 Don't require objtype import to use arg_check! macro 2019-02-21 08:38:02 -08:00
Joey
df76ffe116 Replace most relative imports with 2018-style crate 2019-02-20 08:50:53 -08:00
ZapAnton
fb9fa27555 Fixed the 'redundant_field_names' clippy warnings
This replaces all the occurrences of the Struct {field : field}
with the Struct {field}.

Relevant clippy warning: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
2019-02-05 21:56:16 +03:00
Windel Bouwman
892493e464 Rename PyObjectKind into PyObjectPayload 2019-01-30 18:06:27 +01:00
coolreader18
5ecff1b37e Remove unnecessary to_string conversions 2019-01-27 21:45:21 -06:00
Windel Bouwman
0215830aaa Move set_attr and set_item to context. 2018-12-12 19:41:09 +01:00
Windel Bouwman
5ffb20b26e Add builtin oct function. Add weakref.ref class. 2018-11-04 12:07:53 +01:00