> Because Python resets a Python file object's stream to NULL when a Python > file object is closed, If that's the only problem, then surely it's just a matter of correct GIL usage? I.e. if a thread using a file object releases the GIL, it should re-acquire it and check that the FILE * in the file object is still valid before using it again. Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg@cosc.canterbury.ac.nz +--------------------------------------+
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