Results of 1 - 10 of about 952 for _ (0.046 sec.)
- Python 初期化設定 — Python 3.14.8 ドキュメント 4219
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Python 初期化設定 テーマ 自動 ライト ダーク | Python 初期化設定 ¶ PyInitConfig C API ¶ Added in version 3.14. Python は Py_Initia
...lizeFromInitConfig() で初期化できます。 Py_RunMain() 関数は、カスタマイズされた Python プログラムを書くために使用できます。 Initialization, Finalization, and Threads...例 ¶ 常に Python 開発モード が有効化された状態で実行されるカスタマイズされた Python の例。エラー時は -1 を返します: int init_python ( void ) { PyInitConfig * config = PyInitConfig_Create (); if ( config == NULL ) { printf ( "PYTHON INIT ERROR: memo...ry allocation failed \n " ); return -1 ; } // Python 開発モードを有効化 if ( PyInitConfig_SetInt ( config , "dev_mode" , 1 ) < 0 ) { goto error ; } // Python を設定付きで初期化 if ( Py_InitializeFromInitConfig ( c... - https://man.mtool.work/python/3.14/c-api/init_config.html
- C API Stability — Python 3.14.8 ドキュメント 4219
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » C API Stability テーマ 自動 ライト ダーク | C API Stability ¶ Unless documented otherwise, Python's C API is covered by the Backw
...period. It is marked by the PyUnstable prefix in names. Limited API , is compatible across several minor releases. When Py_LIMITED_API is defined, only this subset is exposed from Python.h . These are discussed in more detail below. Names prefixe...d by an underscore, such as _Py_InternalState , are private API that can change without notice even in patch releases. If you need to use this API, cons...ed API can be compiled once and be loaded on multiple versions of Python. Contents of the Limited API are listed below . Py_LIMITED_API ¶ Define this macro before including Python.h to opt in to only use the Limited API, and to select the Limited... - https://man.mtool.work/python/3.14/c-api/stable.html
- Type Object Structures — Python 3.14.8 ドキュメント 4219
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...: PyTypeObject 構造体は、おそらく Python オブジェクトシステムの中で最も重要な構造体の1つでしょう。型オブジェクトは PyObject_* 系や PyType_* 系の関数で扱えますが、ほとんどの Python アプリケーションにとって、さして面白みのある機能を提供しません。型オ...います。 クイックリファレンス ¶ tp スロット ¶ PyTypeObject スロット [ 1 ] 型 特殊メソッド/特殊属性 Info [ 2 ] O T D I <R> tp_name const char * __name__ X X tp_basicsize Py_ssize_t X X X tp_itemsize Py_ssize_t X X tp_dealloc destructor X X X tp_vect...orcall_offset Py_ssize_t X X ( tp_getattr ) getattrfunc __getattribute__, __getattr__ G ( tp_setattr ) setattrfunc __setattr__, __... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- 2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 4219
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s
...している例は、 静的な 拡張の型を定義する伝統的な実装方法です。 これはほとんどの場面で十分なものなのです。 C API では、 PyType_FromSpec() 関数を使い、ヒープ上に配置された拡張の型も定義できますが、これについてはこのチュートリアルでは扱いません。 #defi...ne PY_SSIZE_T_CLEAN #include <Python.h> typedef struct { PyObject_HEAD /* Type-specific fields go here. */ } CustomObject ; stati...c PyTypeObject CustomType = { . ob_base = PyVarObject_HEAD_INIT ( NULL , 0 ) . tp_name = "custom.Custom" , . tp_doc = PyDoc_STR ( "Custom objects" ), . tp_bas... - https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
- 索引 — Python 3.14.8 ドキュメント 4219
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – P p (pdb command) P_ALL (os モジュール) P_DETACH (os モジュール) P_NOWAIT (os モジュール) P_NOWAITO (os モジュール) P_OVERLAY (os モジ
...ュール) P_PGID (os モジュール) P_PID (os モジュール) P_PIDFD (os モジュール) P_WAIT (os モジュール) Pack (tkinter のクラス) pack() (m...ailbox.MH のメソッド) (struct モジュール) (struct.Struct のメソッド) (tkinter.Pack のメソッド) pack_configure() (tkinter.Pack のメソッド) pack_forget() (tkinter.Pack のメソッド) pack_info() (tkinter.Pack のメソッド) pack_in...to() (struct モジュール) (struct.Struct のメソッド) pack_propagate() (tkinter.Misc のメソッド) (tkinter.Pack のメソッド) pack_slaves() (tkinter.Misc のメソッド) (tkinter.Pack のメソ... - https://man.mtool.work/python/3.14/genindex-P.html
- 索引 — Python 3.14.8 ドキュメント 4219
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – S S (re モジュール) (tkinter モジュール) S_ENFMT (stat モジュール) S_IEXEC (stat モジュール) S_IFBLK (stat モジュール) S_IFCHR (stat モ
...ジュール) S_IFDIR (stat モジュール) S_IFDOOR (stat モジュール) S_IFIFO (stat モジュール) S_IFLNK (stat モジュール) S_IFMT() (stat モジュ...ール) S_IFPORT (stat モジュール) S_IFREG (stat モジュール) S_IFSOCK (stat モジュール) S_IFWHT (stat モジュール) S_IMODE() (stat モジ...ュール) S_IREAD (stat モジュール) S_IRGRP (stat モジュール) S_IROTH (stat モジュール) S_IRUSR (stat モジュール) S_IRWXG (stat モジュー... - https://man.mtool.work/python/3.14/genindex-S.html
- 索引 — Python 3.14.8 ドキュメント 4219
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | 索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | イ | エ | オ | カ | キ
...list parameter list with statement スライス , (カンマ) 文字列のフォーマットで - idle コマンドラインオプション python--m-py_compile コマンドラインオプション - (負符号) glob 形式のワイルドカード , [1] in doctests in printf-style formatting , [1] in...インオプション --protocol http.server コマンドラインオプション --python zipapp コマンドラインオプション --quiet python--m-py_compile コマンドラインオプション --repeat timeit コマンドラインオプション --report trace コマンドラインオプション --root en...ttest-discover コマンドラインオプション zipapp コマンドラインオプション -q compileall コマンドラインオプション python--m-py_compile コマンドラインオプション コマンドラインオプション -R trace コマンドラインオプション コマンドラインオプション -r com... - https://man.mtool.work/python/3.14/genindex-all.html
- 10. 完全な文法仕様 — Python 3.14.8 ドキュメント 4219
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 10. 完全な文法仕様 テーマ 自動 ライト ダーク | 10. 完全な文法仕様 ¶ 以下に示すのは Python の完全な文法です。CPython のパーサを生成するた
...denote KEYWORDS # * Upper case names (NAME) denote tokens in the Grammar/Tokens file # * Rule names starting with "invalid_" are used for specialized syntax errors # - These rules are NOT used in the first pass of the parser. # - Only if the firs...es involving invalid rules matter # (like any rule in PEG). # # Grammar Syntax (see PEP 617 for more information): # # rule_name: expression # Optionally, a type can be included right after the rule name, which # specifies the return type of the C...or Python function corresponding to the # rule: # rule_name[return_type]: expression # If the return type is omitted, then a void * is returned in C and an Any in # Python. # e1... - https://man.mtool.work/python/3.14/reference/grammar.html
- What's New In Python 3.13 — Python 3.14.8 ドキュメント 4219
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.13 テーマ 自動 ライト ダーク | What's New In Python 3.13 ¶ エディタ : Adam Turner と Thomas Wouters この記事では Py
...新しい 対話的インタープリタ や トレースバック 、 doctest の出力において色付き文字に対応しました。この機能は環境変数 PYTHON_COLORS または NO_COLOR で無効化できます。 Python のデータモデルの改善点: クラスのボディ内の関数で self.X という形でアクセス...される属性がすべて __static_attributes__ に格納されるようになりました。 クラス定義の最初の行の行番号が __firstlineno__ に格納されるようになりま...。 Z85 data のエンコード・デコードを行う関数 base64.z85encode() と base64.z85decode() が追加されました。 多くの組み込み型や __replace__() メソッドを定義している任意のクラスに対して使用できる関数 copy.replace() が copy モジュールに追加されました。 d... - https://man.mtool.work/python/3.14/whatsnew/3.13.html
- 変更履歴 — Python 3.14.8 ドキュメント 4219
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...romhex() and bytearray.fromhex() : Fix uninitialized memory read. Patch by Victor Stinner. gh-156204 : Fix a crash in PyErr_GivenExceptionMatches() when evaluating deeply nested exception tuples. The recursion is now bounded, and exceeding the lim...crash or incorrect output that could occur when formatting a float or complex with a precision close to the platform's INT_MAX . PyOS_double_to_string() now raises ValueError for any precision of that magnitude, regardless of presentation type or...value, as the format string parsers already did for precisions above INT_MAX . gh-156793 : asyncio : loop.start_tls() and loop.create_connection() now validate the server_hostname argument if an s... - https://man.mtool.work/python/3.14/whatsnew/changelog.html