Marc-Andre Lemburg <m...@egenix.com> added the comment: 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. ---------- _______________________________________ 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