Opened 5 years ago
Closed 4 years ago
#31040 closed New feature (fixed)
Python 3.9 compatibility
Reported by: | Mariusz Felisiak | Owned by: | Mariusz Felisiak |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | kimsia | Triage Stage: | Accepted |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Python 3.9 final is scheduled for October 2020. This is a tracking ticket for compatibility fixes for Django submitted in the meantime.
Change History (17)
comment:1 by , 5 years ago
comment:4 by , 5 years ago
handlers.tests.AsyncHandlerRequestTests.test_suspiciousop_in_view_returns_400
hangs on Python 3.9.0b1 (it works on Python 3.9.0.a6), see https://bugs.python.org/issue40696.
comment:5 by , 5 years ago
While the cause of the test_suspiciousop_in_view_returns_400
failure will be fixed in CPython, I recommend that you review the Django code that was triggering it. Django's exception handling code was raising an exception that was creating a cycle in the exception chain (by re-raising an exception that was already being handled). You might want to reconsider whether there is a better solution. You can see the linked Python issue for some analysis I did of the code on the Django side.
comment:9 by , 4 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Triage Stage: | Someday/Maybe → Accepted |
comment:10 by , 4 years ago
Cc: | added |
---|
comment:17 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
In 1960d55: