Title: sys._getframe patch for Python 2.6
Type: behavior Stage:
Components: Library (Lib) Versions: Python 2.7, Python 2.6
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: michael.foord Nosy List: michael.foord
Priority: normal Keywords: needs review, patch

Created on 2009-07-26 20:21 by michael.foord, last changed 2009-07-26 21:12 by michael.foord. This issue is now closed.

File name Uploaded Description Edit
inspect.patch michael.foord, 2009-07-26 20:21
Messages (3)
msg90955 - (view) Author: Michael Foord (michael.foord) * (Python committer) Date: 2009-07-26 20:21
Patch for 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 required on trunk.
msg90956 - (view) Author: Michael Foord (michael.foord) * (Python committer) Date: 2009-07-26 20:27
hmm... the lambda should probably take an argument like sys._getframe.
msg90959 - (view) Author: Michael Foord (michael.foord) * (Python committer) Date: 2009-07-26 21:12
Committed in revision 74215 & revision 74216.
Date User Action Args
2009-07-26 21:12:59michael.foordsetstatus: open -> closed
keywords: patch, patch, needs review
resolution: accepted
messages: + msg90959
2009-07-26 20:27:20michael.foordsetkeywords: patch, patch, needs review

messages: + msg90956
2009-07-26 20:21:34michael.foordcreate