[Python-checkins] r73393 - python/trunk/Objects/exceptions.c

alexandre.vassalotti python-checkins at python.org
Fri Jun 12 20:56:58 CEST 2009


Author: alexandre.vassalotti
Date: Fri Jun 12 20:56:57 2009
New Revision: 73393
Log:
Clear reference to the static PyExc_RecursionErrorInst in _PyExc_Fini.
Modified:
 python/trunk/Objects/exceptions.c
Modified: python/trunk/Objects/exceptions.c
==============================================================================
--- python/trunk/Objects/exceptions.c	(original)
+++ python/trunk/Objects/exceptions.c	Fri Jun 12 20:56:57 2009
@@ -2136,6 +2136,6 @@
 void
 _PyExc_Fini(void)
 {
- Py_XDECREF(PyExc_MemoryErrorInst);
- PyExc_MemoryErrorInst = NULL;
+ Py_CLEAR(PyExc_MemoryErrorInst);
+ Py_CLEAR(PyExc_RecursionErrorInst);
 }


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /