#32103: NotImplementedError in twisted (with Python 3.8 on Windows)
-------------------------------------+-------------------------------------
Reporter: Andrey Zelenchuk | Owner: nobody
Type: Bug | Status: closed
Component: Core (Management | Version: 3.1
commands) |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Andrey Zelenchuk):
> Windows on Python 3.8+ uses ProactorEventLoop
This is not accurate. Python 3.8+ on Windows uses the
[https://docs.python.org/3/library/asyncio-
eventloop.html#asyncio.ProactorEventLoop ProactorEventLoop] **by
default**. Python 3.8+ on Windows allows to use the
[https://docs.python.org/3/library/asyncio-
eventloop.html#asyncio.SelectorEventLoop SelectorEventLoop] as well.
> <...> which is not compatible with Twisted
So why then Django tries to use the ProactorEventLoop with Twisted?
> Recent versions of Daphne automatically set the correct event loop
policy in these cases.
Django's `runserver` management command does not use Daphne, does it? Why
Django cannot set the correct event loop policy too?
This ticket is not invalid until the Django's documentation states that
Django does not support Python 3.8+ on Windows. Besides, it looks like it
can be fixed quite easily. So, could you reopen it, please?
--
Ticket URL: <https://code.djangoproject.com/ticket/32103#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.0c42df05c059c8519a966ff60dd88e23%40djangoproject.com.