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

Review flask.dispatch_request for possible tweaks #150

Closed
jeffwidman opened this issue Mar 9, 2020 · 2 comments
Closed

Review flask.dispatch_request for possible tweaks #150

jeffwidman opened this issue Mar 9, 2020 · 2 comments

Comments

@jeffwidman
Copy link
Member

Our dispatch_request() was a modified version of flask.dispatch_request(), but that fork happened years ago.

Now would be a good time to review how they wire it to see if there are any additional improvements/tweaks that should be pulled in:
https://github.com/pallets/flask/blob/a3e4395a42574386a15ef6ca1afa83ff9787608f/src/flask/app.py#L1907-L1946

@mattaw
Copy link
Contributor

mattaw commented Mar 12, 2020

Having reviewed the code in flask-debugtoolbar and that in the current version of Flask I can't see any functional difference (except wiring in debugtoolbar process_view). However, in the process of exploring what it was doing I am concerned that the debugtoolbar testing through tox passes just fine if I comment out the monkeypatch completely so I will try to improve that.

@jeffwidman
Copy link
Member Author

jeffwidman commented Mar 12, 2020

Thanks for looking into this @mattaw!

Sounds great, then let's close this. I didn't check the code since you already did, but I did check git blame on that section of Flask code and you're right, most of it hasn't been modified in 9-10 years!

I opened #151 to track the test improvement.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants