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

PEP 249: Replace StandardError with Exception #2781

Merged
merged 6 commits into from
Sep 6, 2022

Commits on Sep 2, 2022

  1. Replace StandardError with Exception to avoid confusion when using

    the DB-API 2.0 in the context of Python 3.
    
    Add a note about a future upgrade to the Warning base class.
    
    Fixes python#2776.
    malemburg committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    c004fe8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    67bbfeb View commit details
    Browse the repository at this point in the history
  3. Remove mention of the exceptions module

    This was removed in Python 3 as well.  Python 2.7 doesn't need it either,
    since all standard exceptions are builtin objects.
    malemburg committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    5e5522f View commit details
    Browse the repository at this point in the history
  4. Remove mention of exception objects being builtins.

    They were already for a very long time, so this is pointless.
    I only had this sentence to explain why I had removed the
    "import exceptions" line from the Python 2 days.
    malemburg committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    b4c4c3b View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2022

  1. Grammar fix

    malemburg committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    c49fdd4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f0bf65b View commit details
    Browse the repository at this point in the history