[issue6581] inspect.py sys._getframe patch for Python 2.6

2009-07-26 Thread Michael Foord
Michael Foord added the comment: Committed in revision 74215 & revision 74216. -- resolution: -> accepted status: open -> closed ___ Python tracker ___ _

[issue6581] inspect.py sys._getframe patch for Python 2.6

2009-07-26 Thread Michael Foord
Michael Foord added the comment: hmm... the lambda should probably take an argument like sys._getframe. -- ___ Python tracker ___ ___

[issue6581] inspect.py sys._getframe patch for Python 2.6

2009-07-26 Thread Michael Foord
New submission from Michael Foord : Patch for inspect.py so that it will import correctly even if sys._getframe is unavailable. Without this patch inspect can't be imported under IronPython 2.6 (breaking basic features like help) when started without Python stack frame support. The same fix is