This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author drukker
Recipients benjamin.peterson, drukker, mark.dickinson
Date 2009-09-24.08:39:04
SpamBayes Score 1.7463512e-09
Marked as misclassified No
Message-id <1253781546.26.0.432227523486.issue6982@psf.upfronthosting.co.za>
In-reply-to
Content
These .pickle files aren't created by the tests themselves, but they do
show up after running 'make test', or more specifically after running
'./python Lib/test/regrtest.py -v test_lib2to3'.

This is because a grammar generated from a .txt grammar file is cached
as a pickle for faster access by load_grammar in
Lib/lib2to3/pgen2/driver.py. A pickle file then ends up in the same
directory as the .txt file.

IMHO, though it may be preferable to remove just the pickle files in
Lib/lib2to3, it should never be required for tests to have pickle files
already available in the source tree. Instead, the test should create a
temporary pickle file, e.g. from a bytes object. Furthermore, binary
files shouldn't be versioned without good reason. Thus, removing all
pickle files should be safe for the future.
History
Date User Action Args
2009-09-24 08:39:06drukkersetrecipients: + drukker, mark.dickinson, benjamin.peterson
2009-09-24 08:39:06drukkersetmessageid: <1253781546.26.0.432227523486.issue6982@psf.upfronthosting.co.za>
2009-09-24 08:39:05drukkerlinkissue6982 messages
2009-09-24 08:39:04drukkercreate