8 Module implementing the syntax check for Python 2/3. |
8 Module implementing the syntax check for Python 2/3. |
9 """ |
9 """ |
10 |
10 |
11 from __future__ import unicode_literals |
11 from __future__ import unicode_literals |
12 |
12 |
|
13 try: # Only for Py2 |
|
14 import Queue as queue |
|
15 except ImportError: |
|
16 import queue |
|
17 |
13 import os |
18 import os |
14 import sys |
19 import sys |
15 import multiprocessing |
20 import multiprocessing |
16 import queue |
|
17 |
21 |
18 |
22 |
19 def initService(): |
23 def initService(): |
20 """ |
24 """ |
21 Initialize the service and return the entry point. |
25 Initialize the service and return the entry point. |