Re: [Python-Dev] What's required to keep OS/2 support in Python 3.3

2012-01-08 Thread Paul Smedley
On 08/01/12 19:12, Paul Smedley wrote: On 08/01/12 19:07, Paul Smedley wrote: On 07/01/12 08:22, Paul Smedley wrote: For the purpose of debugging you could *not* ignore the error and instead print it out or bail out. Thanks - commenting out the ImportErrors block, I get: ImportError: No

Re: [Python-Dev] What's required to keep OS/2 support in Python 3.3

2012-01-08 Thread Paul Smedley
On 08/01/12 19:07, Paul Smedley wrote: On 07/01/12 08:22, Paul Smedley wrote: For the purpose of debugging you could *not* ignore the error and instead print it out or bail out. Thanks - commenting out the ImportErrors block, I get: ImportError: No module named encodings OK got through this

Re: [Python-Dev] What's required to keep OS/2 support in Python 3.3

2012-01-08 Thread Paul Smedley
On 07/01/12 08:22, Paul Smedley wrote: For the purpose of debugging you could *not* ignore the error and instead print it out or bail out. Thanks - commenting out the ImportErrors block, I get: ImportError: No module named encodings OK got through this - PYTHONPATH in makefile was borked for

Re: [Python-Dev] Compiling 2.7.2 on OS/2

2012-01-07 Thread Paul Smedley
Hi Terry, On 07/01/12 19:47, Terry Reedy wrote: On 1/7/2012 3:48 AM, Paul Smedley wrote: using _init_posix() for 'os2' instead of _init_non_posix is the fix for this. sysconfig.py also needs the following changes: --- \dev\Python-2.7.2-o\Lib\sysconfig.py 2012-01-06 19:27:14.0

Re: [Python-Dev] Compiling 2.7.2 on OS/2

2012-01-07 Thread Paul Smedley
Hi All, On 06/01/12 10:25, Terry Reedy wrote: On 1/5/2012 3:01 PM, Paul Smedley wrote: File "./setup.py", line 1154, in detect_modules for arg in sysconfig.get_config_var("__CONFIG_ARGS").split()] AttributeError: 'NoneType' object has no attribute 'sp

Re: [Python-Dev] What's required to keep OS/2 support in Python 3.3

2012-01-06 Thread Paul Smedley
Hi Antoine, On 07/01/12 06:58, Antoine Pitrou wrote: On Sat, 07 Jan 2012 06:28:00 +1030 Paul Smedley wrote: I now have a dll and exe - however when it tried to build the modules, it dies with: Could not find platform independent libraries Could not find platform dependent libraries Consider

Re: [Python-Dev] What's required to keep OS/2 support in Python 3.3

2012-01-06 Thread Paul Smedley
Hi All, On 06/01/12 19:22, Paul Smedley wrote: I'm a little slow in responding to http://blog.python.org/2011/05/python-33-to-drop-support-for-os2.html, but I'm interested in stepping up to help maintain OS/2 support in Python 3.3 and above. I've been building Python 2.x f

[Python-Dev] What's required to keep OS/2 support in Python 3.3

2012-01-06 Thread Paul Smedley
Hi All, I'm a little slow in responding to http://blog.python.org/2011/05/python-33-to-drop-support-for-os2.html, but I'm interested in stepping up to help maintain OS/2 support in Python 3.3 and above. I've been building Python 2.x for a while, and currently have binaries of 2.6.5 availabl

Re: [Python-Dev] Compiling 2.7.2 on OS/2

2012-01-05 Thread Paul Smedley
Hi Terry, On 06/01/12 10:25, Terry Reedy wrote: On 1/5/2012 3:01 PM, Paul Smedley wrote: File "./setup.py", line 1154, in detect_modules for arg in sysconfig.get_config_var("__CONFIG_ARGS").split()] AttributeError: 'NoneType' object has no attribute 'sp

Re: [Python-Dev] Compiling 2.7.2 on OS/2

2012-01-05 Thread Paul Smedley
Hi Amaury, On 06/01/12 00:32, Amaury Forgeot d'Arc wrote: 2012/1/5 Paul Smedley mailto:p...@smedley.id.au>> Hi All, I'm working on updating my port of Python 2.6.5 to v2.7.2 for the OS/2 platform. I have python.exe and python27.dll compiling find, but when

[Python-Dev] Compiling 2.7.2 on OS/2

2012-01-05 Thread Paul Smedley
Hi All, I'm working on updating my port of Python 2.6.5 to v2.7.2 for the OS/2 platform. I have python.exe and python27.dll compiling find, but when starting to build sharedmods I'm getting the following error: running build running build_ext Traceback (most recent call last): File "./setu