Message188803
| Author |
ezio.melotti |
| Recipients |
Thomas Fenzl, docs@python, ezio.melotti, ncoghlan, python-dev |
| Date |
2013年05月10日.02:29:05 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1368152946.2.0.898167439877.issue17841@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Fixed, thanks for the patch!
@Nick
While this works as a short-term solution, I think it would be good to
1) reintroduce the aliases in 3.4 (so that codecs.encode(b'foo', 'base64') works without spelling out the full codec name);
2) either separate these codecs from the others, or tweak the error message of str.encode/bytes.decode to point to codecs.encode/decode.
Should I create a new issue and/or ask python-dev about this? |
|