| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-03-30 | tests: Format all Python code with black, except tests in basics subdir. | David Lechner | |
| This adds the Python files in the tests/ directory to be formatted with ./tools/codeformat.py. The basics/ subdirectory is excluded for now so we aren't changing too much at once. In a few places `# fmt: off`/`# fmt: on` was used where the code had special formatting for readability or where the test was actually testing the specific formatting. | |||
| 2018-11-26 | py/unicode: Fix check for valid utf8 being stricter about contn chars. | Damien George | |
| 2017-09-06 | py/objstr: Add check for valid UTF-8 when making a str from bytes. | tll | |
| This patch adds a function utf8_check() to check for a valid UTF-8 encoded string, and calls it when constructing a str from raw bytes. The feature is selectable at compile time via MICROPY_PY_BUILTINS_STR_UNICODE_CHECK and is enabled if unicode is enabled. It costs about 110 bytes on Thumb-2, 150 bytes on Xtensa and 170 bytes on x86-64. | |||
| 2016-10-17 | tests: Improve coverage of array, range, dict, slice, exc, unicode. | Damien George | |
| 2015-09-07 | tests: Move int+unicode test to unicode-specific test directory. | Damien George | |
| 2015-09-07 | py/lexer: Raise SyntaxError when unicode char point out of range. | Damien George | |
| 2015-04-04 | tests: Add missing tests for builtins, and many other things. | Damien George | |
| 2014-06-27 | tests: Add unicode test. | Chris Angelico | |
