mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00

This PR is part of PEP 657 and augments the compiler to emit ending line numbers as well as starting and ending columns from the AST into compiled code objects. This allows bytecodes to be correlated to the exact source code ranges that generated them. This information is made available through the following public APIs: * The `co_positions` method on code objects. * The C API function `PyCode_Addr2Location`. Co-authored-by: Batuhan Taskaya <isidentical@gmail.com> Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
13 lines
608 B
C
13 lines
608 B
C
/* Auto-generated by Programs/_freeze_importlib.c */
|
|
const unsigned char _Py_M__hello[] = {
|
|
99,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,
|
|
0,0,0,0,0,115,16,0,0,0,100,0,90,0,101,1,
|
|
100,1,131,1,1,0,100,2,83,0,41,3,84,122,12,72,
|
|
101,108,108,111,32,119,111,114,108,100,33,78,41,2,90,11,
|
|
105,110,105,116,105,97,108,105,122,101,100,218,5,112,114,105,
|
|
110,116,169,0,243,0,0,0,0,122,14,60,102,114,111,122,
|
|
101,110,32,104,101,108,108,111,62,218,8,60,109,111,100,117,
|
|
108,101,62,1,0,0,0,243,4,0,0,0,4,0,12,1,
|
|
114,4,0,0,0,115,16,0,0,0,15,19,1,12,1,6,
|
|
7,21,1,22,1,22,1,22,1,22,114,2,0,0,0,
|
|
};
|