per page, with , order by , clip by
Results of 1 - 10 of about 22 for contextmanager (0.051 sec.)
contextlib --- with 文コンテキスト用ユーティリティ — Python 3.14.8 ドキュメント 13652
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » contextlib --- with 文コンテキスト用ユーティリティ テーマ 自動 ライト ダーク | contextlib --- with 文コ ... とコンテキストマネージャ を参照してください。 ユーティリティ ¶ 以下の関数とクラスを提供しています: class contextlib. AbstractContextManager ¶ An abstract base class for classes that implement __enter__() and __exit__() . A default implementation for __enter__() ... returns None . See also the definition of コンテキストマネージャ型 . Added in version 3.6. class contextlib. AbstractAsyncContextManager ¶ An abstract base class for classes that implement __aenter__() and __aexit__() . A default implementation for __aenter__ ... s an abstract method which by default returns None . See also the definition of 非同期コンテキストマネージャ (Asynchronous Context Manager) . Added in version 3.7. @ contextlib. contextmanager ¶ この関数は with 文コンテキストマネージャのファクトリ関数を定義する ...
https://man.mtool.work/python/3.14/library/contextlib.html
contextlib --- with 文コンテキスト用ユーティリティ — Python 3.14.8 ドキュメント 13652
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » contextlib --- with 文コンテキスト用ユーティリティ テーマ 自動 ライト ダーク | contextlib --- with 文コ ... とコンテキストマネージャ を参照してください。 ユーティリティ ¶ 以下の関数とクラスを提供しています: class contextlib. AbstractContextManager ¶ An abstract base class for classes that implement __enter__() and __exit__() . A default implementation for __enter__() ... returns None . See also the definition of コンテキストマネージャ型 . Added in version 3.6. class contextlib. AbstractAsyncContextManager ¶ An abstract base class for classes that implement __aenter__() and __aexit__() . A default implementation for __aenter__ ... s an abstract method which by default returns None . See also the definition of 非同期コンテキストマネージャ (Asynchronous Context Manager) . Added in version 3.7. @ contextlib. contextmanager ¶ この関数は with 文コンテキストマネージャのファクトリ関数を定義する ...
https://man.mtool.work/python/3.14/library/contextlib.html
What's New In Python 3.2 — Python 3.14.8 ドキュメント 8417
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.2 テーマ 自動 ライト ダーク | What's New In Python 3.2 ¶ 著者 : Raymond Hettinger This article explains the new fea ... map() メソッドは一気に複数の非同期呼び出しをスケジュールします。 shutdown() メソッドはリソースを解放します。これらクラスは context manager なので with 文とともに使うことが出来、現時点で保留中の future が実行を終えた際にリソースが自動的に解放されることを保障出来 ... ひとつの目覚しい勝利は、 SSL 接続とセキュリティ証明書サポートの大幅な改善です。 さらに、以前よりももっと多くのクラスが今では context manager を実装し、 with 文を使った便利で信頼出来るリソースのクリーンアップをサポートしています。 email ¶ The usability of the ema ... ontextlib ¶ 新しく追加され、そして少しばかりハートを揺さぶるツール ContextDecorator は、関数デコレータとしての任務も果たす context manager を作るのに役立つものです。 As a convenience, this new functionality is used by @~contextlib.contextmanager so that no ext ...
https://man.mtool.work/python/3.14/whatsnew/3.2.html
What's New In Python 3.2 — Python 3.14.8 ドキュメント 8417
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.2 テーマ 自動 ライト ダーク | What's New In Python 3.2 ¶ 著者 : Raymond Hettinger This article explains the new fea ... map() メソッドは一気に複数の非同期呼び出しをスケジュールします。 shutdown() メソッドはリソースを解放します。これらクラスは context manager なので with 文とともに使うことが出来、現時点で保留中の future が実行を終えた際にリソースが自動的に解放されることを保障出来 ... ひとつの目覚しい勝利は、 SSL 接続とセキュリティ証明書サポートの大幅な改善です。 さらに、以前よりももっと多くのクラスが今では context manager を実装し、 with 文を使った便利で信頼出来るリソースのクリーンアップをサポートしています。 email ¶ The usability of the ema ... ontextlib ¶ 新しく追加され、そして少しばかりハートを揺さぶるツール ContextDecorator は、関数デコレータとしての任務も果たす context manager を作るのに役立つものです。 As a convenience, this new functionality is used by @~contextlib.contextmanager so that no ext ...
https://man.mtool.work/python/3.14/whatsnew/3.2.html
索引 — Python 3.14.8 ドキュメント 8248
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – _ _ (下線) gettext in numeric literal , [1] 文字列のフォーマットで _, identifiers __, identifiers __abs__() (object のメソッド) (opera ... ) (method の属性) (module の属性) (type の属性) (クラス属性) (メソッド属性) (モジュール属性) , [1] (関数属性) __enter__() (contextmanager のメソッド) (object のメソッド) (winreg.PyHKEY のメソッド) __eq__() (email.charset.Charset のメソッド) (email.header.Heade ... のメソッド) (operator モジュール) (インスタンスメソッド) __excepthook__ (sys モジュール) (threading モジュール) __exit__() (contextmanager のメソッド) (object のメソッド) (winreg.PyHKEY のメソッド) __file__ (module の属性) (モジュール属性) , [1] , [2] __firstli ...
https://man.mtool.work/python/3.14/genindex-_.html
変更履歴 — Python 3.14.8 ドキュメント 8248
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... cessPoolExecutor and concurrent.futures.ThreadPoolExecutor . gh-132106 : logging.handlers.QueueListener now implements the context manager protocol, allowing it to be used in a with statement. gh-132054 : The application/yaml mime type ( RFC 9512 ) is now supp ... for holding the warning filtering state if the sys.flags.context_aware_warnings flag is set to true. This makes using the context manager thread-safe in multi-threaded programs. The flag is true by default in free-threaded builds and is otherwise false. The v ... , dictionaries, and sets. gh-128398 : Improve error message when an object supporting the synchronous (resp. asynchronous) context manager protocol is entered using async with (resp. with ) instead of with (resp. async with ). Patch by Bénédikt Tran. gh-131798 ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
索引 — Python 3.14.8 ドキュメント 8248
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – _ _ (下線) gettext in numeric literal , [1] 文字列のフォーマットで _, identifiers __, identifiers __abs__() (object のメソッド) (opera ... ) (method の属性) (module の属性) (type の属性) (クラス属性) (メソッド属性) (モジュール属性) , [1] (関数属性) __enter__() (contextmanager のメソッド) (object のメソッド) (winreg.PyHKEY のメソッド) __eq__() (email.charset.Charset のメソッド) (email.header.Heade ... のメソッド) (operator モジュール) (インスタンスメソッド) __excepthook__ (sys モジュール) (threading モジュール) __exit__() (contextmanager のメソッド) (object のメソッド) (winreg.PyHKEY のメソッド) __file__ (module の属性) (モジュール属性) , [1] , [2] __firstli ...
https://man.mtool.work/python/3.14/genindex-_.html
索引 — Python 3.14.8 ドキュメント 8080
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | 索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | イ | エ | オ | カ | キ ... ) (method の属性) (module の属性) (type の属性) (クラス属性) (メソッド属性) (モジュール属性) , [1] (関数属性) __enter__() (contextmanager のメソッド) (object のメソッド) (winreg.PyHKEY のメソッド) __eq__() (email.charset.Charset のメソッド) (email.header.Heade ... のメソッド) (operator モジュール) (インスタンスメソッド) __excepthook__ (sys モジュール) (threading モジュール) __exit__() (contextmanager のメソッド) (object のメソッド) (winreg.PyHKEY のメソッド) __file__ (module の属性) (モジュール属性) , [1] , [2] __firstli ... __future__ モジュール) AbsoluteLinkError AbsolutePathError abspath() (os.path モジュール) abstract base class AbstractAsyncContextManager (contextlib のクラス) AbstractBasicAuthHandler (urllib.request のクラス) abstractclassmethod() (abc モジュール) AbstractCo ...
https://man.mtool.work/python/3.14/genindex-all.html
索引 — Python 3.14.8 ドキュメント 7895
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – C C 構造体 言語 , [1] , [2] , [3] , [4] C-contiguous , [1] C14NWriterTarget (xml.etree.ElementTree のクラス) c_bool (ctypes のクラス) ... r (email.headerregistry のクラス) context Context (contextvars のクラス) (decimal のクラス) context (ssl.SSLSocket の属性) context manager , [1] , [2] context variable context_aware_warnings (sys.flags の属性) context_diff() (difflib モジュール) ContextDecorat ... or (contextlib のクラス) contextlib module ContextManager (typing のクラス) contextmanager() (contextlib モジュール) ContextVar (contextvars のクラス) contextvars module CONTIG (in ...
https://man.mtool.work/python/3.14/genindex-C.html
What's New in Python 2.5 — Python 3.14.8 ドキュメント 7895
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.5 テーマ 自動 ライト ダーク | What's New in Python 2.5 ¶ 著者 : A.M. Kuchling This article explains the new feature ... 。 コンテキスト管理プロトコルの高度な説明はこんなです: The expression is evaluated and should result in an object called a "context manager". The context manager must have __enter__() and __exit__() methods. The context manager's __enter__() method is called. T ... メントで使えるオブジェクトを書く際に便利ないくつかの関数とデコレータを提供しています。 The decorator is called @~contextlib.contextmanager , and lets you write a single generator function instead of defining a new class. The generator should yield exactly one v ... ield statement. このデコレータを使って、前セクションの私たちのデータベースの例はこのように書けます: from contextlib import contextmanager @contextmanager def db_transaction ( connection ): cursor = connection . cursor () try : yield cursor except : connection ...
https://man.mtool.work/python/3.14/whatsnew/2.5.html
PREV 1 2 3 NEXT