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