Results of 1 - 10 of about 210 for cases (0.052 sec.)
- 変更履歴 — Python 3.14.8 ドキュメント 13258
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...tcapi module on NetBSD. gh-152548 : Add the test.support.isolation.runInSubprocess() decorator to run a test method or TestCase subclass in a fresh interpreter subprocess, isolated from the rest of the test run. gh-151626 : Fix several tests in test.t...ly. gh-83281 : email : improve handling trailing garbage in address lists to avoid throwing AttributeError in certain edge cases ドキュメント ¶ gh-148663 : Document that calendar.IllegalMonthError is a subclass of both ValueError and IndexError since...onstraint. gh-100964 : Fix reference cycle in exhausted generator frames. Patch by Savannah Ostrowski. gh-69605 : Fix edge-cases around already imported modules in the REPL auto-completion of imports. gh-138568 : Adjusted the built-in help() function... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- 拡張モジュールを分離する — Python 3.14.8 ドキュメント 12051
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 拡張モジュールを分離する テーマ 自動 ライト ダーク | 拡張モジュールを分離する ¶ 概要 Traditionally, state belonging to Python extension modules wa
...time state (e.g. the set of imported modules). Python supports running multiple interpreters in one process. There are two cases to think about—users may run interpreters: in sequence, with several Py_InitializeEx() / Py_FinalizeEx() cycles, and in pa...rallel, managing "sub-interpreters" using Py_NewInterpreter() / Py_EndInterpreter() . Both cases (and combinations of them) would be most useful when embedding Python within a library. Libraries generally shouldn't make...er ends up being shared between interpreters. Unless the extension developer is careful, it is very easy to introduce edge cases that lead to crashes when a module is loaded in more than one interpreter in the same process. Unfortunately, per-interpre... - https://man.mtool.work/python/3.14/howto/isolating-extensions.html
- 拡張モジュールを分離する — Python 3.14.8 ドキュメント 12051
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 拡張モジュールを分離する テーマ 自動 ライト ダーク | 拡張モジュールを分離する ¶ 概要 Traditionally, state belonging to Python extension modules wa
...time state (e.g. the set of imported modules). Python supports running multiple interpreters in one process. There are two cases to think about—users may run interpreters: in sequence, with several Py_InitializeEx() / Py_FinalizeEx() cycles, and in pa...rallel, managing "sub-interpreters" using Py_NewInterpreter() / Py_EndInterpreter() . Both cases (and combinations of them) would be most useful when embedding Python within a library. Libraries generally shouldn't make...er ends up being shared between interpreters. Unless the extension developer is careful, it is very easy to introduce edge cases that lead to crashes when a module is loaded in more than one interpreter in the same process. Unfortunately, per-interpre... - https://man.mtool.work/python/3.14/howto/isolating-extensions.html
- ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 7974
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as
...ype_comment ) | AsyncWith ( withitem * items , stmt * body , string ? type_comment ) | Match ( expr subject , match_case * cases ) | Raise ( expr ? exc , expr ? cause ) | Try ( stmt * body , excepthandler * handlers , stmt * orelse , stmt * finalbody...=Load()), args=[ Name(id='b', ctx=Load()), Name(id='d', ctx=Load())]))])]) Pattern matching ¶ class ast. Match ( subject , cases ) ¶ A match statement. subject holds the subject of the match (the object that is being matched against the cases) and cas...es contains an iterable of match_case nodes with the different cases. Added in version 3.10. class ast. match_case ( pattern , guard , body ) ¶ A single case pattern in a match statement. pat... - https://man.mtool.work/python/3.14/library/ast.html
- ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 7974
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as
...ype_comment ) | AsyncWith ( withitem * items , stmt * body , string ? type_comment ) | Match ( expr subject , match_case * cases ) | Raise ( expr ? exc , expr ? cause ) | Try ( stmt * body , excepthandler * handlers , stmt * orelse , stmt * finalbody...=Load()), args=[ Name(id='b', ctx=Load()), Name(id='d', ctx=Load())]))])]) Pattern matching ¶ class ast. Match ( subject , cases ) ¶ A match statement. subject holds the subject of the match (the object that is being matched against the cases) and cas...es contains an iterable of match_case nodes with the different cases. Added in version 3.10. class ast. match_case ( pattern , guard , body ) ¶ A single case pattern in a match statement. pat... - https://man.mtool.work/python/3.14/library/ast.html
- Superseded Modules — Python 3.14.8 ドキュメント 7529
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Superseded Modules テーマ 自動 ライト ダーク | Superseded Modules ¶ The modules described in this chapter have been superseded by o
...ther modules for most use cases, and are retained primarily to preserve backwards compatibility. Modules may appear in this chapter because they only cove...hapter they getopt Modules use appear because command line parsing deprecated removal Superseded described superseded most cases retained primarily 前のトピックへ モジュールのコマンドラインインターフェース (CLI) 次のトピックへ getopt --- C-style parse... - https://man.mtool.work/python/3.14/library/superseded.html
- Superseded Modules — Python 3.14.8 ドキュメント 7370
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Superseded Modules テーマ 自動 ライト ダーク | Superseded Modules ¶ The modules described in this chapter have been superseded by o
...ther modules for most use cases, and are retained primarily to preserve backwards compatibility. Modules may appear in this chapter because they only cove...es chapter they getopt Modules appear because command line parsing deprecated removal Superseded described superseded most cases retained primarily preserve backwards compatibility cover limited subset 前のトピックへ モジュールのコマンドラインインター... - https://man.mtool.work/python/3.14/library/superseded.html
- 型オブジェクト — Python 3.14.8 ドキュメント 6925
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 型オブジェクト テーマ 自動 ライト ダーク | 型オブジェクト ¶ type PyTypeObject ¶ 次に属
...f the object o is a type object, including instances of types derived from the standard type object. Return 0 in all other cases. This function always succeeds. int PyType_CheckExact ( PyObject * o ) ¶ Return non-zero if the object o is a type object,...but not a subtype of the standard type object. Return 0 in all other cases. This function always succeeds. unsigned int PyType_ClearCache ( ) ¶ 次に属します: Stable ABI . 内部の検索キャッシュをクリ.... The returned dictionary must be treated as read-only. This function is meant for specific embedding and language-binding cases, where direct access to the dict is necessary and indirect access (e.g. via the proxy or PyObject_GetAttr() ) isn't adequa... - https://man.mtool.work/python/3.14/c-api/type.html
- pathlib --- オブジェクト指向のファイルシステムパス — Python 3.14.8 ドキュメント 6925
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » pathlib --- オブジェクト指向のファイルシステムパス テーマ 自動 ライト ダーク | pathlib --- オブ
...file or directory and False if the path is invalid, inaccessible or missing. Use Path.stat() to distinguish between these cases. このメソッドは通常はシンボリックリンクをたどります。シンボリックリンクが存在するかを確認したい場合は follow_symlinks=Fals...ccessible or missing, or if it points to something other than a regular file. Use Path.stat() to distinguish between these cases. このメソッドは通常はシンボリックリンクをたどります。シンボリックリンクを除外するには follow_symlinks=False 引数を追加して...inaccessible or missing, or if it points to something other than a directory. Use Path.stat() to distinguish between these cases. このメソッドは通常はシンボリックリンクをたどります。ディレクトリへのシンボリックリンクを除外するには follow_symlinks=Fals... - https://man.mtool.work/python/3.14/library/pathlib.html
- What's New In Python 3.11 — Python 3.14.8 ドキュメント 6925
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.11 テーマ 自動 ライト ダーク | What's New In Python 3.11 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.10
...In other words, a TypeVarTuple is a variadic type variable, enabling variadic generics. This enables a wide variety of use cases. In particular, it allows the type of array-like structures in numerical computing libraries such as NumPy and TensorFlow...ehaves the same as the TypeVar -based approach specified in PEP 484 , but is more concise and easier to follow. Common use cases include alternative constructors provided as classmethod s, and __enter__() methods that return self : class MyLock : def...t() : return the cube root of x. (Contributed by Ajith Ramachandran in bpo-44357 .) The behaviour of two math.pow() corner cases was changed, for consistency with the IEEE 754 specification. The operations math.pow(0.0, -math.inf) and math.pow(-0.0, -... - https://man.mtool.work/python/3.14/whatsnew/3.11.html