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

bpo-29576: Improve some deprecations in the importlib #32

Merged
merged 2 commits into from
Feb 16, 2017

Commits on Feb 15, 2017

  1. Improve some deprecations in the importlib

    Add the python version since the functionality is deprecated,
    and raise a couple of deprecation warnings in a few places.
    
    Theses functions are marked as deprecated in the documentation, but
    especially in existing codebase, programmers tends to not re-check
    whether functions are deprecated. So trigger the warning when possible.
    
    It's also more probable that a developer will drop deprecated
    functionality if we immediately give them information about
    replacement API, and not have them to go find it in the documentation.
    
    Include deprecation information in DocString as well as many tools pull
    documentation from there and not from docs.python.org.
    
    Add test making sure `find_loader()` and `find_module()` Both emit a
    deprecation warning.
    Carreau committed Feb 15, 2017
    Configuration menu
    Copy the full SHA
    51e8898 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2017

  1. Configuration menu
    Copy the full SHA
    db83323 View commit details
    Browse the repository at this point in the history