Skip to content

gh-65961: Document __cached__ removal in What's New & clarify references to it - #156053

Open
encukou wants to merge 1 commit into
python:mainfrom
encukou:removals-315-cached
Open

gh-65961: Document __cached__ removal in What's New & clarify references to it#156053
encukou wants to merge 1 commit into
python:mainfrom
encukou:removals-315-cached

Conversation

@encukou

@encukou encukou commented Aug 19, 2026

Copy link
Copy Markdown
Member
  • Move deprecation notice to Whatsnew change list.
    • Add a note that __loader__ & __package__ are next. (These also link to relevant docs.)
  • Clarify references to __cached__ now that the term doesn't link to its docs.
  • Move the .. versionchanged from __file__ docs to the top level, and remove the historical .. deprecated-removed:: (fixes __cached__ deprecation notice under __file__ #145299).

…eferences to it

- Move deprecation notice to change list
- Clarify references to ``__cached__`` now that the term it doesn't link to its docs.
- Move the ``.. versionchanged`` from ``__file__`` docs to the top level.
@read-the-docs-community

Copy link
Copy Markdown

@encukou encukou added the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 19, 2026
Pending removal in Python 3.15
------------------------------

* The import system:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These entries usually stay, they aren't removed. In older What's New entries the deprecation will now be missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge docs Documentation in the Doc dir needs backport to 3.15 pre-release feature fixes, bugs and security fixes skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

__cached__ deprecation notice under __file__

3 participants