Message187898
| 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:28 | pitrou | set | recipients: + pitrou, arigo |
| 2013-04-27 11:40:28 | pitrou | set | messageid: <1367062828.2.0.80791281912.issue17852@psf.upfronthosting.co.za> |
| 2013-04-27 11:40:28 | pitrou | link | issue17852 messages |
| 2013-04-27 11:40:27 | pitrou | create | |