[issue5954] PyFrame_GetLineNumber

2010-01-06 Thread Georg Brandl
Georg Brandl added the comment: This was merged in r74132. -- nosy: +georg.brandl status: open -> closed ___ Python tracker ___ ___ Py

[issue5954] PyFrame_GetLineNumber

2009-05-08 Thread Jeffrey Yasskin
Jeffrey Yasskin added the comment: Documented and committed as r72488. This should be forward-ported to 3.x also, but since we've already started the betas for 3.1, it should probably wait for 3.2. -- keywords: -needs review ___ Python tracker

[issue5954] PyFrame_GetLineNumber

2009-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Please add doc to the patch, it looks ok otherwise. -- assignee: -> jyasskin nosy: +pitrou resolution: -> accepted stage: patch review -> commit review versions: +Python 3.1 ___ Python tracker

[issue5954] PyFrame_GetLineNumber

2009-05-07 Thread Jeffrey Yasskin
New submission from Jeffrey Yasskin : Most uses of PyCode_Addr2Line (http://www.google.com/codesearch?q=PyCode_Addr2Line) are just trying to get the line number of a specified frame, but there's no way to do that directly. Forcing people to go through the code object makes them know more about th