Sitelet https://github.com/python/cpython/issues/111301
Skip to content

What's new in Python 3.13: move importlib.resources removals under the Removed section #111301

Description

@befeleme

Documentation

There is some obsolete information in the section Pending Removal in Future Versions of the What's new in Python 3.13 document.

  1. There are listed:

importlib.resources deprecated methods:
contents()
is_resource()
open_binary()
open_text()
path()
read_binary()
read_text()

These were already removed from Python 3.13.

  1. There is listed:

importlib.resources: First parameter to files is renamed to ‘anchor’.

This has already changed in Python 3.12

Linked PRs

Activity

  1. hugovk commented on Oct 25, 2023

    @hugovk
    Member

    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.

  2. befeleme commented on Oct 30, 2023

    @befeleme
    ContributorAuthor

    Hi, yes, I'll send the PRs for that.

  3. added 2 commits that reference this issue on Oct 30, 2023
  4. added 4 commits that reference this issue on Oct 31, 2023
  5. hugovk commented on Oct 31, 2023

    @hugovk
    Member

    Thanks, all merged!

  6. added a commit that references this issue on Nov 2, 2023
  7. added 2 commits that reference this issue on Nov 3, 2023
  8. added a commit that references this issue on Jan 17, 2024
  9. added a commit that references this issue on Jan 17, 2024
  10. added a commit that references this issue on Jan 18, 2024
  11. added a commit that references this issue on Jan 22, 2024
  12. added 3 commits that reference this issue on Feb 11, 2024
  13. added 3 commits that reference this issue on Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13only security fixesdocsDocumentation in the Doc dirtopic-importlib

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions