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 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?
History
Date User Action Args
2017-01-11 03:45:25jtf621setrecipients: + jtf621, brett.cannon, r.david.murray, ethan.furman, berker.peksag, serhiy.storchaka
2017-01-11 03:45:25jtf621setmessageid: <1484106325.45.0.252448868836.issue28231@psf.upfronthosting.co.za>
2017-01-11 03:45:25jtf621linkissue28231 messages
2017-01-11 03:45:25jtf621create