@@ -360,13 +360,13 @@ def bug42562():
360
360
--> BINARY_OP 11 (/)
361
361
POP_TOP
362
362
363
- %3d >> LOAD_FAST_CHECK 1 (tb)
363
+ %3d LOAD_FAST_CHECK 1 (tb)
364
364
RETURN_VALUE
365
365
>> PUSH_EXC_INFO
366
366
367
367
%3d LOAD_GLOBAL 0 (Exception)
368
368
CHECK_EXC_MATCH
369
- POP_JUMP_IF_FALSE 22 (to 80 )
369
+ POP_JUMP_IF_FALSE 23 (to 82 )
370
370
STORE_FAST 0 (e)
371
371
372
372
%3d LOAD_FAST 0 (e)
@@ -376,7 +376,9 @@ def bug42562():
376
376
LOAD_CONST 0 (None)
377
377
STORE_FAST 0 (e)
378
378
DELETE_FAST 0 (e)
379
- JUMP_BACKWARD 29 (to 14)
379
+
380
+ %3d LOAD_FAST 1 (tb)
381
+ RETURN_VALUE
380
382
>> LOAD_CONST 0 (None)
381
383
STORE_FAST 0 (e)
382
384
DELETE_FAST 0 (e)
@@ -394,6 +396,7 @@ def bug42562():
394
396
TRACEBACK_CODE .co_firstlineno + 5 ,
395
397
TRACEBACK_CODE .co_firstlineno + 3 ,
396
398
TRACEBACK_CODE .co_firstlineno + 4 ,
399
+ TRACEBACK_CODE .co_firstlineno + 5 ,
397
400
TRACEBACK_CODE .co_firstlineno + 3 )
398
401
399
402
def _fstring (a , b , c , d ):
@@ -440,7 +443,7 @@ def _with(c):
440
443
CALL 2
441
444
POP_TOP
442
445
443
- %3d >> LOAD_CONST 2 (2)
446
+ %3d LOAD_CONST 2 (2)
444
447
STORE_FAST 2 (y)
445
448
LOAD_CONST 0 (None)
446
449
RETURN_VALUE
@@ -453,7 +456,11 @@ def _with(c):
453
456
POP_EXCEPT
454
457
POP_TOP
455
458
POP_TOP
456
- JUMP_BACKWARD 13 (to 30)
459
+
460
+ %3d LOAD_CONST 2 (2)
461
+ STORE_FAST 2 (y)
462
+ LOAD_CONST 0 (None)
463
+ RETURN_VALUE
457
464
>> COPY 3
458
465
POP_EXCEPT
459
466
RERAISE 1
@@ -465,6 +472,7 @@ def _with(c):
465
472
_with .__code__ .co_firstlineno + 1 ,
466
473
_with .__code__ .co_firstlineno + 3 ,
467
474
_with .__code__ .co_firstlineno + 1 ,
475
+ _with .__code__ .co_firstlineno + 3 ,
468
476
)
469
477
470
478
async def _asyncwith (c ):
@@ -502,7 +510,7 @@ async def _asyncwith(c):
502
510
JUMP_BACKWARD_NO_INTERRUPT 4 (to 48)
503
511
>> POP_TOP
504
512
505
- %3d >> LOAD_CONST 2 (2)
513
+ %3d LOAD_CONST 2 (2)
506
514
STORE_FAST 2 (y)
507
515
LOAD_CONST 0 (None)
508
516
RETURN_VALUE
@@ -526,7 +534,11 @@ async def _asyncwith(c):
526
534
POP_EXCEPT
527
535
POP_TOP
528
536
POP_TOP
529
- JUMP_BACKWARD 24 (to 58)
537
+
538
+ %3d LOAD_CONST 2 (2)
539
+ STORE_FAST 2 (y)
540
+ LOAD_CONST 0 (None)
541
+ RETURN_VALUE
530
542
>> COPY 3
531
543
POP_EXCEPT
532
544
RERAISE 1
@@ -538,6 +550,7 @@ async def _asyncwith(c):
538
550
_asyncwith .__code__ .co_firstlineno + 1 ,
539
551
_asyncwith .__code__ .co_firstlineno + 3 ,
540
552
_asyncwith .__code__ .co_firstlineno + 1 ,
553
+ _asyncwith .__code__ .co_firstlineno + 3 ,
541
554
)
542
555
543
556
0 commit comments