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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, cjw296, ezio.melotti, flox
Date 2010-01-27.09:46:28
SpamBayes Score 2.7041168e-07
Marked as misclassified No
Message-id <1264585591.89.0.0747915415427.issue7793@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-01-27 09:46:32amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, cjw296, ezio.melotti, flox
2010-01-27 09:46:31amaury.forgeotdarcsetmessageid: <1264585591.89.0.0747915415427.issue7793@psf.upfronthosting.co.za>
2010-01-27 09:46:30amaury.forgeotdarclinkissue7793 messages
2010-01-27 09:46:29amaury.forgeotdarccreate