2020-07-06 18:18:18 +00:00
|
|
|
"""
|
|
|
|
Track the port to Python 3.
|
|
|
|
|
|
|
|
This module has been ported to Python 3.
|
|
|
|
"""
|
|
|
|
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
from __future__ import absolute_import
|
|
|
|
from __future__ import division
|
|
|
|
from __future__ import print_function
|
|
|
|
|
|
|
|
from future.utils import PY2
|
|
|
|
if PY2:
|
|
|
|
from builtins import filter, map, zip, ascii, chr, hex, input, next, oct, open, pow, round, super, bytes, dict, int, list, object, range, str, max, min # noqa: F401
|
2020-07-02 17:42:30 +00:00
|
|
|
|
2020-07-02 18:27:43 +00:00
|
|
|
# Keep these sorted alphabetically, to reduce merge conflicts:
|
|
|
|
PORTED_MODULES = [
|
|
|
|
"allmydata.util.humanreadable",
|
2020-07-03 17:28:36 +00:00
|
|
|
"allmydata.util.namespace",
|
2020-07-06 18:18:18 +00:00
|
|
|
"allmydata.util._python3",
|
2020-07-02 18:27:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
PORTED_TEST_MODULES = [
|
2020-07-09 18:20:12 +00:00
|
|
|
"allmydata.test.test_deferredutil",
|
2020-07-02 18:27:43 +00:00
|
|
|
"allmydata.test.test_humanreadable",
|
2020-07-06 18:18:18 +00:00
|
|
|
"allmydata.test.test_python3",
|
2020-07-02 18:27:43 +00:00
|
|
|
]
|