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

Михаил Мишакин report at bugs.python.org
Mon Apr 7 18:25:51 CEST 2014


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 usage str.encode('rot-13') in rot13 codec
type: enhancement
versions: Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21171>
_______________________________________


More information about the Python-bugs-list mailing list