per page, with , order by , clip by
Results of 1 - 10 of about 35 for SystemError (0.063 sec.)
Set オブジェクト — Python 3.14.8 ドキュメント 13032
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Set オブジェクト テーマ 自動 ライト ダーク | Set オブジェクト ¶ このセクションでは se ... Stable ABI . Thread safety: Atomic . Return the length of a set or frozenset object. Equivalent to len(anyset) . Raises a SystemError if anyset is not a set , frozenset , or an instance of a subtype. Py_ssize_t PySet_GET_SIZE ( PyObject * anyset ) ¶ Thread ... oes not automatically convert unhashable sets into temporary frozensets. Raise a TypeError if the key is unhashable. Raise SystemError if anyset is not a set , frozenset , or an instance of a subtype. 注釈 The operation is atomic on free threading when key ... ます。 set を大きくする余裕がない場合は、 MemoryError を送出します。 set が set かそのサブタイプのインスタンスでない場合は、 SystemError を送出します。 注釈 The operation is atomic on free threading when key is str , int , float , bool or bytes . 以降の関数は ...
https://man.mtool.work/python/3.14/c-api/set.html
変更履歴 — Python 3.14.8 ドキュメント 12284
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... ixes a data race in types.GenericAlias __parameters__ initialization on free-threading builds. gh-153205 : Fix a potential SystemError during vector calls when memory allocation fails. A MemoryError is now raised instead. gh-152682 : Fix NULL pointer derefe ... rator for zoneinfo where datetime.datetime subclasses returning -1 for hour , minute , or second could incorrectly raise a SystemError . gh-154848 : The pickle C accelerator now enforces frame boundaries when unpickling, as the pure Python implementation al ... a pending connection. gh-153695 : Hashing a sqlite3.Row that contains an unhashable value now raises TypeError instead of SystemError . Patch by tonghuaroot. gh-127049 : Fix a race condition in asyncio on Unix where asyncio.subprocess.Process.send_signal() ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
Set オブジェクト — Python 3.14.8 ドキュメント 12093
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Set オブジェクト テーマ 自動 ライト ダーク | Set オブジェクト ¶ このセクションでは se ... Stable ABI . Thread safety: Atomic . Return the length of a set or frozenset object. Equivalent to len(anyset) . Raises a SystemError if anyset is not a set , frozenset , or an instance of a subtype. Py_ssize_t PySet_GET_SIZE ( PyObject * anyset ) ¶ Thread ... oes not automatically convert unhashable sets into temporary frozensets. Raise a TypeError if the key is unhashable. Raise SystemError if anyset is not a set , frozenset , or an instance of a subtype. 注釈 The operation is atomic on free threading when key ... ます。 set を大きくする余裕がない場合は、 MemoryError を送出します。 set が set かそのサブタイプのインスタンスでない場合は、 SystemError を送出します。 注釈 The operation is atomic on free threading when key is str , int , float , bool or bytes . 以降の関数は ...
https://man.mtool.work/python/3.14/c-api/set.html
Function オブジェクト — Python 3.14.8 ドキュメント 9436
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Function オブジェクト テーマ 自動 ライト ダーク | Function オブジェクト ¶ Functionオブ ... ¶ 関数オブジェクト op の引数のデフォルト値を設定します。 defaults は Py_None かタプルでなければいけません。 失敗した時は、 SystemError を発生させ、 -1 を返します。 void PyFunction_SetVectorcall ( PyFunctionObject * func , vectorcallfunc vectorcall ) ¶ Set t ... op にクロージャを設定します。 closure は、 Py_None もしくは cell オブジェクトのタプルでなければなりません。 失敗した時は、 SystemError を発生させ、 -1 を返します。 PyObject * PyFunction_GetAnnotations ( PyObject * op ) ¶ 戻り値: 借用参照。 関数オブジェクト ... ¶ 関数オブジェクト op のアノテーションを設定します。 annotations は辞書か、 Py_None でなければなりません。 失敗した時は、 SystemError を発生させ、 -1 を返します。 PyObject * PyFunction_GET_CODE ( PyObject * op ) ¶ PyObject * PyFunction_GET_GLOBALS ( PyObje ...
https://man.mtool.work/python/3.14/c-api/function.html
Function オブジェクト — Python 3.14.8 ドキュメント 9436
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Function オブジェクト テーマ 自動 ライト ダーク | Function オブジェクト ¶ Functionオブ ... ¶ 関数オブジェクト op の引数のデフォルト値を設定します。 defaults は Py_None かタプルでなければいけません。 失敗した時は、 SystemError を発生させ、 -1 を返します。 void PyFunction_SetVectorcall ( PyFunctionObject * func , vectorcallfunc vectorcall ) ¶ Set t ... op にクロージャを設定します。 closure は、 Py_None もしくは cell オブジェクトのタプルでなければなりません。 失敗した時は、 SystemError を発生させ、 -1 を返します。 PyObject * PyFunction_GetAnnotations ( PyObject * op ) ¶ 戻り値: 借用参照。 関数オブジェクト ... ¶ 関数オブジェクト op のアノテーションを設定します。 annotations は辞書か、 Py_None でなければなりません。 失敗した時は、 SystemError を発生させ、 -1 を返します。 PyObject * PyFunction_GET_CODE ( PyObject * op ) ¶ PyObject * PyFunction_GET_GLOBALS ( PyObje ...
https://man.mtool.work/python/3.14/c-api/function.html
変更履歴 — Python 3.14.8 ドキュメント 9436
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... ixes a data race in types.GenericAlias __parameters__ initialization on free-threading builds. gh-153205 : Fix a potential SystemError during vector calls when memory allocation fails. A MemoryError is now raised instead. gh-152682 : Fix NULL pointer derefe ... rator for zoneinfo where datetime.datetime subclasses returning -1 for hour , minute , or second could incorrectly raise a SystemError . gh-154848 : The pickle C accelerator now enforces frame boundaries when unpickling, as the pure Python implementation al ... a pending connection. gh-153695 : Hashing a sqlite3.Row that contains an unhashable value now raises TypeError instead of SystemError . Patch by tonghuaroot. gh-127049 : Fix a race condition in asyncio on Unix where asyncio.subprocess.Process.send_signal() ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
8. エラーと例外 — Python 3.14.8 ドキュメント 8688
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 8. エラーと例外 テーマ 自動 ライト ダーク | 8. エラーと例外 ¶ これまでエラーメッセージについては簡単に触れるだけでしたが、チュートリアル中 ... にします。ExceptionGroupも例外なので、他の例外と同じように捕捉できます。: >>> def f (): ... excs = [ OSError ( 'error 1' ), SystemError ( 'error 2' )] ... raise ExceptionGroup ( 'there were problems' , excs ) ... >>> f () + Exception Group Traceback (most re ... oblems (2 sub-exceptions) +-+---------------- 1 ---------------- | OSError: error 1 +---------------- 2 ---------------- | SystemError: error 2 +------------------------------------ >>> try : ... f () ... except Exception as e : ... print ( f 'caught { type ... 伝えられ、最終的に例外が送出されます。: >>> def f (): ... raise ExceptionGroup ( ... "group1" , ... [ ... OSError ( 1 ), ... SystemError ( 2 ), ... ExceptionGroup ( ... "group2" , ... [ ... OSError ( 3 ), ... RecursionError ( 4 ) ... ] ... ) ... ] ... ) ... > ...
https://man.mtool.work/python/3.14/tutorial/errors.html
8. エラーと例外 — Python 3.14.8 ドキュメント 8688
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 8. エラーと例外 テーマ 自動 ライト ダーク | 8. エラーと例外 ¶ これまでエラーメッセージについては簡単に触れるだけでしたが、チュートリアル中 ... にします。ExceptionGroupも例外なので、他の例外と同じように捕捉できます。: >>> def f (): ... excs = [ OSError ( 'error 1' ), SystemError ( 'error 2' )] ... raise ExceptionGroup ( 'there were problems' , excs ) ... >>> f () + Exception Group Traceback (most re ... oblems (2 sub-exceptions) +-+---------------- 1 ---------------- | OSError: error 1 +---------------- 2 ---------------- | SystemError: error 2 +------------------------------------ >>> try : ... f () ... except Exception as e : ... print ( f 'caught { type ... 伝えられ、最終的に例外が送出されます。: >>> def f (): ... raise ExceptionGroup ( ... "group1" , ... [ ... OSError ( 1 ), ... SystemError ( 2 ), ... ExceptionGroup ( ... "group2" , ... [ ... OSError ( 3 ), ... RecursionError ( 4 ) ... ] ... ) ... ] ... ) ... > ...
https://man.mtool.work/python/3.14/tutorial/errors.html
モジュールオブジェクト (module object) — Python 3.14.8 ドキュメント 8306
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » モジュールオブジェクト (module object) テーマ 自動 ライト ダーク | モジュールオブジェ ... __dict__ 属性と同じものです。 module がモジュールオブジェクト (もしくはモジュールオブジェクトのサブタイプ) でない場合は、 SystemError が送出され NULL が返されます。 拡張モジュールでは、モジュールの __dict__ を直接操作するよりも、 PyModule_* および PyObject ... ABI (バージョン 3.7 より). Return module 's __name__ value. If the module does not provide one, or if it is not a string, SystemError is raised and NULL is returned. Added in version 3.3. const char * PyModule_GetName ( PyObject * module ) ¶ 次に属します: ... e from which module was loaded using module 's __file__ attribute. If this is not defined, or if it is not a string, raise SystemError and return NULL ; otherwise return a reference to a Unicode object. Added in version 3.2. const char * PyModule_GetFilenam ...
https://man.mtool.work/python/3.14/c-api/module.html
モジュールオブジェクト (module object) — Python 3.14.8 ドキュメント 8306
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » モジュールオブジェクト (module object) テーマ 自動 ライト ダーク | モジュールオブジェ ... __dict__ 属性と同じものです。 module がモジュールオブジェクト (もしくはモジュールオブジェクトのサブタイプ) でない場合は、 SystemError が送出され NULL が返されます。 拡張モジュールでは、モジュールの __dict__ を直接操作するよりも、 PyModule_* および PyObject ... ABI (バージョン 3.7 より). Return module 's __name__ value. If the module does not provide one, or if it is not a string, SystemError is raised and NULL is returned. Added in version 3.3. const char * PyModule_GetName ( PyObject * module ) ¶ 次に属します: ... e from which module was loaded using module 's __file__ attribute. If this is not defined, or if it is not a string, raise SystemError and return NULL ; otherwise return a reference to a Unicode object. Added in version 3.2. const char * PyModule_GetFilenam ...
https://man.mtool.work/python/3.14/c-api/module.html
PREV 1 2 3 4 NEXT