Message109040
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()") |
|
Date |
User |
Action |
Args |
2010-07-01 10:32:30 | mark.dickinson | set | recipients:
+ mark.dickinson, ezio.melotti, ubershmekel, skrah |
2010-07-01 10:32:30 | mark.dickinson | set | messageid: <1277980350.4.0.170802146381.issue9136@psf.upfronthosting.co.za> |
2010-07-01 10:32:28 | mark.dickinson | link | issue9136 messages |
2010-07-01 10:32:28 | mark.dickinson | create | |
|