[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-23 Thread Nick Coghlan
Nick Coghlan added the comment: Thanks for initiating this Serhiy :) -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 85e8414060b4 by Nick Coghlan in branch '3.3': Issue 17844: Clarify meaning of different codec tables http://hg.python.org/cpython/rev/85e8414060b4 New changeset 801567d6302c by Nick Coghlan in branch 'default': Merge issue 17844 from 3.3 http://hg.p

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-22 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-22 Thread Nick Coghlan
Nick Coghlan added the comment: That sounds like a good idea. Yay for not needing those arcane footnotes, though :) -- ___ Python tracker ___ ___

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Nick. It's mainly your patch. Do you want to foreport your changes (a "Python Specific Encodings" subheading and followed paragraph) to 3.x? -- ___ Python tracker ___

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 85c04fdaa404 by Serhiy Storchaka in branch '2.7': Issue #17844: Refactor a documentation of Python specific encodings. http://hg.python.org/cpython/rev/85c04fdaa404 New changeset 039dc6dd2bc0 by Serhiy Storchaka in branch '3.3': Issue #17844: Add li

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-22 Thread Nick Coghlan
Nick Coghlan added the comment: Thanks Serhiy, that version looks great. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file30332/doc_codecs_impl-2.7.patch ___ Python tracker ___ ___ Python-bugs-

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-21 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Nick. Here is an updated patch for 2.7. -- Added file: http://bugs.python.org/file30333/doc_codecs_impl-2.7_2.patch ___ Python tracker _

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-21 Thread Nick Coghlan
Nick Coghlan added the comment: While the Python 2 text model was almost certainly a necessary transition step to full unicode support, it is things like this that highlight how fundamentally broken implicit conversion turned out to be at a conceptual level :P Perhaps the following would work

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > However, the two intro paragraphs need a bit of work. Yes, it's a help which I needed. Thank you. However your wording is not entirely correct. In 2.7 binary-to-binary codecs and rot-13 works with Unicode strings (only ascii-compatible) as with bytes stri

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-21 Thread Nick Coghlan
Nick Coghlan added the comment: I like the idea of splitting the table in 2.7 rather than using a result type column. However, the two intro paragraphs need a bit of work. How does the following sound: 1. Create a new subheading at the same level as the current "Standard Encodings" heading: "

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file30013/doc_codecs_impl.patch ___ Python tracker ___ ___ Python-bugs-list

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file30332/doc_codecs_impl-2.7.patch ___ Python tracker ___ ___ Python-bugs-li

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Not a bad idea. How about implementation? Here is updated patches for 3.x and 2.7. Note that in 2.7 I split codecs table as in 3.x. -- Added file: http://bugs.python.org/file30331/doc_codecs_impl.patch ___ Pytho

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-19 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Not a bad idea. More information is always better when it comes to documentation :-) -- ___ Python tracker ___ _

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-19 Thread Nick Coghlan
Nick Coghlan added the comment: I like this, both because it quite clearly defines the encode and decode directions, and allows notes the more direct entry points if the codec isn't being specified as an input string. So +1 from me. -- ___ Python t

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Any opinions? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-04-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The proposed patch adds link to alternative interfaces for bytes-to-bytes codecs. I.e. base64.b64encode and base64.b64decode for base64_codec. Patch for 2.7 should mention other functions/modules (due to lack of some of them). -- assignee: docs@py