Movatterモバイル変換
[0]ホーム
[Python-Dev] Patch 595601
Greg Ewinggreg@cosc.canterbury.ac.nz
Wed, 25 Jun 2003 13:11:18 +1200 (NZST)
> 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 correctGIL usage? I.e. if a thread using a file object releases the GIL, itshould re-acquire it and check that the FILE * in the file object isstill 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 +--------------------------------------+
[8]ページ先頭