Author martin.panter
Recipients ezio.melotti, lemburg, martin.panter, serhiy.storchaka, vstinner
Date 2017-03-11.00:41:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I agree that it would be better to hold off deprecating until Python 2 is no longer supported. This deprecation also discussed in Issue 8796.

There is more to compatability than the missing attributes. The most obvious one to me is that the’s parameter (read size) seems to correspond best with the second parameter (chars) to

The rot-13 codec is not relevant to, because rot-13 is a text-to-text codec. is documented as opening files in “binary” (i.e. bytes) mode. I don’t think this is a bug with the rot-13 StreamWriter.

The documentation gives the impression that bytes-to-bytes codecs should work, including stateful usage such as with So I would consider that usage legitimate. But see Issue 20132 about problems with various (mainly bytes–bytes) stateful codecs. Either the problems should be treated as bugs to be fixed, or the documentation should be clarified to say they represent missing features.
Date User Action Args
2017-03-11 00:41:55martin.pantersetrecipients: + martin.panter, lemburg, vstinner, ezio.melotti, serhiy.storchaka
2017-03-11 00:41:55martin.pantersetmessageid: <>
2017-03-11 00:41:55martin.panterlinkissue29783 messages
2017-03-11 00:41:55martin.pantercreate