Serhiy Storchaka added the comment: > * I think you should add the flag to the constructor of the CodecInfo > tuple subclass and then set this in the resp. codecs. The extra > constructor class method looks too much like a hack and is > not needed.
I think that adding new keyword argument to public function is much worse than adding new private class method or private module level function. Arguments are always visible, while private methods and functions are usually hidden. New argument will confuse users. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19619> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com