Windel Bouwman
|
c00d368448
|
Move classmethod and staticmethod to own files. Also use extend_class more.
|
2019-03-11 19:38:26 +01:00 |
|
Windel Bouwman
|
b8aa38db1a
|
Merge pull request #653 from RustPython/joey/pyobject-2.0-prep
Remove PyObjectPayload enum
|
2019-03-11 17:33:51 +01:00 |
|
ben
|
65c26a1f1b
|
Use new_attribute_error in more places
|
2019-03-11 17:38:19 +13:00 |
|
Joey Hain
|
5971fc3bd4
|
rename PyObjectPayload2 to PyValue
|
2019-03-10 13:48:51 -07:00 |
|
Adam Kelly
|
3fbf627582
|
Merge branch 'master' into scope_globals_locals
|
2019-03-10 13:00:03 +00:00 |
|
Adam
|
9e5b76c9b6
|
Merge pull request #635 from skinny121/property_refactor
Unify property like objects
|
2019-03-10 12:35:24 +00:00 |
|
Joey Hain
|
5a74121c76
|
method
|
2019-03-09 07:11:28 -08:00 |
|
Joey Hain
|
dd56d1d5a2
|
function
|
2019-03-09 07:09:53 -08:00 |
|
ben
|
0ec034df51
|
Change property.__new__ to use new style function and construct
PyProperty
|
2019-03-09 14:07:42 +13:00 |
|
ben
|
2edfe4c7be
|
Migrate usage of member_descriptor and data_descriptor to
new_property/PropertyBuilder
|
2019-03-09 13:00:54 +13:00 |
|
ben
|
f2f0f1d742
|
Remove debug statements
|
2019-03-08 06:03:13 +13:00 |
|
ben
|
9d03abf652
|
Move __class__ attribute to object to make it work in more situations
|
2019-03-07 20:47:31 +13: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 |
|
Adrian Wielgosik
|
21299ecf3d
|
Refactor arg_check macro
|
2019-02-13 21:05:23 +01:00 |
|
Tommaso Thea Cioni
|
7e1589d811
|
Minor fix.
|
2019-02-11 13:38:53 +01:00 |
|
Tommaso Thea Cioni
|
c04f4219eb
|
Removed the __code__ attribute from the builtin_function_or_method type.
|
2019-02-11 13:35:59 +01:00 |
|
Tommaso Thea Cioni
|
8ac3c46de1
|
Fix RustPython#390. Now Rust functions have a builtin_function_or_method type, Python functions retain the function type.
|
2019-02-11 02:50:51 +01:00 |
|
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 |
|