Results of 1 - 10 of about 28 for interned (0.037 sec.)
- Python support for free threading — Python 3.14.8 ドキュメント 13535
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Python support for free threading テーマ 自動 ライト ダーク | Python support for free threading ¶ Starting with the 3.13 release, CPython has supp
...is limited to: Code constants: numeric literals, string literals, and tuple literals composed of other constants. Strings interned by sys.intern() . フレーム (frame) オブジェクト ¶ It is not safe to access frame.f_locals from a frame object if that fram...ly use more memory compared to the default build. There are multiple reasons for this, mostly due to design decisions. All interned strings are immortal ¶ For modern Python versions (since version 2.3), interning a string (e.g. with sys.intern() ) does n...ot cause it to become immortal. Instead, if the last reference to that string disappears, it will be removed from the interned string table. This is not the case for the free-threaded build and any interned string will become immortal, surviving unt... - https://man.mtool.work/python/3.14/howto/free-threading-python.html
- Python support for free threading — Python 3.14.8 ドキュメント 12355
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Python support for free threading テーマ 自動 ライト ダーク | Python support for free threading ¶ Starting with the 3.13 release, CPython has supp
...is limited to: Code constants: numeric literals, string literals, and tuple literals composed of other constants. Strings interned by sys.intern() . フレーム (frame) オブジェクト ¶ It is not safe to access frame.f_locals from a frame object if that fram...ly use more memory compared to the default build. There are multiple reasons for this, mostly due to design decisions. All interned strings are immortal ¶ For modern Python versions (since version 2.3), interning a string (e.g. with sys.intern() ) does n...ot cause it to become immortal. Instead, if the last reference to that string disappears, it will be removed from the interned string table. This is not the case for the free-threaded build and any interned string will become immortal, surviving unt... - https://man.mtool.work/python/3.14/howto/free-threading-python.html
- Unicode オブジェクトと codec — Python 3.14.8 ドキュメント 10438
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Unicode オブジェクトと codec テーマ 自動 ライト ダーク | Unicode オブジェクトと codec
...The argument must be the address of a pointer variable pointing to a Python Unicode string object. If there is an existing interned string that is the same as * p_unicode , it sets * p_unicode to it (releasing the reference to the old string object and c...reating a new strong reference to the interned string object), otherwise it leaves * p_unicode alone and interns it. (Clarification: even though there is a lot of talk a...s an exception. On error, it leaves its argument unchanged without interning it. Instances of subclasses of str may not be interned, that is, PyUnicode_CheckExact ( * p_unicode ) must be true. If it is not, then -- as with any other error -- the argument... - https://man.mtool.work/python/3.14/c-api/unicode.html
- Unicode オブジェクトと codec — Python 3.14.8 ドキュメント 10438
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Unicode オブジェクトと codec テーマ 自動 ライト ダーク | Unicode オブジェクトと codec
...The argument must be the address of a pointer variable pointing to a Python Unicode string object. If there is an existing interned string that is the same as * p_unicode , it sets * p_unicode to it (releasing the reference to the old string object and c...reating a new strong reference to the interned string object), otherwise it leaves * p_unicode alone and interns it. (Clarification: even though there is a lot of talk a...s an exception. On error, it leaves its argument unchanged without interning it. Instances of subclasses of str may not be interned, that is, PyUnicode_CheckExact ( * p_unicode ) must be true. If it is not, then -- as with any other error -- the argument... - https://man.mtool.work/python/3.14/c-api/unicode.html
- 変更履歴 — Python 3.14.8 ドキュメント 9487
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...gh-113956 : Fix a data race in sys.intern() in the free-threaded build when interning a string owned by another thread. An interned copy owned by the current thread is used instead when it is not safe to immortalize the original. gh-148820 : Fix a race i...scaling bottleneck in sys.intern() and PyObject_SetAttr() by avoiding the interpreter-wide lock when the string is already interned and immortalized. gh-145990 : python --help-env sections are now sorted by environment variable name. gh-145990 : python -...y. gh-126703 : Improve performance of class methods by using a freelist. gh-128137 : Update PyASCIIObject layout to handle interned field with the atomic operation. Patch by Donghee Na. ライブラリ ¶ gh-128192 : Upgrade HTTP digest authentication algorith... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- What's New In Python 3.12 — Python 3.14.8 ドキュメント 8537
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.12 テーマ 自動 ライト ダーク | What's New In Python 3.12 ¶ 編集者 : Adam Turner この記事では Python 3.11 と比較した
.... PyObject_HEAD_INIT This will now initialize reference count to _Py_IMMORTAL_REFCNT when used with Py_BUILD_CORE . SSTATE_INTERNED_IMMORTAL An identifier for interned unicode objects that are immortal. SSTATE_INTERNED_IMMORTAL_STATIC An identifier for i...nterned unicode objects that are immortal and static sys.getunicodeinternedsize This returns the total number of unicode objects that have been interned. This is now needed for refleak.py to correct... - https://man.mtool.work/python/3.14/whatsnew/3.12.html
- What's New In Python 3.12 — Python 3.14.8 ドキュメント 8537
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.12 テーマ 自動 ライト ダーク | What's New In Python 3.12 ¶ 編集者 : Adam Turner この記事では Python 3.11 と比較した
.... PyObject_HEAD_INIT This will now initialize reference count to _Py_IMMORTAL_REFCNT when used with Py_BUILD_CORE . SSTATE_INTERNED_IMMORTAL An identifier for interned unicode objects that are immortal. SSTATE_INTERNED_IMMORTAL_STATIC An identifier for i...nterned unicode objects that are immortal and static sys.getunicodeinternedsize This returns the total number of unicode objects that have been interned. This is now needed for refleak.py to correct... - https://man.mtool.work/python/3.14/whatsnew/3.12.html
- sys --- システム固有のパラメーターと関数 — Python 3.14.8 ドキュメント 8307
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » sys --- システム固有のパラメーターと関数 テーマ 自動 ライト ダーク | sys --- システム固有のパラメーター
...onably compute this information, getallocatedblocks() is allowed to return 0 instead. Added in version 3.4. sys. getunicodeinternedsize ( ) ¶ Return the number of unicode objects that have been interned. Added in version 3.12. sys. getandroidapilevel ( )...ている名前は自動的に隔離され、モジュール、クラス、またはインスタンス属性を保持するための辞書は隔離されたキーを持っています。 Interned strings are not immortal ; you must keep a reference to the return value of intern() around to benefit from it. sys. _is_g...ion should be used for specialized purposes only. It is not guaranteed to exist in all implementations of Python. sys. _is_interned ( string ) ¶ Return True if the given string is "interned", False otherwise. Added in version 3.13. CPython 実装の詳細: It... - https://man.mtool.work/python/3.14/library/sys.html
- sys --- システム固有のパラメーターと関数 — Python 3.14.8 ドキュメント 8307
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » sys --- システム固有のパラメーターと関数 テーマ 自動 ライト ダーク | sys --- システム固有のパラメーター
...onably compute this information, getallocatedblocks() is allowed to return 0 instead. Added in version 3.4. sys. getunicodeinternedsize ( ) ¶ Return the number of unicode objects that have been interned. Added in version 3.12. sys. getandroidapilevel ( )...ている名前は自動的に隔離され、モジュール、クラス、またはインスタンス属性を保持するための辞書は隔離されたキーを持っています。 Interned strings are not immortal ; you must keep a reference to the return value of intern() around to benefit from it. sys. _is_g...ion should be used for specialized purposes only. It is not guaranteed to exist in all implementations of Python. sys. _is_interned ( string ) ¶ Return True if the given string is "interned", False otherwise. Added in version 3.13. CPython 実装の詳細: It... - https://man.mtool.work/python/3.14/library/sys.html
- xml.sax.handler --- SAX ハンドラーの基底クラス — Python 3.14.8 ドキュメント 8062
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.sax.handler --- SAX ハンドラーの基底クラス テーマ 自動 ライト ダーク | xml.sax.handler --- SAX ハンド
...org/sax/features/string-interning" true: All element names, prefixes, attribute names, Namespace URIs, and local names are interned in a dictionary (see property_interning_dict ). 偽: 名前を必ずしもシンボルに登録しませんが、されるかもしれません (デフォル...roperties/interning-dict" data type: Dictionary description: The dictionary used to intern names, or None if names are not interned. Setting it enables interning, as does the feature_string_interning feature. アクセス: 読み書き可 xml.sax.handler. all_pro... - https://man.mtool.work/python/3.14/library/xml.sax.handler.html