• 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
..
2017-09-26-10-11-21.bpo-31583.TM90_H.rst Loading commit data...
2017-12-07-20-51-20.bpo-32222.hPBcGT.rst Loading commit data...
2018-02-20-12-16-47.bpo-32885.dL5x7C.rst Loading commit data...
2018-03-02-16-23-31.bpo-25427.1mgMOG.rst Loading commit data...
2018-03-16-17-25-05.bpo-29673.m8QtaW.rst Loading commit data...
2018-03-26-18-54-24.bpo-31920.u_WKsT.rst Loading commit data...
2018-04-03-18-10-00.bpo-33189.QrXR00.rst Loading commit data...
2018-06-14-16-16-53.bpo-32962.2YfdwI.rst Loading commit data...
2018-06-14-16-23-07.bpo-32962.Q3Dwns.rst Loading commit data...
2018-07-24-00-11-44.bpo-20260.klmmqI.rst Loading commit data...
2018-10-15-13-22-28.bpo-34989.hU4fra.rst Loading commit data...
README.rst Loading commit data...