On 8/22/07, Hrvoje Nikšić <hrvoje.niksic at avl.com> wrote: > On Tue, 2007-08-21 at 09:14 -0700, Neal Norwitz wrote: > > The patch is insufficient to prevent all types of crashes that occur > > when accessing a file from 2 threads (closing in one and doing > > whatever in another). > > You are right. I wouldn't go so far to say the file object > thread-unsafe, but it certainly has lurking bugs with calling close > while other threads are running. BTW your mail doesn't seem to contain > the actual patch. Sorry about that. I thought something was up when gmail didn't automatically upload it while I was writing the message. It looks like it took this time. (The attached patch isn't complete, but catches most cases.) n -------------- next part -------------- A non-text attachment was scrubbed... Name: file.patch Type: text/x-patch Size: 7810 bytes Desc: not available Url : http://mail.python.org/pipermail/python-dev/attachments/20070822/88afac31/attachment-0001.bin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4