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 brett.cannon, djmitche, lemburg, martin.panter, ncoghlan, serhiy.storchaka
Date 2015-04-28.16:13:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430237599.49.0.62607247958.issue19543@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch that backports issue19619 and issue20404 with changing an exception to Py3k warning, and makes necessary changes in other modules and tests.

$ ./python -3
Python 2.7.10rc0 (2.7:4234b0dd2a54+, Apr 28 2015, 16:51:51) 
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 'abcd'.decode('hex')
__main__:1: DeprecationWarning: 'hex' is not a text encoding; use codecs.decode() to handle arbitrary codecs
'\xab\xcd'
History
Date User Action Args
2015-04-28 16:13:20serhiy.storchakasetrecipients: + serhiy.storchaka, lemburg, brett.cannon, ncoghlan, djmitche, martin.panter
2015-04-28 16:13:19serhiy.storchakasetmessageid: <1430237599.49.0.62607247958.issue19543@psf.upfronthosting.co.za>
2015-04-28 16:13:19serhiy.storchakalinkissue19543 messages
2015-04-28 16:13:19serhiy.storchakacreate