Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | tests: Add testcases for "complicated" args to generator functions. | Paul Sokolovsky | 2014-06-11 |
| | |||
* | py: Implement __contains__ special method. | Damien George | 2014-06-10 |
| | |||
* | objtype: Fix passing of class param to inherited classmethods. | Paul Sokolovsky | 2014-06-08 |
| | | | | This is getting more and more tangled, but that's old news. | ||
* | tests: Run 'micropython' tests on pyboard. | Damien George | 2014-06-08 |
| | |||
* | tests: Add more tests for default keyword-only args. | Damien George | 2014-06-08 |
| | |||
* | tests: Fix default arg test. | Damien George | 2014-06-08 |
| | |||
* | py: Make sure getattr() works with non-interned strings (by interning them). | Paul Sokolovsky | 2014-06-08 |
| | |||
* | py: Implement default keyword only args. | Damien George | 2014-06-07 |
| | | | | Should finish addressing issue #524. | ||
* | Merge pull request #667 from Rosuav/testfixes | Paul Sokolovsky | 2014-06-06 |
|\ | | | | | A couple of small fixes to run-tests | ||
| * | Turn the Travis CI test skipping mechanism into something more generic | Chris Angelico | 2014-06-06 |
| | | |||
| * | Figure out the test_name before using it (significant only to Travis skips) | Chris Angelico | 2014-06-06 |
| | | |||
* | | Fix str.modulo when precision is specified. | Dave Hylands | 2014-06-05 |
|/ | |||
* | py: Raise TypeError when trying to format non-int with %x,%o,%X. | Damien George | 2014-06-05 |
| | | | | | This behaviour follows Python 3.5 standard (in 3.4 it's a DeprecationWarning which we'd rather make a TypeError). | ||
* | Change comments (mainly URLs) to no longer specifically say Python 3.3 | Chris Angelico | 2014-06-06 |
| | |||
* | Merge pull request #663 from Rosuav/floatpercentx | Damien George | 2014-06-05 |
|\ | | | | | Remove tests that fail under CPython 3.5 | ||
| * | Remove tests that fail under CPython 3.5 | Chris Angelico | 2014-06-05 |
| | | | | | | | | | | | | | | See http://bugs.python.org/issue19995 for rationale. As micropython currently aims for Python 3.3 compatibility I have not changed behaviour, but this change allows the test suite to be run against a newer Python without having spurious failures. | ||
* | | objstr: Implement "%(key)s" % {} formatting for strings and dicts. | Paul Sokolovsky | 2014-06-05 |
|/ | | | | | Also, make sure that args to "*" format specifiers are bounds-checked properly and don't lead for segfaults in case of mismatch. | ||
* | py: Implement full behaviour of dict.update(), and dict(). | Damien George | 2014-06-03 |
| | | | | | | | | | | | | | Add keyword args to dict.update(), and ability to take a dictionary as argument. dict() class constructor can now use dict.update() directly. This patch loses fast path for dict(other_dict), but is that really needed? Any anyway, this idiom will now re-hash the dictionary, so is arguably more memory efficient. Addresses issue #647. | ||
* | tests: Add feature test for when heap allocation is disabled. | Damien George | 2014-05-31 |
| | |||
* | tests: Change --test_dirs to --test-dirs. | Damien George | 2014-05-31 |
| | |||
* | Merge pull request #632 from stinos/tests-dir-argument | Damien George | 2014-05-31 |
|\ | | | | | tests: Add argument to allow specifying which directories to test | ||
| * | tests: Add argument to allow specifying which directories to test | stijn | 2014-05-28 |
| | | |||
* | | py: Fix stack underflow with optimised for loop. | Damien George | 2014-05-31 |
| | | |||
* | | tests: Add another test for break-from-for-loop. | Damien George | 2014-05-31 |
| | | |||
* | | add methods isspace(), isalpha(), isdigit(), isupper() and islower() to str | Kim Bauters | 2014-05-31 |
| | | |||
* | | tests: Add test for break in for. | Paul Sokolovsky | 2014-05-31 |
| | | | | | | | | For #635 / 25c84643b6c4da169cdb11de54f027e3c477c301. | ||
* | | objstr: *strip(): If nothing is stripped, don't create dup string. | Paul Sokolovsky | 2014-05-30 |
| | | |||
* | | objstr: *strip(): Fix handling of one-char subject strings. | Paul Sokolovsky | 2014-05-30 |
| | | |||
* | | py: Implement bignum '&' with negatives on lhs and rhs. | Damien George | 2014-05-29 |
|/ | | | | | Needs proper coverage testing. Doesn't implement -ve & -ve. Addresses issue #611. | ||
* | tests: Add small testcase for 3-arg slices. | Paul Sokolovsky | 2014-05-26 |
| | |||
* | objlist: Implement support for arbitrary (3-arg) slices. | Paul Sokolovsky | 2014-05-25 |
| | |||
* | objlist: Implement growing slice assignment. | Paul Sokolovsky | 2014-05-25 |
| | | | | | This means that complete slice operations are supported for lists (but not for bytearray's and array.array's). | ||
* | objstr: Implement .endswith(). | Paul Sokolovsky | 2014-05-24 |
| | |||
* | py: Initial attempts to actually allow implementing __new__ in Python. | Paul Sokolovsky | 2014-05-22 |
| | | | | | Caveat is that __new__ should recurse to base class __new__, and ultimately, object.__new__ is what handles instance allocation. | ||
* | objtype: super: Fall back to "object" lookup as last resort. | Paul Sokolovsky | 2014-05-21 |
| | | | | | Also, define object.__init__() (semantically empty, purely CPython compat measure). Addresses #520. | ||
* | Merge pull request #607 from Anton-2/osx-clang | Damien George | 2014-05-21 |
|\ | | | | | Allow compilation of unix port under clang on OS X | ||
| * | tests: create result file for test/basics/memoryerror.py . | Antonin ENFRUN | 2014-05-12 |
| | | | | | | | | On Mac OS "python3 test/basics/memoryerror.py" never runs out of memory, the process is frozen by the os before. | ||
* | | tests: Update subclass-native2.py for __new__/__init__ refactor. | Paul Sokolovsky | 2014-05-19 |
| | | | | | | | | Now case of subclassing tuple works, and list is broken, see comments. | ||
* | | objstr: startswith(): Accept optional "start" arg. | Paul Sokolovsky | 2014-05-15 |
| | | |||
* | | py: Implement more complete bytes comparison handling. | Paul Sokolovsky | 2014-05-15 |
| | | |||
* | | sequence: Fix yet another case of improper sequence comparison. | Paul Sokolovsky | 2014-05-15 |
| | | | | | | | | This time, in mp_seq_cmp_bytes(). How many more cases are still lurking? | ||
* | | objstr.c: Partial implementation of .rsplit(). | Paul Sokolovsky | 2014-05-14 |
| | | | | | | | | sep=None is TODO. | ||
* | | tests/int-long.py: Try to expose issue with recent "&" optimization. | Paul Sokolovsky | 2014-05-13 |
| | | |||
* | | py: Fix bug in mpz_and function. | Damien George | 2014-05-12 |
| | | | | | | | | Addresses issue #610. | ||
* | | modstruct: Implement count specifier for strings (e.g. "100s"). | Paul Sokolovsky | 2014-05-12 |
|/ | | | | Infra for counts of other types is there, need last mile to be implemented. | ||
* | objstr: Slice indexing: support bytes properly. | Paul Sokolovsky | 2014-05-11 |
| | |||
* | objstr: Make .split() support bytes. | Paul Sokolovsky | 2014-05-11 |
| | |||
* | objstr: Make .join() support bytes. | Paul Sokolovsky | 2014-05-11 |
| | |||
* | py: Add basic implementation of hasattr() function. | Paul Sokolovsky | 2014-05-11 |
| | |||
* | py: frozenset() creates an empty frozenset. | Damien George | 2014-05-11 |
| |