per page, with , order by , clip by
Results of 1 - 5 of about 5 for consumed (0.003 sec.)
Unicode オブジェクトと codec 12207
Unicode オブジェクトと codec Unicode オブジェクト Python 3.3 で PEP 393 が実装されて以来、Unicode オブジェクトは内部で複数の表現形式を使っています。 これにより、メモリ効率を維持しながら Unicode 文字の全範囲を扱えます。 すべてのコードポイント ... 返します。 PyObject * PyUnicode_DecodeUTF8Stateful ( const char * str , Py_ssize_t size , const char * errors , Py_ssize_t * consumed ) 戻り値: 新しい参照。 次に属します: Stable ABI . consumed が NULL の場合、 PyUnicode_DecodeUTF8() と同じように動作します。 ... consumed が NULL でない場合、末尾の不完全な UTF-8 バイト列はエラーとみなされません。これらのバイト列はデコードされず、デコードされた ... バイト数は consumed に格納されます。 PyObject * PyUnicode_AsUTF8String ( PyObject * unicode ) 戻り値: 新しい参照。 次に属します: Stable ABI . ...
https://man.mtool.work/python/3.14/c-api/unicode.html
asyncio での開発 10405
asyncio での開発 非同期プログラミングは、従来の「逐次的」なプログラミングとは異なります。 このページはよくある間違いや落とし穴を列挙し、それらを回避する方法を説明します。 デバッグモード asyncio はデフォルトで本運用モードで実行されます。いっ ... ときにログメッセージを送出することがあります。 処理されない例外の例: import asyncio async def bug (): raise Exception ( "not consumed" ) async def main (): asyncio . create_task ( bug ()) asyncio . run ( main ()) 出力: Task exception was never retrieved fu ... ture : < Task finished coro =< bug () done , defined at test . py : 3 > exception = Exception ( 'not consumed' ) > Traceback ( most recent call last ): File "test.py" , line 4 , in bug raise Exception ( "not consumed" ) Exception : ... not consumed タスクが生成された箇所を特定するには、 デバッグモードを有効化して トレースバックを取得してください: asyncio . run ( main ( ...
https://man.mtool.work/python/3.14/library/asyncio-dev.html
例外 8199
例外 ソースコード: Lib/asyncio/exceptions.py exception asyncio. TimeoutError 操作が指定された期限を超えたときに送出される、非推奨な TimeoutError のエイリアス。 バージョン 3.11 で変更: このクラスは TimeoutError のエイリアスになりました。 exc ... LimitOverrunError 区切り文字を探している間にバッファサイズの上限に到達しました。 asyncio ストリーム API から送出されます。 consumed 未消費のバイトの合計数です。 他のマニュアルの関連ページ PHP language.error-handling.throwable PHP set_exception_handler() ...
https://man.mtool.work/python/3.14/library/asyncio-exceptions.html
asyncio とフリースレッド Python 7684
asyncio とフリースレッド Python asyncio uses an event loop as a scheduler to enable highly efficient concurrency by switching between tasks to allow non-blocking I/O operations. This results in better performance for I/O-bound use cases. It ... q . get_nowait () except queue . Empty : await asyncio . sleep ( 0.1 ) continue except queue . ShutDown : break print ( f "Consumed { item } " ) await asyncio . sleep ( item ) q : queue . Queue [ int ] = queue . Queue () consumer_thread = threading . Thr ...
https://man.mtool.work/python/3.14/library/asyncio-threading.html
GDB による C API 拡張と CPython 内部のデバッグ 7427
GDB による C API 拡張と CPython 内部のデバッグ このドキュメントでは、Python の GDB 拡張 python-gdb.py を GDB デバッガと組み合わせて、CPython 拡張や CPython インタープリタ自体をデバッグする方法を説明します。 クラッシュやデッドロックなどの低レ ... codeobject.c:346 #4 0x00000000004466aa in PyUnicodeUCS2_DecodeUTF8Stateful (s=0x5c2b8d "__lltrace__", size=11, errors=0x0, consumed= 0x0) at Objects/unicodeobject.c:2531 #5 0x0000000000446647 in PyUnicodeUCS2_DecodeUTF8 (s=0x5c2b8d "__lltrace__", size=11 ...
https://man.mtool.work/python/3.14/howto/gdb_helpers.html
PREV 1 NEXT