Message100062
| 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). |
|