STINNER Victor added the comment: I don't remember il the deprecation of bytes filename is documented. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue16700> _______________________________________