mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
bpo-16806: Fix lineno
and col_offset
for multi-line string tokens (GH-10021)
This commit is contained in:
parent
1cffd0eed3
commit
995d9b9297
13 changed files with 91 additions and 51 deletions
16
Python/importlib.h
generated
16
Python/importlib.h
generated
|
@ -204,7 +204,7 @@ const unsigned char _Py_M__importlib_bootstrap[] = {
|
|||
0,0,114,38,0,0,0,114,39,0,0,0,114,48,0,0,
|
||||
0,114,10,0,0,0,114,10,0,0,0,114,10,0,0,0,
|
||||
114,11,0,0,0,114,20,0,0,0,52,0,0,0,115,12,
|
||||
0,0,0,8,4,4,2,8,8,8,12,8,25,8,13,114,
|
||||
0,0,0,8,1,4,5,8,8,8,12,8,25,8,13,114,
|
||||
20,0,0,0,99,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,2,0,0,0,64,0,0,0,115,48,0,0,0,101,0,
|
||||
90,1,100,0,90,2,100,1,90,3,100,2,100,3,132,0,
|
||||
|
@ -255,8 +255,8 @@ const unsigned char _Py_M__importlib_bootstrap[] = {
|
|||
0,0,0,114,3,0,0,0,114,31,0,0,0,114,38,0,
|
||||
0,0,114,39,0,0,0,114,48,0,0,0,114,10,0,0,
|
||||
0,114,10,0,0,0,114,10,0,0,0,114,11,0,0,0,
|
||||
114,49,0,0,0,120,0,0,0,115,10,0,0,0,8,2,
|
||||
4,2,8,4,8,4,8,5,114,49,0,0,0,99,0,0,
|
||||
114,49,0,0,0,120,0,0,0,115,10,0,0,0,8,1,
|
||||
4,3,8,4,8,4,8,5,114,49,0,0,0,99,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,2,0,0,0,64,0,
|
||||
0,0,115,36,0,0,0,101,0,90,1,100,0,90,2,100,
|
||||
1,100,2,132,0,90,3,100,3,100,4,132,0,90,4,100,
|
||||
|
@ -730,7 +730,7 @@ const unsigned char _Py_M__importlib_bootstrap[] = {
|
|||
114,123,0,0,0,218,6,115,101,116,116,101,114,114,130,0,
|
||||
0,0,114,124,0,0,0,114,10,0,0,0,114,10,0,0,
|
||||
0,114,10,0,0,0,114,11,0,0,0,114,112,0,0,0,
|
||||
49,1,0,0,115,32,0,0,0,8,35,4,2,4,1,2,
|
||||
49,1,0,0,115,32,0,0,0,8,1,4,36,4,1,2,
|
||||
255,12,12,8,10,8,12,2,1,10,8,4,1,10,3,2,
|
||||
1,10,7,2,1,10,3,4,1,114,112,0,0,0,169,2,
|
||||
114,113,0,0,0,114,115,0,0,0,99,2,0,0,0,2,
|
||||
|
@ -1147,7 +1147,7 @@ const unsigned char _Py_M__importlib_bootstrap[] = {
|
|||
0,0,0,114,169,0,0,0,114,115,0,0,0,114,97,0,
|
||||
0,0,114,153,0,0,0,114,10,0,0,0,114,10,0,0,
|
||||
0,114,10,0,0,0,114,11,0,0,0,114,158,0,0,0,
|
||||
195,2,0,0,115,42,0,0,0,8,7,4,2,2,1,10,
|
||||
195,2,0,0,115,42,0,0,0,8,2,4,7,2,1,10,
|
||||
8,2,1,12,8,2,1,12,11,2,1,10,7,2,1,10,
|
||||
4,2,1,2,1,12,4,2,1,2,1,12,4,2,1,2,
|
||||
1,12,4,114,158,0,0,0,99,0,0,0,0,0,0,0,
|
||||
|
@ -1280,7 +1280,7 @@ const unsigned char _Py_M__importlib_bootstrap[] = {
|
|||
0,114,90,0,0,0,114,168,0,0,0,114,169,0,0,0,
|
||||
114,115,0,0,0,114,10,0,0,0,114,10,0,0,0,114,
|
||||
10,0,0,0,114,11,0,0,0,114,172,0,0,0,12,3,
|
||||
0,0,115,44,0,0,0,8,7,4,2,2,1,10,8,2,
|
||||
0,0,115,44,0,0,0,8,2,4,7,2,1,10,8,2,
|
||||
1,12,6,2,1,12,8,2,1,10,3,2,1,10,8,2,
|
||||
1,10,8,2,1,2,1,12,4,2,1,2,1,12,4,2,
|
||||
1,2,1,114,172,0,0,0,99,0,0,0,0,0,0,0,
|
||||
|
@ -1757,8 +1757,8 @@ const unsigned char _Py_M__importlib_bootstrap[] = {
|
|||
0,114,215,0,0,0,114,218,0,0,0,114,219,0,0,0,
|
||||
114,223,0,0,0,114,224,0,0,0,114,226,0,0,0,114,
|
||||
10,0,0,0,114,10,0,0,0,114,10,0,0,0,114,11,
|
||||
0,0,0,218,8,60,109,111,100,117,108,101,62,8,0,0,
|
||||
0,115,94,0,0,0,4,17,4,2,8,8,8,8,4,2,
|
||||
0,0,0,218,8,60,109,111,100,117,108,101,62,1,0,0,
|
||||
0,115,94,0,0,0,4,24,4,2,8,8,8,8,4,2,
|
||||
4,3,16,4,14,68,14,21,14,16,8,37,8,17,8,11,
|
||||
14,8,8,11,8,12,8,16,8,36,14,101,16,26,10,45,
|
||||
14,72,8,17,8,17,8,30,8,37,8,42,8,15,14,73,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue