Use the new PyFile_IncUseCount & PyFile_DecUseCount calls appropriatly
commit8b27ef71b53e2c2ffea929af613ba0345fde90d6
authorgregory.p.smith <gregory.p.smith@6015fed2-1504-0410-9fe1-9d1591cc4771>
Mon, 7 Apr 2008 06:33:21 +0000 (7 06:33 +0000)
committergregory.p.smith <gregory.p.smith@6015fed2-1504-0410-9fe1-9d1591cc4771>
Mon, 7 Apr 2008 06:33:21 +0000 (7 06:33 +0000)
treeacd3975742993060a70c0a18080f2322a0a62458
parent1b5a10ae788fdbb828a59eafefd6dc2ed97bbdcf
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*.

git-svn-id: http://svn.python.org/projects/python/trunk@62204 6015fed2-1504-0410-9fe1-9d1591cc4771
Modules/bz2module.c
Modules/cPickle.c