Results of 1 - 10 of about 92 for loader (0.007 sec.)
- importlib --- import の実装 — Python 3.14.8 ドキュメント 14221
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » モジュールのインポート » importlib --- import の実装 テーマ 自動 ライト ダーク | importlib --- import の実装 ¶ Added in version 3.1
...also provided to help in implementing the core ABCs. 抽象基底クラス階層: object +-- MetaPathFinder +-- PathEntryFinder +-- Loader +-- ResourceLoader --------+ +-- InspectLoader | +-- ExecutionLoader --+ +-- FileLoader +-- SourceLoader class importlib.a...a module object that the finder may use to make a more educated guess about what spec to return. importlib.util.spec_from_loader() may be useful for implementing concrete MetaPathFinders . Added in version 3.4. invalidate_caches ( ) ¶ このファインダー...ようなスペックを返せばよいか推測するために使用します。具体的な PathEntryFinders を実装するためには importlib.util.spec_from_loader() が便利かもしれません。 Added in version 3.4. invalidate_caches ( ) ¶ このファインダーで使われている内部キャッシュがあれば... - https://man.mtool.work/python/3.14/library/importlib.html
- importlib --- import の実装 — Python 3.14.8 ドキュメント 14221
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » モジュールのインポート » importlib --- import の実装 テーマ 自動 ライト ダーク | importlib --- import の実装 ¶ Added in version 3.1
...also provided to help in implementing the core ABCs. 抽象基底クラス階層: object +-- MetaPathFinder +-- PathEntryFinder +-- Loader +-- ResourceLoader --------+ +-- InspectLoader | +-- ExecutionLoader --+ +-- FileLoader +-- SourceLoader class importlib.a...a module object that the finder may use to make a more educated guess about what spec to return. importlib.util.spec_from_loader() may be useful for implementing concrete MetaPathFinders . Added in version 3.4. invalidate_caches ( ) ¶ このファインダー...ようなスペックを返せばよいか推測するために使用します。具体的な PathEntryFinders を実装するためには importlib.util.spec_from_loader() が便利かもしれません。 Added in version 3.4. invalidate_caches ( ) ¶ このファインダーで使われている内部キャッシュがあれば... - https://man.mtool.work/python/3.14/library/importlib.html
- 5. インポートシステム — Python 3.14.8 ドキュメント 8835
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 5. インポートシステム テーマ 自動 ライト ダーク | 5. インポートシステム ¶ ある 1 つの module にある Python コードから他のモジュールを イ
...れ (およびそれに含まれるローダー) を使います。これは、インポートのロード部分で起こることの近似です: module = None if spec . loader is not None and hasattr ( spec . loader , 'create_module' ): # It is assumed 'exec_module' will also be defined on the loa...der. module = spec . loader . create_module ( spec ) if module is None : module = ModuleType ( spec . name ) # The import-related module attributes ge...t set here: _init_module_attrs ( spec , module ) if spec . loader is None : # unsupported raise ImportError if spec . origin is None and spec . submodule_search_locations is not None : # n... - https://man.mtool.work/python/3.14/reference/import.html
- 5. インポートシステム — Python 3.14.8 ドキュメント 8835
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 5. インポートシステム テーマ 自動 ライト ダーク | 5. インポートシステム ¶ ある 1 つの module にある Python コードから他のモジュールを イ
...れ (およびそれに含まれるローダー) を使います。これは、インポートのロード部分で起こることの近似です: module = None if spec . loader is not None and hasattr ( spec . loader , 'create_module' ): # It is assumed 'exec_module' will also be defined on the loa...der. module = spec . loader . create_module ( spec ) if module is None : module = ModuleType ( spec . name ) # The import-related module attributes ge...t set here: _init_module_attrs ( spec , module ) if spec . loader is None : # unsupported raise ImportError if spec . origin is None and spec . submodule_search_locations is not None : # n... - https://man.mtool.work/python/3.14/reference/import.html
- runpy --- Python モジュールの位置特定と実行 — Python 3.14.8 ドキュメント 8437
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » モジュールのインポート » runpy --- Python モジュールの位置特定と実行 テーマ 自動 ライト ダーク | runpy --- Python モジュールの位置特
...definitions are overridden by run_module() . The special global variables __name__ , __spec__ , __file__ , __cached__ , __loader__ and __package__ are set in the globals dictionary before the module code is executed. (Note that this is a minimal set o...le (that is, __spec__.name will always be mod_name or mod_name + '.__main__' , never run_name ). __file__ , __cached__ , __loader__ and __package__ are set as normal based on the module spec. 引数 alter_sys が与えられて True に評価されるならば、 sys.ar...nsuring the real module name is always accessible as __spec__.name . バージョン 3.12 で変更: The setting of __cached__ , __loader__ , and __package__ are deprecated. See ModuleSpec for alternatives. runpy. run_path ( path_name , init_globals = None , r... - https://man.mtool.work/python/3.14/library/runpy.html
- runpy --- Python モジュールの位置特定と実行 — Python 3.14.8 ドキュメント 8118
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » モジュールのインポート » runpy --- Python モジュールの位置特定と実行 テーマ 自動 ライト ダーク | runpy --- Python モジュールの位置特
...definitions are overridden by run_module() . The special global variables __name__ , __spec__ , __file__ , __cached__ , __loader__ and __package__ are set in the globals dictionary before the module code is executed. (Note that this is a minimal set o...le (that is, __spec__.name will always be mod_name or mod_name + '.__main__' , never run_name ). __file__ , __cached__ , __loader__ and __package__ are set as normal based on the module spec. 引数 alter_sys が与えられて True に評価されるならば、 sys.ar...nsuring the real module name is always accessible as __spec__.name . バージョン 3.12 で変更: The setting of __cached__ , __loader__ , and __package__ are deprecated. See ModuleSpec for alternatives. runpy. run_path ( path_name , init_globals = None , r... - https://man.mtool.work/python/3.14/library/runpy.html
- What's New In Python 3.10 — Python 3.14.8 ドキュメント 8118
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.10 テーマ 自動 ライト ダーク | What's New In Python 3.10 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.9 と
...ibute binary packages on Windows. (Contributed by Victor Stinner in bpo-42802 .) doctest ¶ When a module does not define __loader__ , fall back to __spec__.loader . (Contributed by Brett Cannon in bpo-42133 .) エンコーディング ¶ encodings.normalize_enc...top-level Python modules and packages to their importlib.metadata.Distribution . inspect ¶ When a module does not define __loader__ , fall back to __spec__.loader . (Contributed by Brett Cannon in bpo-42133 .) Add inspect.get_annotations() , which safe...¶ Add itertools.pairwise() . (Contributed by Raymond Hettinger in bpo-38200 .) linecache ¶ When a module does not define __loader__ , fall back to __spec__.loader . (Contributed by Brett Cannon in bpo-42133 .) os ¶ Add os.cpu_count() support for VxWork... - https://man.mtool.work/python/3.14/whatsnew/3.10.html
- What's New In Python 3.10 — Python 3.14.8 ドキュメント 8118
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.10 テーマ 自動 ライト ダーク | What's New In Python 3.10 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.9 と
...ibute binary packages on Windows. (Contributed by Victor Stinner in bpo-42802 .) doctest ¶ When a module does not define __loader__ , fall back to __spec__.loader . (Contributed by Brett Cannon in bpo-42133 .) エンコーディング ¶ encodings.normalize_enc...top-level Python modules and packages to their importlib.metadata.Distribution . inspect ¶ When a module does not define __loader__ , fall back to __spec__.loader . (Contributed by Brett Cannon in bpo-42133 .) Add inspect.get_annotations() , which safe...¶ Add itertools.pairwise() . (Contributed by Raymond Hettinger in bpo-38200 .) linecache ¶ When a module does not define __loader__ , fall back to __spec__.loader . (Contributed by Brett Cannon in bpo-42133 .) os ¶ Add os.cpu_count() support for VxWork... - https://man.mtool.work/python/3.14/whatsnew/3.10.html
- Pending removal in Python 3.16 — Python 3.14.8 ドキュメント 7853
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pending removal in Python 3.16 テーマ 自動 ライト ダーク | Pending removal in Python 3.16 ¶ The import system: Setting __loader__ on a module while failing to set __spec__.loader
...der is deprecated. In Python 3.16, __loader__ will cease to be set or taken into consideration by the import system or the standard library. array : The 'u' format co...nce Python 3.13. 関連キーワード Python asyncio deprecated since instead loop Use use Contributed gh function import system loader set policy get event argument sysconfig This page Report a bug Improve this page Show source Show translation source « ナビ... - https://man.mtool.work/python/3.14/deprecations/pending-removal-in-3.16.html
- Pending removal in Python 3.16 — Python 3.14.8 ドキュメント 7853
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pending removal in Python 3.16 テーマ 自動 ライト ダーク | Pending removal in Python 3.16 ¶ The import system: Setting __loader__ on a module while failing to set __spec__.loader
...der is deprecated. In Python 3.16, __loader__ will cease to be set or taken into consideration by the import system or the standard library. array : The 'u' format co...bute has been deprecated since Python 3.13. 関連キーワード asyncio deprecated since instead loop Contributed import system loader policy event argument sysconfig removal format code iscoroutinefunction removed Kumar Aditya factory implementation Select... - https://man.mtool.work/python/3.14/deprecations/pending-removal-in-3.16.html