Yongzhi Pan added the comment: Or: In Python, variables inside a function that are only referenced but not assigned are implicitly global.? ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue23589> _______________________________________