Skip to content

Commit e4386c2

Browse files
committed
Remove chess.engine.DefaultEventLoopPolicy (breaking change forced by Python)
1 parent 376d603 commit e4386c2

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

chess/engine.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ def override(fn: F, /) -> F:
5050
MANAGED_OPTIONS = ["uci_chess960", "uci_variant", "multipv", "ponder"]
5151

5252

53-
# No longer needed, but alias kept around for compatibility.
54-
EventLoopPolicy = asyncio.DefaultEventLoopPolicy
55-
56-
5753
def run_in_background(coroutine: Callable[[concurrent.futures.Future[T]], Coroutine[Any, Any, None]], *, name: Optional[str] = None, debug: Optional[bool] = None) -> T:
5854
"""
5955
Runs ``coroutine(future)`` in a new event loop on a background thread.

0 commit comments

Comments
 (0)