Closed odie5533 closed 4 months ago
@sfdye This is really blocking the use of future in Python 3.12, any plans up update it in Python 3.12? For others users: For now, instead of:
# pylint: disable=wrong-import-position,wrong-import-order
from future import standard_library
standard_library.install_aliases()
We now just use this to have Python2 code working for Python2 and Python3:
try:
import xmlrpclib
import SocketServer
import SimpleXMLRPCServer
except:
import xmlrpc.client as xmlrpclib
import socketserver as SocketServer
import xmlrpc.server as SimpleXMLRPCServer
Issue #625
Test suite is broken.
src/past/translation/__init__.py
is broken (I only replaced the import statement).
I have a couple more commits that fix src/past/translation/__init__.py
and a bunch of tests at https://github.com/nsoranzo/python-future/tree/python312-imp-module_past , if anyone is interested.
Issue https://github.com/PythonCharmers/python-future/issues/625
Test suite is broken.
src/past/translation/init.py is broken (I only replaced the import statement).