Python 3 への拡張モジュール移植¶
Python 3 への拡張モジュール移植には、以下のリソースを推奨します:
Supporting Python 3: An in-depth guide の Migrating C extensions 章。本は Python 2 から Python 3 への移行全般を扱い、拡張モジュールの移植を読者にガイドします。
Porting guide は py3c プロジェクトにより提供される、補助コード付きの見解提案です。
Recommended third party tools offer abstractions over the Python's C API. Extensions generally need to be re-written to use one of them, but the library then handles differences between various Python versions and implementations.