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.10:25:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463048750.98.0.485648980524.issue26369@psf.upfronthosting.co.za>
In-reply-to
Content
Note that with the -3 option Python 2.7 already warns about incompatibilities. 

>>> 'abc'.encode('base64')
__main__:1: DeprecationWarning: 'base64' is not a text encoding; use codecs.encode() to handle arbitrary codecs
'YWJj\n'
>>> 'YWJj\n'.decode('base64')
__main__:1: DeprecationWarning: 'base64' is not a text encoding; use codecs.decode() to handle arbitrary codecs
'abc'
>>> u'abc'.decode('ascii')
__main__:1: DeprecationWarning: decoding Unicode is not supported in 3.x
u'abc'
History
Date User Action Args
2016-05-12 10:25:51serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, ezio.melotti, steven.daprano, docs@python, benspiller
2016-05-12 10:25:50serhiy.storchakasetmessageid: <1463048750.98.0.485648980524.issue26369@psf.upfronthosting.co.za>
2016-05-12 10:25:50serhiy.storchakalinkissue26369 messages
2016-05-12 10:25:50serhiy.storchakacreate