OS/2, eCS & ArcaOS - Technical > Programming
Python 3.x?
Paul Smedley:
OK I'll start exploring what's required. bear in mind there is zero commitment to producing something that works. There's every chance something else shiny will pop up and distract me from this :)
Paul Smedley:
Brief status update:
I've started trying to compile using Andy Mac's build files that were formerly located in pc\os2emx - mainly as I don't have the energy right now to battle hacking configure script - and porting Python.
I nearly have a python38.dll - just missing a few symbols that I'm working through. I then need to make it work :) I don't intend on applying *all* of the old patches as there is a lot of cruft there from vacpp and emx that we don't need anymore - the aim is to apply only the minimal patches required to make it work.
I'll try and update status here periodically...
Cheers,
Paul
Paul Smedley:
python38.dll built; now to get an executable to call it - then start debugging - probably starting with path stuff - then to get modules building...
Paul Smedley:
--- Quote from: Paul Smedley on June 28, 2020, 11:53:19 pm ---python38.dll built; now to get an executable to call it - then start debugging - probably starting with path stuff - then to get modules building...
--- End quote ---
Got a python.exe and the associated modules - of course - it doesn't work yet - I need to start applying patches - starting with path separator stuff....
Paul Smedley:
Slowly making progress....
Python path configuration:
PYTHONHOME = '/dev/python-3.8.3'
PYTHONPATH = (not set)
program name = 'U:\dev\python-3.8.3\python.exe'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = 'U:\\dev\\python-3.8.3\\python.exe'
sys.base_prefix = '/dev/python-3.8.3'
sys.base_exec_prefix = '/dev/python-3.8.3'
sys.executable = 'U:\\dev\\python-3.8.3\\python.exe'
sys.prefix = '/dev/python-3.8.3'
sys.exec_prefix = '/dev/python-3.8.3'
sys.path = [
'/dev/python-3.8.3/lib/python38.zip',
'/dev/python-3.8.3/lib/python3.8/./Lib',
'/dev/python-3.8.3/lib/python3.8/./Lib/plat-os2emx',
'/dev/python-3.8.3/lib/python3.8/./Lib/lib-dynload',
'/dev/python-3.8.3/lib/python3.8/./Lib/site-packages',
'/dev/python-3.8.3/lib/python3.8/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0x20036680 (most recent call first):
<no Python frame>
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version