Stefan Krah <stefan-use...@bytereef.org> added the comment: Still clueless about profile.py, but I think it creates a parallel stack, and overwriting of locals legitimately occurs in that stack, producing the Exception.
So it would appear that by design one simply cannot iterate over locals when using the profile module. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9136> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com