Results of 1 - 10 of about 43 for because (0.006 sec.)
- Superseded Modules 13189
- Superseded Modules この章で説明するモジュールは、ほとんどの用途で他のモジュールに置き換えられており、主に後方互換性を保つために残されています。 この章には、問題の限られた範囲だけを扱い、標準ライブラリの別の場所にもっと広く適用できる解決策が
...広いコマンドラインオプションや引数の解析機能を提供するものではありません。 Alternatively, modules may appear in this chapter because they are deprecated outright, and awaiting removal in a future release, or they are soft deprecated and their use is activ... - https://man.mtool.work/python/3.14/library/superseded.html
- 10. 完全な文法仕様 12510
- 10. 完全な文法仕様 以下は Python の完全な文法で、CPython のパーサを生成するための文法から直接得たものです ( Grammar/python.gram を参照)。 ここでは、コード生成とエラー回復に関する詳細を省略しています。 ここで使う記法は、これまでのドキュメント
...Import statements # ----------------- import_name : 'import' dotted_as_names # note below: the ('.' | '...') is necessary because '...' is tokenized as ELLIPSIS import_from : | 'from' ( '.' | '...' ) * dotted_name 'import' import_from_targets | 'from'...aram_no_default + param_with_default * [ star_etc ] | param_with_default + [ star_etc ] | star_etc # Some duplication here because we can't write (',' | &')'), # which is because we don't support empty alternatives (yet). slash_no_default : | param_no_d... - https://man.mtool.work/python/3.14/reference/grammar.html
- 組み込み型の操作の時間計算量 11152
- 組み込み型の操作の時間計算量 このページでは、CPython の組み込み型に対するさまざまな操作の時間計算量を説明します。 ほかの Python 実装では、性能の特性が異なる場合があります。 また、サブクラスのインスタンスではコストが異なる場合があるため、ここ
...ythonでリストはどのように実装されているのですか? . The largest costs come from growing beyond the current allocation size (because everything must move), or from inserting or deleting somewhere near the beginning (because everything after that must move... - https://man.mtool.work/python/3.14/builtins/time-complexity.html
- 拡張モジュールの定義 9132
- 拡張モジュールの定義 A C extension for CPython is a shared library (for example, a .so file on Linux, .pyd DLL on Windows), which is loadable into the Python process (for example, it is compiled with compatible compiler settings), and which
...by defining multiple initialization functions. However, importing them requires using symbolic links or a custom importer, because by default only the function corresponding to the filename is found. See the Multiple modules in one library section in PE... - https://man.mtool.work/python/3.14/c-api/extension-modules.html
- ファイルオブジェクト 9132
- ファイルオブジェクト これらの API は、C 標準ライブラリのバッファ付き I/O ( FILE * ) に依存していた Python 2 の組み込みファイルオブジェクトの C API を、最小限エミュレートするものです。 Python 3 のファイルやストリームは新しい io モジュールを使
...C library does not perform its own newline translation. Return buf on success. Return NULL if no characters could be read, because stream is at end of file, a read error occurred, or n is less than 2. Like fgets() , this function does not distinguish be... - https://man.mtool.work/python/3.14/c-api/file.html
- Logging クックブック 9132
- Logging クックブック Author : Vinay Sajip <vinay_sajip at red-dove dot com> このページは、過去に有用であるとされていた、logging に関連するいくつものレシピを含んでいます。チュートリアルやリファレンス情報へのリンクについては その他のリソース
...uld appear - hence the "if posix" clause. logger = logging . getLogger ( 'setup' ) logger . critical ( 'Should not appear, because of disabled logger ...' ) stop_event . wait () listener . stop () def worker_process ( config ): """ A number of these are...uld appear - hence the "if posix" clause. logger = logging . getLogger ( 'setup' ) logger . critical ( 'Should not appear, because of disabled logger ...' ) for i in range ( 100 ): lvl = random . choice ( levels ) logger = logging . getLogger ( random ....e queue. # We disable existing loggers to disable the "setup" logger used in the # parent process. This is needed on POSIX because the logger will # be there in the child following a fork(). config_worker = { 'version' : 1 , 'disable_existing_loggers' :... - https://man.mtool.work/python/3.14/howto/logging-cookbook.html
- http.server --- HTTP サーバー 9132
- http.server --- HTTP サーバー ソースコード: Lib/http/server.py このモジュールは HTTP サーバを実装するためのクラスを提供しています。 警告 http.server は本番環境での利用には推奨しません。 基本的なセキュリティチェック だけを実装しています。 利
...mpleHTTPRequestHandler . 注釈 CGI scripts run by the CGIHTTPRequestHandler class cannot execute redirects (HTTP code 302), because code 200 (script output follows) is sent prior to execution of the CGI script. This pre-empts the status code. The class w...erver -- cgi バージョン 3.13 で非推奨、バージョン 3.15 で削除予定: http.server command line --cgi support is being removed because CGIHTTPRequestHandler is being removed. 警告 CGIHTTPRequestHandler and the --cgi command-line option are not intended for... - https://man.mtool.work/python/3.14/library/http.server.html
- numbers --- 数の抽象基底クラス 9132
- numbers --- 数の抽象基底クラス ソースコード: Lib/numbers.py numbers モジュール ( PEP 3141 ) は、下位になるほど多くの演算を定義する、数値の 抽象基底クラス の階層を定義しています。 このモジュールで定義する型は、どれもインスタンス化を目的とした
...はありませんので、デフォルト実装の出番です。 If B is a subtype of A , Python tries B.__radd__ before A.__add__ . This is ok, because it was implemented with knowledge of A , so it can handle those instances before delegating to Complex . If A is a subtype... - https://man.mtool.work/python/3.14/library/numbers.html
- weakref --- 弱参照 9132
- weakref --- 弱参照 ソースコード: Lib/weakref.py weakref モジュールを使うと、Python プログラムからオブジェクトへの 弱参照 を作成できます。 以下では、用語リファレント( referent ) は弱参照が参照するオブジェクトを意味します。 オブジェクトへの弱
...1 , 2 , z = 3 ) >>> assert f . alive >>> assert f () == 6 CALLBACK >>> assert not f . alive >>> f () # callback not called because finalizer dead >>> del obj # callback not called because finalizer dead detach() メソッドでファイナライザの登録を解除できま... - https://man.mtool.work/python/3.14/library/weakref.html
- Python support for the Linux perf profiler 8453
- Python support for the Linux perf profiler author : Pablo Galindo The Linux perf profiler is a very powerful tool that allows you to profile and obtain information about the performance of your application. perf also has a very vibrant ecos
...frame-pointer" as this allows profilers to unwind using only the frame pointer and not on DWARF debug information. This is because as the code that is interposed to allow perf support is dynamically generated it doesn't have any DWARF debugging informat... - https://man.mtool.work/python/3.14/howto/perf_profiling.html