Commit 785ee66
pythongh-121914: Change the names of the symbol tables for lambda and genexpr (pythonGH-135288)
Change the names of the symbol tables for lambda expressions and generator
expressions to "<lambda>" and "<genexpr>" respectively to avoid conflicts
with user-defined names.1 parent bd331b8 commit 785ee66
8 files changed
Lines changed: 60 additions & 52 deletions
File tree
- Include/internal
- Lib
- test
- Misc/NEWS.d/next/Library
- Python
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
399 | 398 | | |
400 | 399 | | |
401 | 400 | | |
| |||
470 | 469 | | |
471 | 470 | | |
472 | 471 | | |
473 | | - | |
474 | 472 | | |
475 | 473 | | |
476 | 474 | | |
| |||
546 | 544 | | |
547 | 545 | | |
548 | 546 | | |
549 | | - | |
550 | 547 | | |
551 | 548 | | |
552 | 549 | | |
| |||
562 | 559 | | |
563 | 560 | | |
564 | 561 | | |
565 | | - | |
566 | 562 | | |
567 | 563 | | |
568 | 564 | | |
| |||
709 | 705 | | |
710 | 706 | | |
711 | 707 | | |
712 | | - | |
713 | 708 | | |
714 | 709 | | |
715 | 710 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | 258 | | |
264 | 259 | | |
265 | 260 | | |
266 | 261 | | |
267 | 262 | | |
268 | 263 | | |
269 | 264 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | 265 | | |
278 | 266 | | |
279 | 267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
530 | 582 | | |
531 | 583 | | |
532 | 584 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2413 | 2413 | | |
2414 | 2414 | | |
2415 | 2415 | | |
2416 | | - | |
| 2416 | + | |
2417 | 2417 | | |
2418 | 2418 | | |
2419 | 2419 | | |
| |||
3055 | 3055 | | |
3056 | 3056 | | |
3057 | 3057 | | |
3058 | | - | |
| 3058 | + | |
3059 | 3059 | | |
3060 | 3060 | | |
3061 | 3061 | | |
3062 | 3062 | | |
3063 | 3063 | | |
3064 | 3064 | | |
3065 | 3065 | | |
3066 | | - | |
| 3066 | + | |
3067 | 3067 | | |
3068 | 3068 | | |
3069 | 3069 | | |
3070 | 3070 | | |
3071 | 3071 | | |
3072 | 3072 | | |
3073 | 3073 | | |
3074 | | - | |
| 3074 | + | |
3075 | 3075 | | |
3076 | 3076 | | |
3077 | 3077 | | |
3078 | 3078 | | |
3079 | 3079 | | |
3080 | 3080 | | |
3081 | 3081 | | |
3082 | | - | |
| 3082 | + | |
3083 | 3083 | | |
3084 | 3084 | | |
3085 | 3085 | | |
| |||
0 commit comments