[Python-checkins] cpython: Fix import of SimpleQueue.

richard.oudkerk python-checkins at python.org
Wed Oct 16 18:07:34 CEST 2013


http://hg.python.org/cpython/rev/e2a411a429d6
changeset:   86388:e2a411a429d6
user:        Richard Oudkerk <shibturn at gmail.com>
date:        Wed Oct 16 17:06:22 2013 +0100
summary:
  Fix import of SimpleQueue.

files:
  Lib/concurrent/futures/process.py |  3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Lib/concurrent/futures/process.py b/Lib/concurrent/futures/process.py
--- a/Lib/concurrent/futures/process.py
+++ b/Lib/concurrent/futures/process.py
@@ -49,8 +49,9 @@
 import os
 from concurrent.futures import _base
 import queue
+from queue import Full
 import multiprocessing
-from multiprocessing.queues import SimpleQueue, Full
+from multiprocessing import SimpleQueue
 from multiprocessing.connection import wait
 import threading
 import weakref

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list