Results of 1 - 10 of about 57 for optimize (0.049 sec.)
- compileall --- Python ライブラリをバイトコンパイルする — Python 3.14.8 ドキュメ... 13084
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » compileall --- Python ライブラリをバイトコンパイルする テーマ 自動 ライト ダーク | compileall --- Python ライブ
...e_dir ( dir , maxlevels = sys.getrecursionlimit() , ddir = None , force = False , rx = None , quiet = 0 , legacy = False , optimize = -1 , workers = 1 , invalidation_mode = None , * , stripdir = None , prependdir = None , limit_sl_dest = None , hardlink_...フォルトは PEP 3147 で決められた場所と名前を使い、複数のバージョンの Python のバイトコードファイルが共存できるようにします。 optimize specifies the optimization level for the compiler. It is passed to the built-in compile() function. Accepts also a sequenc...optimization level have the same content, use hard links to consolidate duplicate files. バージョン 3.2 で変更: legacy と optimize 引数が追加されました。 バージョン 3.5 で変更: workers パラメータが追加されました。 バージョン 3.5 で変更: quiet 引数が複数... - https://man.mtool.work/python/3.14/library/compileall.html
- 変更履歴 — Python 3.14.8 ドキュメント 12908
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...f a for loop or in / not in test into a constant tuple or frozenset , restoring an optimization previously done by the AST optimizer that was lost when constant folding moved to the CFG. gh-146096 : Fixed segmentation fault when called repr for BaseExcep...cters in tunnel request headers for the HTTPConnection.set_tunnel() method. Core and Builtins ¶ gh-149122 : Fix a crash in optimized calls to all() , any() , tuple() , list() , and set() with an async generator expression argument (for example, tuple(awa...Pawłowski-Wieroński. gh-146455 : Fix O(N²) compile-time regression in constant folding after it was moved from AST to CFG optimizer. ライブラリ ¶ gh-149221 : Catch rare math domain error for random.binomialvariate() . gh-149117 : Fix runpy.run_module()... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- compileall --- Python ライブラリをバイトコンパイルする — Python 3.14.8 ドキュメ... 12379
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » compileall --- Python ライブラリをバイトコンパイルする テーマ 自動 ライト ダーク | compileall --- Python ライブ
...e_dir ( dir , maxlevels = sys.getrecursionlimit() , ddir = None , force = False , rx = None , quiet = 0 , legacy = False , optimize = -1 , workers = 1 , invalidation_mode = None , * , stripdir = None , prependdir = None , limit_sl_dest = None , hardlink_...フォルトは PEP 3147 で決められた場所と名前を使い、複数のバージョンの Python のバイトコードファイルが共存できるようにします。 optimize specifies the optimization level for the compiler. It is passed to the built-in compile() function. Accepts also a sequenc...optimization level have the same content, use hard links to consolidate duplicate files. バージョン 3.2 で変更: legacy と optimize 引数が追加されました。 バージョン 3.5 で変更: workers パラメータが追加されました。 バージョン 3.5 で変更: quiet 引数が複数... - https://man.mtool.work/python/3.14/library/compileall.html
- py_compile --- Python ソースファイルをコンパイルする — Python 3.14.8 ドキュメン... 9031
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » py_compile --- Python ソースファイルをコンパイルする テーマ 自動 ライト ダーク | py_compile --- Python ソースフ
...ンパイル中にエラーが発生すると送出される例外。 py_compile. compile ( file , cfile = None , dfile = None , doraise = False , optimize = -1 , invalidation_mode = PycInvalidationMode.TIMESTAMP , quiet = 0 ) ¶ Compile a source file to byte-code and write out...使ってバイトコンパイルされたファイルを配置するインポートで、同時にファイル書き込みをしてしまう問題を避けるための副作用です。 optimize は最適化レベルを制御するもので、組み込みの compile() 関数に渡されます。デフォルトは現在のインタープリタの最適化レベルを選ぶ...3147 に準拠し cfile のデフォルト値を変更しました。以前のデフォルトは file + 'c' (最適化が有効な場合は 'o' ) でした。同時に optimize パラメータも追加されました。 バージョン 3.4 で変更: バイトコードをキャッシュするファイルへの書き込みに importlib を使うよう... - https://man.mtool.work/python/3.14/library/py_compile.html
- py_compile --- Python ソースファイルをコンパイルする — Python 3.14.8 ドキュメン... 9031
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » py_compile --- Python ソースファイルをコンパイルする テーマ 自動 ライト ダーク | py_compile --- Python ソースフ
...ンパイル中にエラーが発生すると送出される例外。 py_compile. compile ( file , cfile = None , dfile = None , doraise = False , optimize = -1 , invalidation_mode = PycInvalidationMode.TIMESTAMP , quiet = 0 ) ¶ Compile a source file to byte-code and write out...使ってバイトコンパイルされたファイルを配置するインポートで、同時にファイル書き込みをしてしまう問題を避けるための副作用です。 optimize は最適化レベルを制御するもので、組み込みの compile() 関数に渡されます。デフォルトは現在のインタープリタの最適化レベルを選ぶ...3147 に準拠し cfile のデフォルト値を変更しました。以前のデフォルトは file + 'c' (最適化が有効な場合は 'o' ) でした。同時に optimize パラメータも追加されました。 バージョン 3.4 で変更: バイトコードをキャッシュするファイルへの書き込みに importlib を使うよう... - https://man.mtool.work/python/3.14/library/py_compile.html
- 超高水準レイヤ — Python 3.14.8 ドキュメント 8502
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 超高水準レイヤ テーマ 自動 ライト ダーク | 超高水準レイヤ ¶ この章の関数を使うとファイルまたはバッファにある Python ソースコードを
..., const char * filename , int start , PyCompilerFlags * flags ) ¶ 戻り値: 新しい参照。 下記の Py_CompileStringExFlags() の optimize を -1 にして単純化したインターフェースです。 PyObject * Py_CompileStringObject ( const char * str , PyObject * filename ,...int start , PyCompilerFlags * flags , int optimize ) ¶ 戻り値: 新しい参照。 Parse and compile the Python source code in str , returning the resulting code object. The start...y appear in tracebacks or SyntaxError exception messages. This returns NULL if the code cannot be parsed or compiled. 整数 optimize は、コンパイラの最適化レベルを指定します; -1 は、インタプリタの -O オプションで与えられるのと同じ最適化レベルを選びます。明... - https://man.mtool.work/python/3.14/c-api/veryhigh.html
- zipfile --- ZIP アーカイブの処理 — Python 3.14.8 ドキュメント 8502
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ圧縮とアーカイブ » zipfile --- ZIP アーカイブの処理 テーマ 自動 ライト ダーク | zipfile --- ZIP アーカイブの処理 ¶ Source cod
...for early access to changes. PyZipFile objects ¶ PyZipFile コンストラクタは ZipFile コンストラクタと同じパラメータに加え、 optimize パラメータをとります。 class zipfile. PyZipFile ( file , mode = 'r' , compression = ZIP_STORED , allowZip64 = True , optim...ize = -1 ) ¶ バージョン 3.2 で変更: Added the optimize parameter. バージョン 3.4 で変更: ZIP64 拡張がデフォルトで有効になりました。 インスタンスは ZipFile オブジェクトのメソッド...hname , basename = '' , filterfunc = None ) ¶ *.py ファイルを探し、一致するファイルをアーカイブに追加します。 PyZipFile に optimize 引数が与えられない場合、あるいは -1 が指定された場合、対応するファイルは *.pyc ファイルで、必要に応じてコンパイルします。... - https://man.mtool.work/python/3.14/library/zipfile.html
- 超高水準レイヤ — Python 3.14.8 ドキュメント 8502
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 超高水準レイヤ テーマ 自動 ライト ダーク | 超高水準レイヤ ¶ この章の関数を使うとファイルまたはバッファにある Python ソースコードを
..., const char * filename , int start , PyCompilerFlags * flags ) ¶ 戻り値: 新しい参照。 下記の Py_CompileStringExFlags() の optimize を -1 にして単純化したインターフェースです。 PyObject * Py_CompileStringObject ( const char * str , PyObject * filename ,...int start , PyCompilerFlags * flags , int optimize ) ¶ 戻り値: 新しい参照。 Parse and compile the Python source code in str , returning the resulting code object. The start...y appear in tracebacks or SyntaxError exception messages. This returns NULL if the code cannot be parsed or compiled. 整数 optimize は、コンパイラの最適化レベルを指定します; -1 は、インタプリタの -O オプションで与えられるのと同じ最適化レベルを選びます。明... - https://man.mtool.work/python/3.14/c-api/veryhigh.html
- zipfile --- ZIP アーカイブの処理 — Python 3.14.8 ドキュメント 8502
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ圧縮とアーカイブ » zipfile --- ZIP アーカイブの処理 テーマ 自動 ライト ダーク | zipfile --- ZIP アーカイブの処理 ¶ Source cod
...for early access to changes. PyZipFile objects ¶ PyZipFile コンストラクタは ZipFile コンストラクタと同じパラメータに加え、 optimize パラメータをとります。 class zipfile. PyZipFile ( file , mode = 'r' , compression = ZIP_STORED , allowZip64 = True , optim...ize = -1 ) ¶ バージョン 3.2 で変更: Added the optimize parameter. バージョン 3.4 で変更: ZIP64 拡張がデフォルトで有効になりました。 インスタンスは ZipFile オブジェクトのメソッド...hname , basename = '' , filterfunc = None ) ¶ *.py ファイルを探し、一致するファイルをアーカイブに追加します。 PyZipFile に optimize 引数が与えられない場合、あるいは -1 が指定された場合、対応するファイルは *.pyc ファイルで、必要に応じてコンパイルします。... - https://man.mtool.work/python/3.14/library/zipfile.html
- ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 8150
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as
...trees: ast. parse ( source , filename = '<unknown>' , mode = 'exec' , * , type_comments = False , feature_version = None , optimize = -1 ) ¶ Parse the source into an AST node. Equivalent to compile(source, filename, mode, flags=FLAGS_VALUE, optimize=opti...mize) , where FLAGS_VALUE is ast.PyCF_ONLY_AST if optimize <= 0 and ast.PyCF_OPTIMIZED_AST otherwise. If type_comments=True is given, the parser is modified to check and return type...e_version が追加されました。 バージョン 3.13 で変更: The minimum supported version for feature_version is now (3, 7) . The optimize argument was added. ast. unparse ( ast_obj ) ¶ ast.AST オブジェクトを逆に構文解析して、 ast.parse() が元の ast.AST と等価な... - https://man.mtool.work/python/3.14/library/ast.html