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
Date 2013-10-18.15:04:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382108697.81.0.736980900554.issue19274@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Georg,
So do you think it is ok this way?
I was not sure if extending the function with an optional
arg is ok, or if a method to configure PyZipFile would be better.
At the moment I just needed the simple functionality.
Should it maybe get a regex like compileall.py ?

And a general question:
What is the right constraint for a filter function?
As I wrote it, returning nothing would simply be treated as "False".
Maybe it is better to enforce a return value which explicitly forbids
to be just None, which often just means "I forgot the return value" ?

About feature or fix: Well, I need this for python2.7, because without
it, the whole purpose of PyZipFile is pretty questionable. I might argue
it a fix, because it crashes on the standard library ;-)

Anyway, tell me and I'l add test, docs and put it into dev.

cheers - chris
History
Date User Action Args
2013-10-18 15:04:57Christian.Tismersetrecipients: + Christian.Tismer, georg.brandl
2013-10-18 15:04:57Christian.Tismersetmessageid: <1382108697.81.0.736980900554.issue19274@psf.upfronthosting.co.za>
2013-10-18 15:04:57Christian.Tismerlinkissue19274 messages
2013-10-18 15:04:57Christian.Tismercreate