From a6a4dc816d68df04a7d592e0b6af8c7ecc4d4344 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Thu, 7 Sep 2017 18:56:24 +0200 Subject: bpo-31370: Remove support for threads-less builds (#3385) * Remove Setup.config * Always define WITH_THREAD for compatibility. --- Lib/queue.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Lib/queue.py') diff --git a/Lib/queue.py b/Lib/queue.py index 572425e844c..c803b96deb0 100644 --- a/Lib/queue.py +++ b/Lib/queue.py @@ -1,9 +1,6 @@ '''A multi-producer, multi-consumer queue.''' -try: - import threading -except ImportError: - import dummy_threading as threading +import threading from collections import deque from heapq import heappush, heappop from time import monotonic as time -- cgit v1.2.3