Message11994
| Author |
jhylton |
| Recipients |
| Date |
2002年08月16日.15:04:13 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Logged In: YES
user_id=31392
I think I'm less worried about PyFile_AsFile() than I am
about PyFile_WriteObject(). The latter is invoked by the
print statement. It extracts the FILE* using
PyFile_AsFile() and proceeds to pass it to PyObject_Print().
PyObject_Print() MUST hold the GIL, but since it has the
raw FILE* it MUST hold the file lock. But you can't hold
both locks :-(.
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 14:04:57 | admin | link | issue595601 messages |
| 2007年08月23日 14:04:57 | admin | create |
|