[Python-Dev] Python code.interact() and UTF-8 locale
"Martin v. Löwis"
martin at v.loewis.de
Wed Sep 14 18:34:46 CEST 2005
Victor STINNER wrote:
> RexFi explains me that Python can't guess eval('len(u"é")') charset.
I personally like to see a charset argument for eval() and compile().
exec would not directly support other charsets; you would have to
compile() first to specify a charset.
I have a patch somewhere that does that, but did not get to publish
More information about the Python-Dev