Georg Brandl <georg at python.org> added the comment: Proposed patch attached. Added file: http://bugs.python.org/file12972/sp-patch.py _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue5179> _______________________________________