This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients arigo, pitrou
Date 2013-04-27.11:40:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367062828.2.0.80791281912.issue17852@psf.upfronthosting.co.za>
In-reply-to
Content
There are actually several issues here:

* collection of globals at shutdown is wonky: you should add an explicit "del a,f; gc.collect()" at the end of the script

* order of tp_clear calls, or another issue with TextIOWrapper: if you open the file in binary mode ("f = open('...', 'wb'); f.write(b'bar')"), the data gets flushed during the GC run
History
Date User Action Args
2013-04-27 11:40:28pitrousetrecipients: + pitrou, arigo
2013-04-27 11:40:28pitrousetmessageid: <1367062828.2.0.80791281912.issue17852@psf.upfronthosting.co.za>
2013-04-27 11:40:28pitroulinkissue17852 messages
2013-04-27 11:40:27pitroucreate