Results of 1 - 10 of about 117 for initialized (0.031 sec.)
- Allocating objects on the heap — Python 3.14.8 ドキュメント 13063
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Allocating objects on the heap テーマ 自動 ライト ダーク | Allocating
...用参照。 次に属します: Stable ABI . Initialize a newly allocated object op with its type and initial reference. Returns the initialized object. Other fields of the object are not initialized. Despite its name, this function is unrelated to the object's __ini...ed via the object's tp_free slot). 注釈 The returned memory is not guaranteed to have been completely zeroed before it was initialized. 注釈 This macro does not construct a fully initialized object of the given type; it merely allocates memory and prepares...it for further initialization by tp_init . To construct a fully initialized object, call typeobj instead. For example: PyObject * foo = PyObject_CallNoArgs (( PyObject * ) & PyFoo_Type ); 参考 PyObj... - https://man.mtool.work/python/3.14/c-api/allocation.html
- Allocating objects on the heap — Python 3.14.8 ドキュメント 13063
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Allocating objects on the heap テーマ 自動 ライト ダーク | Allocating
...用参照。 次に属します: Stable ABI . Initialize a newly allocated object op with its type and initial reference. Returns the initialized object. Other fields of the object are not initialized. Despite its name, this function is unrelated to the object's __ini...ed via the object's tp_free slot). 注釈 The returned memory is not guaranteed to have been completely zeroed before it was initialized. 注釈 This macro does not construct a fully initialized object of the given type; it merely allocates memory and prepares...it for further initialization by tp_init . To construct a fully initialized object, call typeobj instead. For example: PyObject * foo = PyObject_CallNoArgs (( PyObject * ) & PyFoo_Type ); 参考 PyObj... - https://man.mtool.work/python/3.14/c-api/allocation.html
- Thread-local storage support — Python 3.14.8 ドキュメント 10300
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Thread-local storage support テーマ 自動 ライト ダーク | Thread-local storage support ¶ The Python interpreter provides low-level
...PyThread_tss_alloc ( ) ¶ 次に属します: Stable ABI (バージョン 3.7 より). Return a value which is the same state as a value initialized with Py_tss_NEEDS_INIT , or NULL in the case of dynamic allocation failure. void PyThread_tss_free ( Py_tss_t * key ) ¶ 次...LL . Moreover, the behaviors of PyThread_tss_set() and PyThread_tss_get() are undefined if the given Py_tss_t has not been initialized by PyThread_tss_create() . int PyThread_tss_is_created ( Py_tss_t * key ) ¶ 次に属します: Stable ABI (バージョン 3.7 より).... Return a non-zero value if the given Py_tss_t has been initialized by PyThread_tss_create() . int PyThread_tss_create ( Py_tss_t * key ) ¶ 次に属します: Stable ABI (バージョン 3.7 より). Re... - https://man.mtool.work/python/3.14/c-api/tls.html
- Thread-local storage support — Python 3.14.8 ドキュメント 10300
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Thread-local storage support テーマ 自動 ライト ダーク | Thread-local storage support ¶ The Python interpreter provides low-level
...PyThread_tss_alloc ( ) ¶ 次に属します: Stable ABI (バージョン 3.7 より). Return a value which is the same state as a value initialized with Py_tss_NEEDS_INIT , or NULL in the case of dynamic allocation failure. void PyThread_tss_free ( Py_tss_t * key ) ¶ 次...LL . Moreover, the behaviors of PyThread_tss_set() and PyThread_tss_get() are undefined if the given Py_tss_t has not been initialized by PyThread_tss_create() . int PyThread_tss_is_created ( Py_tss_t * key ) ¶ 次に属します: Stable ABI (バージョン 3.7 より).... Return a non-zero value if the given Py_tss_t has been initialized by PyThread_tss_create() . int PyThread_tss_create ( Py_tss_t * key ) ¶ 次に属します: Stable ABI (バージョン 3.7 より). Re... - https://man.mtool.work/python/3.14/c-api/tls.html
- 拡張モジュールの定義 — Python 3.14.8 ドキュメント 9425
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 拡張モジュールの定義 テーマ 自動 ライト ダーク | 拡張モジュールの定義 ¶ A C extension for CPython is a shared library (for exampl
...etuptools.pypa.io/en/latest/setuptools.html にあります。 Normally, the initialization function returns a module definition initialized using PyModuleDef_Init() . This allows splitting the creation process into several phases: Before any substantial code is....__new__() for classes. It also sets initial attributes like __package__ and __loader__ . Afterwards, the module object is initialized using extension-specific code -- the equivalent of __init__() on classes. This is called multi-phase initialization to dis...dulename ) returns a PyModuleDef instance with non- NULL m_slots . Before it is returned, the PyModuleDef instance must be initialized using the following function: PyObject * PyModuleDef_Init ( PyModuleDef * def ) ¶ 次に属します: Stable ABI (バージョン 3.5... - https://man.mtool.work/python/3.14/c-api/extension-modules.html
- 拡張モジュールの定義 — Python 3.14.8 ドキュメント 9425
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 拡張モジュールの定義 テーマ 自動 ライト ダーク | 拡張モジュールの定義 ¶ A C extension for CPython is a shared library (for exampl
...etuptools.pypa.io/en/latest/setuptools.html にあります。 Normally, the initialization function returns a module definition initialized using PyModuleDef_Init() . This allows splitting the creation process into several phases: Before any substantial code is....__new__() for classes. It also sets initial attributes like __package__ and __loader__ . Afterwards, the module object is initialized using extension-specific code -- the equivalent of __init__() on classes. This is called multi-phase initialization to dis...dulename ) returns a PyModuleDef instance with non- NULL m_slots . Before it is returned, the PyModuleDef instance must be initialized using the following function: PyObject * PyModuleDef_Init ( PyModuleDef * def ) ¶ 次に属します: Stable ABI (バージョン 3.5... - https://man.mtool.work/python/3.14/c-api/extension-modules.html
- Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 7662
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Multiple interpreters in a Python process テーマ 自動 ライト ダーク | Multiple interpreters in a Python process ¶ ほとんどの場合は
...リームは根底にある同じファイル記述子を参照しています)。 The given config controls the options with which the interpreter is initialized. Upon success, tstate_p will be set to the first thread state created in the new sub-interpreter. This thread state is att...ws: For modules using multi-phase initialization, e.g. PyModule_FromDefAndSpec() , a separate module object is created and initialized for each interpreter. Only C-level static and global variables are shared between these module objects. For modules using...legacy single-phase initialization , e.g. PyModule_Create() , the first time a particular extension is imported, it is initialized normally, and a (shallow) copy of its module's dictionary is squirreled away. When the same extension is imported by anoth... - https://man.mtool.work/python/3.14/c-api/subinterpreters.html
- Type Object Structures — Python 3.14.8 ドキュメント 7662
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...destructor tp_del ; /* Type attribute cache version tag. Added in version 2.6. * If zero, the cache is invalid and must be initialized. */ unsigned int tp_version_tag ; destructor tp_finalize ; vectorcallfunc tp_vectorcall ; /* bitset of which type-watchers...hat its instances (i.e. type objects) must have the ob_size field. PyObject.ob_refcnt The type object's reference count is initialized to 1 by the PyObject_HEAD_INIT macro. Note that for statically allocated type objects , the type's instances (objects whos...E_VERSION_TAG ¶ This macro does nothing. Historically, this would indicate that the tp_version_tag field was available and initialized. Soft deprecated since version 3.13. Py_TPFLAGS_INLINE_VALUES ¶ This bit indicates that instances of this type will have a... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- 変更履歴 — Python 3.14.8 ドキュメント 7662
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...ed member's name replaced with the link's. Core and Builtins ¶ gh-158583 : bytes.fromhex() and bytearray.fromhex() : Fix uninitialized memory read. Patch by Victor Stinner. gh-156204 : Fix a crash in PyErr_GivenExceptionMatches() when evaluating deeply nest...ias parameters have been cached. gh-155504 : Fix a crash when thread state creation fails before the thread state is fully initialized. gh-155526 : Fix spurious OverflowError for abs(nanj) in case errno was previously set to ERANGE by some library call. Pat...s when called on a future that never resolves. gh-154871 : Fixed a crash in asyncio.Task.get_context() when called on an uninitialized task. gh-154855 : Fix curses.window.instr() returning one character too few when the curses module is built against a curs... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 7662
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Multiple interpreters in a Python process テーマ 自動 ライト ダーク | Multiple interpreters in a Python process ¶ ほとんどの場合は
...リームは根底にある同じファイル記述子を参照しています)。 The given config controls the options with which the interpreter is initialized. Upon success, tstate_p will be set to the first thread state created in the new sub-interpreter. This thread state is att...ws: For modules using multi-phase initialization, e.g. PyModule_FromDefAndSpec() , a separate module object is created and initialized for each interpreter. Only C-level static and global variables are shared between these module objects. For modules using...legacy single-phase initialization , e.g. PyModule_Create() , the first time a particular extension is imported, it is initialized normally, and a (shallow) copy of its module's dictionary is squirreled away. When the same extension is imported by anoth... - https://man.mtool.work/python/3.14/c-api/subinterpreters.html