Marc-Andre Lemburg added the comment: On 25.03.2013 23:11, Terry J. Reedy wrote: > 2. The codecs.writelines entry says "Writes the concatenated list of strings > to the stream (possibly by reusing the write() method)." For the base class, > that is overly restrictive, but I gather that Marc-Andre does not want to > require that all subclasses be as relaxed. I presume there must be a reason. > That means that the feature request of doing so is rejected by him. In that > respect, this should be closed unless other developers strongly disagree.
The doc string of the base class merely describes what the .writelines() method will be doing. It's not meant as a requirement. In one of the previous messages, I've already outlined a workable approach to solve the case that the original request was addressing. There isn't much point in making the common case slower just to address a theoretical corner case. Since no patch has since been submitted, I'd suggest to close the ticket as won't fix or out of date. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5445> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com