homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients
Date 2003年01月06日.12:17:28
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Found by Hartmut Ring:
#include <Python.h>
int main() {
 for (int i=0; i<2; i++) {
 Py_Initialize();
 PyRun_SimpleString("a = u'\xe4'.encode('Latin-1')");
 Py_Finalize();
 }
 return 0;
}
First try runs fine, second try gives:
Traceback (most recent call last):
 File "<string>", line 1, in ?
LookupError: no codec search functions registered:
can't find encoding
History
Date User Action Args
2007年08月23日 14:09:51adminlinkissue663074 messages
2007年08月23日 14:09:51admincreate

AltStyle によって変換されたページ (->オリジナル) /