Results of 1 - 10 of about 66 for comparisons (0.030 sec.)
- API と ABI のバージョニング — Python 3.14.8 ドキュメント 13213
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » API と ABI のバージョニング テーマ 自動 ライト ダーク | API と ABI のバージョニング ¶ Build-time version constants ¶ CPython expo
...thon version number encoded in a single integer. See Py_PACK_FULL_VERSION() for the encoding details. Use this for numeric comparisons, for example, #if PY_VERSION_HEX >= ... . These macros are defined in Include/patchlevel.h . Run-time version ¶ const unsi...e Py_PACK_FULL_VERSION() for the encoding details. This contains the Python version used at run time. Use this for numeric comparisons, for example, if (Py_Version >= ...) . Added in version 3.11. Bit-packing macros ¶ uint32_t Py_PACK_FULL_VERSION ( int maj..._PACK_FULL_VERSION(major, minor, 0, 0, 0) . The result does not correspond to any Python release, but is useful in numeric comparisons. Added in version 3.14. 関連キーワード Py int release time バージョン Python major minor number macros See xA xF encoded s... - https://man.mtool.work/python/3.14/c-api/apiabiversion.html
- API と ABI のバージョニング — Python 3.14.8 ドキュメント 13213
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » API と ABI のバージョニング テーマ 自動 ライト ダーク | API と ABI のバージョニング ¶ Build-time version constants ¶ CPython expo
...thon version number encoded in a single integer. See Py_PACK_FULL_VERSION() for the encoding details. Use this for numeric comparisons, for example, #if PY_VERSION_HEX >= ... . These macros are defined in Include/patchlevel.h . Run-time version ¶ const unsi...e Py_PACK_FULL_VERSION() for the encoding details. This contains the Python version used at run time. Use this for numeric comparisons, for example, if (Py_Version >= ...) . Added in version 3.11. Bit-packing macros ¶ uint32_t Py_PACK_FULL_VERSION ( int maj..._PACK_FULL_VERSION(major, minor, 0, 0, 0) . The result does not correspond to any Python release, but is useful in numeric comparisons. Added in version 3.14. 関連キーワード release time major minor number macros encoded single integer numeric comparisons S... - https://man.mtool.work/python/3.14/c-api/apiabiversion.html
- Thread Safety Guarantees — Python 3.14.8 ドキュメント 11159
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui
...insert if missing These operations may compare keys using __eq__() , which can execute arbitrary Python code. During such comparisons, the dictionary may be modified by another thread. For built-in types like str , int , and float , that implement __eq__()...in C, the underlying lock is not released during comparisons and this is not a concern. The following operations return new objects and hold the per-object lock for the duration of th...set.__contains__ This operation may compare elements using __eq__() , which can execute arbitrary Python code. During such comparisons, the set may be modified by another thread. For built-in types like str , int , and float , __eq__() does not release the... - https://man.mtool.work/python/3.14/builtins/threadsafety.html
- Thread Safety Guarantees — Python 3.14.8 ドキュメント 11159
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui
...insert if missing These operations may compare keys using __eq__() , which can execute arbitrary Python code. During such comparisons, the dictionary may be modified by another thread. For built-in types like str , int , and float , that implement __eq__()...in C, the underlying lock is not released during comparisons and this is not a concern. The following operations return new objects and hold the per-object lock for the duration of th...set.__contains__ This operation may compare elements using __eq__() , which can execute arbitrary Python code. During such comparisons, the set may be modified by another thread. For built-in types like str , int , and float , __eq__() does not release the... - https://man.mtool.work/python/3.14/builtins/threadsafety.html
- ソートのテクニック — Python 3.14.8 ドキュメント 8604
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » ソートのテクニック テーマ 自動 ライト ダーク | ソートのテクニック ¶ Author : Andrew Dalke and Raymond Hettinger Python のリストにはリストをインプレ
...largest() have a key parameter to specify a function (or other callable) to be called on each list element prior to making comparisons. For example, here's a case-insensitive string comparison using str.casefold() : >>> sorted ( "This is a test string from...= [ 'twelve' , '11' , 10 ] >>> sorted ( map ( str , data )) ['10', '11', 'twelve'] This is needed because most cross-type comparisons raise a TypeError . Remove special values prior to sorting: >>> from math import isnan >>> from itertools import filterfal...2 }] >>> sorted ( data , key = lambda d : sorted ( d . items ())) [{'a': 1}, {'b': 2}] This is needed because dict-to-dict comparisons raise a TypeError . Convert set types into sorted lists before sorting: >>> data = [{ 'a' , 'b' , 'c' }, { 'b' , 'c' , 'd'... - https://man.mtool.work/python/3.14/howto/sorting.html
- ソートのテクニック — Python 3.14.8 ドキュメント 8604
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » ソートのテクニック テーマ 自動 ライト ダーク | ソートのテクニック ¶ Author : Andrew Dalke and Raymond Hettinger Python のリストにはリストをインプレ
...largest() have a key parameter to specify a function (or other callable) to be called on each list element prior to making comparisons. For example, here's a case-insensitive string comparison using str.casefold() : >>> sorted ( "This is a test string from...= [ 'twelve' , '11' , 10 ] >>> sorted ( map ( str , data )) ['10', '11', 'twelve'] This is needed because most cross-type comparisons raise a TypeError . Remove special values prior to sorting: >>> from math import isnan >>> from itertools import filterfal...2 }] >>> sorted ( data , key = lambda d : sorted ( d . items ())) [{'a': 1}, {'b': 2}] This is needed because dict-to-dict comparisons raise a TypeError . Convert set types into sorted lists before sorting: >>> data = [{ 'a' , 'b' , 'c' }, { 'b' , 'c' , 'd'... - https://man.mtool.work/python/3.14/howto/sorting.html
- What's New In Python 3.9 — Python 3.14.8 ドキュメント 8091
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.9 テーマ 自動 ライト ダーク | What's New In Python 3.9 ¶ 編集者 : Łukasz Langa This article explains the new featur
...uted by Zackery Spytz in bpo-34880 .) The COMPARE_OP opcode was split into four distinct instructions: COMPARE_OP for rich comparisons IS_OP for 'is' and 'is not' tests CONTAINS_OP for 'in' and 'not in' tests JUMP_IF_NOT_EXC_MATCH for checking exceptions in...586 and to match the behavior of static type checkers specified in the PEP. Literal now de-duplicates parameters. Equality comparisons between Literal objects are now order independent. Literal comparisons now respect types. For example, Literal[0] == Liter...y used type cache now supports differentiating types. Literal objects will now raise a TypeError exception during equality comparisons if any of their parameters are not hashable . Note that declaring Literal with mutable parameters will not throw an error:... - https://man.mtool.work/python/3.14/whatsnew/3.9.html
- What's New In Python 3.9 — Python 3.14.8 ドキュメント 8091
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.9 テーマ 自動 ライト ダーク | What's New In Python 3.9 ¶ 編集者 : Łukasz Langa This article explains the new featur
...uted by Zackery Spytz in bpo-34880 .) The COMPARE_OP opcode was split into four distinct instructions: COMPARE_OP for rich comparisons IS_OP for 'is' and 'is not' tests CONTAINS_OP for 'in' and 'not in' tests JUMP_IF_NOT_EXC_MATCH for checking exceptions in...586 and to match the behavior of static type checkers specified in the PEP. Literal now de-duplicates parameters. Equality comparisons between Literal objects are now order independent. Literal comparisons now respect types. For example, Literal[0] == Liter...y used type cache now supports differentiating types. Literal objects will now raise a TypeError exception during equality comparisons if any of their parameters are not hashable . Note that declaring Literal with mutable parameters will not throw an error:... - https://man.mtool.work/python/3.14/whatsnew/3.9.html
- 変更履歴 — Python 3.14.8 ドキュメント 7834
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...he exiting the interpreter if a null byte is given as input in the new REPL. gh-125710 : [Enum] fix hashable<->nonhashable comparisons for member values gh-125631 : Restore ability to set persistent_id and persistent_load attributes of instances of the Pick...bda function, which has an __annotations__ dictionary attribute with a "return" key. gh-57141 : Add option for non-shallow comparisons to filecmp.dircmp like filecmp.cmp() . Original patch by Steven Ward. Enhanced by Tobias Rautenkranz gh-69990 : Profile.pr...RIPTOR_WITH_VALUES and LOAD_ATTR_NONDESCRIPTOR_NO_DICT . gh-106008 : Fix possible reference leaks when failing to optimize comparisons with None in the bytecode compiler. gh-106145 : Make end_lineno and end_col_offset required on type_param ast nodes. gh-10... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- atexit --- 終了ハンドラー — Python 3.14.8 ドキュメント 7577
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » atexit --- 終了ハンドラー テーマ 自動 ライト ダーク | atexit --- 終了ハンドラー ¶ The atexit module def
...c has been registered more than once, every occurrence of that function in the atexit call stack will be removed. Equality comparisons ( == ) are used internally during unregistration, so function references do not need to have matching identities. 参考 rea... - https://man.mtool.work/python/3.14/library/atexit.html