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

Paul Smedley paul at smedley.id.au
Sun Jan 8 09:59:59 CET 2012

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 module named encodings
>> OK got through this - PYTHONPATH in makefile was borked for OS/2 (:
>> separators vs ; which don't work so well with drive letters)
>> Now having trouble importing the _io module even though it's builtin
>> <sigh>
> to be clear, the error is:
> Fatal Python error: Py_Initialize: can't initialize sys standard streams
> Traceback (most recent call last):
> File "U:/DEV/python-3.2.2/Lib/io.py", line 60, in <module>
> Killed by SIGABRT
  and it's dying in _iomodule.c at:

     /* put os in the module state */
     state->os_module = PyImport_ImportModule("os");
     if (state->os_module == NULL){
fprintf(stderr,"_iomodule fail\n");
         goto fail;}

for some reason.. at least I'm slowly making progress :P (I think)



More information about the Python-Dev mailing list