tahoe-lafs/src/allmydata/util/_python3.py

28 lines
763 B
Python
Raw Normal View History

"""
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",
"allmydata.util.namespace",
"allmydata.util._python3",
2020-07-02 18:27:43 +00:00
]
PORTED_TEST_MODULES = [
"allmydata.test.test_deferredutil",
2020-07-02 18:27:43 +00:00
"allmydata.test.test_humanreadable",
"allmydata.test.test_python3",
2020-07-02 18:27:43 +00:00
]