This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Nam.Nguyen, arigo, eric.araujo, ezio.melotti, lemburg, liori, r.david.murray, serhiy.storchaka, vstinner
Date 2013-08-23.17:22:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
> How it can break backward compatibility? Currently repr() just raises UnicodeEncodeError.

It depends on sys.getdefaultencoding() which can be modified in the site module (or in a PYTHONSTARTUP script) using sys.setdefaultencoding(). It should not possible to change the default encoding, and it was fixed in Python 3.
History
Date User Action Args
2013-08-23 17:22:54vstinnersetrecipients: + vstinner, lemburg, arigo, ezio.melotti, eric.araujo, r.david.murray, liori, Nam.Nguyen, serhiy.storchaka
2013-08-23 17:22:54vstinnersetmessageid: <[email protected]>
2013-08-23 17:22:54vstinnerlinkissue5876 messages
2013-08-23 17:22:54vstinnercreate