Issue 28268: bz2.open does not use fspath (PEP 519) (original) (raw)
Issue28268
Created on 2016-09-25 10:33 by chrysn, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg277357 - (view) | Author: chrysn (chrysn) * | Date: 2016-09-25 10:33 |
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. | ||
msg277360 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * ![]() |
Date: 2016-09-25 10:40 |
This is a duplicate of and . |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:37 | admin | set | github: 72455 |
2016-09-25 10:40:20 | serhiy.storchaka | set | status: open -> closedsuperseder: Add PathLike objects support to BZ2Filenosy: + serhiy.storchakamessages: + resolution: duplicatestage: resolved |
2016-09-25 10:33:05 | chrysn | create |