per page, with , order by , clip by
Results of 1 - 10 of about 11 for PyWeakref (0.008 sec.)
弱参照オブジェクト 14154
弱参照オブジェクト Python は 弱参照 を第一級オブジェクト (first-class object) としてサポートします。弱参照を直接実装する二種類の固有のオブジェクト型があります。第一は単純な参照オブジェクトで、第二はオリジナルのオブジェクトに対して可能な限り ... プロキシとして振舞うオブジェクトです。 int PyWeakref_Check ( PyObject * ob ) ob が弱参照オブジェクトまたはプロキシオブジェクトの場合に非ゼロを返します。 この関数は常に成功しま ... す。 int PyWeakref_CheckRef ( PyObject * ob ) ob が弱参照型またはそのサブクラスのインスタンスの場合に非ゼロを返します。 この関数は常に成功しま ... す。 int PyWeakref_CheckRefExact ( PyObject * ob ) ob が弱参照型のインスタンスであり、サブクラスのインスタンスではない場合に非ゼロを返します。 ...
https://man.mtool.work/python/3.14/c-api/weakref.html
Python 3.15 で削除予定 9868
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...
C API 拡張のフリースレッド対応 8713
C API 拡張のフリースレッド対応 CPython 3.13 から、 global interpreter lock (GIL) を無効にして実行する free threading という構成がサポートされています。 このドキュメントでは、C API を使う拡張をフリースレッドに対応させる方法を説明します。 C か ... ItemString() PyDict_GetItemStringRef() PyDict_SetDefault() PyDict_SetDefaultRef() PyDict_Next() なし ( PyDict_Next を参照) PyWeakref_GetObject() PyWeakref_GetRef() PyWeakref_GET_OBJECT() PyWeakref_GetRef() PyImport_AddModule() PyImport_AddModuleRef() PyCe ...
https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
C API Stability 8624
C API Stability 特記のない限り、Python の C API には後方互換性ポリシー PEP 387 が適用されます。 変更の大半はソース互換性を保ちます (通常は新しい API の追加だけを行います)。 既存 API の変更や削除は、非推奨の期間を経た後、または重大な問題を修 ... de_Type PyUnicode_WriteChar() PyVarObject PyVarObject.ob_base PyVarObject.ob_size PyVectorcall_Call() PyVectorcall_NARGS() PyWeakReference PyWeakref_GetObject() PyWeakref_GetRef() PyWeakref_NewProxy() PyWeakref_NewRef() PyWrapperDescr_Type PyWrapper_New() ...
https://man.mtool.work/python/3.14/c-api/stable.html
非推奨 8624
非推奨 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 ... ださい。 C API の非推奨事項 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 ...
https://man.mtool.work/python/3.14/deprecations/
What's New In Python 3.13 8624
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 ... 1 、それ以外なら 0 を返します。 これらの関数は例外を送出しません。 (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 ... 以降、 Py_UNICODE と 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() function, which returns a strong reference . The pythoncapi-compat project can be used to get PyWeakref_GetRef() on Python 3.12 and older. (Contributed by Victor Stinner in gh-105927 .) Python 3.14 で削除予定 拡張モジュールで ...
https://man.mtool.work/python/3.14/whatsnew/3.13.html
What's New In Python 3.12 8001
What's New In Python 3.12 編集者 : Adam Turner この記事では Python 3.11 と比較した Python 3.12 の新機能を解説します。Python 3.12 は2023年10月2日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 693 -- Python 3.12 リリ ... 作成すること ( gh-95388 )。 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 ...
https://man.mtool.work/python/3.14/whatsnew/3.12.html
What's new in Python 3.14 8001
What's new in Python 3.14 エディタ : Adam Turner と Hugo van Kemenade この記事では Python 3.13 と比較した Python 3.14 の新機能を解説します。Python 3.14 は2025年10月7日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP ... -127896 で貢献しました。) 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 ...
https://man.mtool.work/python/3.14/whatsnew/3.14.html
引数の解釈と値の構築 7735
引数の解釈と値の構築 これらの関数は、独自の拡張関数やメソッドを作成するときに便利です。 追加の情報や例は Python インタプリタの拡張と埋め込み を参照してください。 最初に説明する 3 つの関数、 PyArg_ParseTuple() , PyArg_ParseTupleAndKeywords() ... ck = NULL ; PyObject * result = NULL ; if ( PyArg_UnpackTuple ( args , "ref" , 1 , 2 , & object , & callback )) { result = PyWeakref_NewRef ( object , callback ); } return result ; } この例における PyArg_UnpackTuple() 呼び出しは、 PyArg_ParseTuple() を使っ ...
https://man.mtool.work/python/3.14/c-api/arg.html
型オブジェクトの構造体 7646
型オブジェクトの構造体 新しい型を定義する PyTypeObject 構造体は、Python のオブジェクトシステムで特に重要な構造体の 1 つです。 型オブジェクトは PyObject_* 関数や PyType_* 関数で扱えますが、ほとんどの Python アプリケーションにとって関心のある ... ストの先頭を示すオフセットが入ります (GC ヘッダがある場合には無視します); このオフセット値は PyObject_ClearWeakRefs() および PyWeakref_* 関数が利用します。インスタンス構造体には、 NULL に初期化された PyObject * 型のフィールドが入っていなければなりません。 こ ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
PREV 1 2 NEXT