Author bruno.dupuis
Recipients Horpner, bruno.dupuis, ikelly, mrabarnett, python-dev, steven.daprano
Date 2012-12-05.20:59:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:26bruno.dupuissetrecipients: + bruno.dupuis, ikelly, Horpner, mrabarnett, steven.daprano, python-dev
2012-12-05 20:59:26bruno.dupuissetmessageid: <>
2012-12-05 20:59:26bruno.dupuislinkissue16619 messages
2012-12-05 20:59:26bruno.dupuiscreate