Results of 1 - 6 of about 6 for initializer (0.006 sec.)
- concurrent.futures --- 並列タスク実行 11515
- concurrent.futures --- 並列タスク実行 Added in version 3.2. ソースコード: Lib/concurrent/futures/thread.py 、 Lib/concurrent/futures/process.py および Lib/concurrent/futures/interpreter.py concurrent.futures モジュールは、呼び出し可能オブジ
...の終了を待っているためである class concurrent.futures. ThreadPoolExecutor ( max_workers = None , thread_name_prefix = '' , initializer = None , initargs = () , ** ctxkwargs ) 最大で max_workers 個のスレッドを非同期実行に使う Executor のサブクラスです。 Thre...を捕捉して処理しなければなりません。 この理由から、長時間実行するタスクには ThreadPoolExecutor を使わないことを推奨します。 initializer は省略可能な呼び出し可能オブジェクトで、各ワーカースレッドの開始時に呼び出されます。 initargs は、この初期化処理に渡す引数...のタプルです。 initializer が例外を送出した場合、現在未完了のジョブはすべて BrokenThreadPool を送出し、プールへの新たなジョブの投入も同じ例外を送出し... - https://man.mtool.work/python/3.14/library/concurrent.futures.html
- array --- 効率的な数値配列 11388
- array --- 効率的な数値配列 This module defines an object type which can compactly represent an array of basic values: characters, integers, floating-point numbers. Arrays are mutable sequence types and behave very much like lists, except th
...ecodes A string with all available type codes. このモジュールでは次の型を定義しています: class array. array ( typecode [ , initializer ] ) 要素の型を typecode で制限した新しい配列を作成します。 省略可能な initializer を指定すると、その値で初期化します。 この...ode 文字列、または適切な型の要素を返すイテラブルでなければなりません。 bytes または bytearray オブジェクトを指定した場合、 initializer は新しい配列の frombytes() メソッドに渡されます。 Unicode 文字列を指定した場合は fromunicode() メソッドに渡されます。 それ...以外の場合は、 initializer のイテレーターを extend() メソッドに渡して、初期値となる要素を配列に追加します。 配列オブジェクトは、インデックス参照、スラ... - https://man.mtool.work/python/3.14/library/array.html
- multiprocessing --- プロセスベースの並列処理 9651
- multiprocessing --- プロセスベースの並列処理 ソースコード: Lib/multiprocessing/ 利用可能な環境 : not Android, not iOS, not WASI. このモジュールは モバイルプラットフォーム と WebAssemblyプラットフォーム をサポートしません。 はじめに multipro
...r . value += 1 lock はキーワード専用引数であることに注意してください。 multiprocessing. Array ( typecode_or_type , size_or_initializer , * , lock = True ) 共有メモリから割り当てられた ctypes 配列を返します。デフォルトでは、返り値は実際の配列の同期ラッパーで...ような 1 文字の型コードを指定しますが、 'w' はサポートしません。 さらに、型コード 'c' は ctypes.c_char の別名です。 size_or_initializer が整数の場合は配列の長さを指定し、配列をゼロで初期化します。 それ以外の場合、 size_or_initializer は配列の初期化に使うシー...照しようとするとクラッシュを引き起こす可能性があります。 multiprocessing.sharedctypes. RawArray ( typecode_or_type , size_or_initializer ) 共有メモリから割り当てられた ctypes 配列を返します。 typecode_or_type は返される配列の要素の型を決めます。それは ctypes... - https://man.mtool.work/python/3.14/library/multiprocessing.html
- 監査イベント表 7768
- 監査イベント表 この表は、 CPython ランタイムと標準ライブラリ全体で sys.audit() または PySys_Audit() の呼び出しによって送出されるすべてのイベントを含んでいます。これらの呼び出しは、 3.8 以降に追加されました ( PEP 578 を参照) 。 これらのイベン
...てください。 Audit event Arguments References _thread.start_new_thread function , args , kwargs [1] array.__new__ typecode , initializer [1] builtins.breakpoint breakpointhook [1] builtins.id id [1] builtins.input prompt [1] builtins.input/result result [1] c... - https://man.mtool.work/python/3.14/library/audit_events.html
- ctypes --- Python 用の外部関数ライブラリ 7238
- ctypes --- Python 用の外部関数ライブラリ ソースコード: Lib/ctypes ctypes は Python 用の外部関数ライブラリです。 C と互換性のあるデータ型を提供し、DLL や共有ライブラリの関数を呼び出せます。 これらのライブラリを純粋な Python でラップするために
...0 5 >>> POINT ( 1 , 2 , 3 ) Traceback (most recent call last): File "<stdin>" , line 1 , in <module> TypeError : too many initializers >>> しかし、もっと複雑な構造体を構築することもできます。ある構造体は、他の構造体をフィールド型として使うことで、他の構造体...ません。 class ctypes. c_ulonglong Represents the C unsigned long long datatype. The constructor accepts an optional integer initializer; no overflow checking is done. On platforms where sizeof(long long) == sizeof(long) it is an alias to c_ulong . class ctyp... - https://man.mtool.work/python/3.14/library/ctypes.html
- What's New In Python 3.7 7238
- What's New In Python 3.7 編集者 : Elvis Pranskevichus < elvis @ magic . io > この記事では Python 3.6 と比較した Python 3.7 の新機能を解説します。Python 3.7 は2018年6月27日にリリースされました。全詳細については 変更履歴 をご覧ください。 概要
...Benjamin Peterson in bpo-31650 .) concurrent.futures ProcessPoolExecutor と ThreadPoolExecutor が新しいコンストラクタ引数 initializer と initargs をサポートするようになりました。 (Contributed by Antoine Pitrou in bpo-21423 .) ProcessPoolExecutor が新しい m... - https://man.mtool.work/python/3.14/whatsnew/3.7.html
PREV
1
NEXT