New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnboundLocalError in cgitb.py #39713
Comments
Here's the exception: Exception And here's the code:
If lasttoken is '.' and parent is __UNDEF__, value doesn't |
Logged In: YES Jeremy, can you attach a complete test case? Skip, I realize you didn't write the scanvars code (Ping |
Logged In: YES Sorry, I have no idea what it does either. I'll look into it a bit, |
Logged In: YES I pulled scanvars() and lookup() out into a separate file and Jeremy, can you fiddle it to make it fail? |
Logged In: YES To be honest, it's just something I ran into in my own test suite |
Logged In: YES The code that caused the raised exception (which subsequently
That's actually from the diff where I changed it to be a bit more |
Logged In: YES Jeremy, that's still not enough to reproduce the bug. What |
Logged In: YES Looks like this was fixed at some point. The local variable value is |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: