mirror of
https://github.com/python/cpython.git
synced 2025-10-27 19:54:38 +00:00
even farther down, to just before the call to _PyObject_DebugMallocStats(). This required the following changes: - pystate.c, PyThreadState_GetDict(): changed not to raise an exception or issue a fatal error when no current thread state is available, but simply return NULL without raising an exception (ever). - object.c, Py_ReprEnter(): when PyThreadState_GetDict() returns NULL, don't raise an exception but return 0. This means that when printing a container that's recursive, printing will go on and on and on. But that shouldn't happen in the case we care about (see first bullet). - Updated Misc/NEWS and Doc/api/init.tex to reflect changes to PyThreadState_GetDict() definition. |
||
|---|---|---|
| .. | ||
| .cvsignore | ||
| abstract.tex | ||
| api.tex | ||
| concrete.tex | ||
| exceptions.tex | ||
| init.tex | ||
| intro.tex | ||
| memory.tex | ||
| newtypes.tex | ||
| refcounting.tex | ||
| refcounts.dat | ||
| utilities.tex | ||
| veryhigh.tex | ||