Message277357
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. |
|
Date |
User |
Action |
Args |
2016-09-25 10:33:05 | chrysn | set | recipients:
+ chrysn |
2016-09-25 10:33:05 | chrysn | set | messageid: <1474799585.68.0.824862918145.issue28268@psf.upfronthosting.co.za> |
2016-09-25 10:33:05 | chrysn | link | issue28268 messages |
2016-09-25 10:33:05 | chrysn | create | |
|