Message265390
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' |
|
Date |
User |
Action |
Args |
2016-05-12 10:25:51 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, ezio.melotti, steven.daprano, docs@python, benspiller |
2016-05-12 10:25:50 | serhiy.storchaka | set | messageid: <1463048750.98.0.485648980524.issue26369@psf.upfronthosting.co.za> |
2016-05-12 10:25:50 | serhiy.storchaka | link | issue26369 messages |
2016-05-12 10:25:50 | serhiy.storchaka | create | |
|