FAQ
I was writing similar tools, and found strange things related to f_lineno.
For multi-line statements, python 2.2.1 sometimes sets f_lineno to the
start line, and sometimes to the current line. This is not related to -O
optimization.
I reported this to SF bug 607092, but this case is now closed with
"won't fix" status. Anyway, there seems to be an extensive change to
f_lineno in 2.3, so I'm just waiting for it.

--Inyeol

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 18 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedSep 19, '02 at 2:54a
activeSep 22, '02 at 11:51p
posts18
users7
websitepython.org

People

Translate

site design / logo © 2022 Grokbase