Eric Smith <e...@trueblade.com> added the comment:

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

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7649>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to