cpython/Objects
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 Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
stringlib Issue #24821: Refactor STRINGLIB(fastsearch_memchr_1char) and split it on 2015-11-14 15:42:17 +02:00
README
abstract.c Issue #24802: Merge null termination fixes from 3.5 2015-11-07 03:15:32 +00:00
accu.c
boolobject.c
bytearrayobject.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
bytes_methods.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
bytesobject.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
capsule.c
cellobject.c
classobject.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
codeobject.c co_lnotab supports negative line number delta 2016-01-20 12:16:21 +01:00
complexobject.c Issue #24802: Merge null termination fixes from 3.4 into 3.5 2015-11-07 02:56:11 +00:00
descrobject.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
dict-common.h Issue #16991: Add a C implementation of collections.OrderedDict. 2015-05-29 22:21:39 -06:00
dictnotes.txt
dictobject.c Merge 3.5 2016-01-20 11:19:46 +01:00
enumobject.c
exceptions.c Issue #20440: Cleaning up the code by using Py_SETREF. 2016-01-05 21:27:54 +02:00
fileobject.c (Merge 3.4) Issue #25182: Fix compilation on Windows 2015-09-30 15:03:31 +02:00
floatobject.c Clean up float.as_integer_ratio(). 2015-12-29 22:55:48 +02:00
frameobject.c co_lnotab supports negative line number delta 2016-01-20 12:16:21 +01:00
funcobject.c Issue #20440: Cleaning up the code by using Py_SETREF. 2016-01-05 21:27:54 +02:00
genobject.c Issue #20440: Cleaning up the code by using Py_SETREF. 2016-01-05 21:27:54 +02:00
iterobject.c Issue #23985: Fixed integer overflow in iterator object. Patch by 2015-05-21 20:51:53 +03:00
listobject.c Issue #20440: Cleaning up the code by using Py_SETREF and Py_CLEAR. 2015-12-27 15:51:32 +02:00
listsort.txt Issue #25899: Converted Objects/listsort.txt to UTF-8. 2015-12-18 13:23:33 +02:00
lnotab_notes.txt co_lnotab supports negative line number delta 2016-01-20 12:16:21 +01:00
longobject.c Issue #24731: Fixed crash on converting objects with special methods 2015-11-25 15:53:19 +02:00
memoryobject.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
methodobject.c More typos in 3.5 documentation and comments 2015-10-07 11:03:53 +00:00
moduleobject.c Issue #20440: Massive replacing unsafe attribute setting code with special 2015-12-24 10:35:59 +02:00
namespaceobject.c Issue #24257: Fixed incorrect uses of PyObject_IsInstance(). 2015-05-22 11:02:49 +03:00
object.c Issue #20440: Cleaning up the code by using Py_SETREF. 2016-01-05 21:27:54 +02:00
obmalloc.c Issue #23450: Fixed possible integer overflows. 2015-02-16 20:52:17 +02:00
odictobject.c Issue #25935: Garbage collector now breaks reference loops with OrderedDict. 2016-01-19 14:46:25 +02:00
rangeobject.c Issue #20440: Applied yet one patch for using Py_SETREF. 2015-12-27 12:36:18 +02:00
setobject.c merge 3.5 2016-01-01 11:56:35 -06:00
sliceobject.c
structseq.c Issue #25923: Added the const qualifier to static constant arrays. 2015-12-25 19:53:18 +02:00
tupleobject.c Issue #20440: Cleaning up the code by using Py_SETREF and Py_CLEAR. 2015-12-27 15:51:32 +02:00
typeobject.c merge 3.5 (#25731) 2016-01-18 21:18:35 -08:00
typeslots.inc add Py_tp_finalize slot (closes #24345) 2015-06-01 10:12:48 -05:00
typeslots.py PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
unicodectype.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
unicodeobject.c Issue #20440: More use of Py_SETREF. 2015-12-27 15:44:33 +02:00
unicodetype_db.h upgrade to Unicode 8.0.0 2015-06-27 15:45:56 -05:00
weakrefobject.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00

README

Source files for various builtin objects