Message215944
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 the if __name__; clause are ancient holdovers that should be removed. In other words, I am not sure if Berker's test is currently a supported usage. I remember that there was some discussion on pydev about how much to add back but not the details. |
|
Date |
User |
Action |
Args |
2014-04-11 18:38:07 | terry.reedy | set | recipients:
+ terry.reedy, lemburg, pitrou, vstinner, benjamin.peterson, ezio.melotti, berker.peksag, Pix |
2014-04-11 18:38:07 | terry.reedy | set | messageid: <1397241487.77.0.368509721163.issue21171@psf.upfronthosting.co.za> |
2014-04-11 18:38:07 | terry.reedy | link | issue21171 messages |
2014-04-11 18:38:07 | terry.reedy | create | |
|