This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients alex, jhylton, r.david.murray
Date 2010-10-25.02:01:54
SpamBayes Score 2.7091073e-07
Marked as misclassified No
Message-id <1287972116.99.0.832503237323.issue10189@psf.upfronthosting.co.za>
In-reply-to
Content
There are a number of such symbol resolution error messages for nonlocal that don't provide location information in symtable.c.  I'm not very experienced with hacking the C code, but a naive addition of location information based on similar calls that do provide it results in error messages that point to the "wrong" line(*).  So my guess is that the person who implemented this code just didn't get around to dealing with that localization issue.

It would appear from svn log like the person in question is Jeremy Hylton, so I'm adding him as nosy.

(*) I put wrong in quotes because it's not wrong from the point of view of the code generating the error, because that code is looking at blocks, not lines.  But it's wrong from the point of view of the user reading the message....
History
Date User Action Args
2010-10-25 02:01:57r.david.murraysetrecipients: + r.david.murray, jhylton, alex
2010-10-25 02:01:56r.david.murraysetmessageid: <1287972116.99.0.832503237323.issue10189@psf.upfronthosting.co.za>
2010-10-25 02:01:55r.david.murraylinkissue10189 messages
2010-10-25 02:01:54r.david.murraycreate