AIX Open Source

 View Only
Expand all | Collapse all

Python3 with POSIX 2008 standard

  • 1.  Python3 with POSIX 2008 standard

    Posted Wed August 18, 2021 08:43 AM
    Hello,

    Current compilation of python3 is done on AIX 6.1. This prevents the usage of some features, which are built in in
    newer operation systems, such as f.i. the POSIX-2008 standard in AIX7.

    for e.g some of the build in function can't be used.

    python3 included in IBM Toolbox compiled on AIX 6.1:

    # python3 -c 'import os; print(os.supports_dir_fd)'
    set()

    self compiled python3, compiled on aix 7.1:
    # python3 -c 'import os; print(os.supports_dir_fd)'
    {<built-in function open>, <built-in function mkdir>, <built-in function mkfifo>, <built-in function mknod>, <built-in function link>, <built-in function readlink>, <built-in function stat>, <built-in function rename>, <built-in function chmod>, <built-in function access>, <built-in function rmdir>, <built-in function symlink>, <built-in function utime>, <built-in function chown>, <built-in function unlink>}

    Would it be possible to provide in IBM Toolbox python3 compiled on aix 7.1 instead of 6.1 to use advantage of posix 2008 standards?

    Thanks

    Martin​

    ------------------------------
    Martin Vrskovy
    ------------------------------


  • 2.  RE: Python3 with POSIX 2008 standard

    Posted Thu August 19, 2021 06:02 AM
    Hi Martin,

    Thank you for raising this issue. 
    We are planning to move our build environment to AIX 7.1 soon. 
    But right now we are not in position to provide the python3 package built for AIX 7.1.
    It will require lot of changes in our repo and how we distribute things.

    ------------------------------
    SANKET RATHI
    ------------------------------