Kirk Sayre added the comment: Here is a more robust version of my local fix for this problem. ---------- Added file: http://bugs.python.org/file46869/pgen.py _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue24960> _______________________________________