bpo-44885: Correct the ast locations of f-strings with format specs and repeated expressions (GH-27729)

This commit is contained in:
Pablo Galindo Salgado 2021-08-12 17:13:30 +01:00 committed by GitHub
parent 789a6af29f
commit 8e832fb2a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 103 additions and 91 deletions

6
Python/importlib.h generated
View file

@ -1518,7 +1518,7 @@ const unsigned char _Py_M__importlib_bootstrap[] = {
109,111,100,117,108,101,95,114,101,112,114,224,2,0,0,115,
8,0,0,0,6,7,2,1,4,255,22,2,115,6,0,0,
0,2,7,10,1,22,1,115,34,0,0,0,9,18,9,80,
24,59,61,79,9,80,9,80,16,75,17,23,17,32,16,75,
24,59,61,79,9,80,9,80,16,75,27,33,27,42,16,75,
16,75,48,63,48,71,16,75,16,75,16,75,9,75,114,17,
0,0,0,78,99,4,0,0,0,0,0,0,0,0,0,0,
0,5,0,0,0,3,0,0,0,115,42,0,0,0,124,2,
@ -2127,7 +2127,7 @@ const unsigned char _Py_M__importlib_bootstrap[] = {
60,13,60,0,0,8,14,5,47,25,28,25,36,37,43,25,
44,9,22,9,47,13,20,21,34,36,41,43,49,13,50,13,
50,12,18,5,18,0,0,9,47,16,30,9,47,9,47,9,
47,9,47,19,86,20,26,19,86,19,86,20,25,19,86,19,
47,9,47,19,86,49,55,19,86,19,86,77,82,19,86,19,
86,13,16,13,22,13,47,28,31,33,46,13,47,13,47,13,
47,12,18,5,18,9,47,0,0,12,18,5,18,115,39,0,
0,0,167,3,43,0,171,23,65,2,7,193,40,4,65,52,
@ -2323,7 +2323,7 @@ const unsigned char _Py_M__importlib_bootstrap[] = {
0,15,22,15,41,27,40,15,41,5,12,12,19,12,35,24,
34,12,35,5,9,8,15,23,27,8,27,5,49,12,16,24,
28,12,28,9,56,33,40,44,48,44,55,33,55,9,56,13,
22,13,56,28,63,29,36,28,63,28,63,29,33,29,40,28,
22,13,56,28,63,32,39,28,63,28,63,47,51,47,58,28,
63,28,63,28,63,28,41,54,55,13,56,13,56,13,56,16,
23,9,23,10,14,22,26,10,26,5,49,16,20,16,27,9,
27,9,18,9,52,24,63,24,37,50,51,9,52,9,52,9,