mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-15 09:19:49 +00:00
28 lines
763 B
Python
28 lines
763 B
Python
"""
|
|
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
|
|
|
|
# Keep these sorted alphabetically, to reduce merge conflicts:
|
|
PORTED_MODULES = [
|
|
"allmydata.util.humanreadable",
|
|
"allmydata.util.namespace",
|
|
"allmydata.util._python3",
|
|
]
|
|
|
|
PORTED_TEST_MODULES = [
|
|
"allmydata.test.test_deferredutil",
|
|
"allmydata.test.test_humanreadable",
|
|
"allmydata.test.test_python3",
|
|
]
|