per page, with , order by , clip by
Results of 1 - 10 of about 312 for cannot (0.055 sec.)
変更履歴 — Python 3.14.8 ドキュメント 9470
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... bjects. Patch by Donghee Na. gh-156114 : Fix a crash in the perf trampoline when a code object has a name or filename that cannot be encoded to UTF-8. Patched by Shamil Abdulaev. gh-156126 : Fix a crash when importing a module whose name contains chara ... cters that cannot be encoded to UTF-8 (such as lone surrogates) while -X importtime is enabled. gh-155752 : Fix a crash when a types.Generic ... now escaped in the namespace declaration. Previously a URI containing & , < or a quote character produced a document which cannot be parsed. gh-83895 : xml.etree.ElementTree now accepts input larger than 2 GiB in the C implementation. The data is fed t ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
annotationlib --- Functionality for introspecting annotations — Python 3.14.8 ... 8071
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » annotationlib --- Functionality for introspecting annotations テーマ 自動 ライト ダーク | annotationlib ... ample if the annotations contain references to undefined names. FORWARDREF returns ForwardRef objects for annotations that cannot be resolved, allowing you to inspect the annotations without evaluating them. This is useful when you need to work with an ... n annotations. Instances of this class are returned when the FORWARDREF format is used and annotations contain a name that cannot be resolved. This can happen when a forward reference is used in an annotation, such as when a class is referenced before ... ALUE (the default), this method may throw an exception, such as NameError , if the forward reference refers to a name that cannot be resolved. The arguments to this method can be used to provide bindings for names that would otherwise be undefined. If ...
https://man.mtool.work/python/3.14/library/annotationlib.html
annotationlib --- Functionality for introspecting annotations — Python 3.14.8 ... 8071
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » annotationlib --- Functionality for introspecting annotations テーマ 自動 ライト ダーク | annotationlib ... ample if the annotations contain references to undefined names. FORWARDREF returns ForwardRef objects for annotations that cannot be resolved, allowing you to inspect the annotations without evaluating them. This is useful when you need to work with an ... n annotations. Instances of this class are returned when the FORWARDREF format is used and annotations contain a name that cannot be resolved. This can happen when a forward reference is used in an annotation, such as when a class is referenced before ... ALUE (the default), this method may throw an exception, such as NameError , if the forward reference refers to a name that cannot be resolved. The arguments to this method can be used to provide bindings for names that would otherwise be undefined. If ...
https://man.mtool.work/python/3.14/library/annotationlib.html
typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 7865
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース ... r = TypeVar ( 'AnyStr' , str , bytes ) AnyStr is meant to be used for functions that may accept str or bytes arguments but cannot allow the two to mix. 例えば: def concat ( a : AnyStr , b : AnyStr ) -> AnyStr : return a + b concat ( "foo" , "bar" ) # O ... K, output has type 'str' concat ( b "foo" , b "bar" ) # OK, output has type 'bytes' concat ( "foo" , b "bar" ) # Error, cannot mix str and bytes Note that, despite its name, AnyStr has nothing to do with the Any type, nor does it mean "any string". ... d have different use cases: # Invalid use of AnyStr: # The type variable is used only once in the function signature, # so cannot be "solved" by the type checker def greet_bad ( cond : bool ) -> AnyStr : return "hi there!" if cond else b "greetings!" # ...
https://man.mtool.work/python/3.14/library/typing.html
typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 7865
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース ... r = TypeVar ( 'AnyStr' , str , bytes ) AnyStr is meant to be used for functions that may accept str or bytes arguments but cannot allow the two to mix. 例えば: def concat ( a : AnyStr , b : AnyStr ) -> AnyStr : return a + b concat ( "foo" , "bar" ) # O ... K, output has type 'str' concat ( b "foo" , b "bar" ) # OK, output has type 'bytes' concat ( "foo" , b "bar" ) # Error, cannot mix str and bytes Note that, despite its name, AnyStr has nothing to do with the Any type, nor does it mean "any string". ... d have different use cases: # Invalid use of AnyStr: # The type variable is used only once in the function signature, # so cannot be "solved" by the type checker def greet_bad ( cond : bool ) -> AnyStr : return "hi there!" if cond else b "greetings!" # ...
https://man.mtool.work/python/3.14/library/typing.html
Thread Safety Guarantees — Python 3.14.8 ドキュメント 7474
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui ... ty guarantees of each function. The levels are listed from least to most safe. Incompatible ¶ A function or operation that cannot be made safe for concurrent use even with external synchronization. Incompatible code typically accesses global state in a ... st . pop () # pop element from the end of the list, no shifting required The clear() method is also atomic . Other threads cannot observe elements being removed. The sort() method is not atomic . Other threads cannot observe intermediate states during ... ject d . items () # returns a new dict_items view object The clear() method holds the lock for its duration. Other threads cannot observe elements being removed. The following operations lock both dictionaries. For update() and |= , this applies only w ...
https://man.mtool.work/python/3.14/builtins/threadsafety.html
Thread Safety Guarantees — Python 3.14.8 ドキュメント 7474
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui ... ty guarantees of each function. The levels are listed from least to most safe. Incompatible ¶ A function or operation that cannot be made safe for concurrent use even with external synchronization. Incompatible code typically accesses global state in a ... st . pop () # pop element from the end of the list, no shifting required The clear() method is also atomic . Other threads cannot observe elements being removed. The sort() method is not atomic . Other threads cannot observe intermediate states during ... ject d . items () # returns a new dict_items view object The clear() method holds the lock for its duration. Other threads cannot observe elements being removed. The following operations lock both dictionaries. For update() and |= , this applies only w ...
https://man.mtool.work/python/3.14/builtins/threadsafety.html
2. 字句解析 — Python 3.14.8 ドキュメント 7268
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 2. 字句解析 テーマ 自動 ライト ダーク | 2. 字句解析 ¶ A Python program is read by a parser . Input to the parser is a stream of tokens ... lyzer determines the program text's encoding (UTF-8 by default), and decodes the text into source characters . If the text cannot be decoded, a SyntaxError is raised. Next, the lexical analyzer uses the source characters to generate a stream of tokens. ... に分割されます。 2.1.1. 論理行 (logical line) ¶ The end of a logical line is represented by the token NEWLINE . Statements cannot cross logical line boundaries except where NEWLINE is allowed by the syntax (e.g., between statements in compound statemen ... following characters: uppercase and lowercase letters ( A-Z and a-z ), the underscore ( _ ), digits ( 0 through 9 ), which cannot appear as the first character, and non-ASCII characters. Valid names may only contain "letter-like" and "digit-like" chara ...
https://man.mtool.work/python/3.14/reference/lexical_analysis.html
2. 字句解析 — Python 3.14.8 ドキュメント 7268
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 2. 字句解析 テーマ 自動 ライト ダーク | 2. 字句解析 ¶ A Python program is read by a parser . Input to the parser is a stream of tokens ... lyzer determines the program text's encoding (UTF-8 by default), and decodes the text into source characters . If the text cannot be decoded, a SyntaxError is raised. Next, the lexical analyzer uses the source characters to generate a stream of tokens. ... に分割されます。 2.1.1. 論理行 (logical line) ¶ The end of a logical line is represented by the token NEWLINE . Statements cannot cross logical line boundaries except where NEWLINE is allowed by the syntax (e.g., between statements in compound statemen ... following characters: uppercase and lowercase letters ( A-Z and a-z ), the underscore ( _ ), digits ( 0 through 9 ), which cannot appear as the first character, and non-ASCII characters. Valid names may only contain "letter-like" and "digit-like" chara ...
https://man.mtool.work/python/3.14/reference/lexical_analysis.html
オブジェクトプロトコル (object protocol) — Python 3.14.8 ドキュメント 6867
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 抽象オブジェクトレイヤ (Abstract Objects Layer) » オブジェクトプロトコル (object protocol) テーマ 自動 ライト ダーク | オブジェク ... STR ¶ 7 '' Py_CONSTANT_EMPTY_BYTES ¶ 8 b'' Py_CONSTANT_EMPTY_TUPLE ¶ 9 () Numeric values are only given for projects which cannot use the constant identifiers. Added in version 3.13. CPython 実装の詳細: In CPython, all of these constants are immortal . ... ew iterator but if the argument is an AsyncIterator , this returns itself. Raises TypeError and returns NULL if the object cannot be iterated. Added in version 3.10. void * PyObject_GetTypeData ( PyObject * o , PyTypeObject * cls ) ¶ 次に属します: Stab ... by the interpreter, such as when deferred reference counting is already enabled on obj . This function is thread-safe, and cannot fail. This function does nothing on builds with the GIL enabled, which do not support deferred reference counting. This al ...
https://man.mtool.work/python/3.14/c-api/object.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT