There is some obsolete information in the section Pending Removal in Future Versions of the What's new in Python 3.13 document.
importlib.resources deprecated methods: contents() is_resource() open_binary() open_text() path() read_binary() read_text()
These were already removed from Python 3.13.
importlib.resources: First parameter to files is renamed to ‘anchor’.
This has already changed in Python 3.12
Thanks for the report!
These were indeed removed in 3.13 in PR issue #106531 / PR #106532.
Would you like to open a PR to move these out of "Pending Removal" and into the "Removed" section?
https://docs.python.org/3.13/whatsnew/3.13.html#removed
Yep, renamed in issue #97930 / PR #100598.
Would you like to open another PR to remove that bit from the 3.13 What's New and add it to the 3.12 one? We can backport this PR to 3.12.
Style note: parameters should be styled in italics (anchor) not quoted ("anchor"). It would be good to update those at the same time.
Hi, yes, I'll send the PRs for that.
pythongh-111301: Move importlib.resources changes to the Removed section
pythongh-111301: Move `importlib.resources.files` change to What's ne…
gh-111301: Move `importlib.resources.files` change to What's new in P…
gh-111301: Move importlib.resources changes to the Removed section (#…
[3.12] gh-111301: Move `importlib.resources.files` change to What's n…
Thanks, all merged!
pythongh-111301: Advertise importlib methods removal in What's new in…
pythongh-111301: Move importlib.resources changes to the Removed sect…
gh-111301: Advertise importlib methods removal in What's new in Pytho…
[3.12] gh-111301: Advertise importlib methods removal in What's new i…
Activity
hugovk commented on Oct 25, 2023
Thanks for the report!
These were indeed removed in 3.13 in PR issue #106531 / PR #106532.
Would you like to open a PR to move these out of "Pending Removal" and into the "Removed" section?
https://docs.python.org/3.13/whatsnew/3.13.html#removed
Yep, renamed in issue #97930 / PR #100598.
Would you like to open another PR to remove that bit from the 3.13 What's New and add it to the 3.12 one? We can backport this PR to 3.12.
Style note: parameters should be styled in italics (anchor) not quoted ("anchor"). It would be good to update those at the same time.
befeleme commented on Oct 30, 2023
Hi, yes, I'll send the PRs for that.
pythongh-111301: Move importlib.resources changes to the Removed section
pythongh-111301: Move `importlib.resources.files` change to What's ne…
gh-111301: Move `importlib.resources.files` change to What's new in P…
pythongh-111301: Move `importlib.resources.files` change to What's ne…
gh-111301: Move importlib.resources changes to the Removed section (#…
[3.12] gh-111301: Move `importlib.resources.files` change to What's n…
hugovk commented on Oct 31, 2023
Thanks, all merged!
pythongh-111301: Advertise importlib methods removal in What's new in…
pythongh-111301: Move `importlib.resources.files` change to What's ne…
pythongh-111301: Move importlib.resources changes to the Removed sect…
gh-111301: Advertise importlib methods removal in What's new in Pytho…
pythongh-111301: Advertise importlib methods removal in What's new in…
[3.12] gh-111301: Advertise importlib methods removal in What's new i…
pythongh-111301: Advertise importlib methods removal in What's new in…
pythongh-111301: Move `importlib.resources.files` change to What's ne…
pythongh-111301: Move importlib.resources changes to the Removed sect…
pythongh-111301: Advertise importlib methods removal in What's new in…
pythongh-111301: Move `importlib.resources.files` change to What's ne…
pythongh-111301: Move importlib.resources changes to the Removed sect…
pythongh-111301: Advertise importlib methods removal in What's new in…