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.
Created on 2013年04月25日 08:30 by ncoghlan, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| issue17841_codecs_docu.patch | Thomas Fenzl, 2013年05月01日 12:34 | review | ||
| Messages (5) | |||
|---|---|---|---|
| msg187769 - (view) | Author: Alyssa Coghlan (ncoghlan) * (Python committer) | Date: 2013年04月25日 08:30 | |
The aliases for the bytes-bytes and str-str codecs are not present in 3.3, so the aliases should be removed from the corresponding standard encoding tables in the documentation. http://docs.python.org/3/library/codecs#standard-encodings |
|||
| msg188214 - (view) | Author: Thomas Fenzl (Thomas Fenzl) * | Date: 2013年05月01日 12:34 | |
This is a documentation patch against 3.3 with the aliases removed. |
|||
| msg188802 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年05月10日 02:22 | |
New changeset ead47bc3a763 by Ezio Melotti in branch '3.3': #17841: remove missing codecs aliases from the documentation. Patch by Thomas Fenzl. http://hg.python.org/cpython/rev/ead47bc3a763 New changeset eafff38a56cc by Ezio Melotti in branch 'default': #17841: merge with 3.3. http://hg.python.org/cpython/rev/eafff38a56cc |
|||
| msg188803 - (view) | Author: Ezio Melotti (ezio.melotti) * (Python committer) | Date: 2013年05月10日 02:29 | |
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? |
|||
| msg188813 - (view) | Author: Alyssa Coghlan (ncoghlan) * (Python committer) | Date: 2013年05月10日 06:55 | |
For anyone else reading the issue and wondering about Ezio's question above - this issue was actually spun out from issue 7475, which covers the long saga of getting these codecs fully restored in the new world order of Python 3 :) |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:44 | admin | set | github: 62041 |
| 2013年05月10日 06:55:46 | ncoghlan | set | messages: + msg188813 |
| 2013年05月10日 02:29:06 | ezio.melotti | set | status: open -> closed assignee: docs@python -> ezio.melotti versions: + Python 3.4 messages: + msg188803 type: behavior -> enhancement resolution: fixed stage: needs patch -> resolved |
| 2013年05月10日 02:22:27 | python-dev | set | nosy:
+ python-dev messages: + msg188802 |
| 2013年05月01日 12:34:31 | Thomas Fenzl | set | files:
+ issue17841_codecs_docu.patch nosy: + Thomas Fenzl messages: + msg188214 keywords: + patch |
| 2013年04月27日 16:59:08 | ezio.melotti | set | keywords:
+ easy nosy: + ezio.melotti |
| 2013年04月25日 08:31:07 | ncoghlan | set | nosy:
+ docs@python assignee: docs@python components: + Documentation type: behavior stage: needs patch |
| 2013年04月25日 08:30:29 | ncoghlan | create | |