Results of 1 - 10 of about 22 for pickling (0.035 sec.)
- copyreg --- pickle サポート関数を登録する — Python 3.14.8 ドキュメント 13248
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データの永続化 » copyreg --- pickle サポート関数を登録する テーマ 自動 ライト ダーク | copyreg --- pickle サポート関数を登録する ¶
...ソースコード: Lib/copyreg.py The copyreg module offers a way to define functions used while pickling specific objects. The pickle and copy modules use those functions when pickling/copying those objects. The module provides...reg , copy , pickle >>> class C : ... def __init__ ( self , a ): ... self . a = a ... >>> def pickle_c ( c ): ... print ( "pickling a C instance..." ) ... return C , ( c . a ,) ... >>> copyreg . pickle ( C , pickle_c ) >>> c = C ( 1 ) >>> d = copy . copy...( c ) pickling a C instance... >>> p = pickle . dumps ( c ) pickling a C instance... 関連キーワード pickle copyreg pickling copy object f... - https://man.mtool.work/python/3.14/library/copyreg.html
- copyreg --- pickle サポート関数を登録する — Python 3.14.8 ドキュメント 13248
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データの永続化 » copyreg --- pickle サポート関数を登録する テーマ 自動 ライト ダーク | copyreg --- pickle サポート関数を登録する ¶
...ソースコード: Lib/copyreg.py The copyreg module offers a way to define functions used while pickling specific objects. The pickle and copy modules use those functions when pickling/copying those objects. The module provides...reg , copy , pickle >>> class C : ... def __init__ ( self , a ): ... self . a = a ... >>> def pickle_c ( c ): ... print ( "pickling a C instance..." ) ... return C , ( c . a ,) ... >>> copyreg . pickle ( C , pickle_c ) >>> c = C ( 1 ) >>> d = copy . copy...( c ) pickling a C instance... >>> p = pickle . dumps ( c ) pickling a C instance... 関連キーワード pickle copyreg pickling copy function... - https://man.mtool.work/python/3.14/library/copyreg.html
- pickle --- Python オブジェクトの直列化 — Python 3.14.8 ドキュメント 9696
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データの永続化 » pickle --- Python オブジェクトの直列化 テーマ 自動 ライト ダーク | pickle --- Python オブジェクトの直列化 ¶ ソース
...Lib/pickle.py The pickle module implements binary protocols for serializing and de-serializing a Python object structure. "Pickling" is the process whereby a Python object hierarchy is converted into a byte stream, and "unpickling" is the inverse operati...on, whereby a byte stream (from a binary file or bytes-like object ) is converted back into an object hierarchy. Pickling (and unpickling) is alternatively known as "serialization", "marshalling," [ 1 ] or "flattening"; however, to avoid confus...ion, the terms used here are "pickling" and "unpickling". 警告 pickle モジュールは 安全ではありません 。信頼できるデータのみを非 pickle 化してください。 非 pickl... - https://man.mtool.work/python/3.14/library/pickle.html
- pickle --- Python オブジェクトの直列化 — Python 3.14.8 ドキュメント 9427
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データの永続化 » pickle --- Python オブジェクトの直列化 テーマ 自動 ライト ダーク | pickle --- Python オブジェクトの直列化 ¶ ソース
...Lib/pickle.py The pickle module implements binary protocols for serializing and de-serializing a Python object structure. "Pickling" is the process whereby a Python object hierarchy is converted into a byte stream, and "unpickling" is the inverse operati...on, whereby a byte stream (from a binary file or bytes-like object ) is converted back into an object hierarchy. Pickling (and unpickling) is alternatively known as "serialization", "marshalling," [ 1 ] or "flattening"; however, to avoid confus...ion, the terms used here are "pickling" and "unpickling". 警告 pickle モジュールは 安全ではありません 。信頼できるデータのみを非 pickle 化してください。 非 pickl... - https://man.mtool.work/python/3.14/library/pickle.html
- 変更履歴 — Python 3.14.8 ドキュメント 9427
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...ns a mix of string and non-string keys. Previously the sort ran before the filter and raised TypeError . gh-140729 : Fix a pickling error in the cProfile module when profiling a script that uses multiprocessing.Process with the spawn and forkserver start...r second could incorrectly raise a SystemError . gh-154848 : The pickle C accelerator now enforces frame boundaries when unpickling, as the pure Python implementation already did. An argument that straddles a frame boundary, or a frame that begins before...the previous one has ended, now raises pickle.UnpicklingError instead of being silently read across the boundary. This prevents the loaded data from diverging from the pickletools... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- zoneinfo --- IANA タイムゾーンのサポート — Python 3.14.8 ドキュメント 8248
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » zoneinfo --- IANA タイムゾーンのサポート テーマ 自動 ライト ダーク | zoneinfo --- IANA タイムゾーンのサポート ¶ Added in
...of the zone for the purposes of __str__() and __repr__() . このコンストラクタで生成したオブジェクトはpickle化できません( pickling を参照)。 ValueError is raised if the data read from file_obj is not a valid TZif file. classmethod ZoneInfo. no_cache (...False ZoneInfo.from_file(file_obj, /, key=None) : When constructed from a file, the ZoneInfo object raises an exception on pickling. If an end user wants to pickle a ZoneInfo constructed from a file, it is recommended that they use a wrapper type or a cu...ializing and deserializing environments. It also means that no guarantees are made about the consistency of results when unpickling a ZoneInfo pickled in an environment with a different version of the time zone data. 関数 ¶ zoneinfo. available_timezones... - https://man.mtool.work/python/3.14/library/zoneinfo.html
- zoneinfo --- IANA タイムゾーンのサポート — Python 3.14.8 ドキュメント 8248
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » zoneinfo --- IANA タイムゾーンのサポート テーマ 自動 ライト ダーク | zoneinfo --- IANA タイムゾーンのサポート ¶ Added in
...of the zone for the purposes of __str__() and __repr__() . このコンストラクタで生成したオブジェクトはpickle化できません( pickling を参照)。 ValueError is raised if the data read from file_obj is not a valid TZif file. classmethod ZoneInfo. no_cache (...False ZoneInfo.from_file(file_obj, /, key=None) : When constructed from a file, the ZoneInfo object raises an exception on pickling. If an end user wants to pickle a ZoneInfo constructed from a file, it is recommended that they use a wrapper type or a cu...ializing and deserializing environments. It also means that no guarantees are made about the consistency of results when unpickling a ZoneInfo pickled in an environment with a different version of the time zone data. 関数 ¶ zoneinfo. available_timezones... - https://man.mtool.work/python/3.14/library/zoneinfo.html
- 変更履歴 — Python 3.14.8 ドキュメント 7979
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...ns a mix of string and non-string keys. Previously the sort ran before the filter and raised TypeError . gh-140729 : Fix a pickling error in the cProfile module when profiling a script that uses multiprocessing.Process with the spawn and forkserver start...r second could incorrectly raise a SystemError . gh-154848 : The pickle C accelerator now enforces frame boundaries when unpickling, as the pure Python implementation already did. An argument that straddles a frame boundary, or a frame that begins before...the previous one has ended, now raises pickle.UnpicklingError instead of being silently read across the boundary. This prevents the loaded data from diverging from the pickletools... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- copy --- 浅いコピーおよび深いコピー操作 — Python 3.14.8 ドキュメント 7844
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » copy --- 浅いコピーおよび深いコピー操作 テーマ 自動 ライト ダーク | copy --- 浅いコピーおよび深いコピー操作 ¶ ソースコー
...ally returns an instance of the same type. Classes can use the same interfaces to control copying that they use to control pickling. See the description of module pickle for information on these methods. In fact, the copy module uses the registered pickl... - https://man.mtool.work/python/3.14/library/copy.html
- What's New In Python 3.5 — Python 3.14.8 ドキュメント 7844
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.5 テーマ 自動 ライト ダーク | What's New In Python 3.5 ¶ エディタ : Elvis Pranskevichus < elvis @ magic . io >, Yur
...by Charles-François Natali in bpo-21565 .) operator ¶ attrgetter() , itemgetter() , and methodcaller() objects now support pickling. (Contributed by Josh Rosenberg and Serhiy Storchaka in bpo-22955 .) 行列乗算を行う matmul() 関数と imatmul() 関数が新しく...to 15 times. (Contributed by Antoine Pitrou, Michel Albert, and Markus in bpo-21486 , bpo-21487 , bpo-20826 , bpo-23266 .) Pickling of ipaddress objects was optimized to produce significantly smaller output. (Contributed by Serhiy Storchaka in bpo-23133...repr() of the object. (Contributed by Serhiy Storchaka in bpo-22453 .) Because the lack of the __module__ attribute breaks pickling and introspection, a deprecation warning is now raised for builtin types without the __module__ attribute. This will be an... - https://man.mtool.work/python/3.14/whatsnew/3.5.html