Commit Graph

8 Commits

Author SHA1 Message Date
Windel Bouwman
07fd61f55f Change instance and class to simplified dict type. (#379)
* Change instance and class to simplified dict type.

* Fix formatting.
2019-02-08 14:18:14 +00:00
Adam Kelly
a83fd7c1af Add __code__ to functions. 2019-02-06 16:01:07 +00:00
ZapAnton
0d3b218237 Fixed the 'toplevel_ref_arg' clippy warning
This replaces all the occurrences of the
'let ref var = another_var' with the
'let var = &another_var'

Relevant clippy warning: https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg
2019-02-05 21:45:56 +03:00
Windel Bouwman
892493e464 Rename PyObjectKind into PyObjectPayload 2019-01-30 18:06:27 +01:00
Windel Bouwman
4095e0cad7 Modify location of set_attr so that we are able to create str python objects for the dictionary. 2018-12-12 22:06:19 +01:00
Adam Kelly
a2ce4c8045 Add special case handling for __get__(None, NoneType) 2018-11-04 20:58:21 +00:00
Windel Bouwman
6746784db8 Add classmethod and staticmethod classes. 2018-11-04 13:27:50 +01:00
Windel Bouwman
40cf7f4579 Move more objects to obj folder 2018-09-01 10:00:55 +02:00