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 larry
Recipients larry
Date 2014-05-18.06:45:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400395560.62.0.305002510991.issue21520@psf.upfronthosting.co.za>
In-reply-to
Content
If you extract current Python (3.4 or trunk) into a directory, and anywhere in the name of the directory is the string "bad", such as

/tmp/badtest
/home/baddison/src/python

then test_write_filtered_python_package() in Lib/test/test_zipfile.py will fail.  The reason is, the third subtest uses a "filterfunc" to ignore certain files, and its test to ignore files is effectively

   "bad" in fn

("fn" is an ill-conceived abbreviation for "filename")

This is overbroad.  Changing it to

   "Lib/test/bad" in fn

prevents this error.

I'm creating this issue just to remind myself to fix it.  3.4.1 is tagged and I didn't want to re-cut the release, but I didn't feel like pushing it while 3.4.1 hadn't landed in trunk yet.
History
Date User Action Args
2014-05-18 06:46:00larrysetrecipients: + larry
2014-05-18 06:46:00larrysetmessageid: <1400395560.62.0.305002510991.issue21520@psf.upfronthosting.co.za>
2014-05-18 06:46:00larrylinkissue21520 messages
2014-05-18 06:45:59larrycreate