Andrew Svetlov added the comment: I like the last patch from Victor. It works on Windows also. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue16218> _______________________________________