50 Commits (7ad84e0422a521fe97ce5d742df280c6b8a3ff87)

Author SHA1 Message Date
Jared Hancock b3cd41dd4b py/lexer: Allow conversion specifiers in f-strings (e.g. !r). 2 years ago
David Grayson a79a6ab364 py/builtinimport: Remove partially-loaded modules from sys.modules. 1 year ago
Damien George b1229efbd1 all: Fix spelling mistakes based on codespell check. 2 years ago
David Lechner 958f748e53 unix/moduos: Implement 2-arg version of os.getenv(). 2 years ago
Damien George 963e599ec0 tests/cpydiff: Fix formatting of code snippet to use double quotes. 2 years ago
Andrew Leech 1e87b56219 py/obj: Add support for __float__ and __complex__ functions. 2 years ago
David Lechner 783b1a868f py/runtime: Allow multiple *args in a function call. 5 years ago
Damien George ab2923dfa1 all: Update Python formatting to latest Black version 22.1.0. 3 years ago
Jim Mussared e99f7b6d25 tests/cpydiff: Clarify f-string diffs regarding concatenation. 3 years ago
Damien George 11ed94797d py/lexer: Support nested [] and {} characters within f-string params. 3 years ago
Jim Mussared 692d36d779 py: Implement partial PEP-498 (f-string) support. 3 years ago
David Lechner cd506d6220 tests/cpydiff/modules_struct_whitespace_in_format: Run black. 3 years ago
Tom McDermott c1f74b3005 docs/library: Warn that ustruct doesn't handle spaces in format strings. 5 years ago
Zoltán Vörös c4ed17ff34 tests/cpydiff: Add test for array constructor with overflowing value. 3 years ago
Macarthur Inbody 34d4dab683 extmod/modurandom: Add error message when getrandbits has bad value. 4 years ago
Damien George 47e6c52f0c tests/cpydiff: Add test and workaround for function.__module__ attr. 4 years ago
stijn 57365d8557 py/objarray: Prohibit comparison of mismatching types. 4 years ago
Damien George 3c4bfd1dec py/objexcept: Support errno attribute on OSError exceptions. 4 years ago
Damien George a3c89cf907 tests/cpydiff: Add CPy diff test for assignment expression behaviour. 4 years ago
Jim Mussared 309c19d39b tests/cpydiff: Add cpydiff test for __all__ used in imported package. 5 years ago
David Lechner 3dc324d3f1 tests: Format all Python code with black, except tests in basics subdir. 5 years ago
Damien George 69b415f745 tests: Move CPy diff test to real test now that subclass equality works. 5 years ago
David Lechner 74106757ac tests/cpydiff: Add os module environ differences. 5 years ago
Damien George 4d528bbaa8 tests/cpydiff: Add CPy diff-test for using dict.keys() as a set. 5 years ago
clach04 ffd11486d4 tests/cpydiff: Fix typo in types_bytes_keywords.py doc comments. 5 years ago
Paul Sokolovsky 8181ec04a4 tests/cpydiff: Add case for difference in behaviour of bytes.format(). 6 years ago
Damien George 2ada1124d4 tests/cpydiff: Remove types_int_tobytesfloat now that it doesn't fail. 7 years ago
Damien George 74ab341d3a tests/cpydiff: Remove working cases from types_float_rounding. 7 years ago
Damien George cd9d71edc8 tests/cpydiff: Remove types_str_decodeerror now that it succeeds. 7 years ago
Damien George 4b5111f8e1 tests/cpydiff: Remove core_function_unpacking now that it succeeds. 7 years ago
Damien George c926e72750 tests/cpydiff: Indent workaround code snippet so it formats correctly. 7 years ago
Damien George e4e3f0d727 tests/cpydiff: Update subclassing Exception case and give work-around. 7 years ago
Paul Sokolovsky 3c483842db tests/cpydiff: Fix markup where "`" (xref) was used instead of "``" (code). 7 years ago
Damien George 63f47104fe tests/cpydiff: Add difference-test for second arg of builtin next(). 7 years ago
Paul Sokolovsky 75163325ae tests/cpydiff: Add cases for locals() discrepancies. 7 years ago
Paul Sokolovsky ad3abcd324 tests/cpydiff: Add case for str.ljust/rjust. 7 years ago
Paul Sokolovsky 0c5369a1f0 tests/cpydiff/: Improve wording, add more workarounds. 7 years ago
Paul Sokolovsky 5f65ad8c96 tests/cpydiff/core_class_supermultiple: Same cause as core_class_mro. 7 years ago
Paul Sokolovsky c5efb8159f tests/cpydiff/core_arguments: Move under Functions subsection. 7 years ago
Paul Sokolovsky b2979023ac tests/cpydiff/core_class_mro: Move under Classes, add workaround. 7 years ago
Paul Sokolovsky ed52955c6b tests/cpydiff/modules_deque: Elaborate workaround. 7 years ago
Damien George 084824f866 tests: Move super-as-local test from cpydiff to basic tests. 8 years ago
Paul Sokolovsky 12ea06567c tests/cpydiff/core_function_unpacking: Fill in workaround. 8 years ago
Paul Sokolovsky 92657c671f tests/cpydiff/core_import_split_ns_pkgs: Test for split namespace packages. 8 years ago
Paul Sokolovsky 3923f96dc6 tests/cpydiff/core_import_path: Test showing difference in package.__path__. 8 years ago
Paul Sokolovsky c1b19115e5 tests/cpydiff/core_import_prereg: Fill in cause and workaround. 8 years ago
Paul Sokolovsky 8bb84cc627 tests/cpydiff/core_function_userattr: Clarify, fill in cause and workaround. 8 years ago
Paul Sokolovsky 58ecbc7752 tests/cpydiff/core_arguments: Fill in cause/workaround. 8 years ago
Damien George 465a604547 tests/cpydiff: Add a test for storing iterable to a list slice. 8 years ago
Rami Ali 86c7507233 tests/cpydiff: Add initial set of tests for uPy-CPython differences. 8 years ago