diff options
author | Guido van Rossum <guido@python.org> | 1997-09-26 22:43:02 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-09-26 22:43:02 (GMT) |
commit | 475296619309df6d437b6c6bdd33aea527e664cb (patch) | |
tree | 0ca622cc515320887822e1694690d1995ba1c57b /Python | |
parent | 2781fbe46c7f8d8e391c3f3f3e8692b451e6142f (diff) | |
download | cpython-475296619309df6d437b6c6bdd33aea527e664cb.zip cpython-475296619309df6d437b6c6bdd33aea527e664cb.tar.gz cpython-475296619309df6d437b6c6bdd33aea527e664cb.tar.bz2 |
Use Marc Lemburg's tb_lineno() to calculate the correct line number.
Apparently the traceback object doesn't contains the right linenumber
when -O is used. Rather than guessing whether -O is on or off, use
tb_lineno() unconditionally.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions