382 Commits (244476e3e66478f2e5d54ca92e10f9881747bd4f)

Author SHA1 Message Date
Damien George 9b7a8ee8f1 py: Fix mult by negative number of tuple, list, str, bytes. 10 years ago
Damien George bb91f1195a py: Improve range: add len, subscr, proper print. 10 years ago
Damien George 4c03b3a899 py: Implement builtin reversed() function. 10 years ago
Paul Sokolovsky 9749b2fb0d objstr: Make sure that bytes are indexed as bytes, not as unicode. 10 years ago
Paul Sokolovsky 5f930337bc objarray: Implement equality testing between arrays and other buffers. 10 years ago
Damien George 539681fffd tests: Rename test scripts, changing - to _ for consistency. 10 years ago
Damien George 0182385ab0 py: Automatically ake __new__ a staticmethod. 10 years ago
Paul Sokolovsky 7a2f166949 modstruct: Fix alignment handling issues. 11 years ago
Paul Sokolovsky 2ec38a17d4 objstr: Be 8-bit clean even for repr(). 11 years ago
Paul Sokolovsky f4bf065dac tests: Add testcases for "complicated" args to generator functions. 11 years ago
Damien George 58cbb4d661 py: Implement __contains__ special method. 11 years ago
Paul Sokolovsky 195de3247b objtype: Fix passing of class param to inherited classmethods. 11 years ago
Damien George 9e951498b2 tests: Add more tests for default keyword-only args. 11 years ago
Damien George c06427c019 tests: Fix default arg test. 11 years ago
Paul Sokolovsky b4efac14cd py: Make sure getattr() works with non-interned strings (by interning them). 11 years ago
Damien George f0778a7ccb py: Implement default keyword only args. 11 years ago
Dave Hylands b69f9fa31f Fix str.modulo when precision is specified. 11 years ago
Chris Angelico daf973ae00 Change comments (mainly URLs) to no longer specifically say Python 3.3 11 years ago
Paul Sokolovsky 75ce9256b2 objstr: Implement "%(key)s" % {} formatting for strings and dicts. 11 years ago
Damien George bcb6ca4d5e py: Implement full behaviour of dict.update(), and dict(). 11 years ago
Damien George 5b5562c1d1 py: Fix stack underflow with optimised for loop. 11 years ago
Damien George 049a01d148 tests: Add another test for break-from-for-loop. 11 years ago
Kim Bauters a3f4b83018 add methods isspace(), isalpha(), isdigit(), isupper() and islower() to str 11 years ago
Paul Sokolovsky ccd0e0afcd tests: Add test for break in for. 11 years ago
Paul Sokolovsky 8827682b35 objstr: *strip(): If nothing is stripped, don't create dup string. 11 years ago
Paul Sokolovsky bcdffe53c6 objstr: *strip(): Fix handling of one-char subject strings. 11 years ago
Damien George f55cf10101 py: Implement bignum '&' with negatives on lhs and rhs. 11 years ago
Paul Sokolovsky d07bf029b7 tests: Add small testcase for 3-arg slices. 11 years ago
Paul Sokolovsky 5fd5af98d0 objlist: Implement support for arbitrary (3-arg) slices. 11 years ago
Paul Sokolovsky 2705f4c782 objlist: Implement growing slice assignment. 11 years ago
Paul Sokolovsky d098c6bf85 objstr: Implement .endswith(). 11 years ago
Paul Sokolovsky 806ea1f6ca py: Initial attempts to actually allow implementing __new__ in Python. 11 years ago
Paul Sokolovsky a8408a8abe objtype: super: Fall back to "object" lookup as last resort. 11 years ago
Paul Sokolovsky 66ab571cca tests: Update subclass-native2.py for __new__/__init__ refactor. 11 years ago
Paul Sokolovsky c18ef2a9dd objstr: startswith(): Accept optional "start" arg. 11 years ago
Paul Sokolovsky 70328e419a py: Implement more complete bytes comparison handling. 11 years ago
Paul Sokolovsky ad3baec12f sequence: Fix yet another case of improper sequence comparison. 11 years ago
Paul Sokolovsky 2a27365854 objstr.c: Partial implementation of .rsplit(). 11 years ago
Paul Sokolovsky 7074f25768 tests/int-long.py: Try to expose issue with recent "&" optimization. 11 years ago
Damien George 561e425903 py: Fix bug in mpz_and function. 11 years ago
Paul Sokolovsky df94b717b4 modstruct: Implement count specifier for strings (e.g. "100s"). 11 years ago
Antonin ENFRUN 1b901c320b tests: create result file for test/basics/memoryerror.py . 11 years ago
Paul Sokolovsky 5ebd5f0f19 objstr: Slice indexing: support bytes properly. 11 years ago
Paul Sokolovsky bfb8819c0c objstr: Make .split() support bytes. 11 years ago
Paul Sokolovsky 5e5d69b35e objstr: Make .join() support bytes. 11 years ago
Paul Sokolovsky ff30666c69 py: Add basic implementation of hasattr() function. 11 years ago
Damien George 1d34e32431 py: frozenset() creates an empty frozenset. 11 years ago
Paul Sokolovsky eea0118654 py: Give up and make mp_obj_str_get_data() deal with bytes too. 11 years ago
Paul Sokolovsky b2d4fc06fc objstr: Make *strip() accept bytes. 11 years ago
Paul Sokolovsky ce6c10172b tests: Really fix import. 11 years ago