You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PEP 249: Replace StandardError with Exception (#2781)
* 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#2776.
* Fix typo and add year for more context.
* 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.
* 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.
* Grammar fix
* Fix exception hierarchy formatting
0 commit comments