From 691737114e7c296cd05a1be9ea3a3be9f53f9495 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Tue, 8 Apr 2008 09:44:14 +0000 Subject: [PATCH] Blocked revisions 62195 via svnmerge ........ r62195 | gregory.p.smith | 2008-04-07 01:11:17 +0200 (Mon, 07 Apr 2008) | 10 lines Make file objects as thread safe as the underlying libc FILE* implementation. close() will now raise an IOError if any operations on the file object are currently in progress in other threads. Most code was written by Antoine Pitrou (pitrou). Additional testing, documentation and test suite cleanup done by me (gregory.p.smith). Fixes issue 815646 and 595601 (as well as many other bugs and references to this problem dating back to the dawn of Python). ........