Message285184
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? |
|
Date |
User |
Action |
Args |
2017-01-11 03:45:25 | jtf621 | set | recipients:
+ jtf621, brett.cannon, r.david.murray, ethan.furman, berker.peksag, serhiy.storchaka |
2017-01-11 03:45:25 | jtf621 | set | messageid: <1484106325.45.0.252448868836.issue28231@psf.upfronthosting.co.za> |
2017-01-11 03:45:25 | jtf621 | link | issue28231 messages |
2017-01-11 03:45:25 | jtf621 | create | |
|