[Python-checkins] [python/cpython] 2cdf08: [3.6] bpo-29869: Allow underscores in numeric lite...

GitHub noreply at github.com
Thu Apr 13 19:54:50 EDT 2017


 Branch: refs/heads/3.6
 Home: https://github.com/python/cpython
 Commit: 2cdf087d1fd48f7d0f95b5a0b31b9a624fa84751
 https://github.com/python/cpython/commit/2cdf087d1fd48f7d0f95b5a0b31b9a624fa84751
 Author: Mariatta <Mariatta at users.noreply.github.com>
 Date: 2017年04月13日 (2017年4月13日)
 Changed paths:
 M Lib/lib2to3/pgen2/tokenize.py
 M Lib/lib2to3/tests/data/py3_test_grammar.py
 Log Message:
 -----------
 [3.6] bpo-29869: Allow underscores in numeric literals in lib2to3. (GH-1119) (GH-1122)
* Allow underscores in numeric literals in lib2to3.
* Stricter literal parsing for Python 3.6 in lib2to3.pgen2.tokenize.
* Add test case for underscores in literals in Python 3.
(cherry picked from commit a6e395dffadf8c5124903c01ad69fefa36b1a935)


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /