Update of /cvsroot/python/python/dist/src/Objects In directory slayer.i.sourceforge.net:/tmp/cvs-serv20107 Modified Files: object.c Log Message: As suggested by Toby Dickenson, setting ob_type to NULL in _Py_Dealloc(), is a bad idea (and always was!). So let's drop it. Index: object.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Objects/object.c,v retrieving revision 2.100 retrieving revision 2.101 diff -C2 -r2.100 -r2.101 *** object.c 2000/09/18 16:20:57 2.100 --- object.c 2000/09/21 16:25:33 2.101 *************** *** 979,986 **** destructor dealloc = op->ob_type->tp_dealloc; _Py_ForgetReference(op); - #ifndef WITH_CYCLE_GC - if (_PyTrash_delete_nesting < PyTrash_UNWIND_LEVEL-1) - op->ob_type = NULL; - #endif (*dealloc)(op); } --- 979,982 ----
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4