Raymond Hettinger added the comment: The last version of the patch works well for me and has a nice, elegant look. ---------- nosy: +rhettinger _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue24750> _______________________________________