Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 28 for ensure (0.006 sec.)
18.5.9. asyncio での開発 — Python 3.6.5 ドキュメント 15468
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... トの検出 ¶ コルーチン関数が呼び出されてもその結果が ensure_future() や AbstractEventLoop.create_task() メソッ ... ) これを修正するには、そのコルーチンオブジェクトで ensure_future() 関数か AbstractEventLoop.create_task() メ ... ed" ) loop = asyncio . get_event_loop () asyncio . ensure_future ( bug ()) loop . run_forever () loop . clos ... File "test.py" , line 8 , in < module > asyncio . ensure_future ( bug ()) Traceback ( most recent call last ...
https://man.plustar.jp/python/library/asyncio-dev.html - [similar]
19.2. json --- JSON エンコーダおよびデコーダ — Python 3.6.5 ドキュメント 10454
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... い方 ¶ json. dump ( obj , fp , * , skipkeys=False , ensure_ascii=True , check_circular=True , allow_nan=True ... は str の入力をサポートしていなければなりません。 ensure_ascii が (デフォルト値の) true の場合、出力では入力 ... 文字はエスケープされていることが保証されています。 ensure_ascii が false の場合、これらの文字はそのまま出力さ ... りました。 json. dumps ( obj , * , skipkeys=False , ensure_ascii=True , check_circular=True , allow_nan=True ...
https://man.plustar.jp/python/library/json.html - [similar]
18.5.3. タスクとコルーチン — Python 3.6.5 ドキュメント 10012
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ady running!), or schedule its execution using the ensure_future() function or the AbstractEventLoop.create_ ... sed in a callback-style code, wrap its result with ensure_future() . 18.5.3.1.1. 例: Hello World コルーチン ... ent_loop () future = asyncio . Future () asyncio . ensure_future ( slow_operation ( future )) loop . run_unt ... ent_loop () future = asyncio . Future () asyncio . ensure_future ( slow_operation ( future )) future . add_d ...
https://man.plustar.jp/python/library/asyncio-task.html - [similar]
初期化 (initialization)、終了処理 (finalization)、スレッド — Python 3.6.5 ドキ... 9422
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... 造体のメモリを解放しなければなりません。 PyGILState_Ensure() と PyGILState_Release() はこの処理を自動的に行い ... です: PyGILState_STATE gstate ; gstate = PyGILState_Ensure (); /* Perform Python actions here. */ result = Ca ... との互換性がありません: PyGILState_STATE PyGILState_Ensure ( ) ¶ Pythonの状態やGILに関わらず、実行中スレッドで ... ease() を呼び出す必要があります。通常、 PyGILState_Ensure() 呼び出しと PyGILState_Release() 呼び出しの間でこ ...
https://man.plustar.jp/python/c-api/init.html - [similar]
Argument Clinic How-To — Python 3.6.5 ドキュメント 8979
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Argu ... ks basically the same as the existing code. First, ensure both places use the same argument-parsing function ... rg_ParseTuple() or PyArg_ParseTupleAndKeywords() ; ensure that the code generated by Argument Clinic calls t ... ng string, or a pointer to a conversion function), ensure that the second argument is exactly the same betwe ... sed for the parameter. For example, if you want to ensure that the object is a subclass of PyUnicode_Type , ...
https://man.plustar.jp/python/howto/clinic.html - [similar]
36.1. optparse --- コマンドラインオプション解析器 — Python 3.6.5 ドキュメント 8537
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... "extend" : lvalue = value . split ( "," ) values . ensure_value ( dest , []) . extend ( lvalue ) else : Opti ... er.Values クラスのインスタンスであり、非常に有用な ensure_value() メソッドを提供しています。 ensure_value() ... きの getattr() です。次のように呼び出します values . ensure_value ( attr , value ) values に attr 属性が無いか ... None だった場合に、 ensure_value() は最初に value をセットし、それから value ...
https://man.plustar.jp/python/library/optparse.html - [similar]
28.3. venv --- 仮想環境の作成 — Python 3.6.5 ドキュメント 8389
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 与えられない限り、 pip を仮想環境でブートするために ensurepip が呼ばれます。 venv には複数のパスを渡すことがで ... ていることを保証します。 --default-pip オプションで ensurepip を使用します。 prompt -- 仮想環境が有効になって ... = os . path . abspath ( env_dir ) context = self . ensure_directories ( env_dir ) self . create_configuratio ... ( context ) self . post_setup ( context ) メソッド ensure_directories() , create_configuration() , setup_pyt ...
https://man.plustar.jp/python/library/venv.html - [similar]
What's New In Python 3.5 — Python 3.6.5 ドキュメント 8242
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... l. (Contributed by Victor Stinner.) async() 関数は ensure_future() により非推奨になりました。(Contributed by ... 。 (Contributed by Victor Stinner.) 3.5.1 での変更: ensure_future() 関数と、 loop.run_until_complete() のよう ... he json.dumps() function was optimized to run with ensure_ascii=False as fast as with ensure_ascii=True . (C ... 3.6 で削除される予定です。 asyncio.async() 関数は ensure_future() により非推奨になりました。 smtpd モジュー ...
https://man.plustar.jp/python/whatsnew/3.5.html - [similar]
28.4. zipapp --- 実行可能な python zip 書庫を管理する — Python 3.6.5 ドキュメン... 8094
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... n distribute your application archive, you need to ensure that the interpreter used is portable. The Python ... executable as described above, you either need to ensure that your users have python3.dll on their PATH (wh ...
https://man.plustar.jp/python/library/zipapp.html - [similar]
What's New In Python 3.6 — Python 3.6.5 ドキュメント 8094
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... class__() implementations, custom metaclasses must ensure that the new __classcell__ namespace entry is prop ... aths should use os.fsencode() and os.fsdecode() to ensure their bytes are correctly encoded. To revert to th ... ks. (Contributed by Yury Selivanov in bpo-28613 .) ensure_future() 関数と、 loop.run_until_complete() のよう ... ild target ¶ To simplify cross-compilation, and to ensure that CPython can reliably be compiled without requ ...
https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
PREV 1 2 3 NEXT