Thomas Heller <[EMAIL PROTECTED]> added the comment:

Good catch!  Indeed, when PyString_FromString or PyUnicode_FromWideChar
fail, Python crashes with
  Fatal Python error: PyThreadState_Get: no current thread
in a debug build, and an access violation in a release build (tested on
Windows).

Also, your patch suggestion is absolutely correct and fixes the problem.

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3554>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to