Message288602
| 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. |
|