]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Use the new PyFile_IncUseCount & PyFile_DecUseCount calls appropriatly
authorGregory P. Smith <greg@mad-scientist.com>
Mon, 7 Apr 2008 06:33:21 +0000 (06:33 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Mon, 7 Apr 2008 06:33:21 +0000 (06:33 +0000)
commitc20adf8ef2d9ec938069d08fdcf66cff1d4a6905
tree41872a64c0efdbe7ae55b94f09a07b7313a50b8f
parentd918e4e068f22c3e79c771c27be3c8f91a9e0446
Use the new PyFile_IncUseCount & PyFile_DecUseCount calls appropriatly
within the standard library.  These modules use PyFile_AsFile and later
release the GIL while operating on the previously returned FILE*.
Modules/bz2module.c
Modules/cPickle.c