Results of 1 - 1 of about 1 for testsinglephase (0.000 sec.)
- 拡張モジュールの定義 9414
- 拡張モジュールの定義 A C extension for CPython is a shared library (for example, a .so file on Linux, .pyd DLL on Windows), which is loadable into the Python process (for example, it is compiled with compatible compiler settings), and which
...s a new module object with a new __dict__ , and copies the saved contents to it. For example, given a single-phase module _testsinglephase [ 1 ] that defines a function sum and an exception class error : >>> import sys >>> import _testsinglephase as one >>> del...sys . modules [ '_testsinglephase' ] >>> import _testsinglephase as two >>> one is two False >>> one . __dict__ is two . __dict__ False >>> one . sum is two...) はサポートされません。 一段階初期化モジュールは、 PyState_FindModule() などのモジュール検索関数をサポートします。 [ 1 ] _testsinglephase は CPython 自身のテストスイートで使う内部モジュールです。 利用しているインストール環境には含まれていない場合もあります。 他... - https://man.mtool.work/python/3.14/c-api/extension-modules.html
PREV
1
NEXT