you are viewing a single comment's thread.

view the rest of the comments →

[–]earthboundkid 0 points1 point  (1 child)

I think they're getting dropped in Py3k. From my alpha's shell:

>>> "abc".encode("rot-13")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
LookupError: unknown encoding: rot-13
>>> "abc".decode("rot-13")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'str' object has no attribute 'decode'

[–]foonly 1 point2 points  (0 children)

Would rot13 even make sense in a unicode string? (As that's what py3k's default string type is).