]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
lib2to3.pgen3.driver.load_grammar() now creates a stable cache file
authorGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>
Thu, 8 Sep 2016 01:04:37 +0000 (01:04 +0000)
committerGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>
Thu, 8 Sep 2016 01:04:37 +0000 (01:04 +0000)
commit280bc223b4b5df841da20faafd1b63cde2694acd
tree95b271c2eed151c5c70d0eb7112e068e3f7db9fc
parent039f1846543c18810a65bfd0e52c0cdcd46cad08
lib2to3.pgen3.driver.load_grammar() now creates a stable cache file
between runs given the same Grammar.txt input regardless of the hash
randomization setting.

Backport of 186bb8dc5540 from 3.5.  Done in 2.7 per the lib2to3 exemption.
Lib/lib2to3/pgen2/driver.py
Lib/lib2to3/pgen2/grammar.py
Lib/lib2to3/pgen2/pgen.py
Lib/lib2to3/tests/support.py
Lib/lib2to3/tests/test_parser.py
Misc/NEWS