FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-65961: Document __cached__ removal in What's New & clarify references to it by encukou · Pull Request #156053 · python/cpython · GitHub

/ cpython Public

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

Merged
encukou merged 2 commits into
python:mainfrom
encukou:removals-315-cached
Aug 20, 2026
Merged

gh-65961: Document __cached__ removal in What's New & clarify references to it#156053
encukou merged 2 commits into
python:mainfrom
encukou:removals-315-cached

Conversation

encukou commented Aug 19, 2026
edited by bedevere-app Bot
Loading

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 Bot commented Aug 19, 2026
edited
Loading

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34155109 | 📁 Comparing 48cb623 against main (20e6c2f)

  🔍 Preview build  

6 files changed · ± 6 modified

± Modified

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

encukou merged commit 228b1bf into python:main Aug 20, 2026
30 checks passed

Copy link
Copy Markdown

Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

encukou deleted the removals-315-cached branch August 20, 2026 15:03
github-project-automation Bot moved this from Todo to Done in Docs PRs Aug 20, 2026

bedevere-app Bot commented Aug 20, 2026

Copy link
Copy Markdown

GH-156123 is a backport of this pull request to the 3.15 branch.

bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

__cached__ deprecation notice under __file__

3 participants


Back | FazBrowse Home | New Git URL