Commit Graph

11 Commits

Author SHA1 Message Date
Adam Kelly
5c5d27203a Support for all co_* that can implemented currently. 2019-02-09 12:22:51 +00:00
Adam Kelly
769b889097 Source path should always be set, make it non-optional for code object. 2019-02-09 12:22:51 +00:00
Adam Kelly
8116dae65f Add some co_* methods to code objects. 2019-02-09 12:15:16 +00:00
Adam Kelly
7b2508a730 Start adding methods to code object. 2019-02-09 12:15:16 +00:00
Windel Bouwman
baa59ec2fc Merge branch 'master' into fix_useless_format 2019-02-06 10:50:07 +01: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
ZapAnton
57e2beef3a Fixed the 'useless_format' clippy warning
This replaces all the occurrences of the format!(<&str>) with the <&str>.to_string()

Relevant clippy warning: https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
2019-02-05 20:48:50 +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
Windel Bouwman
99af466a88 Move max function test cases to snippet dir. Implement key and default argument on max function. 2018-11-07 17:26:18 +01:00
Windel Bouwman
4acea45f78 Add code and frame python objects. 2018-11-07 15:24:18 +01:00