Amaury Forgeot d'Arc <[email protected]> added the comment: The module is probably reloaded, which causes code like: _ord = ord def ord(c): ... _ord(c) ... to form a recursion loop. Attached patch removes the need for a special ord().
All this should be simply removed in py3k branch: ord() and chr() do the right thing even on narrow unicode builds. ---------- keywords: +patch nosy: +amaury.forgeotdarc Added file: http://bugs.python.org/file16022/test_multibytecodec.patch _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue7793> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
