Nick Coghlan added the comment: Patch looks reasonable to me - if nobody beats me to it, I'll commit this before beta 1 :) ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue19282> _______________________________________