STINNER Victor <victor.stinner at haypocalc.com> added the comment: Wow, nice trick (shutil.open = func) :-) ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue4265> _______________________________________