pycompat: move the queue related definitions below queue import
This helps in understanding why empty and queue are there.
--- a/mercurial/pycompat.py Fri Jun 16 02:48:17 2017 +0530
+++ b/mercurial/pycompat.py Fri Jun 16 03:01:22 2017 +0530
@@ -32,6 +32,9 @@
import socketserver
import xmlrpc.client as xmlrpclib
+empty = _queue.Empty
+queue = _queue.Queue
+
def identity(a):
return a
@@ -309,9 +312,6 @@
stringio = cStringIO.StringIO
maplist = map
-empty = _queue.Empty
-queue = _queue.Queue
-
class _pycompatstub(object):
def __init__(self):
self._aliases = {}