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 serhiy.storchaka
Recipients benspiller, docs@python, ezio.melotti, serhiy.storchaka, steven.daprano, terry.reedy
Date 2016-05-12.11:20:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463052001.0.0.315580653394.issue26369@psf.upfronthosting.co.za>
In-reply-to
Content
What do you propose? Note that str.encode() doesn't raise an exception. Ascii unicode and 8-bit strings are interchangeable. Ascii unicode strings can be packed in str for less memory consumption (see xmlrpclib or ElementTree), a lot of str constant are used in unicode context (like os.sep or empty string). Breaking str.encode() will break valid existing code.
History
Date User Action Args
2016-05-12 11:20:01serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, ezio.melotti, steven.daprano, docs@python, benspiller
2016-05-12 11:20:01serhiy.storchakasetmessageid: <1463052001.0.0.315580653394.issue26369@psf.upfronthosting.co.za>
2016-05-12 11:20:00serhiy.storchakalinkissue26369 messages
2016-05-12 11:20:00serhiy.storchakacreate