• Victor Stinner's avatar
    bpo-34989: python-gdb.py: fix current_line_num() (GH-9889) · 2e438cc2
    Victor Stinner yazdı
    python-gdb.py now handles errors on computing the line number
    of a Python frame.
    
    Changes:
    
    * PyFrameObjectPtr.current_line_num() now catchs any Exception on
      calling addr2line(), instead of failing with a surprising "<class
      'TypeError'> 'FakeRepr' object is not subscriptable" error.
    * All callers of current_line_num() now handle current_line_num()
      returning None.
    * PyFrameObjectPtr.current_line() now also catchs IndexError on
      getting a line from the Python source file.
    2e438cc2
Adı
Son kayıt (commit)
Son güncelleme
..
NEWS.d Loading commit data...
ACKS Loading commit data...
HISTORY Loading commit data...
Porting Loading commit data...
README Loading commit data...
README.AIX Loading commit data...
README.coverity Loading commit data...
README.valgrind Loading commit data...
SpecialBuilds.txt Loading commit data...
coverity_model.c Loading commit data...
gdbinit Loading commit data...
indent.pro Loading commit data...
python-config.in Loading commit data...
python-config.sh.in Loading commit data...
python-wing3.wpr Loading commit data...
python-wing4.wpr Loading commit data...
python-wing5.wpr Loading commit data...
python.man Loading commit data...
python.pc.in Loading commit data...
svnmap.txt Loading commit data...
valgrind-python.supp Loading commit data...
vgrindefs Loading commit data...