per page, with , order by , clip by
Results of 1 - 10 of about 52 for atexit (0.004 sec.)
atexit --- 終了ハンドラー — Python 3.14.8 ドキュメント 14726
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » atexit --- 終了ハンドラー テーマ 自動 ライト ダーク | atexit --- 終了ハンドラー ¶ The atexit module def ... ines functions to register and unregister exit handlers : functions that are automatically executed "at exit", that is, upon normal program termination (for instance, if sys.exit() is called or the main module's execution complete ... s) or, more generally, upon interpreter shutdown . At exit, all registered exit handlers are called in the reverse order in which they were registered. If you register A , B , and ... ョン 3.7 で変更: When used with subinterpreters, registered functions are local to the interpreter they were registered in. atexit. register ( func , * args , ** kwargs ) ¶ Register func as an exit handler. Any optional arguments that are to be passed t ...
https://man.mtool.work/python/3.14/library/atexit.html
atexit --- 終了ハンドラー — Python 3.14.8 ドキュメント 14726
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » atexit --- 終了ハンドラー テーマ 自動 ライト ダーク | atexit --- 終了ハンドラー ¶ The atexit module def ... ines functions to register and unregister exit handlers : functions that are automatically executed "at exit", that is, upon normal program termination (for instance, if sys.exit() is called or the main module's execution complete ... s) or, more generally, upon interpreter shutdown . At exit, all registered exit handlers are called in the reverse order in which they were registered. If you register A , B , and ... ョン 3.7 で変更: When used with subinterpreters, registered functions are local to the interpreter they were registered in. atexit. register ( func , * args , ** kwargs ) ¶ Register func as an exit handler. Any optional arguments that are to be passed t ...
https://man.mtool.work/python/3.14/library/atexit.html
readline --- GNU readline のインターフェース — Python 3.14.8 ドキュメント 8408
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » readline --- GNU readline のインターフェース テーマ 自動 ライト ダーク | readline --- GNU readline のインター ... code below would normally be executed automatically during interactive sessions from the user's PYTHONSTARTUP file. import atexit import os import readline histfile = os . path . join ( os . path . expanduser ( "~" ), ".python_history" ) try : readline ... history len is -1 (infinite), which may grow unruly readline . set_history_length ( 1000 ) except FileNotFoundError : pass atexit . register ( readline . write_history_file , histfile ) Python が 対話モード で実行される時、このコードは実際には自動的に実 ... では上記と同じ目的を達成できますが、ここでは新規の履歴のみを追加することで、並行して対話セッションがサポートされます: import atexit import os import readline histfile = os . path . join ( os . path . expanduser ( "~" ), ".python_history" ) try : readline ...
https://man.mtool.work/python/3.14/library/readline.html
readline --- GNU readline のインターフェース — Python 3.14.8 ドキュメント 8408
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » readline --- GNU readline のインターフェース テーマ 自動 ライト ダーク | readline --- GNU readline のインター ... code below would normally be executed automatically during interactive sessions from the user's PYTHONSTARTUP file. import atexit import os import readline histfile = os . path . join ( os . path . expanduser ( "~" ), ".python_history" ) try : readline ... history len is -1 (infinite), which may grow unruly readline . set_history_length ( 1000 ) except FileNotFoundError : pass atexit . register ( readline . write_history_file , histfile ) Python が 対話モード で実行される時、このコードは実際には自動的に実 ... では上記と同じ目的を達成できますが、ここでは新規の履歴のみを追加することで、並行して対話セッションがサポートされます: import atexit import os import readline histfile = os . path . join ( os . path . expanduser ( "~" ), ".python_history" ) try : readline ...
https://man.mtool.work/python/3.14/library/readline.html
weakref --- Weak references — Python 3.14.8 ドキュメント 7766
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » weakref --- Weak references テーマ 自動 ライト ダーク | weakref --- Weak references ¶ ソースコード: Lib/weakref.py The w ... . When the program exits (or more generally, at interpreter shutdown ), each remaining live finalizer is called unless its atexit attribute has been set to false. They are called in reverse order of creation. A finalizer will never invoke its callback ... . If self is dead then return None . alive ¶ ファイナライザが生きている場合には真、そうでない場合には偽のプロパティです。 atexit ¶ A writable boolean property which by default is true. At interpreter shutdown , all remaining live finalizers for which ... >>> assert not f . alive >>> assert newobj is obj >>> assert func ( * args , ** kwargs ) == 6 CALLBACK Unless you set the atexit attribute to False , a finalizer will be called when the program exits if it is still alive. For instance >>> obj = Object ...
https://man.mtool.work/python/3.14/library/weakref.html
weakref --- Weak references — Python 3.14.8 ドキュメント 7766
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » weakref --- Weak references テーマ 自動 ライト ダーク | weakref --- Weak references ¶ ソースコード: Lib/weakref.py The w ... . When the program exits (or more generally, at interpreter shutdown ), each remaining live finalizer is called unless its atexit attribute has been set to false. They are called in reverse order of creation. A finalizer will never invoke its callback ... . If self is dead then return None . alive ¶ ファイナライザが生きている場合には真、そうでない場合には偽のプロパティです。 atexit ¶ A writable boolean property which by default is true. At interpreter shutdown , all remaining live finalizers for which ... >>> assert not f . alive >>> assert newobj is obj >>> assert func ( * args , ** kwargs ) == 6 CALLBACK Unless you set the atexit attribute to False , a finalizer will be called when the program exits if it is still alive. For instance >>> obj = Object ...
https://man.mtool.work/python/3.14/library/weakref.html
インタープリタの初期化と終了処理 — Python 3.14.8 ドキュメント 7631
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » インタープリタの初期化と終了処理 テーマ 自動 ライト ダーク | インタープリタの初期化と終了処理 ¶ See Python Initialization Configu ... itself. Therefore, it must not be called by any code that may be run as part of the interpreter shutdown process, such as atexit handlers, object finalizers, or any code that may be run while flushing the stdout and stderr files. 引数無しで 監査イベン ... Configuration for an example of a customized Python that always runs in isolated mode using Py_RunMain() . int PyUnstable_AtExit ( PyInterpreterState * interp , void ( * func ) ( void * ) , void * data ) ¶ これは Unstable API です。マイナーリリースで予 ... 告なく変更されることがあります。 Register an atexit callback for the target interpreter interp . This is similar to Py_AtExit() , but takes an explicit interpreter and data p ...
https://man.mtool.work/python/3.14/c-api/interp-lifecycle.html
インタープリタの初期化と終了処理 — Python 3.14.8 ドキュメント 7631
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » インタープリタの初期化と終了処理 テーマ 自動 ライト ダーク | インタープリタの初期化と終了処理 ¶ See Python Initialization Configu ... itself. Therefore, it must not be called by any code that may be run as part of the interpreter shutdown process, such as atexit handlers, object finalizers, or any code that may be run while flushing the stdout and stderr files. 引数無しで 監査イベン ... Configuration for an example of a customized Python that always runs in isolated mode using Py_RunMain() . int PyUnstable_AtExit ( PyInterpreterState * interp , void ( * func ) ( void * ) , void * data ) ¶ これは Unstable API です。マイナーリリースで予 ... 告なく変更されることがあります。 Register an atexit callback for the target interpreter interp . This is similar to Py_AtExit() , but takes an explicit interpreter and data p ...
https://man.mtool.work/python/3.14/c-api/interp-lifecycle.html
Python ランタイムサービス — Python 3.14.8 ドキュメント 7572
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス テーマ 自動 ライト ダーク | Python ランタイムサービス ¶ この章では、Python インタープリタや Python 環境に ... トなコンテキストマネージャ リエントラントなコンテキストマネージャ 再利用可能なコンテキストマネージャ abc --- 抽象基底クラス atexit --- 終了ハンドラー atexit Example traceback --- スタックトレースの表示または取得 モジュールレベルの関数 TracebackException ...
https://man.mtool.work/python/3.14/library/python.html
Python ランタイムサービス — Python 3.14.8 ドキュメント 7572
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス テーマ 自動 ライト ダーク | Python ランタイムサービス ¶ この章では、Python インタープリタや Python 環境に ... トなコンテキストマネージャ リエントラントなコンテキストマネージャ 再利用可能なコンテキストマネージャ abc --- 抽象基底クラス atexit --- 終了ハンドラー atexit Example traceback --- スタックトレースの表示または取得 モジュールレベルの関数 TracebackException ...
https://man.mtool.work/python/3.14/library/python.html
PREV 1 2 3 4 5 6 NEXT