cpython/Lib/importlib
Victor Stinner f3914eb16d co_lnotab supports negative line number delta
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
2016-01-20 12:16:21 +01:00
..
__init__.py Issue #24192: Fix namespace package imports. 2015-05-15 21:54:59 -06:00
_bootstrap.py Issue #25791: Raise an ImportWarning when __spec__ or __package__ are 2016-01-15 13:33:03 -08:00
_bootstrap_external.py co_lnotab supports negative line number delta 2016-01-20 12:16:21 +01:00
abc.py Issue #24192: Fix namespace package imports. 2015-05-15 21:54:59 -06:00
machinery.py Issue #23911: Move path-based bootstrap code to a separate frozen module. 2015-05-02 19:15:18 -06:00
util.py Issue #25771: Tweak ValueError message when package isn't specified 2015-12-04 15:19:42 -08:00