Python technicalities# SageMath has various modules to provide access to low-level Python internals. Utilities for interfacing with the standard library’s atexit module. restore_atexit String <-> bytes encoding/decoding bytes_to_str() str_to_bytes() Various functions to debug Python internals getattr_debug() shortrepr() type_debug() Variants of getattr() AttributeErrorMessage dir_with_other_class() getattr_from_other_class() raw_getattr() Metaclasses for Cython extension types How to use Implementation Slot wrappers wrapperdescr_call() Delete item from PyDict by exact value and hash init_lookdict() test_del_dictitem_by_exact_value() Indices and Tables# Index Module Index Search Page