mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
weakref.ReferenceError becomes a built-in exception now that weak ref objects
are moving into the core; with these changes, it will be possible for the exception to be raised without the weakref module ever being imported.
This commit is contained in:
parent
39c785108f
commit
bb9fa21cfe
2 changed files with 7 additions and 0 deletions
|
@ -48,6 +48,7 @@ extern DL_IMPORT(PyObject *) PyExc_NotImplementedError;
|
|||
extern DL_IMPORT(PyObject *) PyExc_SyntaxError;
|
||||
extern DL_IMPORT(PyObject *) PyExc_IndentationError;
|
||||
extern DL_IMPORT(PyObject *) PyExc_TabError;
|
||||
extern DL_IMPORT(PyObject *) PyExc_ReferenceError;
|
||||
extern DL_IMPORT(PyObject *) PyExc_SystemError;
|
||||
extern DL_IMPORT(PyObject *) PyExc_SystemExit;
|
||||
extern DL_IMPORT(PyObject *) PyExc_TypeError;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue