A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2000-October/014028.html below:

[Python-checkins] CVS: python/dist/src/Modules cPickle.c,2.52,2.53

[Python-checkins] CVS: python/dist/src/Modules cPickle.c,2.52,2.53Neil Schemenauer python-dev@python.org
Wed, 4 Oct 2000 09:22:31 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv16887/Modules

Modified Files:
	cPickle.c 
Log Message:
- Fix a GC bug caused by PyDict_New() failing.


Index: cPickle.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/cPickle.c,v
retrieving revision 2.52
retrieving revision 2.53
diff -C2 -r2.52 -r2.53
*** cPickle.c	2000/09/07 14:35:37	2.52
--- cPickle.c	2000/10/04 16:22:26	2.53
***************
*** 2876,2880 ****
                Py_INCREF(cls);
                UNLESS (inst->in_dict=PyDict_New()) {
!                 Py_DECREF(inst);
                  goto err;
                }
--- 2876,2881 ----
                Py_INCREF(cls);
                UNLESS (inst->in_dict=PyDict_New()) {
!                 inst = (PyInstanceObject *) PyObject_AS_GC(inst);
!                 PyObject_DEL(inst);
                  goto err;
                }




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