Raymond Hettinger added the comment: Would it be safer/simpler to just autocomplete string keys. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue21261> _______________________________________