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 chrysn
Recipients chrysn
Date 2016-09-25.10:33:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474799585.68.0.824862918145.issue28268@psf.upfronthosting.co.za>
In-reply-to
Content
The bz2.open function accepts a file name; after PEP 519 (file system path protocol) it "is expected that most APIs in Python's standard library that currently accept a file system path will be updated appropriately to accept path objects".

BZ2File explicitly checks for types (bz2.py:94-97), so it will need explicit adaption.
History
Date User Action Args
2016-09-25 10:33:05chrysnsetrecipients: + chrysn
2016-09-25 10:33:05chrysnsetmessageid: <1474799585.68.0.824862918145.issue28268@psf.upfronthosting.co.za>
2016-09-25 10:33:05chrysnlinkissue28268 messages
2016-09-25 10:33:05chrysncreate