Skip to content
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

try-except in inner() in run_simple() leaves exceptions grounds #871

Closed
wants to merge 1 commit into from

Conversation

yoloseem
Copy link

try-except in inner() in run_simple() leaves exceptions grounds. When use_reloader is set to True, at that point KeyError is raised and in Flask environment, by mysterious reason the exception grounds shall be given to signal handlers, and it is seen as an exception. (Refer pallets/flask#1694 / this patch may fixes this issue.)

@yoloseem yoloseem changed the title KeyError raises in run_simple when use_reloader is True try-except in inner() in run_simple() leaves exceptions grounds Feb 24, 2016
@untitaker
Copy link
Contributor

"May" is a bit of a weak statement. Ideally it should fully fix the bug.

@RonnyPfannschmidt
Copy link
Contributor

ID suggest putting the original Code into a function or clearing theexception state on Python 2

@untitaker
Copy link
Contributor

@yoloseem Any update on this?

@yoloseem
Copy link
Author

yoloseem commented May 4, 2016

@untitaker well... so far, no.

@davidism
Copy link
Member

Looks like the referenced Flask issue was fixed by pallets/flask#1393.

@davidism davidism closed this Apr 16, 2017
@untitaker untitaker removed the waiting label Apr 16, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants