- 30 May, 2014 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 29 May, 2014 1 commit
-
-
Damien George authored
Needs proper coverage testing. Doesn't implement -ve & -ve. Addresses issue #611.
-
- 25 May, 2014 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 24 May, 2014 2 commits
-
-
Paul Sokolovsky authored
This means that complete slice operations are supported for lists (but not for bytearray's and array.array's).
-
Paul Sokolovsky authored
-
- 21 May, 2014 2 commits
-
-
Paul Sokolovsky authored
Caveat is that __new__ should recurse to base class __new__, and ultimately, object.__new__ is what handles instance allocation.
-
Paul Sokolovsky authored
Also, define object.__init__() (semantically empty, purely CPython compat measure). Addresses #520.
-
- 19 May, 2014 1 commit
-
-
Paul Sokolovsky authored
Now case of subclassing tuple works, and list is broken, see comments.
-
- 15 May, 2014 3 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This time, in mp_seq_cmp_bytes(). How many more cases are still lurking?
-
- 13 May, 2014 2 commits
-
-
Paul Sokolovsky authored
sep=None is TODO.
-
Paul Sokolovsky authored
-
- 12 May, 2014 2 commits
-
-
Damien George authored
Addresses issue #610.
-
Paul Sokolovsky authored
Infra for counts of other types is there, need last mile to be implemented.
-
- 11 May, 2014 14 commits
-
-
Antonin ENFRUN authored
On Mac OS "python3 test/basics/memoryerror.py" never runs out of memory, the process is frozen by the os before.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
-
Paul Sokolovsky authored
This is not fully correct re: error handling, because we should check that that types are used consistently (only str's or only bytes), but magically makes lot of functions support bytes.
-
stijn authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Two things are handled here: allow to compare native subtypes of tuple, e.g. namedtuple (TODO: should compare type too, currently compared duck-typedly by content). Secondly, allow user sunclasses of tuples (and its subtypes) be compared either. "Magic" I did previously in objtype.c covers only one argument (lhs is many), so we're in trouble when lhs is native type - there's no other option besides handling rhs in special manner. Fortunately, this patch outlines approach with fast path for native types.
-
Paul Sokolovsky authored
This was hit when trying to make urlparse.py from stdlib run. Took quite some time to debug. TODO: Reconsile bound method creation process better, maybe callable is to generic type to bind at all?
-
Paul Sokolovsky authored
-
- 10 May, 2014 9 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Slice value to assign can be only a list so far too.
-
Paul Sokolovsky authored
Includes support for native bases.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
MicrpPython test should print single "SKIP" line for test to be skipped.
-
Paul Sokolovsky authored
"object" type in MicroPython currently doesn't implement any methods, and hopefully, we'll try to stay like that for as long as possible. Even if we have to add something eventually, look up from there might be handled in adhoc manner, as last resort (that's not compliant with Python3 MRO, but we're already non-compliant). Hence: 1) no need to spend type trying to lookup anything in object; 2) no need to allocate subobject when explicitly inheriting from object; 3) and having multiple bases inheriting from object is not a case of incompatible multiple inheritance.
-
Damien George authored
Addresses issue #592.
-