[IronPython] IronPython, Python 2.6 and sys._getframe
Michael Foord
fuzzyman at voidspace.org.uk
Tue Mar 24 21:50:10 CET 2009
Hello all,
Dave has posted a blog entry on IronPython 2.6 and the Python 2.6
standard library.
http://knowbody.livejournal.com/13271.html
Many standard libraries now depend on collections.py, which is
incompatible with IronPython because it assumes that if sys._getframe
exists that it works!
As Jython used to not implement sys._getframe there are various places
in the standard library (and other code) that attempt compatibility with
implementation that don't have a working _getframe by doing if
hasattr(sys, '_getframe').
Wouldn't it make more sense for IronPython *not* to define _getframe
rather than the current situation?
Thanks
Michael
--
http://www.ironpythoninaction.com/
More information about the Ironpython-users
mailing list