STINNER Victor added the comment: Where / how do you type the eval() instruction? In IDLE, in the interactive prompt (>>>) or in a script (test.py)? What is your OS and what is your locale encoding?
Example: $ python -m platform Linux-3.9.4-200.fc18.x86_64-x86_64-with-fedora-18-Spherical_Cow $ python -c 'import locale; print(locale.getpreferredencoding())' UTF-8 ---------- nosy: +haypo _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18870> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com