Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-65961: Raise DeprecationWarning when __package__ differs from __spec__.parent #97879

Merged
merged 6 commits into from Oct 5, 2022

Commits on Oct 5, 2022

  1. pythongh-65961: Raise DeprecationWarning when __package__ differs…

    … from `__spec__.parent`
    
    Also remove `importlib.util.set_package()` which was already slated for removal.
    brettcannon committed Oct 5, 2022
  2. Update Misc/NEWS.d/next/Core and Builtins/2022-10-05-00-37-27.gh-issu…

    …e-65961.z0Ys0y.rst
    
    Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
    brettcannon and ericsnowcurrently committed Oct 5, 2022