Results of 1 - 10 of about 58 for emit (0.057 sec.)
- logging.handlers --- ログ記録ハンドラー — Python 3.14.8 ドキュメント 14505
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » logging.handlers --- ログ記録ハンドラー テーマ 自動 ライト ダーク | logging.handlers --- ログ
...が指定された場合、インスタンスはログ出力先として指定されたストリームを使います; そうでない場合、 sys.stderr が使われます。 emit ( record ) ¶ フォーマッタが指定されていれば、フォーマッタを使ってレコードを書式化します。 次に、レコードが terminator とと..., it is used to open the file with that encoding. If delay is true, then file opening is deferred until the first call to emit() . By default, the file grows indefinitely. If errors is specified, it's used to determine how encoding errors are handle...ame 引数が受け取るようになりました。 バージョン 3.9 で変更: errors 引数が追加されました。 close ( ) ¶ ファイルを閉じます。 emit ( record ) ¶ record をファイルに出力します。 終了時、ロギングがシャットダウンされたためにファイルがクローズされており、ファ... - https://man.mtool.work/python/3.14/library/logging.handlers.html
- logging.handlers --- ログ記録ハンドラー — Python 3.14.8 ドキュメント 14505
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » logging.handlers --- ログ記録ハンドラー テーマ 自動 ライト ダーク | logging.handlers --- ログ
...が指定された場合、インスタンスはログ出力先として指定されたストリームを使います; そうでない場合、 sys.stderr が使われます。 emit ( record ) ¶ フォーマッタが指定されていれば、フォーマッタを使ってレコードを書式化します。 次に、レコードが terminator とと..., it is used to open the file with that encoding. If delay is true, then file opening is deferred until the first call to emit() . By default, the file grows indefinitely. If errors is specified, it's used to determine how encoding errors are handle...ame 引数が受け取るようになりました。 バージョン 3.9 で変更: errors 引数が追加されました。 close ( ) ¶ ファイルを閉じます。 emit ( record ) ¶ record をファイルに出力します。 終了時、ロギングがシャットダウンされたためにファイルがクローズされており、ファ... - https://man.mtool.work/python/3.14/library/logging.handlers.html
- 変更履歴 — Python 3.14.8 ドキュメント 8884
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...onger raises IndexError if lineno is out of the range of the module source. gh-123011 : warnings.warn_explicit() no longer emits a spurious DeprecationWarning or raises ImportError when it is called with the globals of the __main__ module. gh-69370 :...s in the new REPL ( _pyrepl ), so that output written by an input hook (for example a GUI toolkit event loop) is no longer emitted with OPOST disabled and keeps its carriage returns. gh-153319 : The turtledemo viewer now reads each demo script as UTF...one in non-UTF-8 locales. gh-79366 : Fixed a race condition in logging : if a handler was removed while a record was being emitted, the following handlers of the same logger could be skipped. gh-73458 : Fix logging.config.listen() : it left the calle... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- Python 開発モード — Python 3.14.8 ドキュメント 8489
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » Python 開発モード テーマ 自動 ライト ダーク | Python 開発モード ¶ Added in version 3.7. The Python Development Mode in
...ive to be enabled by default. It should not be more verbose than the default if the code is correct; new warnings are only emitted when an issue is detected. It can be enabled using the -X dev command line option or by setting the PYTHONDEVMODE envir...に閉じられる if __name__ == "__main__" : main () The script does not close the file explicitly. By default, Python does not emit any warning. Example using README.txt, which has 269 lines: $ python script.py README.txt 269 Enabling the Python Developm...t ( firstline . rstrip ()) os . close ( fp . fileno ()) # ファイルは暗黙的に閉じられる main () By default, Python does not emit any warning: $ python script.py import os The Python Development Mode shows a ResourceWarning and logs a "Bad file descrip... - https://man.mtool.work/python/3.14/library/devmode.html
- Python 開発モード — Python 3.14.8 ドキュメント 8489
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » Python 開発モード テーマ 自動 ライト ダーク | Python 開発モード ¶ Added in version 3.7. The Python Development Mode in
...ive to be enabled by default. It should not be more verbose than the default if the code is correct; new warnings are only emitted when an issue is detected. It can be enabled using the -X dev command line option or by setting the PYTHONDEVMODE envir...に閉じられる if __name__ == "__main__" : main () The script does not close the file explicitly. By default, Python does not emit any warning. Example using README.txt, which has 269 lines: $ python script.py README.txt 269 Enabling the Python Developm...t ( firstline . rstrip ()) os . close ( fp . fileno ()) # ファイルは暗黙的に閉じられる main () By default, Python does not emit any warning: $ python script.py import os The Python Development Mode shows a ResourceWarning and logs a "Bad file descrip... - https://man.mtool.work/python/3.14/library/devmode.html
- _thread --- 低水準なスレッド API — Python 3.14.8 ドキュメント 8108
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » _thread --- 低水準なスレッド API テーマ 自動 ライト ダーク | _thread --- 低水準なスレッド API ¶ このモジュールはマルチス
...tion does nothing. バージョン 3.10 で変更: The signum argument is added to customize the signal number. 注釈 This does not emit the corresponding signal but schedules a call to the associated handler (if it exists). If you want to truly emit the sign... - https://man.mtool.work/python/3.14/library/_thread.html
- _thread --- 低水準なスレッド API — Python 3.14.8 ドキュメント 8108
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » _thread --- 低水準なスレッド API テーマ 自動 ライト ダーク | _thread --- 低水準なスレッド API ¶ このモジュールはマルチス
...tion does nothing. バージョン 3.10 で変更: The signum argument is added to customize the signal number. 注釈 This does not emit the corresponding signal but schedules a call to the associated handler (if it exists). If you want to truly emit the sign... - https://man.mtool.work/python/3.14/library/_thread.html
- Logging クックブック — Python 3.14.8 ドキュメント 7713
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Logging クックブック テーマ 自動 ライト ダーク | Logging クックブック ¶ Author : Vinay Sajip <vinay_sajip at red-dove dot com> このページは、過去に
...チによる短い例はこのようなものです: import logging import subprocess import sys class TTSHandler ( logging . Handler ): def emit ( self , record ): msg = self . format ( record ) # Speak slowly in a female English voice cmd = [ 'espeak' , '-s150' , '-...() . __init__ ( * args , ** kwargs ) self . signaller = Signaller () self . signaller . signal . connect ( slotfunc ) def emit ( self , record ): s = self . format ( record ) self . signaller . signal . emit ( s , record ) # # This example uses QThr...andler mixin, as in the following snippet: # Assume this is in a module mymixins.py import copy class MultilineMixin : def emit ( self , record ): s = record . getMessage () if ' \n ' not in s : super () . emit ( record ) else : lines = s . splitline... - https://man.mtool.work/python/3.14/howto/logging-cookbook.html
- Logging HOWTO — Python 3.14.8 ドキュメント 7713
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Logging HOWTO テーマ 自動 ライト ダーク | Logging HOWTO ¶ Author : Vinay Sajip <vinay_sajip at red-dove dot com> このページはチュートリアルです。レ
...chy? Use lastResort handler Handler enabled for level of record? Does a filter attached to handler reject the record? Stop Emit (includes formatting) Handler flow Logger enabled for level of call? No Yes Yes No No Yes Yes No No Yes No Yes No Yes Reco...ハンドラのレベルはロガーのレベルと同じ方法で、フィルタとして働きます。ハンドラがあるイベントを実際に処理すると決定した場合、 emit() メソッドが使われ、メッセージを出力先に送信します。ほとんどのユーザ定義の Handler のサブクラスで、この emit() をオーバライ...ンが早期に終了しないようにするためです。 SystemExit と KeyboardInterrupt 例外は決して飲み込まれません。 Handler サブクラスの emit() メソッドの間に起こる他の例外は、 handleError() メソッドに渡されます。 Handler の handleError() のデフォルト実装は、モジュ... - https://man.mtool.work/python/3.14/howto/logging.html
- Logging HOWTO — Python 3.14.8 ドキュメント 7713
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Logging HOWTO テーマ 自動 ライト ダーク | Logging HOWTO ¶ Author : Vinay Sajip <vinay_sajip at red-dove dot com> このページはチュートリアルです。レ
...chy? Use lastResort handler Handler enabled for level of record? Does a filter attached to handler reject the record? Stop Emit (includes formatting) Handler flow Logger enabled for level of call? No Yes Yes No No Yes Yes No No Yes No Yes No Yes Reco...ハンドラのレベルはロガーのレベルと同じ方法で、フィルタとして働きます。ハンドラがあるイベントを実際に処理すると決定した場合、 emit() メソッドが使われ、メッセージを出力先に送信します。ほとんどのユーザ定義の Handler のサブクラスで、この emit() をオーバライ...ンが早期に終了しないようにするためです。 SystemExit と KeyboardInterrupt 例外は決して飲み込まれません。 Handler サブクラスの emit() メソッドの間に起こる他の例外は、 handleError() メソッドに渡されます。 Handler の handleError() のデフォルト実装は、モジュ... - https://man.mtool.work/python/3.14/howto/logging.html