Message285184
| Author |
jtf621 |
| Recipients |
berker.peksag, brett.cannon, ethan.furman, jtf621, r.david.murray, serhiy.storchaka |
| Date |
2017年01月11日.03:45:25 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1484106325.45.0.252448868836.issue28231@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I have reviewed the code and docs for the public API that should take a pathlib.Path object:
- zipfile.is_zipfile(filename)
- filename
- zipfile.ZipFile(file)
- file
- ZipFile.extract(member, path=None)
- path
- ZipFile.extractall(path=None)
- path
- ZipFile.write(filename)
- filename
- zipfile.PyZipFile(file)
- file
- PyZipFile.writepy(pathname)
- pathname
- ZipInfo.from_file(filename, arcname=None)
- filename
Does this appear complete?
Working on tests that probe each of these API points with pathlib.Path objects.
I am not sure what "Shouldn't the ZipFile.filename attribute be converted to str?" means, can you elaborate? |
|