per page, with , order by , clip by
Results of 1 - 10 of about 13 for GetObject (0.008 sec.)
C API Stability 13355
C API Stability 特記のない限り、Python の C API には後方互換性ポリシー PEP 387 が適用されます。 変更の大半はソース互換性を保ちます (通常は新しい API の追加だけを行います)。 既存 API の変更や削除は、非推奨の期間を経た後、または重大な問題を修 ... yStructSequence_UnnamedField PySuper_Type PySys_Audit() PySys_AuditTuple() PySys_FormatStderr() PySys_FormatStdout() PySys_GetObject() PySys_GetXOptions() PySys_ResetWarnOptions() PySys_SetArgv() PySys_SetArgvEx() PySys_SetObject() PySys_WriteStderr() PyS ... e_Type PyUnicodeDecodeError_Create() PyUnicodeDecodeError_GetEncoding() PyUnicodeDecodeError_GetEnd() PyUnicodeDecodeError_GetObject() PyUnicodeDecodeError_GetReason() PyUnicodeDecodeError_GetStart() PyUnicodeDecodeError_SetEnd() PyUnicodeDecodeError_SetR ... on() PyUnicodeDecodeError_SetStart() PyUnicodeEncodeError_GetEncoding() PyUnicodeEncodeError_GetEnd() PyUnicodeEncodeError_GetObject() PyUnicodeEncodeError_GetReason() PyUnicodeEncodeError_GetStart() PyUnicodeEncodeError_SetEnd() PyUnicodeEncodeError_SetR ...
https://man.mtool.work/python/3.14/c-api/stable.html
弱参照オブジェクト 11630
弱参照オブジェクト Python は 弱参照 を第一級オブジェクト (first-class object) としてサポートします。弱参照を直接実装する二種類の固有のオブジェクト型があります。第一は単純な参照オブジェクトで、第二はオリジナルのオブジェクトに対して可能な限り ... j を NULL に設定し、0 を返します。 エラーの場合は例外を送出し、-1 を返します。 Added in version 3.13. PyObject * PyWeakref_GetObject ( PyObject * ref ) 戻り値: 借用参照。 次に属します: Stable ABI . Return a borrowed reference to the referenced object from ... Use PyWeakref_GetRef() instead. PyObject * PyWeakref_GET_OBJECT ( PyObject * ref ) 戻り値: 借用参照。 Similar to PyWeakref_GetObject() , but does no error checking. バージョン 3.13 で非推奨、バージョン 3.15 で削除予定: Use PyWeakref_GetRef() instead. int ...
https://man.mtool.work/python/3.14/c-api/weakref.html
Python 3.15 で削除予定 9484
Python 3.15 で削除予定 The PyImport_ImportModuleNoBlock() : Use PyImport_ImportModule() instead. PyWeakref_GetObject() and PyWeakref_GET_OBJECT() : Use PyWeakref_GetRef() instead. The pythoncapi-compat project can be used to get PyWeakref_G ...
https://man.mtool.work/python/3.14/deprecations/c-api-pending-removal-in-3.15.ht...
例外処理 9061
例外処理 この章で説明する関数を使うと、 Python の例外の処理や例外の送出ができるようになります。 Python の例外処理の基本をいくらか理解することが大切です。例外は POSIX errno 変数にやや似た機能を果たします: 発生した中で最も新しいエラーの (スレ ... しい参照。 次に属します: Stable ABI . 与えられた例外オブジェクトの encoding 属性を返します。 PyObject * PyUnicodeDecodeError_GetObject ( PyObject * exc ) PyObject * PyUnicodeEncodeError_GetObject ( PyObject * exc ) PyObject * PyUnicodeTranslateError_GetObje ...
https://man.mtool.work/python/3.14/c-api/exceptions.html
What's New In Python 3.13 9061
What's New In Python 3.13 エディタ : Adam Turner と Thomas Wouters この記事では Python 3.12 と比較した Python 3.13 の新機能を解説します。Python 3.13 は2024年10月7日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 71 ... しません。 (Serhiy Storchaka による gh-110289 での貢献。) Add the PyWeakref_GetRef() function as an alternative to PyWeakref_GetObject() that returns a strong reference or NULL if the referent is no longer live. (Contributed by Victor Stinner in gh-105927 . ... tItemString() 、 PyMapping_HasKey() 、 PyMapping_HasKeyString() 、 PyObject_HasAttr() 、 PyObject_HasAttrString() 、 PySys_GetObject() は、呼び出し中に発生したすべてのエラーを消去する関数ですが、 sys.unraisablehook() を使ってそれらのエラーを報告するように ... NICODE と PY_UNICODE_TYPE は単に wchar_t の別名です。 (Victor Stinner による gh-105156 での貢献。) Deprecate the PyWeakref_GetObject() and PyWeakref_GET_OBJECT() functions, which return a borrowed reference . Replace them with the new PyWeakref_GetRef() f ...
https://man.mtool.work/python/3.14/whatsnew/3.13.html
オペレーティングシステム関連のユーティリティ 8199
オペレーティングシステム関連のユーティリティ PyObject * PyOS_FSPath ( PyObject * path ) 戻り値: 新しい参照。 次に属します: Stable ABI (バージョン 3.6 より). path のファイルシステム表現を返します。 オブジェクトが str または bytes の場合は、新 ... タスレッドの sys モジュールの辞書に対して動作します。この辞書は内部のスレッド状態構造体に格納されています。 PyObject * PySys_GetObject ( const char * name ) 戻り値: 借用参照。 次に属します: Stable ABI . Return the object name from the sys module or NULL if ...
https://man.mtool.work/python/3.14/c-api/sys.html
非推奨 8199
非推奨 Python 3.15 で削除予定 インポートシステム: Setting __cached__ on a module while failing to set __spec__.cached is deprecated. In Python 3.15, __cached__ will cease to be set or take into consideration by the import system or standard ... PI の非推奨事項 Python 3.15 で削除予定 The PyImport_ImportModuleNoBlock() : Use PyImport_ImportModule() instead. PyWeakref_GetObject() and PyWeakref_GET_OBJECT() : Use PyWeakref_GetRef() instead. The pythoncapi-compat project can be used to get PyWeakref_ ...
https://man.mtool.work/python/3.14/deprecations/
C API 拡張のフリースレッド対応 8199
C API 拡張のフリースレッド対応 CPython 3.13 から、 global interpreter lock (GIL) を無効にして実行する free threading という構成がサポートされています。 このドキュメントでは、C API を使う拡張をフリースレッドに対応させる方法を説明します。 C か ... () PyDict_GetItemStringRef() PyDict_SetDefault() PyDict_SetDefaultRef() PyDict_Next() なし ( PyDict_Next を参照) PyWeakref_GetObject() PyWeakref_GetRef() PyWeakref_GET_OBJECT() PyWeakref_GetRef() PyImport_AddModule() PyImport_AddModuleRef() PyCell_GET() P ...
https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
拡張モジュールを分離する 7759
拡張モジュールを分離する 概要 従来、Python 拡張モジュールの状態は、プロセス全体をスコープとする C の static 変数に保持されていました。 このドキュメントでは、プロセスごとの状態が抱える問題と、より安全な方法であるモジュールごとの状態について説 ... 3.11 です。 代わりに次を使ってください: Stable ABI を使わない場合は PY_VERSION_HEX 。 それ以外は sys.version_info ( PySys_GetObject() と PyArg_ParseTuple() を介して取得)。 tp_traverse の委譲 走査関数が基底クラス (または他の型) の tp_traverse に処理を委譲 ...
https://man.mtool.work/python/3.14/howto/isolating-extensions.html
Python 初期化設定 7337
Python 初期化設定 PyInitConfig C API Added in version 3.14. Python は Py_InitializeFromInitConfig() で初期化できます。 Py_RunMain() 関数は、カスタマイズされた Python プログラムを書くために使用できます。 Initialization, Finalization, and Thr ... y sys.path explicitly */ /* If you want to modify the default set of paths, finish initialization first and then use PySys_GetObject("path") */ config . module_search_paths_set = 1 ; status = PyWideStringList_Append ( & config . module_search_paths , L "/ ...
https://man.mtool.work/python/3.14/c-api/init_config.html
PREV 1 2 NEXT