diff options
| author | Albert-Jan Nijburg <albertjan@trinket.io> | 2017-05-31 15:00:21 +0100 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2017-05-31 16:00:21 +0200 |
| commit | fc354f07855a9197e71f851ad930cbf5652f9160 (patch) | |
| tree | 5c7c6ad2a4de72993d916c321156572d4fa4635d /Misc/NEWS | |
| parent | 85aba238e49abd2d5a604102981d28a50f305443 (diff) | |
| download | cpython-git-fc354f07855a9197e71f851ad930cbf5652f9160.tar.gz | |
bpo-25324: copy tok_name before changing it (#1608)
* add test to check if were modifying token
* copy list so import tokenize doesnt have side effects on token
* shorten line
* add tokenize tokens to token.h to get them to show up in token
* move ERRORTOKEN back to its previous location, and fix nitpick
* copy comments from token.h automatically
* fix whitespace and make more pythonic
* change to fix comments from @haypo
* update token.rst and Misc/NEWS
* change wording
* some more wording changes
Diffstat (limited to 'Misc/NEWS')
| -rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -10,6 +10,10 @@ What's New in Python 3.7.0 alpha 1? Core and Builtins ----------------- +- bpo-25324: Tokens needed for parsing in Python moved to C. ``COMMENT``, + ``NL`` and ``ENCODING``. This way the tokens and tok_names in the token + module don't get changed when you import the tokenize module. + - bpo-29104: Fixed parsing backslashes in f-strings. - bpo-27945: Fixed various segfaults with dict when input collections are |
