Graham Dumpleton <graham.dumple...@gmail.com> added the comment: Hmmm, I wander if that is related to the workaround I have added in mod_wsgi recently of:
/* * Force loading of codecs into interpreter. This has to be * done as not otherwise done in sub interpreters and if not * done, code running in sub interpreters can fail on some * platforms if a unicode string is added in sys.path and an * import then done. */ item = PyCodec_Encoder("ascii"); Py_XDECREF(item); This fixes problem some have seen where one gets: LookupError: no codec search functions registered: can't find encoding I haven't been able to reproduce the problem myself so no bug report ever lodged. Have been told it affects some other embedded systems as well which use sub interpreters but other systems don't employ the workaround that I am now using. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10914> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com