Mark Dickinson <dicki...@gmail.com> added the comment: Removing the decimal module from the equation, the following is enough to trigger this for me. Stefan's suggestion about the profile module writing to locals sounds right on target.
import profile class Context(object): def __init__(self): for name, val in locals().items(): setattr(self, name, val) profile.run("Context()") ---------- _______________________________________ 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