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 berker.peksag
Recipients berker.peksag, brett.cannon, ethan.furman, jtf621, r.david.murray, serhiy.storchaka, steve.dower
Date 2017-02-26.17:05:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488128702.68.0.806213899459.issue28231@psf.upfronthosting.co.za>
In-reply-to
Content
PR 322 should make the example in msg284754 work:

>>> import pathlib, zipfile
>>> f = pathlib.Path('spam.zip')
>>> with zipfile.ZipFile(f) as zf:
...   zf.namelist()
... 
['LICENSE']

It doesn't implement full PathLike support, but it at least covers the use cases of Jeremy and Steve.
History
Date User Action Args
2017-02-26 17:05:02berker.peksagsetrecipients: + berker.peksag, brett.cannon, r.david.murray, ethan.furman, serhiy.storchaka, steve.dower, jtf621
2017-02-26 17:05:02berker.peksagsetmessageid: <1488128702.68.0.806213899459.issue28231@psf.upfronthosting.co.za>
2017-02-26 17:05:02berker.peksaglinkissue28231 messages
2017-02-26 17:05:02berker.peksagcreate