Message182470
+ NAME_ERROR_MSGy, name);
will give a NameError ;-).
The patch undoes the change from 'name' to 'global name'. Skimming the PEP, I do not see this change mandated or justified by the PEP. So my current view: while it is true that it is the final, global name lookup that fails, I agree with Ram that it is not necessarily a global name that was mistyped or is missing. So in absence of better justification of the status quo, I would apply the patch. Backport to 3.3 would be ok but not necessary, as the message is not nearly as wrong as some have been. |
|
Date |
User |
Action |
Args |
2013-02-20 05:08:56 | terry.reedy | set | recipients:
+ terry.reedy, ncoghlan, pjenvey, ezio.melotti, eric.araujo, cool-RR, Jeremy.Hylton, Ramchandra Apte |
2013-02-20 05:08:56 | terry.reedy | set | messageid: <1361336936.74.0.896434742429.issue17032@psf.upfronthosting.co.za> |
2013-02-20 05:08:56 | terry.reedy | link | issue17032 messages |
2013-02-20 05:08:56 | terry.reedy | create | |
|