per page, with , order by , clip by
Results of 1 - 7 of about 7 for AsString (0.004 sec.)
bytearray オブジェクト 11687
bytearray オブジェクト type PyByteArrayObject この PyObject のサブタイプは Python の bytearray オブジェクトを表します。 PyByteArrayObject の内部バッファには、ヌル終端の C 文字列との互換性のため、末尾に余分なヌルバイトが常に含まれます。 この ... 属します: Stable ABI . Thread safety: Atomic . NULL ポインタチェックの後に bytearray のサイズを返します。 char * PyByteArray_AsString ( PyObject * bytearray ) 次に属します: Stable ABI . Thread safety: Safe to call from multiple threads with external synchr ... PyObject * bytearray ) Thread safety: Safe to call from multiple threads with external synchronization only . PyByteArray_AsString() に似ていますが、エラーチェックを行いません。 注釈 返された char 配列の使用中に bytearray オブジェクトを変更する操作はスレ ...
https://man.mtool.work/python/3.14/c-api/bytearray.html
バイトオブジェクト 11287
バイトオブジェクト 下記の関数は、バイトオブジェクトを期待している引数にバイトオブジェクトでないパラメタを指定して呼び出されると、 TypeError を送出します。 PyBytesObject の内部バッファには、null 終端の C 文字列との互換性のため、末尾に常に追加 ... T_SIZE ( PyObject * o ) Thread safety: Atomic . PyBytes_Size() に似ていますが、エラーチェックを行いません。 char * PyBytes_AsString ( PyObject * o ) 次に属します: Stable ABI . Thread safety: Safe to call from multiple threads with external synchronizatio ... でない限り、データを変更してはいけません。 このバッファを解放してはいけません。 o が bytes オブジェクトでなければ、 PyBytes_AsString() は NULL を返し、 TypeError を送出します。 char * PyBytes_AS_STRING ( PyObject * string ) Thread safety: Safe to call fro ... m multiple threads with external synchronization only . PyBytes_AsString() に似ていますが、エラーチェックを行いません。 int PyBytes_AsStringAndSize ( PyObject * obj , char * * buffer , Py_ssize_t ...
https://man.mtool.work/python/3.14/c-api/bytes.html
Python 3.18 で削除予定 10033
Python 3.18 で削除予定 以下の非公開関数は非推奨となり、Python 3.18 で削除予定です: _PyBytes_Join() : PyBytes_Join() を使ってください。 _PyDict_GetItemStringWithError() : PyDict_GetItemStringRef() を使ってください。 _PyDict_Pop() : PyDict_Po ... ter_Create() を使ってください。 _PyThreadState_UncheckedGet() : PyThreadState_GetUnchecked() を使ってください。 _PyUnicode_AsString() : PyUnicode_AsUTF8() を使ってください。 _PyUnicodeWriter_Init() : _PyUnicodeWriter_Init(&writer) を writer = PyUnicodeWr ...
https://man.mtool.work/python/3.14/deprecations/c-api-pending-removal-in-3.18.ht...
C API Stability 8778
C API Stability 特記のない限り、Python の C API には後方互換性ポリシー PEP 387 が適用されます。 変更の大半はソース互換性を保ちます (通常は新しい API の追加だけを行います)。 既存 API の変更や削除は、非推奨の期間を経た後、または重大な問題を修 ... uffer_IsContiguous() PyBuffer_Release() PyBuffer_SizeFromFormat() PyBuffer_ToContiguous() PyByteArrayIter_Type PyByteArray_AsString() PyByteArray_Concat() PyByteArray_FromObject() PyByteArray_FromStringAndSize() PyByteArray_Resize() PyByteArray_Size() Py ... ByteArray_Type PyBytesIter_Type PyBytes_AsString() PyBytes_AsStringAndSize() PyBytes_Concat() PyBytes_ConcatAndDel() PyBytes_DecodeEscape() PyBytes_FromFormat() PyBytes_Fr ...
https://man.mtool.work/python/3.14/c-api/stable.html
非推奨 7524
非推奨 Python 3.15 で削除予定 インポートシステム: Setting __cached__ on a module while failing to set __spec__.cached is deprecated. In Python 3.15, __cached__ will cease to be set or take into consideration by the import system or standard ... ter_Create() を使ってください。 _PyThreadState_UncheckedGet() : PyThreadState_GetUnchecked() を使ってください。 _PyUnicode_AsString() : PyUnicode_AsUTF8() を使ってください。 _PyUnicodeWriter_Init() : _PyUnicodeWriter_Init(&writer) を writer = PyUnicodeWr ...
https://man.mtool.work/python/3.14/deprecations/
What's New In Python 3.10 7524
What's New In Python 3.10 編集者 : Pablo Galindo Salgado この記事では Python 3.9 と比較した Python 3.10 の新機能を解説します。Python 3.10 は2021年10月4日にリリースされました。全詳細については 変更履歴 をご覧ください。 概要 -- リリースハイラ ... その内容をコンパイルします。 例えば、次のように io モジュールを PyImport_ImportModule() 、 PyObject_CallMethod() 、 PyBytes_AsString() 、 Py_CompileString() と組み合わせて使う方法があります。 (宣言とエラー処理は省略しています。) io_module = PyImport_Impor ... _CallMethod ( fileobject , "read" , "" ); result = PyObject_CallMethod ( fileobject , "close" , "" ); source_buf = PyBytes_AsString ( source_bytes_object ); code = Py_CompileString ( source_buf , filename , Py_file_input ); For FrameObject objects, the f ...
https://man.mtool.work/python/3.14/whatsnew/3.10.html
What's New In Python 3.13 6706
What's New In Python 3.13 エディタ : Adam Turner と Thomas Wouters この記事では Python 3.12 と比較した Python 3.13 の新機能を解説します。Python 3.13 は2024年10月7日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 71 ... ter_Create() を使ってください。 _PyThreadState_UncheckedGet() : PyThreadState_GetUnchecked() を使ってください。 _PyUnicode_AsString() : PyUnicode_AsUTF8() を使ってください。 _PyUnicodeWriter_Init() : _PyUnicodeWriter_Init(&writer) を writer = PyUnicodeWr ...
https://man.mtool.work/python/3.14/whatsnew/3.13.html
PREV 1 NEXT