Help on module _testcapi: NAME _testcapi MODULE REFERENCE https://docs.python.org/3.12/library/_testcapi.html The following documentation is automatically generated from the Python source files. It may be incomplete, incorrect or include features that are considered implementation detail and may vary between Python implementations. When in doubt, consult the module reference at the location listed above. CLASSES HeapCType(builtins.object) HeapCTypeSubclass HeapCTypeSubclassWithFinalizer builtins.Exception(builtins.BaseException) error builtins.object ContainerNoGC HeapCCollection HeapCTypeSetattr HeapCTypeWithBuffer HeapCTypeWithDict HeapCTypeWithDict2 HeapCTypeWithManagedDict HeapCTypeWithManagedWeakref HeapCTypeWithNegativeDict HeapCTypeWithWeakref HeapCTypeWithWeakref2 HeapDocCType HeapGcCType LimitedVectorCallClass NullTpDocType ObjExtraData builtins.type(builtins.object) HeapCTypeMetaclass HeapCTypeMetaclassCustomNew HeapCTypeMetaclassNullNew class ContainerNoGC(builtins.object) | Static methods defined here: | | __new__(*args, **kwargs) | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Data descriptors defined here: | | value | a container value for test purposes class HeapCCollection(builtins.object) | Tuple-like heap type that uses PyObject_GetItemData for items. | | Methods defined here: | | __getitem__(self, key, /) | Return self[key]. | | __len__(self, /) | Return len(self). | | ---------------------------------------------------------------------- | Static methods defined here: | | __new__(*args, **kwargs) | Create and return a new object. See help(type) for accurate signature. class HeapCTypeMetaclass(builtins.type) | Method resolution order: | HeapCTypeMetaclass | builtins.type | builtins.object | | Data and other attributes defined here: | | __annotations__ = {} | | ---------------------------------------------------------------------- | Methods inherited from builtins.type: | | __call__(self, /, *args, **kwargs) | Call self as a function. | | __delattr__(self, name, /) | Implement delattr(self, name). | | __dir__(self, /) | Specialized __dir__ implementation for types. | | __getattribute__(self, name, /) | Return getattr(self, name). | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | __instancecheck__(self, instance, /) | Check if an object is an instance. | | __or__(self, value, /) | Return self|value. | | __repr__(self, /) | Return repr(self). | | __ror__(self, value, /) | Return value|self. | | __setattr__(self, name, value, /) | Implement setattr(self, name, value). | | __sizeof__(self, /) | Return memory consumption of the type object. | | __subclasscheck__(self, subclass, /) | Check if a class is a subclass. | | __subclasses__(self, /) | Return a list of immediate subclasses. | | mro(self, /) | Return a type's method resolution order. | | ---------------------------------------------------------------------- | Class methods inherited from builtins.type: | | __prepare__(...) | __prepare__() -> dict | used to create the namespace for the class statement | | ---------------------------------------------------------------------- | Static methods inherited from builtins.type: | | __new__(*args, **kwargs) class method of builtins.type | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.type: | | __abstractmethods__ | | __dict__ | | __text_signature__ | | ---------------------------------------------------------------------- | Data and other attributes inherited from builtins.type: | | __base__ = <class 'type'> | type(object) -> the object's type | type(name, bases, dict, **kwds) -> a new type | | | __bases__ = (<class 'type'>,) | | __basicsize__ = 920 | | __dictoffset__ = 264 | | __flags__ = 2156419584 | | __itemsize__ = 40 | | __mro__ = (<class '_testcapi.HeapCTypeMetaclass'>, <class 'type'>, <cl... | | __type_params__ = () | | __weakrefoffset__ = 368 class HeapCTypeMetaclassCustomNew(builtins.type) | Method resolution order: | HeapCTypeMetaclassCustomNew | builtins.type | builtins.object | | Static methods defined here: | | __new__(*args, **kwargs) | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Data and other attributes defined here: | | __annotations__ = {} | | ---------------------------------------------------------------------- | Methods inherited from builtins.type: | | __call__(self, /, *args, **kwargs) | Call self as a function. | | __delattr__(self, name, /) | Implement delattr(self, name). | | __dir__(self, /) | Specialized __dir__ implementation for types. | | __getattribute__(self, name, /) | Return getattr(self, name). | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | __instancecheck__(self, instance, /) | Check if an object is an instance. | | __or__(self, value, /) | Return self|value. | | __repr__(self, /) | Return repr(self). | | __ror__(self, value, /) | Return value|self. | | __setattr__(self, name, value, /) | Implement setattr(self, name, value). | | __sizeof__(self, /) | Return memory consumption of the type object. | | __subclasscheck__(self, subclass, /) | Check if a class is a subclass. | | __subclasses__(self, /) | Return a list of immediate subclasses. | | mro(self, /) | Return a type's method resolution order. | | ---------------------------------------------------------------------- | Class methods inherited from builtins.type: | | __prepare__(...) | __prepare__() -> dict | used to create the namespace for the class statement | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.type: | | __abstractmethods__ | | __dict__ | | __text_signature__ | | ---------------------------------------------------------------------- | Data and other attributes inherited from builtins.type: | | __base__ = <class 'type'> | type(object) -> the object's type | type(name, bases, dict, **kwds) -> a new type | | | __bases__ = (<class 'type'>,) | | __basicsize__ = 920 | | __dictoffset__ = 264 | | __flags__ = 2156419584 | | __itemsize__ = 40 | | __mro__ = (<class '_testcapi.HeapCTypeMetaclassCustomNew'>, <class 'ty... | | __type_params__ = () | | __weakrefoffset__ = 368 class HeapCTypeMetaclassNullNew(builtins.type) | Method resolution order: | HeapCTypeMetaclassNullNew | builtins.type | builtins.object | | Data and other attributes defined here: | | __annotations__ = {} | | ---------------------------------------------------------------------- | Methods inherited from builtins.type: | | __call__(self, /, *args, **kwargs) | Call self as a function. | | __delattr__(self, name, /) | Implement delattr(self, name). | | __dir__(self, /) | Specialized __dir__ implementation for types. | | __getattribute__(self, name, /) | Return getattr(self, name). | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | __instancecheck__(self, instance, /) | Check if an object is an instance. | | __or__(self, value, /) | Return self|value. | | __repr__(self, /) | Return repr(self). | | __ror__(self, value, /) | Return value|self. | | __setattr__(self, name, value, /) | Implement setattr(self, name, value). | | __sizeof__(self, /) | Return memory consumption of the type object. | | __subclasscheck__(self, subclass, /) | Check if a class is a subclass. | | __subclasses__(self, /) | Return a list of immediate subclasses. | | mro(self, /) | Return a type's method resolution order. | | ---------------------------------------------------------------------- | Class methods inherited from builtins.type: | | __prepare__(...) | __prepare__() -> dict | used to create the namespace for the class statement | | ---------------------------------------------------------------------- | Static methods inherited from builtins.type: | | __new__(*args, **kwargs) class method of builtins.type | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.type: | | __abstractmethods__ | | __dict__ | | __text_signature__ | | ---------------------------------------------------------------------- | Data and other attributes inherited from builtins.type: | | __base__ = <class 'type'> | type(object) -> the object's type | type(name, bases, dict, **kwds) -> a new type | | | __bases__ = (<class 'type'>,) | | __basicsize__ = 920 | | __dictoffset__ = 264 | | __flags__ = 2156419712 | | __itemsize__ = 40 | | __mro__ = (<class '_testcapi.HeapCTypeMetaclassNullNew'>, <class 'type... | | __type_params__ = () | | __weakrefoffset__ = 368 class HeapCTypeSetattr(builtins.object) | A heap type without GC, but with overridden __setattr__. | | The 'value' attribute is set to 10 in __init__ and updated via attribute setting. | | Methods defined here: | | __delattr__(self, name, /) | Implement delattr(self, name). | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | __setattr__(self, name, value, /) | Implement setattr(self, name, value). | | ---------------------------------------------------------------------- | Data descriptors defined here: | | pvalue class HeapCTypeSubclass(HeapCType) | Subclass of HeapCType, without GC. | | __init__ sets the 'value' attribute to 10 and 'value2' to 20. | | Method resolution order: | HeapCTypeSubclass | HeapCType | builtins.object | | Methods defined here: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Data descriptors defined here: | | value2 | | ---------------------------------------------------------------------- | Data descriptors inherited from HeapCType: | | value class HeapCTypeSubclassWithFinalizer(HeapCTypeSubclass) | Subclass of HeapCType with a finalizer that reassigns __class__. | | __class__ is set to plain HeapCTypeSubclass during finalization. | __init__ sets the 'value' attribute to 10 and 'value2' to 20. | | Method resolution order: | HeapCTypeSubclassWithFinalizer | HeapCTypeSubclass | HeapCType | builtins.object | | Methods defined here: | | __del__(...) | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Data descriptors defined here: | | value2 | | ---------------------------------------------------------------------- | Data descriptors inherited from HeapCType: | | value class HeapCTypeWithBuffer(builtins.object) | Heap type with buffer support. | | The buffer is set to [b'1', b'2', b'3', b'4'] | | Methods defined here: | | __buffer__(self, flags, /) | Return a buffer object that exposes the underlying memory of the object. | | __release_buffer__(self, buffer, /) | Release the buffer object that exposes the underlying memory of the object. class HeapCTypeWithDict(builtins.object) | Data descriptors defined here: | | __dict__ | | dictobj class HeapCTypeWithDict2(builtins.object) | Data descriptors defined here: | | __dict__ | | dictobj class HeapCTypeWithManagedDict(builtins.object) | Data descriptors defined here: | | __dict__ class HeapCTypeWithManagedWeakref(builtins.object) | Data descriptors defined here: | | __dict__ class HeapCTypeWithNegativeDict(builtins.object) | Data descriptors defined here: | | __dict__ | | dictobj class HeapCTypeWithWeakref(builtins.object) | Data descriptors defined here: | | weakreflist class HeapCTypeWithWeakref2(builtins.object) | Data descriptors defined here: | | weakreflist class HeapDocCType(builtins.object) | HeapDocCType(arg1, arg2) | | somedoc class HeapGcCType(builtins.object) | A heap type with GC, and with overridden dealloc. | | The 'value' attribute is set to 10 in __init__. | | Methods defined here: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Data descriptors defined here: | | value class LimitedVectorCallClass(builtins.object) | Methods defined here: | | __call__(self, /, *args, **kwargs) | Call self as a function. | | ---------------------------------------------------------------------- | Static methods defined here: | | __new__(*args, **kwargs) | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __vectorcalloffset__ class NullTpDocType(builtins.object) class ObjExtraData(builtins.object) | Static methods defined here: | | __new__(*args, **kwargs) | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Data descriptors defined here: | | extra class error(builtins.Exception) | Method resolution order: | error | builtins.Exception | builtins.BaseException | builtins.object | | Data descriptors defined here: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __delattr__(self, name, /) | Implement delattr(self, name). | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setattr__(self, name, value, /) | Implement setattr(self, name, value). | | __setstate__(...) | | __str__(self, /) | Return str(self). | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __dict__ | | __suppress_context__ | | __traceback__ | | args FUNCTIONS PyBuffer_SizeFromFormat(...) PyDateTime_DATE_GET(...) PyDateTime_DELTA_GET(...) PyDateTime_GET(...) PyDateTime_TIME_GET(...) PyTime_AsMicroseconds(...) PyTime_AsMilliseconds(...) PyTime_AsSecondsDouble(...) PyTime_AsTimespec(...) PyTime_AsTimespec_clamp(...) PyTime_AsTimeval(...) PyTime_AsTimeval_clamp(...) PyTime_FromSeconds(...) PyTime_FromSecondsObject(...) Py_CompileString(...) W_STOPCODE(...) add_code_watcher(...) add_dict_watcher(...) add_func_watcher(...) add_type_watcher(...) allocate_too_many_code_watchers(...) allocate_too_many_func_watchers(...) anyset_check(...) anyset_checkexact(...) argparsing(...) bad_get(...) bytearray_asstring(...) bytearray_check(...) bytearray_checkexact(...) bytearray_concat(...) bytearray_fromobject(...) bytearray_fromstringandsize(...) bytearray_resize(...) bytearray_size(...) bytes_asstring(...) bytes_asstringandsize(...) bytes_asstringandsize_null(...) bytes_check(...) bytes_checkexact(...) bytes_concat(...) bytes_concatanddel(...) bytes_decodeescape(...) bytes_fromobject(...) bytes_fromstring(...) bytes_fromstringandsize(...) bytes_repr(...) bytes_size(...) call_in_temporary_c_thread(...) set_error_class(error_class) -> None call_long_compact_api(...) call_vectorcall(...) call_vectorcall_method(...) check_pyobject_forbidden_bytes_is_freed(...) check_pyobject_freed_is_freed(...) check_pyobject_null_is_freed(...) check_pyobject_uninitialized_is_freed(...) clear_code_watcher(...) clear_dict_watcher(...) clear_func_watcher(...) clear_managed_dict(...) clear_type_watcher(...) code_newempty(...) codec_incrementaldecoder(...) codec_incrementalencoder(...) complex_asccomplex(...) complex_check(...) complex_checkexact(...) complex_fromccomplex(...) complex_fromdoubles(...) complex_imagasdouble(...) complex_realasdouble(...) crash_no_current_thread(...) create_cfunction(...) create_type_from_repeated_slots(...) datetime_check_date(...) datetime_check_datetime(...) datetime_check_delta(...) datetime_check_time(...) datetime_check_tzinfo(...) dict_check(...) dict_checkexact(...) dict_clear(...) dict_contains(...) dict_copy(...) dict_delitem(...) dict_delitemstring(...) dict_get_version(...) dict_getitem(...) dict_getitem_knownhash(...) dict_getitemstring(...) dict_getitemwitherror(...) dict_items(...) dict_keys(...) dict_merge(...) dict_mergefromseq2(...) dict_new(...) dict_next(...) dict_setdefault(...) dict_setitem(...) dict_setitemstring(...) dict_size(...) dict_update(...) dict_values(...) dictproxy_new(...) docstring_empty(...) docstring_no_signature(...) This docstring has no signature. docstring_with_invalid_signature(...) docstring_with_invalid_signature($module, /, boo) This docstring has an invalid signature. docstring_with_invalid_signature2(...) docstring_with_invalid_signature2($module, /, boo) -- This docstring also has an invalid signature. docstring_with_signature(sig) This docstring has a valid signature. docstring_with_signature_and_extra_newlines(parameter) This docstring has a valid signature and some extra newlines. docstring_with_signature_but_no_doc(sig) docstring_with_signature_with_defaults(module, s='avocado', b=b'bytes', d=3.14, i=35, n=None, t=True, f=False, local=3, sys=9223372036854775807, exp=9223372036854775806) This docstring has a valid signature with parameters, and the parameters take defaults of varying types. err_restore(...) err_set_raised(exception, /) err_setfromerrnowithfilename(error, exc, value, /) err_setstring(exc, value, /) err_writeunraisable(...) eval_code_ex(...) eval_get_func_desc(...) eval_get_func_name(...) exc_set_object(exception, obj, /) exc_set_object_fetch(exception, obj, /) exception_print(exception, legacy=False, /) To test the format of exceptions as printed out. fatal_error(message, release_gil=False, /) float_asdouble(...) float_check(...) float_checkexact(...) float_fromdouble(...) float_fromstring(...) float_getinfo(...) float_getmax(...) float_getmin(...) float_pack(size, d, le, /) Test PyFloat_Pack2(), PyFloat_Pack4() and PyFloat_Pack8() float_unpack(data, le, /) Test PyFloat_Unpack2(), PyFloat_Unpack4() and PyFloat_Unpack8() frame_getbuiltins(...) frame_getgenerator(...) frame_getglobals(...) frame_getlasti(...) frame_getlocals(...) frame_getvar(...) frame_getvarstring(...) frame_new(...) frozenset_check(...) frozenset_checkexact(...) frozenset_new(...) function_get_code(...) function_get_defaults(...) function_get_globals(...) function_get_kw_defaults(...) function_get_module(...) function_set_defaults(...) function_set_kw_defaults(...) function_setvectorcall(...) gen_get_code(...) get_args(...) get_basic_static_type(...) get_code_watcher_num_created_events(...) get_code_watcher_num_destroyed_events(...) get_crossinterp_data(...) get_date_fromdate(...) get_date_fromtimestamp(...) get_datetime_fromdateandtime(...) get_datetime_fromdateandtimeandfold(...) get_datetime_fromtimestamp(...) get_delta_fromdsu(...) get_dict_watcher_events(...) get_feature_macros(...) get_kwargs(...) get_time_fromtime(...) get_time_fromtimeandfold(...) get_timezone_utc_capi(...) get_timezones_offset_zero(...) get_type_modified_events(...) getargs_B(...) getargs_C(...) getargs_D(...) getargs_H(...) getargs_I(...) getargs_K(...) getargs_L(...) getargs_S(...) getargs_U(...) getargs_Y(...) getargs_Z(...) getargs_Z_hash(...) getargs_b(...) getargs_c(...) getargs_d(...) getargs_es(...) getargs_es_hash(...) getargs_et(...) getargs_et_hash(...) getargs_f(...) getargs_h(...) getargs_i(...) getargs_k(...) getargs_keyword_only(...) getargs_keywords(...) getargs_l(...) getargs_n(...) getargs_p(...) getargs_positional_only_and_keywords(...) getargs_s(...) getargs_s_hash(...) getargs_s_hash_int(...) getargs_s_hash_int2(...) getargs_s_star(...) getargs_tuple(...) getargs_u(...) getargs_u_hash(...) getargs_w_star(...) getargs_y(...) getargs_y_hash(...) getargs_y_star(...) getargs_z(...) getargs_z_hash(...) getargs_z_star(...) getbuffer_with_null_view(...) getitem_with_error(...) gh_99240_clear_args(...) hamt(...) has_vectorcall_flag(type, /) Return true iff Py_TPFLAGS_HAVE_VECTORCALL is set on the class. join_temporary_c_thread(...) list_append(...) list_astuple(...) list_check(...) list_check_exact(...) list_get_item(...) list_get_size(...) list_getitem(...) list_getslice(...) list_insert(...) list_new(...) list_reverse(...) list_set_item(...) list_setitem(...) list_setslice(...) list_size(...) list_sort(...) make_exception_with_doc(...) Test PyErr_NewExceptionWithDoc (also exercise PyErr_NewException). Run via Lib/test/test_exceptions.py make_heaptype_with_member(...) make_immutable_type_with_base(...) make_memoryview_from_NULL_pointer(...) make_sized_heaptypes(...) make_timezones_capi(...) make_type_with_base(...) make_vectorcall_class(...) Create a class whose instances return "tpcall" when called. When the "set_vectorcall" method is called on an instance, a vectorcall function that returns "vectorcall" will be installed. mapping_check(...) mapping_delitem(...) mapping_delitemstring(...) mapping_getitemstring(...) mapping_haskey(...) mapping_haskeystring(...) mapping_items(...) mapping_keys(...) mapping_length(...) mapping_setitemstring(...) mapping_size(...) mapping_values(...) meth_fastcall(...) meth_fastcall_keywords(...) meth_noargs(...) meth_o(...) meth_varargs(...) meth_varargs_keywords(...) no_docstring(...) object_ascii(...) object_bytes(...) object_delattr(...) object_delattrstring(...) object_delitem(...) object_getattr(...) object_getattrstring(...) object_getitem(...) object_hasattr(...) object_hasattrstring(...) object_repr(...) object_setattr(...) object_setattrstring(...) object_setitem(...) object_str(...) parse_tuple_and_keywords(...) py_buildvalue(...) py_buildvalue_ints(...) pylong_as_size_t(...) pylong_as_ssize_t(...) pylong_asdouble(...) pylong_aslong(...) pylong_aslongandoverflow(...) pylong_aslonglong(...) pylong_aslonglongandoverflow(...) pylong_aspid(...) pylong_asunsignedlong(...) pylong_asunsignedlonglong(...) pylong_asunsignedlonglongmask(...) pylong_asunsignedlongmask(...) pylong_asvoidptr(...) pylong_check(...) pylong_checkexact(...) pylong_fromdouble(...) pylong_fromstring(...) pylong_fromunicodeobject(...) pylong_fromvoidptr(...) pymarshal_read_last_object_from_file(...) pymarshal_read_long_from_file(...) pymarshal_read_object_from_file(...) pymarshal_read_short_from_file(...) pymarshal_write_long_to_file(...) pymarshal_write_object_to_file(...) pymem_api_misuse(...) pymem_buffer_overflow(...) pymem_getallocatorsname(...) pymem_malloc_without_gil(...) pynumber_tobase(...) pyobject_bytes_from_null(...) pyobject_fastcall(...) pyobject_fastcalldict(...) pyobject_getitemdata(...) pyobject_malloc_without_gil(...) pyobject_repr_from_null(...) pyobject_str_from_null(...) pyobject_vectorcall(...) pytime_object_to_time_t(...) pytime_object_to_timespec(...) pytime_object_to_timeval(...) pytype_fromspec_meta(...) pyvectorcall_call(...) raise_SIGINT_then_send_None(...) raise_exception(exception, num_args, /) raise_memoryerror() remove_mem_hooks(...) Remove memory hooks. restore_crossinterp_data(...) return_null_without_error(...) return_result_with_error(...) run_in_subinterp(...) run_in_subinterp_with_config(...) sequence_check(...) sequence_concat(...) sequence_contains(...) sequence_count(...) sequence_delitem(...) sequence_delslice(...) sequence_getitem(...) sequence_index(...) sequence_inplaceconcat(...) sequence_inplacerepeat(...) sequence_length(...) sequence_list(...) sequence_repeat(...) sequence_setitem(...) sequence_setslice(...) sequence_size(...) sequence_tuple(...) set_add(...) set_check(...) set_checkexact(...) set_clear(...) set_contains(...) set_discard(...) set_errno(...) set_exc_info(new_type, new_value, new_tb, /) set_exception(new_exc, /) set_func_defaults_via_capi(func, defaults, /) set_func_kwdefaults_via_capi(func, defaults, /) set_get_size(...) set_new(...) set_nomemory(...) set_nomemory(start:int, stop:int = 0) set_pop(...) set_size(...) settrace_to_error(...) settrace_to_record(...) stack_pointer(...) subclass_heaptype(...) subclass_var_heaptype(...) sys_getobject(...) sys_getxoptions(...) sys_setobject(...) test_L_code(...) test_PyOS_mystricmp(...) test_PyOS_mystrnicmp(...) test_alignof_max_align_t(...) test_atexit(...) test_buildvalue_N(...) test_buildvalue_issue38913(...) test_capsule(...) test_code_api(...) test_code_extra(...) test_config(...) test_current_tstate_matches(...) test_datetime_capi(...) test_decref_doesnt_leak(...) test_dict_iteration(...) test_empty_argparse(...) test_from_contiguous(...) test_from_spec_invalid_metatype_inheritance(...) test_from_spec_metatype_inheritance(...) test_frozenset_add_in_capi(...) test_gc_control(...) test_gc_visit_objects_basic(...) test_gc_visit_objects_exit_early(...) test_get_statictype_slots(...) test_get_type_dict(...) test_get_type_name(...) test_get_type_qualname(...) test_immortal_builtins(...) test_immortal_small_ints(...) test_incref_decref_API(...) test_incref_doesnt_leak(...) test_k_code(...) test_lazy_hash_inheritance(...) test_list_api(...) test_long_and_overflow(...) test_long_api(...) test_long_as_double(...) test_long_as_size_t(...) test_long_as_unsigned_long_long_mask(...) test_long_long_and_overflow(...) test_long_numbits(...) test_longlong_api(...) test_macros(...) test_pep3118_obsolete_write_locks(...) test_py_clear(...) test_py_is_funcs(...) test_py_is_macros(...) test_py_setref(...) test_pymem_alloc0(...) test_pymem_setallocators(...) test_pymem_setrawallocators(...) test_pyobject_new(...) test_pyobject_setallocators(...) test_pythread_tss_key_state(...) test_refcount_funcs(...) test_refcount_macros(...) test_s_code(...) test_set_type_size(...) test_sizeof_c_types(...) test_string_from_format(...) test_string_to_double(...) test_structseq_newtype_doesnt_leak(...) test_structseq_newtype_null_descr_doc(...) test_tstate_capi(...) test_type_from_ephemeral_spec(...) test_unicode_compare_with_ascii(...) test_widechar(...) test_with_docstring(...) This is a pretty normal docstring. test_xdecref_doesnt_leak(...) test_xincref_doesnt_leak(...) traceback_print(traceback, file, /) To test the format of tracebacks as printed out. tracemalloc_get_traceback(...) tracemalloc_track(...) tracemalloc_untrack(...) type_assign_specific_version_unsafe(...) forcefully assign type->tp_version_tag type_assign_version(...) PyUnstable_Type_AssignVersionTag type_get_tp_bases(...) type_get_tp_mro(...) type_get_version(...) type->tp_version_tag type_modified(...) PyType_Modified unicode_append(...) unicode_appendanddel(...) unicode_asasciistring(...) unicode_ascharmapstring(...) unicode_asencodedstring(...) unicode_aslatin1string(...) unicode_asrawunicodeescapestring(...) unicode_asucs4(...) unicode_asucs4copy(...) unicode_asunicodeescapestring(...) unicode_asutf16string(...) unicode_asutf32string(...) unicode_asutf8(...) unicode_asutf8andsize(...) unicode_asutf8andsize_null(...) unicode_asutf8string(...) unicode_aswidechar(...) unicode_aswidechar_null(...) unicode_aswidecharstring(...) unicode_aswidecharstring_null(...) unicode_buildencodingmap(...) unicode_compare(...) unicode_comparewithasciistring(...) unicode_concat(...) unicode_contains(...) unicode_copycharacters(...) unicode_count(...) unicode_decode(...) unicode_decodeascii(...) unicode_decodecharmap(...) unicode_decodefsdefault(...) unicode_decodefsdefaultandsize(...) unicode_decodelatin1(...) unicode_decodelocale(...) unicode_decodelocaleandsize(...) unicode_decoderawunicodeescape(...) unicode_decodeunicodeescape(...) unicode_decodeutf16(...) unicode_decodeutf16stateful(...) unicode_decodeutf32(...) unicode_decodeutf32stateful(...) unicode_decodeutf7(...) unicode_decodeutf7stateful(...) unicode_decodeutf8(...) unicode_decodeutf8stateful(...) unicode_encodefsdefault(...) unicode_encodelocale(...) unicode_fill(...) unicode_find(...) unicode_findchar(...) unicode_format(...) unicode_fromencodedobject(...) unicode_fromkindanddata(...) unicode_fromobject(...) unicode_fromordinal(...) unicode_fromstring(...) unicode_fromstringandsize(...) unicode_fromwidechar(...) unicode_getdefaultencoding(...) unicode_getlength(...) unicode_internfromstring(...) unicode_interninplace(...) unicode_isidentifier(...) unicode_join(...) unicode_new(...) unicode_partition(...) unicode_readchar(...) unicode_replace(...) unicode_resize(...) unicode_richcompare(...) unicode_rpartition(...) unicode_rsplit(...) unicode_split(...) unicode_splitlines(...) unicode_substring(...) unicode_tailmatch(...) unicode_transformdecimalandspacetoascii(...) unicode_translate(...) unicode_writechar(...) unstable_exc_prep_reraise_star(orig, excs, /) To test PyUnstable_Exc_PrepReraiseStar. unwatch_dict(watcher_id, dict, /) unwatch_type(watcher_id, type, /) watch_dict(watcher_id, dict, /) watch_type(watcher_id, type, /) with_tp_del(...) without_gc(...) write_unraisable_exc(exception, err_msg, obj, /) DATA ALIGNOF_MAX_ALIGN_T = 16 CHAR_MAX = 127 CHAR_MIN = -128 DBL_MAX = 1.7976931348623157e+308 DBL_MIN = 2.2250738585072014e-308 FLT_MAX = 3.4028234663852886e+38 FLT_MIN = 1.1754943508222875e-38 INT_MAX = 2147483647 INT_MIN = -2147483648 LIMITED_API_AVAILABLE = True LLONG_MAX = 9223372036854775807 LLONG_MIN = -9223372036854775808 LONG_MAX = 9223372036854775807 LONG_MIN = -9223372036854775808 PYFUNC_EVENT_CREATE = 0 PYFUNC_EVENT_DESTROY = 1 PYFUNC_EVENT_MODIFY_CODE = 2 PYFUNC_EVENT_MODIFY_DEFAULTS = 3 PYFUNC_EVENT_MODIFY_KWDEFAULTS = 4 PY_SSIZE_T_MAX = 9223372036854775807 PY_SSIZE_T_MIN = -9223372036854775808 Py_Version = 51119088 SHRT_MAX = 32767 SHRT_MIN = -32768 SIZEOF_PID_T = 4 SIZEOF_TIME_T = 8 SIZEOF_VOID_P = 8 SIZEOF_WCHAR_T = 4 SIZE_MAX = 18446744073709551615 UCHAR_MAX = 255 UINT_MAX = 4294967295 ULLONG_MAX = 18446744073709551615 ULONG_MAX = 18446744073709551615 USHRT_MAX = 65535 WITH_PYMALLOC = True the_number_three = 3 FILE /usr/lib/python3.12/lib-dynload/_testcapi.cpython-312-x86_64-linux-gnu.so
Generated by phpman v4.12.29 · Markdown · JSON Author: Che Dong Under GNU General Public License
2026-12-03 06:22 @216.73.216.10
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)