Message100070
| Author |
lemburg |
| Recipients |
amaury.forgeotdarc, doerwalter, eric.smith, ezio.melotti, flox, lemburg, vstinner |
| Date |
2010年02月24日.21:40:13 |
| SpamBayes Score |
0.0017699709 |
| Marked as misclassified |
No |
| Message-id |
<4B859CBB.90405@egenix.com> |
| In-reply-to |
<1267037236.21.0.609156673557.issue7649@psf.upfronthosting.co.za> |
| Content |
Ezio Melotti wrote:
> Just to clarify:
> "u'%c' % some_int" should behave like unichr(some_int);
> "u'%c' % some_chr" should behave like "u'%s' % some_chr".
That's correct.
I guess that in practice "u'%c' % some_chr" is not all that common.
Otherwise, the fact that it doesn't raise an error if some_chr
is not compatible to the default encoding would have been noticed
earlier on. |
|