[issue815646] thread unsafe file objects cause crash

Antoine Pitrou report at bugs.python.org
Fri Mar 28 19:20:45 CET 2008


Antoine Pitrou <pitrou at free.fr> added the comment:

Another approach would be to add a dedicated lock for each PyFileObject.
This sounds a bit bad performance-wise but after all the GIL itself is a
lock, and we release and re-acquire it on each file operation, so why not?

____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue815646>
____________________________________


More information about the Python-bugs-list mailing list