per page, with , order by , clip by
Results of 1 - 10 of about 23 for threaded (0.006 sec.)
5. macOS で Python を使う 13774
5. macOS で Python を使う このドキュメントでは、Mac コンピュータで Python を使い始める際に知っておくべき、macOS 固有の挙動を概説します。 macOS を実行する Mac 上の Python は、ほかの Unix 派生プラットフォーム上の Python と非常によく似ています ... taller. Click on each package name to see a description of what it installs. To also install support for the optional free-threaded feature, see Installing Free-threaded Binaries . どちらの場合も、 Install をクリックすると、新しいソフトウェアをインストー ... k for building cross-platform desktop, mobile, and web applications in Python. 5.5. Advanced Topics 5.5.1. Installing Free-threaded Binaries Added in version 3.13. The python.org Python for macOS installer package can optionally install an additional bui ... ith the global interpreter lock disabled). Check the release page on python.org for possible updated information. The free-threaded mode is working and continues to be improved, but there is some additional overhead in single-threaded workloads compared ...
https://man.mtool.work/python/3.14/using/mac.html
C API 拡張のフリースレッド対応 11629
C API 拡張のフリースレッド対応 CPython 3.13 から、 global interpreter lock (GIL) を無効にして実行する free threading という構成がサポートされています。 このドキュメントでは、C API を使う拡張をフリースレッドに対応させる方法を説明します。 C か ... able_Module_SetGIL() to indicate that they support running with the GIL disabled. The function is only defined in the free-threaded build, so you should guard the call with #ifdef Py_GIL_DISABLED to avoid compilation errors in the regular build. static s ... と PyEval_RestoreThread() Py_BEGIN_ALLOW_THREADS と Py_END_ALLOW_THREADS These functions should still be used in the free-threaded build to manage thread state even when the GIL is disabled. For example, if you create a thread outside of Python, you mus ... している場合があります。 フリースレッドビルド向けの拡張のビルド C API extensions need to be built specifically for the free-threaded build. The wheels, shared libraries, and binaries are indicated by a t suffix. pypa/manylinux は、 python3.14t のように t ...
https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
変更履歴 11444
変更履歴 次の 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 ... gh-159136 : Setting __name__ , __qualname__ , __doc__ or __module__ on a function no longer stops all threads in the free-threaded build. This fixes a large slowdown in multi-threaded code using functools.wraps() since 3.14.7. gh-151060 : Fix a crash or ... smethod or staticmethod objects. gh-159739 : Fix a race in list.__sizeof__() when a list is concurrently resized on a free-threaded build. gh-159739 : Fix a reference leak when the value of a type alias is evaluated recursively or concurrently. gh-159739 ... : Fix a crash in free-threaded builds when codecs.unregister() is called concurrently. gh-159739 : Fix reference leaks when free-threaded garbage collect ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
chunk --- IFF チャンクデータの読み込み 9685
chunk --- IFF チャンクデータの読み込み バージョン 3.11 で非推奨、バージョン 3.13 で削除. このモジュールは今や Python 標準ライブラリの一部ではありません。このモジュールは Python 3.11 で非推奨となったあと、 Python 3.13 で削除 されました。削除 ... 供していた最後のバージョンは Python 3.12 です。 他のマニュアルの関連ページ PHP stream_set_chunk_size() PHP array_chunk() PHP threaded.chunk Django uploads PHP chunk_split() PHP taint.requirements ...
https://man.mtool.work/python/3.14/library/chunk.html
Function オブジェクト 8730
Function オブジェクト Functionオブジェクト固有の関数はわずかです。 type PyFunctionObject 関数に使われるCの構造体。 In the free-threaded build, direct access to mutable fields requires synchronization if another thread may modify the functio ... の場合もあります。 通常はモジュール名を含む 文字列 ですが、Python コードで任意の別のオブジェクトに設定できます。 In the free-threaded build, if the attribute may be modified concurrently, convert the borrowed reference to a strong reference with Py_XNewRef ...
https://man.mtool.work/python/3.14/c-api/function.html
リモートデバッグのアタッチプロトコル 8730
リモートデバッグのアタッチプロトコル このプロトコルを使うと、外部ツールから実行中の CPython プロセスにアタッチし、Python コードをリモートで実行できます。 別の Python プロセスへのアタッチには、プラットフォームによって追加の権限や設定が必要な ... リリース版 (アルファ版、ベータ版、リリース候補版など) を使っている場合は、バージョンが完全に一致しなければなりません。 free_threaded フィールドは、デバッガーと対象プロセスの両方で同じ値でなければなりません。 構造体が有効なら、格納されたオフセットを使ってメ ... LOCAL_PYTHON_VERSION : raise RuntimeError ( "Mismatch between caller and target Python versions" ) if debug_offsets . free_threaded != LOCAL_FREE_THREADED : raise RuntimeError ( "Mismatch in free-threaded configuration" ) return debug_offsets 警告 プロセ ...
https://man.mtool.work/python/3.14/howto/remote_debugging.html
Python のフリースレッド対応 8328
Python のフリースレッド対応 CPython 3.13 から、 global interpreter lock (GIL) を無効にした free threading という Python のビルドがサポートされています。 フリースレッド実行では、利用可能な CPU コアでスレッドを並列に動かし、処理能力を十分に活 ... ほかのプラットフォームについては、コミュニティが保守しているフリースレッド版 Python のインストールガイド、 Installing a Free-Threaded Python を参照してください。 CPython をソースからビルドする場合、フリースレッドの Python インタープリタを作るには configure ... ッケージのフリースレッド対応状況を確認できます。 https://py-free-threading.github.io/tracking/ https://hugovk.github.io/free-threaded-wheels/ スレッド安全性 CPython のフリースレッドビルドは、Python レベルでは、デフォルトの GIL が有効なビルドと同様のスレッド ...
https://man.mtool.work/python/3.14/howto/free-threading-python.html
リフレクション 8143
リフレクション PyObject * PyEval_GetBuiltins ( void ) 戻り値: 借用参照。 次に属します: Stable ABI . バージョン 3.13 で非推奨: 代わりに PyEval_GetFrameBuiltins() を使ってください。 現在の実行フレーム内のビルトインの辞書か、もし実行中のフレー ... ed pointer refers to the function's name and must not be retained across operations that may change that name. In the free-threaded build, copy the string before detaching the thread state or executing Python code if the name may be modified concurrently ...
https://man.mtool.work/python/3.14/c-api/reflection.html
将来のバージョンで削除予定 7942
将来のバージョンで削除予定 以下の API は将来削除されますが、現時点では削除時期は決まっていません。 argparse : 引数グループの入れ子と、相互排他的なグループの入れ子は非推奨です。 add_argument_group() に、ドキュメント化されていないキーワード引 ... トモードの使用は非推奨です。 代わりに BytesIO とバイナリモードを使ってください。 os : Calling os.register_at_fork() in multi-threaded process. pydoc.ErrorDuringImport : exc_info パラメータにタプルを渡すことは非推奨です。 例外インスタンスを使ってください。 ...
https://man.mtool.work/python/3.14/deprecations/pending-removal-in-future.html
asyncio とフリースレッド Python 7942
asyncio とフリースレッド Python asyncio uses an event loop as a scheduler to enable highly efficient concurrency by switching between tasks to allow non-blocking I/O operations. This results in better performance for I/O-bound use cases. It ... ドや CPU バウンドのコードを実行する必要がある場合にも役立ちます。 参考 Kumar Aditya によるブログ記事 Scaling asyncio on Free-Threaded Python では、フリースレッド Python 上で asyncio を安全かつ効率的に動作させるための内部的な変更と、改善の効果を示すベンチマ ...
https://man.mtool.work/python/3.14/library/asyncio-threading.html
PREV 1 2 3 NEXT