]>
Commit | Line | Data |
---|---|---|
1 | A subset of lib2to3 taken from Python 3.7.0b2. Commit hash: | |
2 | 9c17e3a1987004b8bcfbe423953aad84493a7984 | |
3 | ||
4 | Reasons for forking: | |
5 | ||
6 | - consistent handling of f-strings for users of Python < 3.6.2 | |
7 | - backport of BPO-33064 that fixes parsing files with trailing commas after \*args and | |
8 | \*\*kwargs | |
9 | - backport of GH-6143 that restores the ability to reformat legacy usage of `async` | |
10 | - support all types of string literals | |
11 | - better ability to debug (better reprs) | |
12 | - INDENT and DEDENT don't hold whitespace and comment prefixes | |
13 | - ability to Cythonize | |
14 | ||
15 | Change Log: | |
16 | ||
17 | - Changes default logger used by Driver | |
18 | - Backported the following upstream parser changes: | |
19 | - "bpo-42381: Allow walrus in set literals and set comprehensions (GH-23332)" | |
20 | https://github.com/python/cpython/commit/cae60187cf7a7b26281d012e1952fafe4e2e97e9 | |
21 | - "bpo-42316: Allow unparenthesized walrus operator in indexes (GH-23317)" | |
22 | https://github.com/python/cpython/commit/b0aba1fcdc3da952698d99aec2334faa79a8b68c | |
23 | - Tweaks to help mypyc compile faster code (including inlining type information, | |
24 | "Final-ing", etc.) |