per page, with , order by , clip by
Results of 1 - 10 of about 10 for initialized (0.008 sec.)
拡張モジュールの定義 14176
拡張モジュールの定義 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 ... 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
インタープリタの初期化と終了処理 8903
インタープリタの初期化と終了処理 初期化前にインタープリタを設定する方法の詳細は、 Python の初期化設定 を参照してください。 Python の初期化前 Python を組み込むアプリケーションでは、一部の関数と グローバルな設定変数 を除き、ほかの Python/C AP ... bject_SetArenaAllocator() Py_SetProgramName() Py_SetPythonHome() Python 初期化設定 で説明する設定関数 情報取得の関数: Py_IsInitialized() PyMem_GetAllocator() PyObject_GetArenaAllocator() Py_GetBuildInfo() Py_GetCompiler() Py_GetCopyright() Py_GetPlatform() ... Py_GetVersion() Py_IsInitialized() ユーティリティ: Py_DecodeLocale() Python 初期化設定 で説明する状態の報告とユーティリティの関数 メモリアロケータ: PyMem_R ... 化、ランタイム設定構造体への値の設定、返される状態構造体の調べ方については、 Python 初期化設定 を参照してください。 int Py_IsInitialized ( ) 次に属します: Stable ABI . Python インタプリタが初期化済みであれば真(非ゼロ)を、さもなければ偽(ゼロ)を返します。 Py_Fi ...
https://man.mtool.work/python/3.14/c-api/interp-lifecycle.html
dataclasses --- データクラス 8903
dataclasses --- データクラス ソースコード: Lib/dataclasses.py このモジュールは、 __init__() や __repr__() のような 特殊メソッド を生成し、ユーザー定義のクラスに自動的に追加するデコレーターや関数を提供します。このモジュールは元々、 PEP 557 で ... d about how init=False fields work during a call to replace() . They are not copied from the source object, but rather are initialized in __post_init__() , if they're initialized at all. It is expected that init=False fields will be rarely and judiciously u ...
https://man.mtool.work/python/3.14/library/dataclasses.html
1. 他のアプリケーションへの Python の埋め込み 8563
1. 他のアプリケーションへの Python の埋め込み 前章では、 Python を拡張する方法、すなわち C 関数のライブラリを Python に結びつけて機能を拡張する方法について述べました。同じようなことを別の方法でも実行できます: それは、自分の C/C++ アプリケー ... InitializeFromConfig() to inform the interpreter about paths to Python run-time libraries. Next, the Python interpreter is initialized with Py_Initialize() , followed by the execution of a hard-coded Python script that prints the date and time. Afterwards, ...
https://man.mtool.work/python/3.14/extending/embedding.html
multiprocessing.shared_memory --- プロセス間で直接アクセス可能な共有メモリ 8563
multiprocessing.shared_memory --- プロセス間で直接アクセス可能な共有メモリ ソースコード Lib/multiprocessing/shared_memory.py Added in version 3.8. このモジュールは、マルチコアもしくは対称型マルチプロセッサ(SMP) を持つマシン上で実行される、ひ ... edMemory object with the specified size in bytes. ShareableList ( sequence ) Create and return a new ShareableList object, initialized by the values from the input sequence . 以下の例は、 SharedMemoryManager の基本的な仕組みを示します。 >>> from multiproces ...
https://man.mtool.work/python/3.14/library/multiprocessing.shared_memory.html
モジュールオブジェクト (module object) 8241
モジュールオブジェクト (module object) PyTypeObject PyModule_Type 次に属します: Stable ABI . この PyTypeObject のインスタンスは Python のモジュール型を表します。 Python プログラムには types.ModuleType として公開されています。 int PyModule_C ... after the m_free function has been called, if present. Setting it to a non-negative value means that the module can be re-initialized and specifies the additional amount of memory it requires for its state. Setting m_size to -1 means that the module does n ...
https://man.mtool.work/python/3.14/c-api/module.html
スレッド状態とグローバルインタープリタロック 8241
スレッド状態とグローバルインタープリタロック CPython の フリースレッドビルド を除き、Python インタープリタは一般にスレッドセーフではありません。 マルチスレッドの Python プログラムをサポートするため、 グローバルインタープリタロック 、または ... ding the GIL and 0 otherwise. This function can be called from any thread at any time. Only if it has had its thread state initialized via PyGILState_Ensure() will it return 1 . This is mainly a helper/diagnostic function. It can be useful for example in ca ...
https://man.mtool.work/python/3.14/c-api/threads.html
型オブジェクトの構造体 7901
型オブジェクトの構造体 新しい型を定義する PyTypeObject 構造体は、Python のオブジェクトシステムで特に重要な構造体の 1 つです。 型オブジェクトは PyObject_* 関数や PyType_* 関数で扱えますが、ほとんどの Python アプリケーションにとって関心のある ... インスタンス (型オブジェクト) には ob_size フィールドが 必要です 。 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 ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
What's New In Python 3.10 7901
What's New In Python 3.10 編集者 : Pablo Galindo Salgado この記事では Python 3.9 と比較した Python 3.10 の新機能を解説します。Python 3.10 は2021年10月4日にリリースされました。全詳細については 変更履歴 をご覧ください。 概要 -- リリースハイラ ... , Py_GetPythonHome() and Py_GetProgramName() functions now return NULL if called before Py_Initialize() (before Python is initialized). Use the new Python 初期化設定 API to get the Python のパス設定 . (Contributed by Victor Stinner in bpo-42260 .) PyList_S ...
https://man.mtool.work/python/3.14/whatsnew/3.10.html
変更履歴 7901
変更履歴 次の Python バージョン リリース日: XXXX-XX-XX セキュリティ gh-160499 : Fix unbounded memory growth in asyncio TLS connections when a peer stops reading but keeps sending records that make OpenSSL generate its own replies (such as T ... its_per_digit . OverflowError is now raised, as for other too large counts. gh-160179 : Fix bytearray.__init__() leaving uninitialized memory in the object when it fails on a list or tuple containing an integer not in range(256) . The object is now empty af ... reeing their internal HACL* state. Patch by Bénédikt Tran. gh-155830 : _blake2 : Ensure that BLAKE-2 objects are correctly initialized before being tracked by the garbage collector. Patch by Bénédikt Tran. gh-155717 : 読み取り専用ファイルシステムなど、書き込 ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
PREV 1 NEXT