per page, with , order by , clip by
Results of 1 - 10 of about 19 for changes (0.007 sec.)
copy --- 浅いコピーおよび深いコピー操作 15111
copy --- 浅いコピーおよび深いコピー操作 ソースコード: Lib/copy.py Python において代入文はオブジェクトをコピーしません。代入はターゲットとオブジェクトの間に束縛を作ります。ミュータブルなコレクションまたはミュータブルなアイテムを含むコレクショ ... ow) コピーを返します。 copy. deepcopy ( obj [ , memo ] ) obj の深い (deep) コピーを返します。 copy. replace ( obj , / , ** changes ) obj と同じ型の新しいオブジェクトを作成し、フィールドを changes の値で置き換えます。 Added in version 3.13. exception cop ... プル、 dataclasses 、および __replace__() メソッドを定義するクラスのみをサポートします。 object. __replace__ ( self , / , ** changes ) このメソッドは、フィールドを changes の値で置き換えた、同じ型の新しいオブジェクトを作成する必要があります。 Added in ver ...
https://man.mtool.work/python/3.14/library/copy.html
dataclasses --- データクラス 10296
dataclasses --- データクラス ソースコード: Lib/dataclasses.py このモジュールは、 __init__() や __repr__() のような 特殊メソッド を生成し、ユーザー定義のクラスに自動的に追加するデコレーターや関数を提供します。このモジュールは元々、 PEP 557 で ... elf ): return self . x + 1 Added in version 3.14: decorator パラメータを追加しました。 dataclasses. replace ( obj , / , ** changes ) obj と同じ型の新しいオブジェクトを作成し、フィールドを changes の値で置き換えます。 obj がデータクラスでない場合は TypeE ... rror を送出します。 changes のキーが指定したデータクラスのフィールド名でない場合は TypeError を送出します。 新たに返すオブジェクトは、データクラスの _ ... 初期化限定変数がある場合は、 __init__() と __post_init__() に渡せるように、 replace() の呼び出し時に指定する必要があります。 changes に init=False で定義されたフィールドが含まれているとエラーになります。 この場合は ValueError を送出します。 Be forewarned ...
https://man.mtool.work/python/3.14/library/dataclasses.html
C API Stability 9254
C API Stability 特記のない限り、Python の C API には後方互換性ポリシー PEP 387 が適用されます。 変更の大半はソース互換性を保ちます (通常は新しい API の追加だけを行います)。 既存 API の変更や削除は、非推奨の期間を経た後、または重大な問題を修 ... 3.x versions. 注釈 The Stable ABI prevents ABI issues, like linker errors due to missing symbols or data corruption due to changes in structure layouts or function signatures. However, other changes in Python can change the behavior of extensions. See P ...
https://man.mtool.work/python/3.14/c-api/stable.html
What's New in Python 9254
What's New in Python この"What's New in Python"という一連の文書はPythonのメジャーバージョンにおける最も重要な変更点を紹介します。新しくリリースされた後でも最新の状態であり続けたい人にとって必読のものです。 What's new in Python 3.14 概要 -- ... 改良されたモジュール 最適化 削除 非推奨 CPython バイトコードの変更 C API の変更 ビルドの変更 Python 3.14 への移行 Notable changes in 3.14.1 3.14.5 の主な変更 Notable changes in 3.14.10 What's New In Python 3.13 概要 -- リリースハイライト 新しい機能 その ...
https://man.mtool.work/python/3.14/whatsnew/
What's New In Python 3.2 8571
What's New In Python 3.2 著者 : Raymond Hettinger この記事では Python 3.1 と比較した Python 3.2 の新機能を説明します。 Python 3.2 は 2011 年 2 月 20 日にリリースされました。 主な変更点をいくつか取り上げ、例を示します。 すべての詳細については ... 新機能があります。 The sqlite3.Connection.in_transaction attribute is true if there is an active transaction for uncommitted changes. sqlite3.Connection.enable_load_extension() メソッドと sqlite3.Connection.load_extension() メソッドにより ".so" ファイルか ... エンコーディング指定のサポート、取得関数でのフォールバック値の指定、あるいは辞書や文字列から直接的に読むことなどです。 (All changes contributed by Łukasz Langa.) urllib.parse 数多くのユーザビリティーの改善が urllib.parse モジュールになされました。 urlpar ... 変更されました。 これにより、前者は識別子に使えるようになり、後者は使えなくなりました。 詳しくは Unicode Character Database Changes を参照してください。 Codecs cp720 アラビア DOS エンコードがサポートされました ( bpo-1616979 )。 MBCS エンコーディングはもう ...
https://man.mtool.work/python/3.14/whatsnew/3.2.html
GDB による C API 拡張と CPython 内部のデバッグ 8213
GDB による C API 拡張と CPython 内部のデバッグ このドキュメントでは、Python の GDB 拡張 python-gdb.py を GDB デバッガと組み合わせて、CPython 拡張や CPython インタープリタ自体をデバッグする方法を説明します。 クラッシュやデッドロックなどの低レ ... on/ceval.c:2665 2665 x = call_function(&sp, oparg); (gdb) py-list 1543 # Run the tests in a context manager that temporary changes the CWD to a 1544 # temporary and writable directory. If it's not possible to create or 1545 # change the CWD, the origina ...
https://man.mtool.work/python/3.14/howto/gdb_helpers.html
5. macOS で Python を使う 8213
5. macOS で Python を使う このドキュメントでは、Mac コンピュータで Python を使い始める際に知っておくべき、macOS 固有の挙動を概説します。 macOS を実行する Mac 上の Python は、ほかの Unix 派生プラットフォーム上の Python と非常によく似ています ... which may be useful for package builders. Since /usr/local/bin is typically included in your shell PATH , in most cases no changes to your PATH environment variables should be needed to use python3.14t . このリリースでは、 Shell profile updater パッケー ... macos11.pkg" # download installer pkg curl -O https://www.python.org/ftp/python/3.14.0/${RELEASE} # create installer choicechanges to customize the install: # enable the PythonTFramework-3.14 package # while accepting the other defaults (install all oth ... er packages) cat > ./choicechanges.plist <<EOF <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple. ...
https://man.mtool.work/python/3.14/using/mac.html
変更履歴 8213
変更履歴 次の Python バージョン リリース日: XXXX-XX-XX セキュリティ gh-160499 : Fix unbounded memory growth in asyncio TLS connections when a peer stops reading but keeps sending records that make OpenSSL generate its own replies (such as T ... a character data callback disables buffering or clears another handler during a flush, or when interning an attribute name changes ordered_attributes . gh-160299 : Fix symtable.Symbol.is_referenced() for local and nonlocal symbols in function scopes whe ... ent sent no certificate. gh-159739 : Fix a possible crash in abc.ABCMeta instance checks when a subclass-checking callback changes the instance's class. gh-159739 : Fix the truncate method on io.BytesIO when converting its size argument closes the strea ... es or reinitializes the stream. gh-159739 : Fix contextvars.ContextVar returning a stale value after a reentrant finalizer changes it during reset() . gh-159739 : Detect recursive _as_parameter_ chains for ctypes calls without argument types. gh-159739 ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
Python ドキュメントの目次 7871
Python ドキュメントの目次 What's New in Python What's new in Python 3.14 概要 -- リリースハイライト 新しい機能 PEP 649 と PEP 749 : アノテーションの遅延評価 PEP 734 : 複数インタープリタ機能が標準ライブラリに追加 PEP 750 : テンプレート文字列 ... コードへの影響 __annotations__ を読み取るコードへの影響 関連する変更 from __future__ import annotations C API の変更 Notable changes in 3.14.1 3.14.5 の主な変更 gc Notable changes in 3.14.10 ssl What's New In Python 3.13 概要 -- リリースハイライト 新しい機 ...
https://man.mtool.work/python/3.14/contents.html
Python で Curses プログラミング 7871
Python で Curses プログラミング Author : A.M. Kuchling, Eric S. Raymond Release : 2.04 概要 このドキュメントでは curses 拡張モジュールでテキストモードディスプレイを制御する方法について記述します。 curses ってなに? curses ライブラリは、VT100 ... . refresh () As I said before, a color pair consists of a foreground and background color. The init_pair(n, f, b) function changes the definition of color pair n , to foreground color f and background color b. Color pair 0 is hard-wired to white on blac ...
https://man.mtool.work/python/3.14/howto/curses.html
PREV 1 2 NEXT