per page, with , order by , clip by
Results of 1 - 10 of about 10 for collected (0.010 sec.)
12. 仮想環境とパッケージ 13640
12. 仮想環境とパッケージ 12.1. はじめに Python アプリケーションは、標準ライブラリに含まれないパッケージやモジュールをよく使います。特定のバグの修正が必要だったり、古いバージョンのライブラリのインターフェイスに依存していたりするため、ライブラ ... できます: (tutorial-env) $ python -m pip install novas Collecting novas Downloading novas-3.1.1.3.tar.gz (136kB) Installing collected packages: novas Running setup.py install for novas Successfully installed novas-3.1.1.3 パッケージ名の後に == とバージョン ... n -m pip install requests == 2 .6.0 Collecting requests==2.6.0 Using cached requests-2.6.0-py2.py3-none-any.whl Installing collected packages: requests Successfully installed requests-2.6.0 このコマンドを再実行しても、 pip は指定されたバージョンがインスト ... ばパッケージを最新版に更新できます: (tutorial-env) $ python -m pip install --upgrade requests Collecting requests Installing collected packages: requests Found existing installation: requests 2.6.0 Uninstalling requests-2.6.0: Successfully uninstalled reque ...
https://man.mtool.work/python/3.14/tutorial/venv.html
サブプロセス 9850
サブプロセス ソースコード: Lib/asyncio/subprocess.py , Lib/asyncio/base_subprocess.py このセクションはサブプロセスの生成と管理を行う高水準の async/await asyncio API について説明します。 以下は、 asyncio モジュールがどのようにシェルコマンドを ... ンスタンスを返します。 他のパラメータについては loop.subprocess_exec() を参照してください。 If the process object is garbage collected while the process is still running, the child process will be killed. バージョン 3.10 で変更: loop パラメータが削除されまし ... ます。 他のパラメータについては loop.subprocess_shell() のドキュメントを参照してください。 If the process object is garbage collected while the process is still running, the child process will be killed. 重要 シェルインジェクション の脆弱性を回避するために ...
https://man.mtool.work/python/3.14/library/asyncio-subprocess.html
gc --- ガベージコレクターインターフェース 9510
gc --- ガベージコレクターインターフェース このモジュールは、循環ガベージコレクタの無効化・検出頻度の調整・デバッグオブションの設定などを行うインターフェースを提供します。また、検出した到達不能オブジェクトのうち、解放する事ができないオブジェ ... かもしれませんが、現在のところそれぞれの辞書には以下の項目が含まれています: collections は、この世代が検出を行った回数です; collected は、この世代内で回収されたオブジェクトの総数です; uncollectable is the total number of objects which were found to be unco ... コールバックに付加情報を提供する辞書です。現在のところ以下のキーが定義されています: "generation": 回収される最も古い世代。 "collected": phase が "stop" のとき、正常に回収されたオブジェクトの数。 "uncollectable": phase が "stop" のとき、回収出来ずに garbage ...
https://man.mtool.work/python/3.14/library/gc.html
A Conceptual Overview of asyncio 9171
A Conceptual Overview of asyncio この HOWTO では、 asyncio の基本的な仕組みをしっかり理解できるように説明します。 推奨される書き方がどのように動き、なぜ推奨されるのかを理解する助けになるでしょう。 asyncio の主要な概念について、疑問を持ってい ... elf is not added to the event loop, only a callback to the task is. This matters if the task object you created is garbage collected before it's called by the event loop. For example, consider this program: 1 async def hello (): 2 print ( "hello!" ) 3 4 a ... 8 ... 9 10 asyncio . run ( main ()) Because there's no reference to the task object created on line 5, it might be garbage collected before the event loop invokes it. Later instructions in the coroutine main() hand control back to the event loop so it can ...
https://man.mtool.work/python/3.14/howto/a-conceptual-overview-of-asyncio.html
弱参照オブジェクト 8831
弱参照オブジェクト Python は 弱参照 を第一級オブジェクト (first-class object) としてサポートします。弱参照を直接実装する二種類の固有のオブジェクト型があります。第一は単純な参照オブジェクトで、第二はオリジナルのオブジェクトに対して可能な限り ... t may be returned. The second parameter, callback , can be a callable object that receives notification when ob is garbage collected; it should accept a single parameter, which will be the weak reference object itself. callback may also be None or NULL . ...
https://man.mtool.work/python/3.14/c-api/weakref.html
DTrace と SystemTap で CPython を測定する 8134
DTrace と SystemTap で CPython を測定する author : David Malcolm author : Łukasz Langa Dtrace と SystemTap はモニタリングツールで、コンピュータシステムのプロセスが何をしているかを調べる方法を提供します。 どちらもドメイン固有言語 (domain-spe ... ジコレクションのサイクルを開始したときに発火します。 arg0 は gc.collect() と同様に、走査する世代を指定します。 gc__done(long collected) Python インタプリタがガベージコレクションのサイクルを終了したときに発火します。 arg0 は回収したオブジェクトの数です。 imp ...
https://man.mtool.work/python/3.14/howto/instrumentation.html
weakref --- 弱参照 7794
weakref --- 弱参照 ソースコード: Lib/weakref.py weakref モジュールを使うと、Python プログラムからオブジェクトへの 弱参照 を作成できます。 以下では、用語リファレント( referent ) は弱参照が参照するオブジェクトを意味します。 オブジェクトへの弱 ... self ): self . remove () Starting with Python 3.4, __del__() methods no longer prevent reference cycles from being garbage collected, and module globals are no longer forced to None during interpreter shutdown . So this code should work without any issues ...
https://man.mtool.work/python/3.14/library/weakref.html
型オブジェクトの構造体 7454
型オブジェクトの構造体 新しい型を定義する PyTypeObject 構造体は、Python のオブジェクトシステムで特に重要な構造体の 1 つです。 型オブジェクトは PyObject_* 関数や PyType_* 関数で扱えますが、ほとんどの Python アプリケーションにとって関心のある ... e of another heap-allocated type (such as a heap-allocated superclass). If they do not, the type object may not be garbage-collected. 注釈 The tp_traverse function can be called from any thread. バージョン 3.9 で変更: Heap-allocated types are expected to ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
関数型プログラミング HOWTO 7454
関数型プログラミング HOWTO Author : A. M. Kuchling Release : 0.32 この文書では、関数型スタイルでプログラムを実装するのにピッタリな Python の機能を見てまわることにしましょう。まず関数型プログラミングという概念を紹介したあと、 iterator や gen ... and will trigger a RuntimeError . close() will also be called by Python's garbage collector when the generator is garbage-collected. GeneratorExit が発生したときに後片付けを行う必要がある場合は、 GeneratorExit を捕捉するのではなく、 try: ... finally: を使 ...
https://man.mtool.work/python/3.14/howto/functional.html
What's New in Python 2.5 7454
What's New in Python 2.5 著者 : A.M. Kuchling この記事では Python 2.5 の新機能を説明します。 Python 2.5 の最終リリースは 2006 年 8 月に予定されており、 PEP 356 にリリース計画が記載されています。 Python 2.5 は 2006 年 9 月 19 日にリリースされ ... ption is propagated to the caller. close() will also be called by Python's garbage collector when the generator is garbage-collected. GeneratorExit が起こったときにクリーンアップ作業をする必要があるなら、 GeneratorExit を捕捉するのではなく try: ... finaly ...
https://man.mtool.work/python/3.14/whatsnew/2.5.html
PREV 1 NEXT