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 eric.smith
Recipients amaury.forgeotdarc, doerwalter, eric.smith, ezio.melotti, flox, lemburg, vstinner
Date 2010-02-24.18:17:55
SpamBayes Score 2.8050923e-07
Marked as misclassified No
Message-id <1267035478.64.0.257123726316.issue7649@psf.upfronthosting.co.za>
In-reply-to
Content
Of course. Sorry about that.

But then why not copy unichr()? It calls PyUnicode_FromOrdinal.

I guess my real question is:

Should "'%c' % i" be identical to "chr(i)" and should "u'%c' % i" be identical to "unichr(i)"?

And by "identical" I mean return the same results and throw the same errors (with a possible difference in the error text).
History
Date User Action Args
2010-02-24 18:17:58eric.smithsetrecipients: + eric.smith, lemburg, doerwalter, amaury.forgeotdarc, vstinner, ezio.melotti, flox
2010-02-24 18:17:58eric.smithsetmessageid: <1267035478.64.0.257123726316.issue7649@psf.upfronthosting.co.za>
2010-02-24 18:17:55eric.smithlinkissue7649 messages
2010-02-24 18:17:55eric.smithcreate