New Python release - DYNAMIC MODULES supported!!!
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    Just a copy of my email sent on the MorphOS-ML...

    =================

    Dear all,

    I'm proud to present you my first Python version with dynamic modules support.

    :-D :-D :-D :-D :-D :-D :-D :-D :-D :-D :-D :-D :-D

    You can download it as a .LHA archive by this link:

    http://www.yomgui.fr/python/arc/python-2.4.2-mos_6a-final-20061010.lha

    Information note:

    - all blender that I've compiled with Python generation < 6 will no
    longer work and may also crash your system. I will rebuild some
    binaries with the new SDK

    - the distutil module works for simple modules, so you can follow the
    tutorial inside the official docs to create your own module

    - If I found some time I will made a tutorial in french dedicated to
    modules with the MorphOS Python version

    - During the non-regression tests, there are some tests that
    generating sone HITs and crashing the oython.library, as
    "test_richcmp". So this version may contain some fatal bugs (=crash).

    - Remain only the support of the thread module!


    BR,
    Guillaume aka Yomgui
    And now... next project!
  • »10.10.06 - 09:36
    Profile Visit Website
  • MorphOS Developer
    Krashan
    Posts: 1107 from 2003/6/11
    From: Białystok...
    What are those dynamic modules used for? Have they something to do with MorphOS shared libraries?

    [ Edited by Krashan on 2006/10/10 9:51 ]
  • »10.10.06 - 09:50
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    Krashan:

    Technicaly speaking, it's not shared libraries. it just a special ELF object loaded dynamicaly by python using the libdl of Bigfoot. Then python.library has a special code to handle that internal, has the python.library is a brel32 library.

    Now, dynmod are used for anything that extend the python language....

    dynmod is often use as a bridge between a library and Python. Just have a look to PyGame, PyOpenGL or the fabulous wxPython ;-)

    [ Edited by Yomgui on 2006/10/10 12:17 ]
    And now... next project!
  • »10.10.06 - 10:56
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    Now, we need a MUI module to show the powerfullness of Python ;-)
    And now... next project!
  • »10.10.06 - 12:39
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    I've just release a new archive with some corrections:

    - new SDK with link lib for python and modules for a normal link and brel link.

    - new static libs => modules have reduced of an average of 50%.

    - new arexx module. based on a pretty old work (7 years) of Irmen de Jong for the Amiga version. I've recoded some functions and init code to make it work w/ Python 2.4.

    - some others hidden fixes ;-)

    Download this version

    Download the arexx module source


    [ Edited by Yomgui on 2006/10/13 10:39 ]
    And now... next project!
  • »13.10.06 - 09:34
    Profile Visit Website