Results of 1 - 10 of about 333 for Modules (0.049 sec.)
- 変更履歴 — Python 3.14.8 ドキュメント 10801
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...h cover a range if the line contains non-ASCII characters before the error. gh-155525 : Fix quadratic-time tokenization of modules containing many f-strings or t-strings. gh-156689 : Fix an out-of-bounds read in compile() and ast.parse() when an AST obj...dule whose globals are passed as module_globals . It also no longer raises IndexError if lineno is out of the range of the module source. gh-123011 : warnings.warn_explicit() no longer emits a spurious DeprecationWarning or raises ImportError when it is...ers unencodable in the encoding of sys.stdout . Such characters are now escaped with backslashes. gh-69371 : Fix pydoc for modules whose path contains undecodable bytes. pydoc.writedoc() and the pydoc HTTP server no longer fail with UnicodeEncodeError :... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- Superseded Modules — Python 3.14.8 ドキュメント 9769
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Superseded Modules テーマ 自動 ライト ダーク | Superseded Modules ¶ The modules described in this chapter have been superseded by o
...ther modules for most use cases, and are retained primarily to preserve backwards compatibility. Modules may appear in this chapter bec...e broader command line option parsing and argument parsing capabilities offered by optparse and argparse ). Alternatively, modules may appear in this chapter because they are deprecated outright, and awaiting removal in a future release, or they are sof...t deprecated and their use is actively discouraged in new projects. With the removal of various obsolete modules through PEP 594 , there are currently no modules in this latter category. getopt --- C-style parser for command line optio... - https://man.mtool.work/python/3.14/library/superseded.html
- Superseded Modules — Python 3.14.8 ドキュメント 9714
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Superseded Modules テーマ 自動 ライト ダーク | Superseded Modules ¶ The modules described in this chapter have been superseded by o
...ther modules for most use cases, and are retained primarily to preserve backwards compatibility. Modules may appear in this chapter bec...e broader command line option parsing and argument parsing capabilities offered by optparse and argparse ). Alternatively, modules may appear in this chapter because they are deprecated outright, and awaiting removal in a future release, or they are sof...t deprecated and their use is actively discouraged in new projects. With the removal of various obsolete modules through PEP 594 , there are currently no modules in this latter category. getopt --- C-style parser for command line optio... - https://man.mtool.work/python/3.14/library/superseded.html
- 拡張モジュールを分離する — Python 3.14.8 ドキュメント 7705
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 拡張モジュールを分離する テーマ 自動 ライト ダーク | 拡張モジュールを分離する ¶ 概要 Traditionally, state belonging to Python extension modules wa
...bles, which have process-wide scope. This document describes problems of such per-process state and shows a safer way: per-module state. The document also describes how to switch to per-module state where possible. This transition involves allocating sp...ace for that state, potentially switching from static types to heap types, and—perhaps most importantly—accessing per-module state from code. Who should read this ¶ This guide is written for maintainers of C-API extensions who would like to make th...xt in which Python code runs. It contains configuration (e.g. the import path) and runtime state (e.g. the set of imported modules). Python supports running multiple interpreters in one process. There are two cases to think about—users may run interpret... - https://man.mtool.work/python/3.14/howto/isolating-extensions.html
- 拡張モジュールを分離する — Python 3.14.8 ドキュメント 7705
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 拡張モジュールを分離する テーマ 自動 ライト ダーク | 拡張モジュールを分離する ¶ 概要 Traditionally, state belonging to Python extension modules wa
...bles, which have process-wide scope. This document describes problems of such per-process state and shows a safer way: per-module state. The document also describes how to switch to per-module state where possible. This transition involves allocating sp...ace for that state, potentially switching from static types to heap types, and—perhaps most importantly—accessing per-module state from code. Who should read this ¶ This guide is written for maintainers of C-API extensions who would like to make th...xt in which Python code runs. It contains configuration (e.g. the import path) and runtime state (e.g. the set of imported modules). Python supports running multiple interpreters in one process. There are two cases to think about—users may run interpret... - https://man.mtool.work/python/3.14/howto/isolating-extensions.html
- 5. インポートシステム — Python 3.14.8 ドキュメント 7651
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 5. インポートシステム テーマ 自動 ライト ダーク | 5. インポートシステム ¶ ある 1 つの module にある Python コードから他のモジュールを イ
...接呼び出すとモジュールの検索のみが行われ、見つかった場合、モジュールの作成処理が行われます。親パッケージのインポートや ( sys.modules を含む) 様々なキャッシュの更新などの副作用は起きるかもしれませんが、 import 文のみが名前束縛処理を行います。 import 文が実...に失敗した場合は、 ModuleNotFoundError が送出されます。 5.3.1. モジュールキャッシュ ¶ インポート検索で最初に調べる場所は sys.modules です。このマッピングは、中間のパスを含む、これまでにインポートされたすべてのモジュールのキャッシュを提供します。なので foo....bar.baz がインポート済みの場合、 sys.modules は foo 、 foo.bar 、 foo.bar.baz のエントリーを含みます。それぞれのキーはその値として対応するモジュールオブジェクトを持ちま... - https://man.mtool.work/python/3.14/reference/import.html
- 5. インポートシステム — Python 3.14.8 ドキュメント 7651
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 5. インポートシステム テーマ 自動 ライト ダーク | 5. インポートシステム ¶ ある 1 つの module にある Python コードから他のモジュールを イ
...接呼び出すとモジュールの検索のみが行われ、見つかった場合、モジュールの作成処理が行われます。親パッケージのインポートや ( sys.modules を含む) 様々なキャッシュの更新などの副作用は起きるかもしれませんが、 import 文のみが名前束縛処理を行います。 import 文が実...に失敗した場合は、 ModuleNotFoundError が送出されます。 5.3.1. モジュールキャッシュ ¶ インポート検索で最初に調べる場所は sys.modules です。このマッピングは、中間のパスを含む、これまでにインポートされたすべてのモジュールのキャッシュを提供します。なので foo....bar.baz がインポート済みの場合、 sys.modules は foo 、 foo.bar 、 foo.bar.baz のエントリーを含みます。それぞれのキーはその値として対応するモジュールオブジェクトを持ちま... - https://man.mtool.work/python/3.14/reference/import.html
- 拡張モジュールの定義 — Python 3.14.8 ドキュメント 7276
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 拡張モジュールの定義 テーマ 自動 ライト ダーク | 拡張モジュールの定義 ¶ A C extension for CPython is a shared library (for exampl
...creation process into several phases: Before any substantial code is executed, Python can determine which capabilities the module supports, and it can adjust the environment or refuse loading an incompatible extension. By default, Python itself creates...ジョン 3.5 で変更: 多段階初期化 ( PEP 489 ) のサポートを追加しました。 複数のモジュールインスタンス ¶ By default, extension modules are not singletons. For example, if the sys.modules entry is removed and the module is re-imported, a new module object is...method and type objects. The old module is subject to normal garbage collection. This mirrors the behavior of pure-Python modules. Additional module instances may be created in sub-interpreters or after Python runtime reinitialization ( Py_Finalize() a... - https://man.mtool.work/python/3.14/c-api/extension-modules.html
- 拡張モジュールの定義 — Python 3.14.8 ドキュメント 7276
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 拡張モジュールの定義 テーマ 自動 ライト ダーク | 拡張モジュールの定義 ¶ A C extension for CPython is a shared library (for exampl
...creation process into several phases: Before any substantial code is executed, Python can determine which capabilities the module supports, and it can adjust the environment or refuse loading an incompatible extension. By default, Python itself creates...ジョン 3.5 で変更: 多段階初期化 ( PEP 489 ) のサポートを追加しました。 複数のモジュールインスタンス ¶ By default, extension modules are not singletons. For example, if the sys.modules entry is removed and the module is re-imported, a new module object is...method and type objects. The old module is subject to normal garbage collection. This mirrors the behavior of pure-Python modules. Additional module instances may be created in sub-interpreters or after Python runtime reinitialization ( Py_Finalize() a... - https://man.mtool.work/python/3.14/c-api/extension-modules.html
- モジュールのインポート — Python 3.14.8 ドキュメント 6783
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » モジュールのインポート テーマ 自動 ライト ダーク | モジュールのインポート ¶ PyObject * PyImport_ImportModule ( c
...rn the module object corresponding to a module name. The name argument may be of the form package.module . First check the modules dictionary if there's one there, and if not, create a new one and insert it in the modules dictionary. Return a strong ref...Return a new reference to the module object, or NULL with an exception set if an error occurred. name is removed from sys.modules in error cases, even if name was already in sys.modules on entry to PyImport_ExecCodeModule() . Leaving incompletely initi...alized modules in sys.modules is dangerous, as imports of such modules have no way to know that the module object is an unknown (and prob... - https://man.mtool.work/python/3.14/c-api/import.html