Message177008
To me, the whole issue is at line ~ 480 in peehole.c in the LOAD_NAME/LOAD_GLOBAL switch case.
This explains the difference between `return` and `return None` as the former is actually compiled to LOAD_CONST. OTOH, `return None` has to pass the optim pass to be changed in LOAD_CONST. The real bug is sometime it doesn't. |
|
Date |
User |
Action |
Args |
2012-12-05 20:59:26 | bruno.dupuis | set | recipients:
+ bruno.dupuis, ikelly, Horpner, mrabarnett, steven.daprano, python-dev |
2012-12-05 20:59:26 | bruno.dupuis | set | messageid: <1354741166.56.0.334141263558.issue16619@psf.upfronthosting.co.za> |
2012-12-05 20:59:26 | bruno.dupuis | link | issue16619 messages |
2012-12-05 20:59:26 | bruno.dupuis | create | |
|