Dino Viehland wrote:
Not too long ago I prototyped a frames implementation including
making _getframe work - but it doesn't include locals in the frames.
I guess in this case it would work just fine.
The downside is it results in a 50% perf degrade on Pybench when
calling recursive functions. But we're already really fast calling
functions so maybe that's acceptable. Anyway it's something we can
consider for a post-2.0 release (maybe w/ a command line option to
control its presence) but I came up with the prototype too late to go
adding it to 2.0.
add prototype frames: +1
by default, or with command-line option: +1
Thanks!
-Doug
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com