Skip to content

Commit

Permalink
Remove Windows-specific code
Browse files Browse the repository at this point in the history
  • Loading branch information
temeddix committed Nov 15, 2023
1 parent 200cba5 commit b0ff584
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 173 deletions.
10 changes: 1 addition & 9 deletions qasync/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,15 +740,7 @@ def __log_error(cls, *args, **kwds):

from ._unix import _SelectorEventLoop # noqa

QSelectorEventLoop = type("QSelectorEventLoop", (_QEventLoop, _SelectorEventLoop), {})

if os.name == "nt":
from ._windows import _ProactorEventLoop

QIOCPEventLoop = type("QIOCPEventLoop", (_QEventLoop, _ProactorEventLoop), {})
QEventLoop = QIOCPEventLoop
else:
QEventLoop = QSelectorEventLoop
QEventLoop = type("QSelectorEventLoop", (_QEventLoop, _SelectorEventLoop), {})


class _Cancellable:
Expand Down
164 changes: 0 additions & 164 deletions qasync/_windows.py

This file was deleted.

0 comments on commit b0ff584

Please sign in to comment.