Message372714
> At least the fact that the SyntaxError message is some for both of
Well, is the same because the semantics are the same: a symbol is missing in the expected scopes. The only difference is that in the first case is not even possible to "fix it" because that scope cannot exist if the function is not 'nested'. But I do agree that it may be some value on specializing the error message to that case (but is not enough to have the nesting, you would need also to add a variable - the error is really 'you need a symbol in an intermediate scope' -> 'Oh, i don't even have an intermediate scope' -> 'then *first* you need to add an intermediate scope). Although this particular problem is indeed different from the main one (the one about codeop). |
|
Date |
User |
Action |
Args |
2020-06-30 18:10:11 | pablogsal | set | recipients:
+ pablogsal, terry.reedy, ncoghlan, r.david.murray, Mark.Shannon, Rosuav, Esa.Peuha, mbussonn, cheryl.sabella, lys.nikolaou, RJ722 |
2020-06-30 18:10:11 | pablogsal | set | messageid: <1593540611.28.0.180731800285.issue19335@roundup.psfhosted.org> |
2020-06-30 18:10:11 | pablogsal | link | issue19335 messages |
2020-06-30 18:10:11 | pablogsal | create | |
|