Windel Bouwman
|
8eacbcbc06
|
Add builtins to sys.modules. Add __float__ method to int class.
|
2018-11-26 22:31:40 +01:00 |
|
Windel Bouwman
|
be462afaa4
|
Add method to list and tuple class.
|
2018-11-17 12:31:24 +01:00 |
|
Windel Bouwman
|
96c1c5a328
|
Use rusts internal hash algorithm.
|
2018-11-12 21:24:53 +01:00 |
|
Adam Kelly
|
84ef6e3053
|
Add Frame.f_code.
|
2018-11-11 18:12:30 +00:00 |
|
Adam Kelly
|
a1b7c61fcf
|
Implement sys._getframe() to the point where we can use it to get locals.
|
2018-11-11 17:54:30 +00: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 |
|
Windel Bouwman
|
3c4aaa0d3c
|
Merge pull request #188 from RustPython/sub
Implement __sub__/__rsub__.
|
2018-11-06 22:33:40 +01:00 |
|
Windel Bouwman
|
bacaef0ec5
|
Make example work for sub/rsub. Still work in progress.
|
2018-11-06 22:13:49 +01:00 |
|
Windel Bouwman
|
c69b43d13b
|
Add frozenset class, callable function and enumerate function.
|
2018-11-06 21:42:42 +01:00 |
|
Windel Bouwman
|
ce5bb72ed0
|
Minor delta on super class.
|
2018-11-05 20:46:32 +01:00 |
|
Windel Bouwman
|
e3000e2f25
|
Add super object type skeleton.
|
2018-11-04 23:10:02 +01:00 |
|
Adam Kelly
|
a2ce4c8045
|
Add special case handling for __get__(None, NoneType)
|
2018-11-04 20:58:21 +00:00 |
|
Adam Kelly
|
7bf8378a18
|
type.__getattribute__ should be bound to type!
|
2018-11-04 18:43:39 +00:00 |
|
Windel Bouwman
|
a389b55ec1
|
Initial version of property class.
|
2018-11-04 17:14:07 +01:00 |
|
Windel Bouwman
|
6746784db8
|
Add classmethod and staticmethod classes.
|
2018-11-04 13:27:50 +01:00 |
|
Windel Bouwman
|
8d598740d9
|
Add int __pos__ method
|
2018-11-04 09:34:54 +01:00 |
|
Adam Kelly
|
ff4e8da07e
|
Merge branch 'master' into newinit
|
2018-11-03 22:42:40 +00:00 |
|
Adam Kelly
|
ba8990ed17
|
Fix check that __init__ must return None.
|
2018-11-03 18:09:51 +00:00 |
|
Adam Kelly
|
e6f0618382
|
Unify/simplify code-paths around __new__/__init__.
|
2018-11-03 17:34:13 +00:00 |
|
Windel Bouwman
|
d72abebdd0
|
Unify object kinds tuple and list into sequence.
|
2018-11-03 12:26:31 +01:00 |
|
Windel Bouwman
|
b6a88cc3d5
|
Add test script for bytearray
|
2018-11-03 11:32:21 +01:00 |
|
Windel Bouwman
|
810ef7df1c
|
Add bytearray object
|
2018-11-03 11:09:15 +01:00 |
|
Windel Bouwman
|
a6f64eefee
|
Change int __pow__ to use bigint pow.
|
2018-11-03 10:30:17 +01:00 |
|
Windel Bouwman
|
081a33f41a
|
Merge pull request #185 from RustPython/prepare
Add support for __prepare__.
|
2018-11-03 10:25:59 +01:00 |
|
Adam Kelly
|
008c36466e
|
Add support for __prepare__.
|
2018-11-02 22:09:12 +00:00 |
|
Windel Bouwman
|
039b5bbbb7
|
Implement dict __setitem__
|
2018-11-02 22:04:18 +01:00 |
|
Windel Bouwman
|
9869ef7db5
|
Add delattr builtin method.
|
2018-11-02 21:01:24 +01:00 |
|
Windel Bouwman
|
b7a0b0f2f3
|
Removal of ToRust trait to prevent incorrect str representation
|
2018-11-02 20:27:05 +01:00 |
|
Adam Kelly
|
f587221401
|
Separate get_method (magic methods) and get_attribute (full attribute access).
|
2018-11-02 17:16:46 +00:00 |
|
Adam Kelly
|
5c7b0da2f1
|
Magic methods aren't looked up via getattribute.
|
2018-11-01 19:57:13 +00:00 |
|
Adam Kelly
|
3e07c19ec4
|
Implement object.__getattribute__.
|
2018-11-01 19:57:13 +00:00 |
|
Windel Bouwman
|
89cfdbe3dd
|
Use __setitem__ to store elements in list. Also refactor get_elements to return a reference to the elements, not a copy.
|
2018-10-31 23:18:26 +01:00 |
|
Windel Bouwman
|
bddaf3e77e
|
Implement while-else and for-else. Call __neg__ and __invert__ methods on unary operation.
|
2018-10-31 21:50:00 +01:00 |
|
Windel Bouwman
|
cb4d66bd48
|
Added bit length method on int type.
|
2018-10-30 22:08:10 +01:00 |
|
Windel Bouwman
|
f6cced5d65
|
Change integer type into bigint
|
2018-10-30 21:01:31 +01:00 |
|
Windel Bouwman
|
1e3b45ee0d
|
Add complex basic type
|
2018-10-29 21:55:58 +01:00 |
|
Windel Bouwman
|
7e1067168b
|
Add list.extend method
|
2018-10-28 20:16:24 +01:00 |
|
Windel Bouwman
|
abe6abadf3
|
Merge pull request #181 from BojanKogoj/bojan/objfloat-__ge__
Added __ge__ to float
|
2018-10-28 13:35:26 +01:00 |
|
Windel Bouwman
|
1974cbe691
|
Refactor frame to be able to handle errors more easily.
|
2018-10-28 11:51:29 +01:00 |
|
Bojan
|
59417ea451
|
Added __ge__ to float
|
2018-10-28 00:36:51 +02:00 |
|
Bojan
|
ec006ae6b9
|
Added __gt__ to float
|
2018-10-27 22:45:22 +02:00 |
|
Windel Bouwman
|
57dbfd16af
|
Merge pull request #177 from BojanKogoj/bojan/objfloat-__lt__
Added __lt__ for float
|
2018-10-27 22:23:06 +02:00 |
|
Bojan
|
6df02536c8
|
Removed unused line
|
2018-10-27 21:03:40 +02:00 |
|
Windel Bouwman
|
1d854a8fbb
|
Modify isinstance call signature to take reference to a python reference.
|
2018-10-27 17:58:54 +02:00 |
|
Windel Bouwman
|
af1f8f9f13
|
Merge branch 'master' of https://github.com/RustPython/RustPython
|
2018-10-27 17:05:44 +02:00 |
|
Windel Bouwman
|
a3a427c252
|
Add 'yield from' syntax
|
2018-10-27 17:05:22 +02:00 |
|
Bojan
|
3077d7b22c
|
Merge branch 'master' into bojan/objfloat-__lt__
|
2018-10-27 15:57:00 +02:00 |
|
Bojan
|
89e03d0436
|
Added __le__ for float
|
2018-10-27 15:13:03 +02:00 |
|
Bojan
|
4bb412a9ab
|
Added __lt__ for float
|
2018-10-27 13:14:35 +02:00 |
|