|
13 | 13 | import importlib |
14 | 14 | import importlib.util |
15 | 15 | import logging.handlers |
16 | | -# TODO: reenable me once supported |
| 16 | +# TODO: reenable me once supported (GR-9138) |
17 | 17 | # import nntplib |
18 | 18 | import os |
19 | | -# TODO: reenable me once supported |
20 | | -# import platform |
| 19 | +import platform |
21 | 20 | import re |
22 | | -# TODO: reenable me once supported |
| 21 | +# TODO: reenable me once supported (GR-9139) |
23 | 22 | # import shutil |
24 | | -# TODO: reenable me once supported |
| 23 | +# TODO: reenable me once supported (GR-9140) |
25 | 24 | # import socket |
26 | 25 | import stat |
27 | 26 | import struct |
28 | | -# TODO: reenable me once supported |
| 27 | +# TODO: reenable me once supported (GR-9141) |
29 | 28 | # import subprocess |
30 | 29 | import sys |
31 | 30 | import sysconfig |
32 | | -# TODO: reenable me once supported |
| 31 | +# TODO: reenable me once supported (GR-9142) |
33 | 32 | # import tempfile |
34 | 33 | import time |
35 | 34 | import types |
36 | 35 | import unittest |
37 | | -# TODO: reenable me once supported |
| 36 | +# TODO: reenable me once supported (GR-9143) |
38 | 37 | # import urllib.error |
39 | 38 | import warnings |
40 | 39 |
|
41 | 40 |
|
42 | | -# TODO: reenable me once supported |
| 41 | +# TODO: reenable me once supported (GR-9144) |
43 | 42 | # try: |
44 | 43 | # import _thread, threading |
45 | 44 | # except ImportError: |
|
48 | 47 | _thread = None |
49 | 48 | threading = None |
50 | 49 |
|
51 | | -# TODO: reenable me once supported |
| 50 | +# TODO: reenable me once supported (GR-9145) |
52 | 51 | # try: |
53 | 52 | # import multiprocessing.process |
54 | 53 | # except ImportError: |
55 | 54 | # multiprocessing = None |
56 | 55 | multiprocessing = None |
57 | 56 |
|
58 | | -# TODO: reenable me once supported |
| 57 | +# TODO: reenable me once supported (GR-9146) |
59 | 58 | # try: |
60 | 59 | # import zlib |
61 | 60 | # except ImportError: |
62 | 61 | # zlib = None |
63 | 62 | zlib = None |
64 | 63 |
|
65 | | -# TODO: reenable me once supported |
| 64 | +# TODO: reenable me once supported (GR-9147) |
66 | 65 | # try: |
67 | 66 | # import gzip |
68 | 67 | # except ImportError: |
69 | 68 | # gzip = None |
70 | 69 | gzip = None |
71 | 70 |
|
72 | 71 |
|
73 | | -# TODO: reenable me once supported |
| 72 | +# TODO: reenable me once supported (GR-9148) |
74 | 73 | # try: |
75 | 74 | # import bz2 |
76 | 75 | # except ImportError: |
77 | 76 | # bz2 = None |
78 | 77 | bz2 = None |
79 | 78 |
|
80 | | -# TODO: reenable me once supported |
| 79 | +# TODO: reenable me once supported (GR-9149) |
81 | 80 | # try: |
82 | 81 | # import lzma |
83 | 82 | # except ImportError: |
@@ -633,7 +632,7 @@ def wrapper(*args, **kw): |
633 | 632 | HOSTv6 = "::1" |
634 | 633 |
|
635 | 634 |
|
636 | | -# TODO: revert me once socket is implemented |
| 635 | +# TODO: revert me once socket is implemented (GR-9140) |
637 | 636 | # def find_unused_port(family=socket.AF_INET, socktype=socket.SOCK_STREAM): |
638 | 637 | def find_unused_port(family, socktype): |
639 | 638 | """Returns an unused port that should be suitable for binding. This is |
@@ -743,7 +742,7 @@ def bind_unix_socket(sock, addr): |
743 | 742 | sock.close() |
744 | 743 | raise unittest.SkipTest('cannot bind AF_UNIX sockets') |
745 | 744 |
|
746 | | -# TODO: reenable me once socket is implemented |
| 745 | +# TODO: reenable me once socket is implemented (GR-9140) |
747 | 746 | # def _is_ipv6_enabled(): |
748 | 747 | # """Check whether IPv6 is enabled on this host.""" |
749 | 748 | # if socket.has_ipv6: |
@@ -804,7 +803,7 @@ def dec(*args, **kwargs): |
804 | 803 |
|
805 | 804 | is_jython = sys.platform.startswith('java') |
806 | 805 |
|
807 | | -# TODO: reenable me once sysconfig is properly implemented |
| 806 | +# TODO: reenable me once sysconfig is properly implemented (GR-9150) |
808 | 807 | # _ANDROID_API_LEVEL = sysconfig.get_config_var('ANDROID_API_LEVEL') |
809 | 808 | # is_android = (_ANDROID_API_LEVEL is not None and _ANDROID_API_LEVEL > 0) |
810 | 809 | is_android = False |
|
0 commit comments