Browse Source
bpo-42739: Don't use sentinels to mark end of line table. (GH-25657)
bpo-42739: Don't use sentinels to mark end of line table. (GH-25657)
* Add length parameter to PyLineTable_InitAddressRange and doen't use sentinel values at end of table. Makes the line number table more robust. * Update PyCodeAddressRange to match PEP 626.pull/11789/head
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 4966 additions and 4984 deletions
-
11Include/cpython/code.h
-
6Lib/ctypes/test/test_values.py
-
3Lib/importlib/_bootstrap_external.py
-
6Lib/test/test_code.py
-
2Lib/test/test_dis.py
-
4Misc/NEWS.d/next/Core and Builtins/2021-04-27-10-59-10.bpo-42739.PrVkKM.rst
-
41Objects/codeobject.c
-
4Objects/lnotab_notes.txt
-
4Python/compile.c
-
2Python/frozen_hello.h
-
3203Python/importlib.h
-
4796Python/importlib_external.h
-
1868Python/importlib_zipimport.h
@ -0,0 +1,4 @@ |
|||
The internal representation of line number tables is changed to not use |
|||
sentinels, and an explicit length parameter is added to the out of process |
|||
API function ``PyLineTable_InitAddressRange``. This makes the handling of |
|||
line number tables more robust in some circumstances. |
|||
3203
Python/importlib.h
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
4796
Python/importlib_external.h
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
1868
Python/importlib_zipimport.h
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save
Reference in new issue