8000 Support Python multi-phase init · Issue #3168 · swig/swig · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Support Python multi-phase init #3168
Closed
@eendebakpt

Description

@eendebakpt

Currently SWIG generates python extensions with single-phase initialization:

m = PyModule_Create(&SWIG_module);

The more modern multi-phase initialization was introduced in 2013 and offers advantages over the older single-phase init. For a more detailed discussion on the advantages of multi-phase init and possible deprecation of single-phase init see:

https://discuss.python.org/t/proposal-officially-deprecate-support-for-legacy-single-phase-init-extension-modules/89262

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0