• Victor Stinner's avatar
    co_lnotab supports negative line number delta · f3914eb1
    Victor Stinner yazdı
    Issue #26107: The format of the co_lnotab attribute of code objects changes to
    support negative line number delta.
    
    Changes:
    
    * assemble_lnotab(): if line number delta is less than -128 or greater than
      127, emit multiple (offset_delta, lineno_delta) in co_lnotab
    * update functions decoding co_lnotab to use signed 8-bit integers
    
      - dis.findlinestarts()
      - PyCode_Addr2Line()
      - _PyCode_CheckLineNumber()
      - frame_setlineno()
    
    * update lnotab_notes.txt
    * increase importlib MAGIC_NUMBER to 3361
    * document the change in What's New in Python 3.6
    * cleanup also PyCode_Optimize() to use better variable names
    f3914eb1
Adı
Son kayıt (commit)
Son güncelleme
..
ACKS Loading commit data...
HISTORY Loading commit data...
NEWS 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...