cpython/Python
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
..
clinic Rebuilt Clinic generated code. 2015-08-24 20:23:27 -07:00
_warnings.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
asdl.c
ast.c Fix two instances of wrong indentation. 2016-01-18 07:53:59 +01:00
bltinmodule.c Issue #24802: Merge null termination fixes from 3.5 2015-11-07 03:15:32 +00:00
ceval.c Issue #20440: Applied yet one patch for using Py_SETREF. 2015-12-27 12:38:28 +02:00
ceval_gil.h
codecs.c Issue #24993: Handle import error in namereplace error handler 2015-09-03 16:19:40 +02:00
compile.c co_lnotab supports negative line number delta 2016-01-20 12:16:21 +01:00
condvar.h
dtoa.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
dup2.c
dynamic_annotations.c
dynload_aix.c
dynload_dl.c
dynload_hpux.c
dynload_next.c
dynload_shlib.c
dynload_stub.c
dynload_win.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
errors.c Add _PyThreadState_UncheckedGet() 2016-01-20 11:12:38 +01:00
fileutils.c Fix a couple of typos in code comments 2015-12-17 10:18:28 +00:00
formatter_unicode.c Issue #25923: Added the const qualifier to static constant arrays. 2015-12-25 19:53:18 +02:00
frozen.c
frozenmain.c Issue #5319: New Py_FinalizeEx() API to exit with status 120 on failure 2015-11-30 03:18:29 +00:00
future.c
getargs.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
getcompiler.c
getcopyright.c 2016 will be another year of writing copyrighted code 2016-01-01 10:23:45 -06:00
getopt.c
getplatform.c
getversion.c
graminit.c Issue #9232: Support trailing commas in function declarations. 2015-08-12 08:00:06 +12:00
import.c Issue #25791: Raise an ImportWarning when __spec__ or __package__ are 2016-01-15 13:33:03 -08:00
importdl.c Issue #25923: Added the const qualifier to static constant arrays. 2015-12-25 19:53:18 +02:00
importdl.h
importlib.h Issue #25791: Raise an ImportWarning when __spec__ or __package__ are 2016-01-15 13:33:03 -08:00
importlib_external.h co_lnotab supports negative line number delta 2016-01-20 12:16:21 +01:00
makeopcodetargets.py
marshal.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
modsupport.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
mysnprintf.c
mystrtoul.c Issue #25923: Added the const qualifier to static constant arrays. 2015-12-25 19:53:18 +02:00
opcode_targets.h Issue 25483: Add an opcode to make f-string formatting more robust. 2015-11-03 12:45:05 -05:00
peephole.c co_lnotab supports negative line number delta 2016-01-20 12:16:21 +01:00
pyarena.c
pyctype.c
pyfpe.c
pyhash.c
pylifecycle.c Fix indentation of continuation lines. 2016-01-18 08:00:15 +01:00
pymath.c
pystate.c Merge 3.5 2016-01-20 11:19:46 +01:00
pystrcmp.c
pystrhex.c
pystrtod.c Issue #25923: Added the const qualifier to static constant arrays. 2015-12-25 19:53:18 +02:00
Python-ast.c Issue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node when 2015-11-06 17:01:48 +01:00
pythonrun.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
pytime.c Merge 3.5 (pytime) 2015-11-10 12:11:52 +01:00
random.c Issue #25558: Use compile-time asserts. 2015-11-07 15:42:38 +02:00
README
sigcheck.c
strdup.c
structmember.c
symtable.c merge 3.5 (#25973) 2015-12-29 10:08:51 -06:00
sysmodule.c Merge 3.5 2016-01-20 11:19:46 +01:00
thread.c Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 2015-11-02 04:04:57 +00:00
thread_foobar.h
thread_nt.h
thread_pthread.h
traceback.c

Miscellaneous source files for the main Python shared library