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 Christian.Tismer
Recipients Christian.Tismer, georg.brandl, serhiy.storchaka
Date 2013-10-18.17:24:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382117095.34.0.95918282523.issue19274@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, I understand:

The case that does not compile comes from the toplevel "test" folder,
which I could have excluded explicitly.

But it is not a complete solution:
If I want to add every package from the standard lib, then I necessarily
encounter enclosed test folders, for instance:

    Lib/unittest

contains

    Lib/unittest/test

Your hint to just not call writepy() on directories which contain files
which shouldn't be zipped means that I cannot use writepy at all,
because many library packages contain tests.
But that is the only purpose of class PyZipFile, therefore the patch.
History
Date User Action Args
2013-10-18 17:24:55Christian.Tismersetrecipients: + Christian.Tismer, georg.brandl, serhiy.storchaka
2013-10-18 17:24:55Christian.Tismersetmessageid: <1382117095.34.0.95918282523.issue19274@psf.upfronthosting.co.za>
2013-10-18 17:24:55Christian.Tismerlinkissue19274 messages
2013-10-18 17:24:54Christian.Tismercreate