On Sun, 27 Jan 2008 11:16:00 -0700, Steven Bethard wrote: > Why not mess with the namespace inside the setup code? E.g.:: [snip]
Ah, thanks, good thinking. It's not perfect, but it should be close enough for what I'm trying to do. -- Steven who still wishes you could explicitly pass a namespace to timeit.Timer... -- http://mail.python.org/mailman/listinfo/python-list