Serhiy Storchaka added the comment: Perhaps we should add a deprecation warning for codecs streams right in this patch? ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17915> _______________________________________