Results of 1 - 8 of about 8 for pythoncapi (0.008 sec.)
- Python 3.15 で削除予定 12290
- 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
...( sys.executable ) instead. Py_GetPythonHome() : Use PyConfig_Get("home") or the PYTHONHOME environment variable instead. pythoncapi-compat プロジェクト を使うと、Python 3.13 以前でも PyConfig_Get() を利用できます。 Python 3.11 で非推奨となった、Python の... - https://man.mtool.work/python/3.14/deprecations/c-api-pending-removal-in-3.15.ht...
- Python 3.18 で削除予定 10465
- Python 3.18 で削除予定 以下の非公開関数は非推奨となり、Python 3.18 で削除予定です: _PyBytes_Join() : PyBytes_Join() を使ってください。 _PyDict_GetItemStringWithError() : PyDict_GetItemStringRef() を使ってください。 _PyDict_Pop() : PyDict_Po
...nd() :(代替なし)。 _Py_HashPointer() : Py_HashPointer() を使ってください。 _Py_fopen_obj() : Py_fopen() を使ってください。 pythoncapi-compat プロジェクト を使うと、Python 3.13 以前でもこれらの新しい公開関数を利用できます。 (Victor Stinner が gh-128863 で貢... - https://man.mtool.work/python/3.14/deprecations/c-api-pending-removal-in-3.18.ht...
- 非推奨 10465
- 非推奨 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
...se PyImport_ImportModule() instead. PyWeakref_GetObject() and PyWeakref_GET_OBJECT() : Use PyWeakref_GetRef() instead. The pythoncapi-compat project can be used to get PyWeakref_GetRef() on Python 3.12 and older. Py_UNICODE type and the Py_UNICODE_WIDE mac...( sys.executable ) instead. Py_GetPythonHome() : Use PyConfig_Get("home") or the PYTHONHOME environment variable instead. pythoncapi-compat プロジェクト を使うと、Python 3.13 以前でも PyConfig_Get() を利用できます。 Python 3.11 で非推奨となった、Python の...nd() :(代替なし)。 _Py_HashPointer() : Py_HashPointer() を使ってください。 _Py_fopen_obj() : Py_fopen() を使ってください。 pythoncapi-compat プロジェクト を使うと、Python 3.13 以前でもこれらの新しい公開関数を利用できます。 (Victor Stinner が gh-128863 で貢... - https://man.mtool.work/python/3.14/deprecations/
- What's New In Python 3.13 9543
- 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
...数が追加されました。 Py_TPFLAGS_MANAGED_DICT フラグを使う型の traverse 関数と clear 関数は、これらを呼び出す必要があります。 pythoncapi-compat project を使えば、Python 3.11 と 3.12 でもこれらの関数を使えます。 (Victor Stinner による gh-107073 での貢献。) PyR...thon 3.8 との後方互換性のために残されていた、 PyInterpreterState_Get() の別名 _PyInterpreterState_Get() が削除されました。 pythoncapi-compat project を使えば、Python 3.8 以前でも PyInterpreterState_Get() を利用できます。 (Victor Stinner による gh-106320 で...eturn 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... - https://man.mtool.work/python/3.14/whatsnew/3.13.html
- C API 拡張のフリースレッド対応 7717
- C API 拡張のフリースレッド対応 CPython 3.13 から、 global interpreter lock (GIL) を無効にして実行する free threading という構成がサポートされています。 このドキュメントでは、C API を使う拡張をフリースレッドに対応させる方法を説明します。 C か
...NOT_USED ); #endif return m ; } API 全般の指針 C API の大部分はスレッドセーフですが、例外もあります。 構造体のフィールド : Python C API のオブジェクトや構造体のフィールドが並行して変更される可能性がある場合、そのフィールドへの直接アクセスはスレッドセーフで...その状況で借用参照を使うのは安全です。 これらの関数の一部は Python 3.13 で追加されました。 古い Python バージョン向けには、 pythoncapi-compat パッケージでこれらの関数の実装を利用できます。 メモリ割り当て API Python のメモリ管理 C API は、raw、mem、object と... - https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
- What's New In Python 3.11 7247
- What's New In Python 3.11 編集者 : Pablo Galindo Salgado この記事では Python 3.10 と比較した Python 3.11 の新機能を解説します。Python 3.11 は2022年10月24日にリリースされました。全詳細については 変更履歴 をご覧ください。 概要 -- リリースハイ
...t * PyFrame_GetBack ( PyFrameObject * frame ) { Py_XINCREF ( frame -> f_back ); return frame -> f_back ; } #endif または、 pythoncapi_compat プロジェクト を使うと、古い Python バージョンでもこれら 2 つの関数を利用できます。 PyThreadState 構造体のメンバーの...A00A1 tstate -> cframe -> use_tracing = use_tracing ; #else tstate -> use_tracing = use_tracing ; #endif } #endif または、 pythoncapi-compat プロジェクト を使うと、古い Python バージョンでもこれらの関数を利用できます。 配布者には、最適化された Blake2 ライブ... - https://man.mtool.work/python/3.14/whatsnew/3.11.html
- What's New In Python 3.12 7247
- 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 リリ
...se PyImport_ImportModule() instead. PyWeakref_GetObject() and PyWeakref_GET_OBJECT() : Use PyWeakref_GetRef() instead. The pythoncapi-compat project can be used to get PyWeakref_GetRef() on Python 3.12 and older. Py_UNICODE type and the Py_UNICODE_WIDE mac...( sys.executable ) instead. Py_GetPythonHome() : Use PyConfig_Get("home") or the PYTHONHOME environment variable instead. pythoncapi-compat プロジェクト を使うと、Python 3.13 以前でも PyConfig_Get() を利用できます。 Python 3.11 で非推奨となった、Python の... - https://man.mtool.work/python/3.14/whatsnew/3.12.html
- What's new in Python 3.14 7247
- 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
...se PyImport_ImportModule() instead. PyWeakref_GetObject() and PyWeakref_GET_OBJECT() : Use PyWeakref_GetRef() instead. The pythoncapi-compat project can be used to get PyWeakref_GetRef() on Python 3.12 and older. Py_UNICODE type and the Py_UNICODE_WIDE mac...( sys.executable ) instead. Py_GetPythonHome() : Use PyConfig_Get("home") or the PYTHONHOME environment variable instead. pythoncapi-compat プロジェクト を使うと、Python 3.13 以前でも PyConfig_Get() を利用できます。 Python 3.11 で非推奨となった、Python の... - https://man.mtool.work/python/3.14/whatsnew/3.14.html
PREV
1
NEXT