[docs] [issue13600] rot_13 codec not working

Ram Rachum report at bugs.python.org
Wed Dec 14 10:47:56 CET 2011


Ram Rachum <ram at rachum.com> added the comment:

Then I suggest replacing this error message:

    encoder did not return a bytes object (type=str)

and this one:

    'memoryview' object has no attribute 'translate'

With something like:

    Please use `codecs.lookup('rot-13').encode`

----------
assignee:  -> docs at python
components: +Documentation -Library (Lib)
nosy: +docs at python
resolution: invalid -> 
status: closed -> open

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


More information about the docs mailing list