Message242188
| 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' |
|