[Python-checkins] [python/cpython] a6e395: bpo-29869: Allow underscores in numeric literals i...

GitHub noreply at github.com
Thu Apr 13 13:32:55 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: a6e395dffadf8c5124903c01ad69fefa36b1a935
      https://github.com/python/cpython/commit/a6e395dffadf8c5124903c01ad69fefa36b1a935
  Author: Nevada Sanchez <me at nevadasanchez.com>
  Date:   2017-04-13 (Thu, 13 Apr 2017)

  Changed paths:
    M Lib/lib2to3/pgen2/tokenize.py
    M Lib/lib2to3/tests/data/py3_test_grammar.py

  Log Message:
  -----------
  bpo-29869: Allow underscores in numeric literals in lib2to3. (GH-1119)

* 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.




More information about the Python-checkins mailing list