[issue21171] Outdated usage str.encode('rot-13') in rot13 codec

2014-04-16 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue21171] Outdated usage str.encode('rot-13') in rot13 codec

2014-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset a81f0caab279 by Serhiy Storchaka in branch '3.4': Issue #21171: Fixed undocumented filter API of the rot13 codec. http://hg.python.org/cpython/rev/a81f0caab279 New changeset f86504da2fcc by Serhiy Storchaka in branch 'default': Issue #21171: Fixed u

[issue21171] Outdated usage str.encode('rot-13') in rot13 codec

2014-04-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue21171] Outdated usage str.encode('rot-13') in rot13 codec

2014-04-11 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue21171] Outdated usage str.encode('rot-13') in rot13 codec

2014-04-11 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue21171] Outdated usage str.encode('rot-13') in rot13 codec

2014-04-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since rot_13 is a transcoder, not an encoder, the error message is correct, as is the fix for the function. However, since neither the module encodings.rot_13 nor the rot13 function in the module are documented, (not even in 2.7), I wonder if the function and

[issue21171] Outdated usage str.encode('rot-13') in rot13 codec

2014-04-07 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch. I tested it with the following command: $ cat LICENSE | ./python -m encodings.rot_13 -- keywords: +patch nosy: +berker.peksag stage: -> patch review type: enhancement -> behavior Added file: http://bugs.python.org/file34757/issue2117

[issue21171] Outdated usage str.encode('rot-13') in rot13 codec

2014-04-07 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue21171] Outdated usage str.encode('rot-13') in rot13 codec

2014-04-07 Thread Михаил Мишакин
Changes by Михаил Мишакин : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue21171] Outdated usage str.encode('rot-13') in rot13 codec

2014-04-07 Thread Михаил Мишакин
New submission from Михаил Мишакин: Function rot13 in file "encodings/rot_13.py" throws exception: LookupError: 'rot-13' is not a text encoding; use codecs.encode() to handle arbitrary codecs -- messages: 215712 nosy: Pix priority: normal severity: normal status: open title: Outdated u