◐ Shell
clean mode source ↗

GH-65961: Document the deprecation of `__package__` and `__cached__` by brettcannon · Pull Request #124377 · python/cpython

@brettcannon

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Sep 23, 2024
…ed__` (pythonGH-124377)

The code changes for warning related to `__package__` landed in Python 3.12. `__cached__` doesn't have any changes as it isn't used but only set by the import system.
(cherry picked from commit 67201ad)

Co-authored-by: Brett Cannon <brett@python.org>

Yhg1s pushed a commit that referenced this pull request

Sep 27, 2024
…hed__` (GH-124377) (#124380)

* GH-65961: Document the deprecation of `__package__` and `__cached__` (GH-124377)

The code changes for warning related to `__package__` landed in Python 3.12. `__cached__` doesn't have any changes as it isn't used but only set by the import system.
(cherry picked from commit 67201ad)

---------

Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Barry Warsaw <barry@python.org>