[ { "label": "roslib;", "kind": 6, "isExtraImport": true, "importPath": "roslib;", "description": "roslib;", "detail": "roslib;", "documentation": {} }, { "label": "rospy", "kind": 6, "isExtraImport": true, "importPath": "rospy", "description": "rospy", "detail": "rospy", "documentation": {} }, { "label": "robot_skills", "kind": 6, "isExtraImport": true, "importPath": "robot_skills", "description": "robot_skills", "detail": "robot_skills", "documentation": {} }, { "label": "robot_skills.amigo", "kind": 6, "isExtraImport": true, "importPath": "robot_skills.amigo", "description": "robot_skills.amigo", "detail": "robot_skills.amigo", "documentation": {} }, { "label": "*", "importPath": "psi", "description": "psi", "isExtraImport": true, "detail": "psi", "documentation": {} }, { "label": "*", "importPath": "psi", "description": "psi", "isExtraImport": true, "detail": "psi", "documentation": {} }, { "label": "*", "importPath": "psi", "description": "psi", "isExtraImport": true, "detail": "psi", "documentation": {} }, { "label": "String", "importPath": "std_msgs.msg", "description": "std_msgs.msg", "isExtraImport": true, "detail": "std_msgs.msg", "documentation": {} }, { "label": "String", "importPath": "std_msgs.msg", "description": "std_msgs.msg", "isExtraImport": true, "detail": "std_msgs.msg", "documentation": {} }, { "label": "String", "importPath": "std_msgs.msg", "description": "std_msgs.msg", "isExtraImport": true, "detail": "std_msgs.msg", "documentation": {} }, { "label": "robot_smach_states", "kind": 6, "isExtraImport": true, "importPath": "robot_smach_states", "description": "robot_smach_states", "detail": "robot_smach_states", "documentation": {} }, { "label": "smach", "kind": 6, "isExtraImport": true, "importPath": "smach", "description": "smach", "detail": "smach", "documentation": {} }, { "label": "smach_ros", "kind": 6, "isExtraImport": true, "importPath": "smach_ros", "description": "smach_ros", "detail": "smach_ros", "documentation": {} }, { "label": "geometry_msgs", "kind": 6, "isExtraImport": true, "importPath": "geometry_msgs", "description": "geometry_msgs", "detail": "geometry_msgs", "documentation": {} }, { "label": "threading", "kind": 6, "isExtraImport": true, "importPath": "threading", "description": "threading", "detail": "threading", "documentation": {} }, { "label": "Thread", "importPath": "threading", "description": "threading", "isExtraImport": true, "detail": "threading", "documentation": {} }, { "label": "client", "importPath": "fast_simulator", "description": "fast_simulator", "isExtraImport": true, "detail": "fast_simulator", "documentation": {} }, { "label": "os", "kind": 6, "isExtraImport": true, "importPath": "os", "description": "os", "detail": "os", "documentation": {} }, { "label": "path", "importPath": "os", "description": "os", "isExtraImport": true, "detail": "os", "documentation": {} }, { "label": "getenv", "importPath": "os", "description": "os", "isExtraImport": true, "detail": "os", "documentation": {} }, { "label": "path", "importPath": "os", "description": "os", "isExtraImport": true, "detail": "os", "documentation": {} }, { "label": "environ", "importPath": "os", "description": "os", "isExtraImport": true, "detail": "os", "documentation": {} }, { "label": "path", "importPath": "os", "description": "os", "isExtraImport": true, "detail": "os", "documentation": {} }, { "label": "path", "importPath": "os", "description": "os", "isExtraImport": true, "detail": "os", "documentation": {} }, { "label": "getpid", "importPath": "os", "description": "os", "isExtraImport": true, "detail": "os", "documentation": {} }, { "label": "site", "kind": 6, "isExtraImport": true, "importPath": "site", "description": "site", "detail": "site", "documentation": {} }, { "label": "USER_BASE", "importPath": "site", "description": "site", "isExtraImport": true, "detail": "site", "documentation": {} }, { "label": "USER_BASE", "importPath": "site", "description": "site", "isExtraImport": true, "detail": "site", "documentation": {} }, { "label": "USER_SITE", "importPath": "site", "description": "site", "isExtraImport": true, "detail": "site", "documentation": {} }, { "label": "sys", "kind": 6, "isExtraImport": true, "importPath": "sys", "description": "sys", "detail": "sys", "documentation": {} }, { "label": "getrefcount", "importPath": "sys", "description": "sys", "isExtraImport": true, "detail": "sys", "documentation": {} }, { "label": "getrefcount", "importPath": "sys", "description": "sys", "isExtraImport": true, "detail": "sys", "documentation": {} }, { "label": "executable", "importPath": "sys", "description": "sys", "isExtraImport": true, "detail": "sys", "documentation": {} }, { "label": "maxsize", "importPath": "sys", "description": "sys", "isExtraImport": true, "detail": "sys", "documentation": {} }, { "label": "maxsize", "importPath": "sys", "description": "sys", "isExtraImport": true, "detail": "sys", "documentation": {} }, { "label": "platform", "importPath": "sys", "description": "sys", "isExtraImport": true, "detail": "sys", "documentation": {} }, { "label": "executable", "importPath": "sys", "description": "sys", "isExtraImport": true, "detail": "sys", "documentation": {} }, { "label": "platform", "importPath": "sys", "description": "sys", "isExtraImport": true, "detail": "sys", "documentation": {} }, { "label": "*", "importPath": "sys", "description": "sys", "isExtraImport": true, "detail": "sys", "documentation": {} }, { "label": "*", "importPath": "sys", "description": "sys", "isExtraImport": true, "detail": "sys", "documentation": {} }, { "label": "argparse", "kind": 6, "isExtraImport": true, "importPath": "argparse", "description": "argparse", "detail": "argparse", "documentation": {} }, { "label": "ArgumentParser", "importPath": "argparse", "description": "argparse", "isExtraImport": true, "detail": "argparse", "documentation": {} }, { "label": "ArgumentParser", "importPath": "argparse", "description": "argparse", "isExtraImport": true, "detail": "argparse", "documentation": {} }, { "label": "base64", "kind": 6, "isExtraImport": true, "importPath": "base64", "description": "base64", "detail": "base64", "documentation": {} }, { "label": "standard_b64encode", "importPath": "base64", "description": "base64", "isExtraImport": true, "detail": "base64", "documentation": {} }, { "label": "b64encode", "importPath": "base64", "description": "base64", "isExtraImport": true, "detail": "base64", "documentation": {} }, { "label": "encodebytes", "importPath": "base64", "description": "base64", "isExtraImport": true, "detail": "base64", "documentation": {} }, { "label": "mimetypes", "kind": 6, "isExtraImport": true, "importPath": "mimetypes", "description": "mimetypes", "detail": "mimetypes", "documentation": {} }, { "label": "guess_type", "importPath": "mimetypes", "description": "mimetypes", "isExtraImport": true, "detail": "mimetypes", "documentation": {} }, { "label": "guess_type", "importPath": "mimetypes", "description": "mimetypes", "isExtraImport": true, "detail": "mimetypes", "documentation": {} }, { "label": "guess_type", "importPath": "mimetypes", "description": "mimetypes", "isExtraImport": true, "detail": "mimetypes", "documentation": {} }, { "label": "guess_type", "importPath": "mimetypes", "description": "mimetypes", "isExtraImport": true, "detail": "mimetypes", "documentation": {} }, { "label": "guess_type", "importPath": "mimetypes", "description": "mimetypes", "isExtraImport": true, "detail": "mimetypes", "documentation": {} }, { "label": "guess_type", "importPath": "mimetypes", "description": "mimetypes", "isExtraImport": true, "detail": "mimetypes", "documentation": {} }, { "label": "guess_type", "importPath": "mimetypes", "description": "mimetypes", "isExtraImport": true, "detail": "mimetypes", "documentation": {} }, { "label": "guess_type", "importPath": "mimetypes", "description": "mimetypes", "isExtraImport": true, "detail": "mimetypes", "documentation": {} }, { "label": "guess_type", "importPath": "mimetypes", "description": "mimetypes", "isExtraImport": true, "detail": "mimetypes", "documentation": {} }, { "label": "guess_type", "importPath": "mimetypes", "description": "mimetypes", "isExtraImport": true, "detail": "mimetypes", "documentation": {} }, { "label": "guess_type", "importPath": "mimetypes", "description": "mimetypes", "isExtraImport": true, "detail": "mimetypes", "documentation": {} }, { "label": "subprocess", "kind": 6, "isExtraImport": true, "importPath": "subprocess", "description": "subprocess", "detail": "subprocess", "documentation": {} }, { "label": "Popen", "importPath": "subprocess", "description": "subprocess", "isExtraImport": true, "detail": "subprocess", "documentation": {} }, { "label": "PIPE", "importPath": "subprocess", "description": "subprocess", "isExtraImport": true, "detail": "subprocess", "documentation": {} }, { "label": "DEVNULL", "importPath": "subprocess", "description": "subprocess", "isExtraImport": true, "detail": "subprocess", "documentation": {} }, { "label": "Popen", "importPath": "subprocess", "description": "subprocess", "isExtraImport": true, "detail": "subprocess", "documentation": {} }, { "label": "PIPE", "importPath": "subprocess", "description": "subprocess", "isExtraImport": true, "detail": "subprocess", "documentation": {} }, { "label": "check_output", "importPath": "subprocess", "description": "subprocess", "isExtraImport": true, "detail": "subprocess", "documentation": {} }, { "label": "_args_from_interpreter_flags", "importPath": "subprocess", "description": "subprocess", "isExtraImport": true, "detail": "subprocess", "documentation": {} }, { "label": "image", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "image", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "html", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "image", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "image", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "html", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "image", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "image", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "html", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "image", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "image", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "html", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "image", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "image", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "html", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "image", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "image", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "html", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "image", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "image", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "html", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "image", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "image", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "html", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "image", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "image", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "html", "importPath": "butterfly.escapes", "description": "butterfly.escapes", "isExtraImport": true, "detail": "butterfly.escapes", "documentation": {} }, { "label": "butterfly", "kind": 6, "isExtraImport": true, "importPath": "butterfly", "description": "butterfly", "detail": "butterfly", "documentation": {} }, { "label": "Route", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "url", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "__version__", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "application", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "Route", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "url", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "__version__", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "application", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "Route", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "url", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "__version__", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "Route", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "url", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "__version__", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "application", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "Route", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "url", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "__version__", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "application", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "Route", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "url", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "__version__", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "Route", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "url", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "__version__", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "application", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "Route", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "url", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "__version__", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "application", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "Route", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "url", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "__version__", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "Route", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "url", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "__version__", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "application", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "Route", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "url", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "__version__", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "utils", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "application", "importPath": "butterfly", "description": "butterfly", "isExtraImport": true, "detail": "butterfly", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "importPath": "butterfly.utils", "description": "butterfly.utils", "isExtraImport": true, "detail": "butterfly.utils", "documentation": {} }, { "label": "fileinput", "kind": 6, "isExtraImport": true, "importPath": "fileinput", "description": "fileinput", "detail": "fileinput", "documentation": {} }, { "label": "webbrowser", "kind": 6, "isExtraImport": true, "importPath": "webbrowser", "description": "webbrowser", "detail": "webbrowser", "documentation": {} }, { "label": "termios", "kind": 6, "isExtraImport": true, "importPath": "termios", "description": "termios", "detail": "termios", "documentation": {} }, { "label": "tty", "kind": 6, "isExtraImport": true, "importPath": "tty", "description": "tty", "detail": "tty", "documentation": {} }, { "label": "contextlib", "kind": 6, "isExtraImport": true, "importPath": "contextlib", "description": "contextlib", "detail": "contextlib", "documentation": {} }, { "label": "contextmanager", "importPath": "contextlib", "description": "contextlib", "isExtraImport": true, "detail": "contextlib", "documentation": {} }, { "label": "contextmanager", "importPath": "contextlib", "description": "contextlib", "isExtraImport": true, "detail": "contextlib", "documentation": {} }, { "label": "contextmanager", "importPath": "contextlib", "description": "contextlib", "isExtraImport": true, "detail": "contextlib", "documentation": {} }, { "label": "contextmanager", "importPath": "contextlib", "description": "contextlib", "isExtraImport": true, "detail": "contextlib", "documentation": {} }, { "label": "contextmanager", "importPath": "contextlib", "description": "contextlib", "isExtraImport": true, "detail": "contextlib", "documentation": {} }, { "label": "contextmanager", "importPath": "contextlib", "description": "contextlib", "isExtraImport": true, "detail": "contextlib", "documentation": {} }, { "label": "contextmanager", "importPath": "contextlib", "description": "contextlib", "isExtraImport": true, "detail": "contextlib", "documentation": {} }, { "label": "contextmanager", "importPath": "contextlib", "description": "contextlib", "isExtraImport": true, "detail": "contextlib", "documentation": {} }, { "label": "contextmanager", "importPath": "contextlib", "description": "contextlib", "isExtraImport": true, "detail": "contextlib", "documentation": {} }, { "label": "contextmanager", "importPath": "contextlib", "description": "contextlib", "isExtraImport": true, "detail": "contextlib", "documentation": {} }, { "label": "contextmanager", "importPath": "contextlib", "description": "contextlib", "isExtraImport": true, "detail": "contextlib", "documentation": {} }, { "label": "suppress", "importPath": "contextlib", "description": "contextlib", "isExtraImport": true, "detail": "contextlib", "documentation": {} }, { "label": "contextmanager", "importPath": "contextlib", "description": "contextlib", "isExtraImport": true, "detail": "contextlib", "documentation": {} }, { "label": "suppress", "importPath": "contextlib", "description": "contextlib", "isExtraImport": true, "detail": "contextlib", "documentation": {} }, { "label": "contextmanager", "importPath": "contextlib", "description": "contextlib", "isExtraImport": true, "detail": "contextlib", "documentation": {} }, { "label": "ExitStack", "importPath": "contextlib", "description": "contextlib", "isExtraImport": true, "detail": "contextlib", "documentation": {} }, { "label": "ctypes", "kind": 6, "isExtraImport": true, "importPath": "ctypes", "description": "ctypes", "detail": "ctypes", "documentation": {} }, { "label": "CDLL", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CFUNCTYPE", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "POINTER", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "Structure", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "byref", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_char_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_int", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_size_t", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_void_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CDLL", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CFUNCTYPE", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "POINTER", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "Structure", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "byref", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_char_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_int", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_size_t", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_void_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CDLL", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CFUNCTYPE", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "POINTER", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "Structure", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "byref", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_char_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_int", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_size_t", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_void_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CDLL", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CFUNCTYPE", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "POINTER", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "Structure", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "byref", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_char_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_int", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_size_t", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_void_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CDLL", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CFUNCTYPE", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "POINTER", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "Structure", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "byref", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_char_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_int", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_size_t", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_void_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CDLL", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CFUNCTYPE", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "POINTER", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "Structure", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "byref", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_char_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_int", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_size_t", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_void_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CDLL", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CFUNCTYPE", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "POINTER", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "Structure", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "byref", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_char_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_int", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_size_t", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_void_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CDLL", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CFUNCTYPE", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "POINTER", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "Structure", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "byref", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_char_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_int", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_size_t", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_void_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CDLL", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CFUNCTYPE", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "POINTER", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "Structure", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "byref", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_char_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_int", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_size_t", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_void_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CDLL", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CFUNCTYPE", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "POINTER", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "Structure", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "byref", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_char_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_int", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_size_t", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_void_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CDLL", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "CFUNCTYPE", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "POINTER", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "Structure", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "byref", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_char_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_int", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_size_t", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_void_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "_SimpleCData", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "wintypes", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_void_p", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "sizeof", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "*", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "Structure", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "c_int", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "POINTER", "importPath": "ctypes", "description": "ctypes", "isExtraImport": true, "detail": "ctypes", "documentation": {} }, { "label": "find_library", "importPath": "ctypes.util", "description": "ctypes.util", "isExtraImport": true, "detail": "ctypes.util", "documentation": {} }, { "label": "find_library", "importPath": "ctypes.util", "description": "ctypes.util", "isExtraImport": true, "detail": "ctypes.util", "documentation": {} }, { "label": "find_library", "importPath": "ctypes.util", "description": "ctypes.util", "isExtraImport": true, "detail": "ctypes.util", "documentation": {} }, { "label": "find_library", "importPath": "ctypes.util", "description": "ctypes.util", "isExtraImport": true, "detail": "ctypes.util", "documentation": {} }, { "label": "find_library", "importPath": "ctypes.util", "description": "ctypes.util", "isExtraImport": true, "detail": "ctypes.util", "documentation": {} }, { "label": "find_library", "importPath": "ctypes.util", "description": "ctypes.util", "isExtraImport": true, "detail": "ctypes.util", "documentation": {} }, { "label": "find_library", "importPath": "ctypes.util", "description": "ctypes.util", "isExtraImport": true, "detail": "ctypes.util", "documentation": {} }, { "label": "find_library", "importPath": "ctypes.util", "description": "ctypes.util", "isExtraImport": true, "detail": "ctypes.util", "documentation": {} }, { "label": "find_library", "importPath": "ctypes.util", "description": "ctypes.util", "isExtraImport": true, "detail": "ctypes.util", "documentation": {} }, { "label": "find_library", "importPath": "ctypes.util", "description": "ctypes.util", "isExtraImport": true, "detail": "ctypes.util", "documentation": {} }, { "label": "find_library", "importPath": "ctypes.util", "description": "ctypes.util", "isExtraImport": true, "detail": "ctypes.util", "documentation": {} }, { "label": "find_library", "importPath": "ctypes.util", "description": "ctypes.util", "isExtraImport": true, "detail": "ctypes.util", "documentation": {} }, { "label": "find_library", "importPath": "ctypes.util", "description": "ctypes.util", "isExtraImport": true, "detail": "ctypes.util", "documentation": {} }, { "label": "find_library", "importPath": "ctypes.util", "description": "ctypes.util", "isExtraImport": true, "detail": "ctypes.util", "documentation": {} }, { "label": "json", "kind": 6, "isExtraImport": true, "importPath": "json", "description": "json", "detail": "json", "documentation": {} }, { "label": "scanner", "importPath": "json", "description": "json", "isExtraImport": true, "detail": "json", "documentation": {} }, { "label": "struct", "kind": 6, "isExtraImport": true, "importPath": "struct", "description": "struct", "detail": "struct", "documentation": {} }, { "label": "calcsize", "importPath": "struct", "description": "struct", "isExtraImport": true, "detail": "struct", "documentation": {} }, { "label": "time", "kind": 6, "isExtraImport": true, "importPath": "time", "description": "time", "detail": "time", "documentation": {} }, { "label": "asctime", "importPath": "time", "description": "time", "isExtraImport": true, "detail": "time", "documentation": {} }, { "label": "collections", "kind": 6, "isExtraImport": true, "importPath": "collections", "description": "collections", "detail": "collections", "documentation": {} }, { "label": "defaultdict", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "namedtuple", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "defaultdict", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "namedtuple", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "defaultdict", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "namedtuple", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "defaultdict", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "namedtuple", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "defaultdict", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "namedtuple", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "defaultdict", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "namedtuple", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "defaultdict", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "namedtuple", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "defaultdict", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "namedtuple", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "defaultdict", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "namedtuple", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "defaultdict", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "namedtuple", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "defaultdict", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "namedtuple", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "namedtuple", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "defaultdict", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "deque", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "deque", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "namedtuple", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "namedtuple", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "defaultdict", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "defaultdict", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "OrderedDict", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "OrderedDict", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "OrderedDict", "importPath": "collections", "description": "collections", "isExtraImport": true, "detail": "collections", "documentation": {} }, { "label": "uuid", "kind": 6, "isExtraImport": true, "importPath": "uuid", "description": "uuid", "detail": "uuid", "documentation": {} }, { "label": "uuid4", "importPath": "uuid", "description": "uuid", "isExtraImport": true, "detail": "uuid", "documentation": {} }, { "label": "uuid4", "importPath": "uuid", "description": "uuid", "isExtraImport": true, "detail": "uuid", "documentation": {} }, { "label": "uuid4", "importPath": "uuid", "description": "uuid", "isExtraImport": true, "detail": "uuid", "documentation": {} }, { "label": "uuid4", "importPath": "uuid", "description": "uuid", "isExtraImport": true, "detail": "uuid", "documentation": {} }, { "label": "uuid4", "importPath": "uuid", "description": "uuid", "isExtraImport": true, "detail": "uuid", "documentation": {} }, { "label": "uuid4", "importPath": "uuid", "description": "uuid", "isExtraImport": true, "detail": "uuid", "documentation": {} }, { "label": "uuid4", "importPath": "uuid", "description": "uuid", "isExtraImport": true, "detail": "uuid", "documentation": {} }, { "label": "uuid4", "importPath": "uuid", "description": "uuid", "isExtraImport": true, "detail": "uuid", "documentation": {} }, { "label": "uuid4", "importPath": "uuid", "description": "uuid", "isExtraImport": true, "detail": "uuid", "documentation": {} }, { "label": "uuid4", "importPath": "uuid", "description": "uuid", "isExtraImport": true, "detail": "uuid", "documentation": {} }, { "label": "uuid4", "importPath": "uuid", "description": "uuid", "isExtraImport": true, "detail": "uuid", "documentation": {} }, { "label": "tornado.escape", "kind": 6, "isExtraImport": true, "importPath": "tornado.escape", "description": "tornado.escape", "detail": "tornado.escape", "documentation": {} }, { "label": "tornado.options", "kind": 6, "isExtraImport": true, "importPath": "tornado.options", "description": "tornado.options", "detail": "tornado.options", "documentation": {} }, { "label": "tornado.process", "kind": 6, "isExtraImport": true, "importPath": "tornado.process", "description": "tornado.process", "detail": "tornado.process", "documentation": {} }, { "label": "tornado.web", "kind": 6, "isExtraImport": true, "importPath": "tornado.web", "description": "tornado.web", "detail": "tornado.web", "documentation": {} }, { "label": "tornado.websocket", "kind": 6, "isExtraImport": true, "importPath": "tornado.websocket", "description": "tornado.websocket", "detail": "tornado.websocket", "documentation": {} }, { "label": "Terminal", "importPath": "butterfly.terminal", "description": "butterfly.terminal", "isExtraImport": true, "detail": "butterfly.terminal", "documentation": {} }, { "label": "Terminal", "importPath": "butterfly.terminal", "description": "butterfly.terminal", "isExtraImport": true, "detail": "butterfly.terminal", "documentation": {} }, { "label": "Terminal", "importPath": "butterfly.terminal", "description": "butterfly.terminal", "isExtraImport": true, "detail": "butterfly.terminal", "documentation": {} }, { "label": "Terminal", "importPath": "butterfly.terminal", "description": "butterfly.terminal", "isExtraImport": true, "detail": "butterfly.terminal", "documentation": {} }, { "label": "Terminal", "importPath": "butterfly.terminal", "description": "butterfly.terminal", "isExtraImport": true, "detail": "butterfly.terminal", "documentation": {} }, { "label": "Terminal", "importPath": "butterfly.terminal", "description": "butterfly.terminal", "isExtraImport": true, "detail": "butterfly.terminal", "documentation": {} }, { "label": "Terminal", "importPath": "butterfly.terminal", "description": "butterfly.terminal", "isExtraImport": true, "detail": "butterfly.terminal", "documentation": {} }, { "label": "Terminal", "importPath": "butterfly.terminal", "description": "butterfly.terminal", "isExtraImport": true, "detail": "butterfly.terminal", "documentation": {} }, { "label": "Terminal", "importPath": "butterfly.terminal", "description": "butterfly.terminal", "isExtraImport": true, "detail": "butterfly.terminal", "documentation": {} }, { "label": "Terminal", "importPath": "butterfly.terminal", "description": "butterfly.terminal", "isExtraImport": true, "detail": "butterfly.terminal", "documentation": {} }, { "label": "Terminal", "importPath": "butterfly.terminal", "description": "butterfly.terminal", "isExtraImport": true, "detail": "butterfly.terminal", "documentation": {} }, { "label": "fcntl", "kind": 6, "isExtraImport": true, "importPath": "fcntl", "description": "fcntl", "detail": "fcntl", "documentation": {} }, { "label": "io", "kind": 6, "isExtraImport": true, "importPath": "io", "description": "io", "detail": "io", "documentation": {} }, { "label": "StringIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "BytesIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "BytesIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "StringIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "StringIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "BytesIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "StringIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "BytesIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "StringIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "StringIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "TextIOWrapper", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "BytesIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "BytesIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "BytesIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "TextIOWrapper", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "StringIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "StringIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "BytesIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "StringIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "StringIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "StringIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "StringIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "StringIO", "importPath": "io", "description": "io", "isExtraImport": true, "detail": "io", "documentation": {} }, { "label": "pty", "kind": 6, "isExtraImport": true, "importPath": "pty", "description": "pty", "detail": "pty", "documentation": {} }, { "label": "random", "kind": 6, "isExtraImport": true, "importPath": "random", "description": "random", "detail": "random", "documentation": {} }, { "label": "choice", "importPath": "random", "description": "random", "isExtraImport": true, "detail": "random", "documentation": {} }, { "label": "signal", "kind": 6, "isExtraImport": true, "importPath": "signal", "description": "signal", "detail": "signal", "documentation": {} }, { "label": "string", "kind": 6, "isExtraImport": true, "importPath": "string", "description": "string", "detail": "string", "documentation": {} }, { "label": "ascii_letters", "importPath": "string", "description": "string", "isExtraImport": true, "detail": "string", "documentation": {} }, { "label": "ascii_letters", "importPath": "string", "description": "string", "isExtraImport": true, "detail": "string", "documentation": {} }, { "label": "digits", "importPath": "string", "description": "string", "isExtraImport": true, "detail": "string", "documentation": {} }, { "label": "hexdigits", "importPath": "string", "description": "string", "isExtraImport": true, "detail": "string", "documentation": {} }, { "label": "ascii_letters", "importPath": "string", "description": "string", "isExtraImport": true, "detail": "string", "documentation": {} }, { "label": "digits", "importPath": "string", "description": "string", "isExtraImport": true, "detail": "string", "documentation": {} }, { "label": "hexdigits", "importPath": "string", "description": "string", "isExtraImport": true, "detail": "string", "documentation": {} }, { "label": "logging", "kind": 6, "isExtraImport": true, "importPath": "logging", "description": "logging", "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "getLogger", "importPath": "logging", "description": "logging", "isExtraImport": true, "detail": "logging", "documentation": {} }, { "label": "tornado.ioloop", "kind": 6, "isExtraImport": true, "importPath": "tornado.ioloop", "description": "tornado.ioloop", "detail": "tornado.ioloop", "documentation": {} }, { "label": "pwd", "kind": 6, "isExtraImport": true, "importPath": "pwd", "description": "pwd", "detail": "pwd", "documentation": {} }, { "label": "re", "kind": 6, "isExtraImport": true, "importPath": "re", "description": "re", "detail": "re", "documentation": {} }, { "label": "tornado.httpserver", "kind": 6, "isExtraImport": true, "importPath": "tornado.httpserver", "description": "tornado.httpserver", "detail": "tornado.httpserver", "documentation": {} }, { "label": "ssl", "kind": 6, "isExtraImport": true, "importPath": "ssl", "description": "ssl", "detail": "ssl", "documentation": {} }, { "label": "getpass", "kind": 6, "isExtraImport": true, "importPath": "getpass", "description": "getpass", "detail": "getpass", "documentation": {} }, { "label": "shutil", "kind": 6, "isExtraImport": true, "importPath": "shutil", "description": "shutil", "detail": "shutil", "documentation": {} }, { "label": "stat", "kind": 6, "isExtraImport": true, "importPath": "stat", "description": "stat", "detail": "stat", "documentation": {} }, { "label": "ST_MODE", "importPath": "stat", "description": "stat", "isExtraImport": true, "detail": "stat", "documentation": {} }, { "label": "ST_MODE", "importPath": "stat", "description": "stat", "isExtraImport": true, "detail": "stat", "documentation": {} }, { "label": "ST_DEV", "importPath": "stat", "description": "stat", "isExtraImport": true, "detail": "stat", "documentation": {} }, { "label": "ST_INO", "importPath": "stat", "description": "stat", "isExtraImport": true, "detail": "stat", "documentation": {} }, { "label": "ST_MTIME", "importPath": "stat", "description": "stat", "isExtraImport": true, "detail": "stat", "documentation": {} }, { "label": "socket", "kind": 6, "isExtraImport": true, "importPath": "socket", "description": "socket", "detail": "socket", "documentation": {} }, { "label": "os.path", "kind": 6, "isExtraImport": true, "importPath": "os.path", "description": "os.path", "detail": "os.path", "documentation": {} }, { "label": "join", "importPath": "os.path", "description": "os.path", "isExtraImport": true, "detail": "os.path", "documentation": {} }, { "label": "splitext", "importPath": "os.path", "description": "os.path", "isExtraImport": true, "detail": "os.path", "documentation": {} }, { "label": "abspath", "importPath": "os.path", "description": "os.path", "isExtraImport": true, "detail": "os.path", "documentation": {} }, { "label": "exists", "importPath": "os.path", "description": "os.path", "isExtraImport": true, "detail": "os.path", "documentation": {} }, { "label": "splitdrive", "importPath": "os.path", "description": "os.path", "isExtraImport": true, "detail": "os.path", "documentation": {} }, { "label": "join", "importPath": "os.path", "description": "os.path", "isExtraImport": true, "detail": "os.path", "documentation": {} }, { "label": "abspath", "importPath": "os.path", "description": "os.path", "isExtraImport": true, "detail": "os.path", "documentation": {} }, { "label": "dirname", "importPath": "os.path", "description": "os.path", "isExtraImport": true, "detail": "os.path", "documentation": {} }, { "label": "join", "importPath": "os.path", "description": "os.path", "isExtraImport": true, "detail": "os.path", "documentation": {} }, { "label": "abspath", "importPath": "os.path", "description": "os.path", "isExtraImport": true, "detail": "os.path", "documentation": {} }, { "label": "dirname", "importPath": "os.path", "description": "os.path", "isExtraImport": true, "detail": "os.path", "documentation": {} }, { "label": "isfile", "importPath": "os.path", "description": "os.path", "isExtraImport": true, "detail": "os.path", "documentation": {} }, { "label": "join", "importPath": "os.path", "description": "os.path", "isExtraImport": true, "detail": "os.path", "documentation": {} }, { "label": "expanduser", "importPath": "os.path", "description": "os.path", "isExtraImport": true, "detail": "os.path", "documentation": {} }, { "label": "dirname", "importPath": "os.path", "description": "os.path", "isExtraImport": true, "detail": "os.path", "documentation": {} }, { "label": "join", "importPath": "os.path", "description": "os.path", "isExtraImport": true, "detail": "os.path", "documentation": {} }, { "label": "exists", "importPath": "os.path", "description": "os.path", "isExtraImport": true, "detail": "os.path", "documentation": {} }, { "label": "sep", "importPath": "os.path", "description": "os.path", "isExtraImport": true, "detail": "os.path", "documentation": {} }, { "label": "pkgutil", "kind": 6, "isExtraImport": true, "importPath": "pkgutil", "description": "pkgutil", "detail": "pkgutil", "documentation": {} }, { "label": "tempfile", "kind": 6, "isExtraImport": true, "importPath": "tempfile", "description": "tempfile", "detail": "tempfile", "documentation": {} }, { "label": "setup", "importPath": "setuptools", "description": "setuptools", "isExtraImport": true, "detail": "setuptools", "documentation": {} }, { "label": "setup", "importPath": "setuptools", "description": "setuptools", "isExtraImport": true, "detail": "setuptools", "documentation": {} }, { "label": "setup", "importPath": "setuptools", "description": "setuptools", "isExtraImport": true, "detail": "setuptools", "documentation": {} }, { "label": "setup", "importPath": "setuptools", "description": "setuptools", "isExtraImport": true, "detail": "setuptools", "documentation": {} }, { "label": "setup", "importPath": "setuptools", "description": "setuptools", "isExtraImport": true, "detail": "setuptools", "documentation": {} }, { "label": "find_packages", "importPath": "setuptools", "description": "setuptools", "isExtraImport": true, "detail": "setuptools", "documentation": {} }, { "label": "setup", "importPath": "setuptools", "description": "setuptools", "isExtraImport": true, "detail": "setuptools", "documentation": {} }, { "label": "setup", "importPath": "setuptools", "description": "setuptools", "isExtraImport": true, "detail": "setuptools", "documentation": {} }, { "label": "Command", "importPath": "setuptools", "description": "setuptools", "isExtraImport": true, "detail": "setuptools", "documentation": {} }, { "label": "os,", "kind": 6, "isExtraImport": true, "importPath": "os.", "description": "os.", "detail": "os.", "documentation": {} }, { "label": "numpy", "kind": 6, "isExtraImport": true, "importPath": "numpy", "description": "numpy", "detail": "numpy", "documentation": {} }, { "label": "Fore", "importPath": "colorama", "description": "colorama", "isExtraImport": true, "detail": "colorama", "documentation": {} }, { "label": "Style", "importPath": "colorama", "description": "colorama", "isExtraImport": true, "detail": "colorama", "documentation": {} }, { "label": "init", "importPath": "colorama", "description": "colorama", "isExtraImport": true, "detail": "colorama", "documentation": {} }, { "label": "print_function", "importPath": "__future__", "description": "__future__", "isExtraImport": true, "detail": "__future__", "documentation": {} }, { "label": "print_function", "importPath": "__future__", "description": "__future__", "isExtraImport": true, "detail": "__future__", "documentation": {} }, { "label": "print_function", "importPath": "__future__", "description": "__future__", "isExtraImport": true, "detail": "__future__", "documentation": {} }, { "label": "annotations", "importPath": "__future__", "description": "__future__", "isExtraImport": true, "detail": "__future__", "documentation": {} }, { "label": "print_function", "importPath": "__future__", "description": "__future__", "isExtraImport": true, "detail": "__future__", "documentation": {} }, { "label": "foo is replaced with an empty line.", "importPath": "__future__", "description": "__future__", "isExtraImport": true, "detail": "__future__", "documentation": {} }, { "label": "print_function", "importPath": "__future__", "description": "__future__", "isExtraImport": true, "detail": "__future__", "documentation": {} }, { "label": "print_function", "importPath": "__future__", "description": "__future__", "isExtraImport": true, "detail": "__future__", "documentation": {} }, { "label": "with_statement", "importPath": "__future__", "description": "__future__", "isExtraImport": true, "detail": "__future__", "documentation": {} }, { "label": "print_function", "importPath": "__future__", "description": "__future__", "isExtraImport": true, "detail": "__future__", "documentation": {} }, { "label": "annotations", "importPath": "__future__", "description": "__future__", "isExtraImport": true, "detail": "__future__", "documentation": {} }, { "label": "annotations", "importPath": "__future__", "description": "__future__", "isExtraImport": true, "detail": "__future__", "documentation": {} }, { "label": "lldb", "kind": 6, "isExtraImport": true, "importPath": "lldb", "description": "lldb", "detail": "lldb", "documentation": {} }, { "label": "glob", "kind": 6, "isExtraImport": true, "importPath": "glob", "description": "glob", "detail": "glob", "documentation": {} }, { "label": "glob", "importPath": "glob", "description": "glob", "isExtraImport": true, "detail": "glob", "documentation": {} }, { "label": "glob", "importPath": "glob", "description": "glob", "isExtraImport": true, "detail": "glob", "documentation": {} }, { "label": "atexit", "kind": 6, "isExtraImport": true, "importPath": "atexit", "description": "atexit", "detail": "atexit", "documentation": {} }, { "label": "BoardHints", "importPath": "arc.hints", "description": "arc.hints", "isExtraImport": true, "detail": "arc.hints", "documentation": {} }, { "label": "Hints", "importPath": "arc.hints", "description": "arc.hints", "isExtraImport": true, "detail": "arc.hints", "documentation": {} }, { "label": "Hints", "importPath": "arc.hints", "description": "arc.hints", "isExtraImport": true, "detail": "arc.hints", "documentation": {} }, { "label": "Board", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "BoardPair", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "RiddleSolution", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "TaskData", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "TopKList", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "Riddle", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "EvalResult", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "EvalResultList", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "Riddle", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "TaskData", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "Board", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "BoardPair", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "Riddle", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "Board", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "BoardPair", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "EvalResult", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "EvalResultList", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "TopKList", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "EvalResultList", "importPath": "arc.interface", "description": "arc.interface", "isExtraImport": true, "detail": "arc.interface", "documentation": {} }, { "label": "Agent", "importPath": "arc", "description": "arc", "isExtraImport": true, "detail": "arc", "documentation": {} }, { "label": "Board", "importPath": "arc", "description": "arc", "isExtraImport": true, "detail": "arc", "documentation": {} }, { "label": "BoardHints", "importPath": "arc", "description": "arc", "isExtraImport": true, "detail": "arc", "documentation": {} }, { "label": "BoardPair", "importPath": "arc", "description": "arc", "isExtraImport": true, "detail": "arc", "documentation": {} }, { "label": "TaskData", "importPath": "arc", "description": "arc", "isExtraImport": true, "detail": "arc", "documentation": {} }, { "label": "TopKList", "importPath": "arc", "description": "arc", "isExtraImport": true, "detail": "arc", "documentation": {} }, { "label": "TaskData", "importPath": "arc", "description": "arc", "isExtraImport": true, "detail": "arc", "documentation": {} }, { "label": "TaskData", "importPath": "arc", "description": "arc", "isExtraImport": true, "detail": "arc", "documentation": {} }, { "label": "evaluate_and_report", "importPath": "arc", "description": "arc", "isExtraImport": true, "detail": "arc", "documentation": {} }, { "label": "TaskData", "importPath": "arc", "description": "arc", "isExtraImport": true, "detail": "arc", "documentation": {} }, { "label": "evaluate_and_report", "importPath": "arc", "description": "arc", "isExtraImport": true, "detail": "arc", "documentation": {} }, { "label": "pathlib", "kind": 6, "isExtraImport": true, "importPath": "pathlib", "description": "pathlib", "detail": "pathlib", "documentation": {} }, { "label": "Path", "importPath": "pathlib", "description": "pathlib", "isExtraImport": true, "detail": "pathlib", "documentation": {} }, { "label": "Path", "importPath": "pathlib", "description": "pathlib", "isExtraImport": true, "detail": "pathlib", "documentation": {} }, { "label": "Path", "importPath": "pathlib", "description": "pathlib", "isExtraImport": true, "detail": "pathlib", "documentation": {} }, { "label": "Path", "importPath": "pathlib", "description": "pathlib", "isExtraImport": true, "detail": "pathlib", "documentation": {} }, { "label": "Path", "importPath": "pathlib", "description": "pathlib", "isExtraImport": true, "detail": "pathlib", "documentation": {} }, { "label": "Path", "importPath": "pathlib", "description": "pathlib", "isExtraImport": true, "detail": "pathlib", "documentation": {} }, { "label": "Path", "importPath": "pathlib", "description": "pathlib", "isExtraImport": true, "detail": "pathlib", "documentation": {} }, { "label": "Path", "importPath": "pathlib", "description": "pathlib", "isExtraImport": true, "detail": "pathlib", "documentation": {} }, { "label": "Path", "importPath": "pathlib", "description": "pathlib", "isExtraImport": true, "detail": "pathlib", "documentation": {} }, { "label": "PurePath", "importPath": "pathlib", "description": "pathlib", "isExtraImport": true, "detail": "pathlib", "documentation": {} }, { "label": "Path", "importPath": "pathlib", "description": "pathlib", "isExtraImport": true, "detail": "pathlib", "documentation": {} }, { "label": "pytest", "kind": 6, "isExtraImport": true, "importPath": "pytest", "description": "pytest", "detail": "pytest", "documentation": {} }, { "label": "arc.eval", "kind": 6, "isExtraImport": true, "importPath": "arc.eval", "description": "arc.eval", "detail": "arc.eval", "documentation": {} }, { "label": "CheatingAgent", "importPath": "arc.agents.dummy_agents", "description": "arc.agents.dummy_agents", "isExtraImport": true, "detail": "arc.agents.dummy_agents", "documentation": {} }, { "label": "CheatingAgent", "importPath": "arc.agents.dummy_agents", "description": "arc.agents.dummy_agents", "isExtraImport": true, "detail": "arc.agents.dummy_agents", "documentation": {} }, { "label": "get_default_metrics", "importPath": "arc.metrics", "description": "arc.metrics", "isExtraImport": true, "detail": "arc.metrics", "documentation": {} }, { "label": "get_all_metrics", "importPath": "arc.metrics", "description": "arc.metrics", "isExtraImport": true, "detail": "arc.metrics", "documentation": {} }, { "label": "get_default_metrics", "importPath": "arc.metrics", "description": "arc.metrics", "isExtraImport": true, "detail": "arc.metrics", "documentation": {} }, { "label": "Metric", "importPath": "arc.metrics", "description": "arc.metrics", "isExtraImport": true, "detail": "arc.metrics", "documentation": {} }, { "label": "MetricResultDict", "importPath": "arc.metrics", "description": "arc.metrics", "isExtraImport": true, "detail": "arc.metrics", "documentation": {} }, { "label": "MetricResultDict", "importPath": "arc.metrics", "description": "arc.metrics", "isExtraImport": true, "detail": "arc.metrics", "documentation": {} }, { "label": "InverseRankOfCorrectMetric", "importPath": "arc.metrics", "description": "arc.metrics", "isExtraImport": true, "detail": "arc.metrics", "documentation": {} }, { "label": "get_default_metrics", "importPath": "arc.metrics", "description": "arc.metrics", "isExtraImport": true, "detail": "arc.metrics", "documentation": {} }, { "label": "settings", "importPath": "arc.settings", "description": "arc.settings", "isExtraImport": true, "detail": "arc.settings", "documentation": {} }, { "label": "settings", "importPath": "arc.settings", "description": "arc.settings", "isExtraImport": true, "detail": "arc.settings", "documentation": {} }, { "label": "settings", "importPath": "arc.settings", "description": "arc.settings", "isExtraImport": true, "detail": "arc.settings", "documentation": {} }, { "label": "settings", "importPath": "arc.settings", "description": "arc.settings", "isExtraImport": true, "detail": "arc.settings", "documentation": {} }, { "label": "settings", "importPath": "arc.settings", "description": "arc.settings", "isExtraImport": true, "detail": "arc.settings", "documentation": {} }, { "label": "dataset", "importPath": "arc.utils", "description": "arc.utils", "isExtraImport": true, "detail": "arc.utils", "documentation": {} }, { "label": "cache", "importPath": "arc.utils", "description": "arc.utils", "isExtraImport": true, "detail": "arc.utils", "documentation": {} }, { "label": "dataset", "importPath": "arc.utils", "description": "arc.utils", "isExtraImport": true, "detail": "arc.utils", "documentation": {} }, { "label": "dataset", "importPath": "arc.utils", "description": "arc.utils", "isExtraImport": true, "detail": "arc.utils", "documentation": {} }, { "label": "filelock", "kind": 6, "isExtraImport": true, "importPath": "filelock", "description": "filelock", "detail": "filelock", "documentation": {} }, { "label": "itertools", "kind": 6, "isExtraImport": true, "importPath": "itertools", "description": "itertools", "detail": "itertools", "documentation": {} }, { "label": "*", "importPath": "itertools", "description": "itertools", "isExtraImport": true, "detail": "itertools", "documentation": {} }, { "label": "count", "importPath": "itertools", "description": "itertools", "isExtraImport": true, "detail": "itertools", "documentation": {} }, { "label": "chain", "importPath": "itertools", "description": "itertools", "isExtraImport": true, "detail": "itertools", "documentation": {} }, { "label": "filterfalse", "importPath": "itertools", "description": "itertools", "isExtraImport": true, "detail": "itertools", "documentation": {} }, { "label": "chain", "importPath": "itertools", "description": "itertools", "isExtraImport": true, "detail": "itertools", "documentation": {} }, { "label": "chain", "importPath": "itertools", "description": "itertools", "isExtraImport": true, "detail": "itertools", "documentation": {} }, { "label": "chain", "importPath": "itertools", "description": "itertools", "isExtraImport": true, "detail": "itertools", "documentation": {} }, { "label": "cycle", "importPath": "itertools", "description": "itertools", "isExtraImport": true, "detail": "itertools", "documentation": {} }, { "label": "islice", "importPath": "itertools", "description": "itertools", "isExtraImport": true, "detail": "itertools", "documentation": {} }, { "label": "futures", "importPath": "concurrent", "description": "concurrent", "isExtraImport": true, "detail": "concurrent", "documentation": {} }, { "label": "typing", "kind": 6, "isExtraImport": true, "importPath": "typing", "description": "typing", "detail": "typing", "documentation": {} }, { "label": "Optional", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Optional", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Callable", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Optional", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Callable", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Generic", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Optional", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "TypeVar", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Optional", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Any", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Dict", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Iterator", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "List", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Protocol", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "TypeVar", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Union", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "BinaryIO", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Iterable", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Text", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Protocol", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "runtime_checkable", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "ContextManager", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Iterable", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Union", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "cast", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Union", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Any", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Optional", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "NamedTuple", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "NoReturn", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Literal", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Any", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Dict", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Union", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Dict", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Set", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Dict", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "Any", "importPath": "typing", "description": "typing", "isExtraImport": true, "detail": "typing", "documentation": {} }, { "label": "requests", "kind": 6, "isExtraImport": true, "importPath": "requests", "description": "requests", "detail": "requests", "documentation": {} }, { "label": "tqdm", "kind": 6, "isExtraImport": true, "importPath": "tqdm", "description": "tqdm", "detail": "tqdm", "documentation": {} }, { "label": "logger", "importPath": "loguru", "description": "loguru", "isExtraImport": true, "detail": "loguru", "documentation": {} }, { "label": "logger", "importPath": "loguru", "description": "loguru", "isExtraImport": true, "detail": "loguru", "documentation": {} }, { "label": "importlib", "kind": 6, "isExtraImport": true, "importPath": "importlib", "description": "importlib", "detail": "importlib", "documentation": {} }, { "label": "import_module", "importPath": "importlib", "description": "importlib", "isExtraImport": true, "detail": "importlib", "documentation": {} }, { "label": "import_module", "importPath": "importlib", "description": "importlib", "isExtraImport": true, "detail": "importlib", "documentation": {} }, { "label": "_bootstrap_external", "importPath": "importlib", "description": "importlib", "isExtraImport": true, "detail": "importlib", "documentation": {} }, { "label": "machinery", "importPath": "importlib", "description": "importlib", "isExtraImport": true, "detail": "importlib", "documentation": {} }, { "label": "resources", "importPath": "importlib", "description": "importlib", "isExtraImport": true, "detail": "importlib", "documentation": {} }, { "label": "abc", "importPath": "importlib", "description": "importlib", "isExtraImport": true, "detail": "importlib", "documentation": {} }, { "label": "util", "importPath": "importlib", "description": "importlib", "isExtraImport": true, "detail": "importlib", "documentation": {} }, { "label": "resources", "importPath": "importlib", "description": "importlib", "isExtraImport": true, "detail": "importlib", "documentation": {} }, { "label": "resources", "importPath": "importlib", "description": "importlib", "isExtraImport": true, "detail": "importlib", "documentation": {} }, { "label": "import_module", "importPath": "importlib", "description": "importlib", "isExtraImport": true, "detail": "importlib", "documentation": {} }, { "label": "resources", "importPath": "importlib", "description": "importlib", "isExtraImport": true, "detail": "importlib", "documentation": {} }, { "label": "import_module", "importPath": "importlib", "description": "importlib", "isExtraImport": true, "detail": "importlib", "documentation": {} }, { "label": "resources", "importPath": "importlib", "description": "importlib", "isExtraImport": true, "detail": "importlib", "documentation": {} }, { "label": "import_module", "importPath": "importlib", "description": "importlib", "isExtraImport": true, "detail": "importlib", "documentation": {} }, { "label": "resources", "importPath": "importlib", "description": "importlib", "isExtraImport": true, "detail": "importlib", "documentation": {} }, { "label": "machinery", "importPath": "importlib", "description": "importlib", "isExtraImport": true, "detail": "importlib", "documentation": {} }, { "label": "util", "importPath": "importlib", "description": "importlib", "isExtraImport": true, "detail": "importlib", "documentation": {} }, { "label": "invalidate_caches", "importPath": "importlib", "description": "importlib", "isExtraImport": true, "detail": "importlib", "documentation": {} }, { "label": "typer", "kind": 6, "isExtraImport": true, "importPath": "typer", "description": "typer", "detail": "typer", "documentation": {} }, { "label": "pyplot", "importPath": "matplotlib", "description": "matplotlib", "isExtraImport": true, "detail": "matplotlib", "documentation": {} }, { "label": "pyplot", "importPath": "matplotlib", "description": "matplotlib", "isExtraImport": true, "detail": "matplotlib", "documentation": {} }, { "label": "Agent", "importPath": "arc.agents", "description": "arc.agents", "isExtraImport": true, "detail": "arc.agents", "documentation": {} }, { "label": "Report", "importPath": "arc.report", "description": "arc.report", "isExtraImport": true, "detail": "arc.report", "documentation": {} }, { "label": "functools", "kind": 6, "isExtraImport": true, "importPath": "functools", "description": "functools", "detail": "functools", "documentation": {} }, { "label": "partial", "importPath": "functools", "description": "functools", "isExtraImport": true, "detail": "functools", "documentation": {} }, { "label": "partial", "importPath": "functools", "description": "functools", "isExtraImport": true, "detail": "functools", "documentation": {} }, { "label": "partial", "importPath": "functools", "description": "functools", "isExtraImport": true, "detail": "functools", "documentation": {} }, { "label": "partial", "importPath": "functools", "description": "functools", "isExtraImport": true, "detail": "functools", "documentation": {} }, { "label": "wraps", "importPath": "functools", "description": "functools", "isExtraImport": true, "detail": "functools", "documentation": {} }, { "label": "wraps", "importPath": "functools", "description": "functools", "isExtraImport": true, "detail": "functools", "documentation": {} }, { "label": "singledispatch", "importPath": "functools", "description": "functools", "isExtraImport": true, "detail": "functools", "documentation": {} }, { "label": "partial", "importPath": "functools", "description": "functools", "isExtraImport": true, "detail": "functools", "documentation": {} }, { "label": "cached_property", "importPath": "functools", "description": "functools", "isExtraImport": true, "detail": "functools", "documentation": {} }, { "label": "pydantic", "kind": 6, "isExtraImport": true, "importPath": "pydantic", "description": "pydantic", "detail": "pydantic", "documentation": {} }, { "label": "attr", "importPath": "colored", "description": "colored", "isExtraImport": true, "detail": "colored", "documentation": {} }, { "label": "bg", "importPath": "colored", "description": "colored", "isExtraImport": true, "detail": "colored", "documentation": {} }, { "label": "fg", "importPath": "colored", "description": "colored", "isExtraImport": true, "detail": "colored", "documentation": {} }, { "label": "pydantic.generics", "kind": 6, "isExtraImport": true, "importPath": "pydantic.generics", "description": "pydantic.generics", "detail": "pydantic.generics", "documentation": {} }, { "label": "datetime", "kind": 6, "isExtraImport": true, "importPath": "datetime", "description": "datetime", "detail": "datetime", "documentation": {} }, { "label": "tzinfo", "importPath": "datetime", "description": "datetime", "isExtraImport": true, "detail": "datetime", "documentation": {} }, { "label": "timedelta", "importPath": "datetime", "description": "datetime", "isExtraImport": true, "detail": "datetime", "documentation": {} }, { "label": "datetime", "importPath": "datetime", "description": "datetime", "isExtraImport": true, "detail": "datetime", "documentation": {} }, { "label": "date", "importPath": "datetime", "description": "datetime", "isExtraImport": true, "detail": "datetime", "documentation": {} }, { "label": "datetime", "importPath": "datetime", "description": "datetime", "isExtraImport": true, "detail": "datetime", "documentation": {} }, { "label": "time", "importPath": "datetime", "description": "datetime", "isExtraImport": true, "detail": "datetime", "documentation": {} }, { "label": "timedelta", "importPath": "datetime", "description": "datetime", "isExtraImport": true, "detail": "datetime", "documentation": {} }, { "label": "timezone", "importPath": "datetime", "description": "datetime", "isExtraImport": true, "detail": "datetime", "documentation": {} }, { "label": "tabulate", "kind": 6, "isExtraImport": true, "importPath": "tabulate", "description": "tabulate", "detail": "tabulate", "documentation": {} }, { "label": "*", "importPath": "hyperon", "description": "hyperon", "isExtraImport": true, "detail": "hyperon", "documentation": {} }, { "label": "*", "importPath": "hyperon", "description": "hyperon", "isExtraImport": true, "detail": "hyperon", "documentation": {} }, { "label": "*", "importPath": "hyperon", "description": "hyperon", "isExtraImport": true, "detail": "hyperon", "documentation": {} }, { "label": "*", "importPath": "hyperon", "description": "hyperon", "isExtraImport": true, "detail": "hyperon", "documentation": {} }, { "label": "*", "importPath": "hyperon", "description": "hyperon", "isExtraImport": true, "detail": "hyperon", "documentation": {} }, { "label": "*", "importPath": "hyperon", "description": "hyperon", "isExtraImport": true, "detail": "hyperon", "documentation": {} }, { "label": "*", "importPath": "hyperon", "description": "hyperon", "isExtraImport": true, "detail": "hyperon", "documentation": {} }, { "label": "*", "importPath": "hyperon", "description": "hyperon", "isExtraImport": true, "detail": "hyperon", "documentation": {} }, { "label": "*", "importPath": "hyperon", "description": "hyperon", "isExtraImport": true, "detail": "hyperon", "documentation": {} }, { "label": "*", "importPath": "hyperon", "description": "hyperon", "isExtraImport": true, "detail": "hyperon", "documentation": {} }, { "label": "*", "importPath": "hyperon", "description": "hyperon", "isExtraImport": true, "detail": "hyperon", "documentation": {} }, { "label": "*", "importPath": "hyperon", "description": "hyperon", "isExtraImport": true, "detail": "hyperon", "documentation": {} }, { "label": "*", "importPath": "hyperon", "description": "hyperon", "isExtraImport": true, "detail": "hyperon", "documentation": {} }, { "label": "MeTTa", "importPath": "common", "description": "common", "isExtraImport": true, "detail": "common", "documentation": {} }, { "label": "MeTTa", "importPath": "common", "description": "common", "isExtraImport": true, "detail": "common", "documentation": {} }, { "label": "SpaceAtom", "importPath": "common", "description": "common", "isExtraImport": true, "detail": "common", "documentation": {} }, { "label": "MeTTa", "importPath": "common", "description": "common", "isExtraImport": true, "detail": "common", "documentation": {} }, { "label": "MeTTa", "importPath": "common", "description": "common", "isExtraImport": true, "detail": "common", "documentation": {} }, { "label": "MeTTa", "importPath": "common", "description": "common", "isExtraImport": true, "detail": "common", "documentation": {} }, { "label": "MeTTa", "importPath": "common", "description": "common", "isExtraImport": true, "detail": "common", "documentation": {} }, { "label": "SpaceAtom", "importPath": "common", "description": "common", "isExtraImport": true, "detail": "common", "documentation": {} }, { "label": "MeTTa", "importPath": "common", "description": "common", "isExtraImport": true, "detail": "common", "documentation": {} }, { "label": "MeTTa", "importPath": "common", "description": "common", "isExtraImport": true, "detail": "common", "documentation": {} }, { "label": "MeTTa", "importPath": "common", "description": "common", "isExtraImport": true, "detail": "common", "documentation": {} }, { "label": "MeTTa", "importPath": "common", "description": "common", "isExtraImport": true, "detail": "common", "documentation": {} }, { "label": "MeTTa", "importPath": "common", "description": "common", "isExtraImport": true, "detail": "common", "documentation": {} }, { "label": "unittest", "kind": 6, "isExtraImport": true, "importPath": "unittest", "description": "unittest", "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "mock", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "TestCase", "importPath": "unittest", "description": "unittest", "isExtraImport": true, "detail": "unittest", "documentation": {} }, { "label": "sysconfig", "kind": 6, "isExtraImport": true, "importPath": "sysconfig", "description": "sysconfig", "detail": "sysconfig", "documentation": {} }, { "label": "get_platform", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "_PREFIX", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "_BASE_PREFIX", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "_EXEC_PREFIX", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "_BASE_EXEC_PREFIX", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "_PROJECT_BASE", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "_PYTHON_BUILD", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "_init_posix", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "parse_config_h", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "_init_non_posix", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "_is_python_source_dir", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "_sys_home", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "_variable_rx", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "_findvar1_rx", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "_findvar2_rx", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "expand_makefile_vars", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "is_python_build", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "get_config_h_filename", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "get_config_var", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "get_config_vars", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "get_makefile_filename", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "get_python_version", "importPath": "sysconfig", "description": "sysconfig", "isExtraImport": true, "detail": "sysconfig", "documentation": {} }, { "label": "sqlite3", "kind": 6, "isExtraImport": true, "importPath": "sqlite3", "description": "sqlite3", "detail": "sqlite3", "documentation": {} }, { "label": "hashlib", "kind": 6, "isExtraImport": true, "importPath": "hashlib", "description": "hashlib", "detail": "hashlib", "documentation": {} }, { "label": "pickle", "kind": 6, "isExtraImport": true, "importPath": "pickle", "description": "pickle", "detail": "pickle", "documentation": {} }, { "label": "smtplib", "kind": 6, "isExtraImport": true, "importPath": "smtplib", "description": "smtplib", "detail": "smtplib", "documentation": {} }, { "label": "email.message", "kind": 6, "isExtraImport": true, "importPath": "email.message", "description": "email.message", "detail": "email.message", "documentation": {} }, { "label": "EmailMessage", "importPath": "email.message", "description": "email.message", "isExtraImport": true, "detail": "email.message", "documentation": {} }, { "label": "EmailMessage", "importPath": "email.message", "description": "email.message", "isExtraImport": true, "detail": "email.message", "documentation": {} }, { "label": "EmailMessage", "importPath": "email.message", "description": "email.message", "isExtraImport": true, "detail": "email.message", "documentation": {} }, { "label": "EmailMessage", "importPath": "email.message", "description": "email.message", "isExtraImport": true, "detail": "email.message", "documentation": {} }, { "label": "EmailMessage", "importPath": "email.message", "description": "email.message", "isExtraImport": true, "detail": "email.message", "documentation": {} }, { "label": "Message", "importPath": "email.message", "description": "email.message", "isExtraImport": true, "detail": "email.message", "documentation": {} }, { "label": "EmailMessage", "importPath": "email.message", "description": "email.message", "isExtraImport": true, "detail": "email.message", "documentation": {} }, { "label": "Message", "importPath": "email.message", "description": "email.message", "isExtraImport": true, "detail": "email.message", "documentation": {} }, { "label": "EmailMessage", "importPath": "email.message", "description": "email.message", "isExtraImport": true, "detail": "email.message", "documentation": {} }, { "label": "Message", "importPath": "email.message", "description": "email.message", "isExtraImport": true, "detail": "email.message", "documentation": {} }, { "label": "EmailMessage", "importPath": "email.message", "description": "email.message", "isExtraImport": true, "detail": "email.message", "documentation": {} }, { "label": "EmailMessage", "importPath": "email.message", "description": "email.message", "isExtraImport": true, "detail": "email.message", "documentation": {} }, { "label": "MIMEPart", "importPath": "email.message", "description": "email.message", "isExtraImport": true, "detail": "email.message", "documentation": {} }, { "label": "Message", "importPath": "email.message", "description": "email.message", "isExtraImport": true, "detail": "email.message", "documentation": {} }, { "label": "EmailMessage", "importPath": "email.message", "description": "email.message", "isExtraImport": true, "detail": "email.message", "documentation": {} }, { "label": "Address", "importPath": "email.headerregistry", "description": "email.headerregistry", "isExtraImport": true, "detail": "email.headerregistry", "documentation": {} }, { "label": "HeaderRegistry", "importPath": "email.headerregistry", "description": "email.headerregistry", "isExtraImport": true, "detail": "email.headerregistry", "documentation": {} }, { "label": "Address", "importPath": "email.headerregistry", "description": "email.headerregistry", "isExtraImport": true, "detail": "email.headerregistry", "documentation": {} }, { "label": "Address", "importPath": "email.headerregistry", "description": "email.headerregistry", "isExtraImport": true, "detail": "email.headerregistry", "documentation": {} }, { "label": "Group", "importPath": "email.headerregistry", "description": "email.headerregistry", "isExtraImport": true, "detail": "email.headerregistry", "documentation": {} }, { "label": "HeaderRegistry", "importPath": "email.headerregistry", "description": "email.headerregistry", "isExtraImport": true, "detail": "email.headerregistry", "documentation": {} }, { "label": "email.utils", "kind": 6, "isExtraImport": true, "importPath": "email.utils", "description": "email.utils", "detail": "email.utils", "documentation": {} }, { "label": "make_msgid", "importPath": "email.utils", "description": "email.utils", "isExtraImport": true, "detail": "email.utils", "documentation": {} }, { "label": "_has_surrogates", "importPath": "email.utils", "description": "email.utils", "isExtraImport": true, "detail": "email.utils", "documentation": {} }, { "label": "_has_surrogates", "importPath": "email.utils", "description": "email.utils", "isExtraImport": true, "detail": "email.utils", "documentation": {} }, { "label": "_has_surrogates", "importPath": "email.utils", "description": "email.utils", "isExtraImport": true, "detail": "email.utils", "documentation": {} }, { "label": "email.policy", "kind": 6, "isExtraImport": true, "importPath": "email.policy", "description": "email.policy", "detail": "email.policy", "documentation": {} }, { "label": "SMTP", "importPath": "email.policy", "description": "email.policy", "isExtraImport": true, "detail": "email.policy", "documentation": {} }, { "label": "default", "importPath": "email.policy", "description": "email.policy", "isExtraImport": true, "detail": "email.policy", "documentation": {} }, { "label": "default", "importPath": "email.policy", "description": "email.policy", "isExtraImport": true, "detail": "email.policy", "documentation": {} }, { "label": "default", "importPath": "email.policy", "description": "email.policy", "isExtraImport": true, "detail": "email.policy", "documentation": {} }, { "label": "email.parser", "kind": 6, "isExtraImport": true, "importPath": "email.parser", "description": "email.parser", "detail": "email.parser", "documentation": {} }, { "label": "BytesParser", "importPath": "email.parser", "description": "email.parser", "isExtraImport": true, "detail": "email.parser", "documentation": {} }, { "label": "Parser", "importPath": "email.parser", "description": "email.parser", "isExtraImport": true, "detail": "email.parser", "documentation": {} }, { "label": "BytesParser", "importPath": "email.parser", "description": "email.parser", "isExtraImport": true, "detail": "email.parser", "documentation": {} }, { "label": "Parser", "importPath": "email.parser", "description": "email.parser", "isExtraImport": true, "detail": "email.parser", "documentation": {} }, { "label": "HeaderParser", "importPath": "email.parser", "description": "email.parser", "isExtraImport": true, "detail": "email.parser", "documentation": {} }, { "label": "FeedParser", "importPath": "email.parser", "description": "email.parser", "isExtraImport": true, "detail": "email.parser", "documentation": {} }, { "label": "BytesFeedParser", "importPath": "email.parser", "description": "email.parser", "isExtraImport": true, "detail": "email.parser", "documentation": {} }, { "label": "imghdr", "kind": 6, "isExtraImport": true, "importPath": "imghdr", "description": "imghdr", "detail": "imghdr", "documentation": {} }, { "label": "email", "kind": 6, "isExtraImport": true, "importPath": "email", "description": "email", "detail": "email", "documentation": {} }, { "label": "policy", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "message_from_file", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "encoders", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "encoders", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "message", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "encoders", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "message", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "errors", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "errors", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "quoprimime", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "errors", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "charset", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "utils", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "errors", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "_header_value_parser", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "utils", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "errors", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "charset", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "errors", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "_encoded_words", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "errors", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "utils", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "header", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "charset", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "policy", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "policy", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "errors", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "utils", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "errors", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "encoders", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "iterators", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "base64mime", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "quoprimime", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "message_from_string", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "message_from_bytes", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "policy", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "errors", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "policy", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "headerregistry", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "policy", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "message_from_bytes", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "policy", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "message_from_string", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "policy", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "headerregistry", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "utils", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "_encoded_words", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "errors", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "_header_value_parser", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "errors", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "policy", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "__file__", "importPath": "email", "description": "email", "isExtraImport": true, "detail": "email", "documentation": {} }, { "label": "magic_html_parser", "importPath": "imaginary", "description": "imaginary", "isExtraImport": true, "detail": "imaginary", "documentation": {} }, { "label": "xml.dom.minidom", "kind": 6, "isExtraImport": true, "importPath": "xml.dom.minidom", "description": "xml.dom.minidom", "detail": "xml.dom.minidom", "documentation": {} }, { "label": "multiprocessing", "kind": 6, "isExtraImport": true, "importPath": "multiprocessing", "description": "multiprocessing", "detail": "multiprocessing", "documentation": {} }, { "label": "freeze_support", "importPath": "multiprocessing", "description": "multiprocessing", "isExtraImport": true, "detail": "multiprocessing", "documentation": {} }, { "label": "Process", "importPath": "multiprocessing", "description": "multiprocessing", "isExtraImport": true, "detail": "multiprocessing", "documentation": {} }, { "label": "Queue", "importPath": "multiprocessing", "description": "multiprocessing", "isExtraImport": true, "detail": "multiprocessing", "documentation": {} }, { "label": "current_process", "importPath": "multiprocessing", "description": "multiprocessing", "isExtraImport": true, "detail": "multiprocessing", "documentation": {} }, { "label": "freeze_support", "importPath": "multiprocessing", "description": "multiprocessing", "isExtraImport": true, "detail": "multiprocessing", "documentation": {} }, { "label": "BaseManager", "importPath": "multiprocessing.managers", "description": "multiprocessing.managers", "isExtraImport": true, "detail": "multiprocessing.managers", "documentation": {} }, { "label": "BaseProxy", "importPath": "multiprocessing.managers", "description": "multiprocessing.managers", "isExtraImport": true, "detail": "multiprocessing.managers", "documentation": {} }, { "label": "operator", "kind": 6, "isExtraImport": true, "importPath": "operator", "description": "operator", "detail": "operator", "documentation": {} }, { "label": "itemgetter", "importPath": "operator", "description": "operator", "isExtraImport": true, "detail": "operator", "documentation": {} }, { "label": "itemgetter", "importPath": "operator", "description": "operator", "isExtraImport": true, "detail": "operator", "documentation": {} }, { "label": "distutils.core", "kind": 6, "isExtraImport": true, "importPath": "distutils.core", "description": "distutils.core", "detail": "distutils.core", "documentation": {} }, { "label": "setup", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Extension", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Command", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Command", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Command", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Command", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Command", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Command", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Command", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Command", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Command", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Command", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Command", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Command", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Command", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Command", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Command", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Command", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Command", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "PyPIRCCommand", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Command", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "PyPIRCCommand", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Distribution", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Distribution", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "setup", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Distribution", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "setup", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Distribution", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Distribution", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Distribution", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "PyPIRCCommand", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Distribution", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "setup", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "setup", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "setup", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "setup", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Distribution", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Distribution", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Distribution", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "setup", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "Distribution", "importPath": "distutils.core", "description": "distutils.core", "isExtraImport": true, "detail": "distutils.core", "documentation": {} }, { "label": "get_platform", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "get_platform", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "get_platform", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "get_platform", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "get_platform", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "get_platform", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "convert_path", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "Mixin2to3", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "convert_path", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "Mixin2to3", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "convert_path", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "subst_vars", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "change_root", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "get_platform", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "change_root", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "convert_path", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "convert_path", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "get_platform", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "convert_path", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "change_root", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "check_environ", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "split_quoted", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "strtobool", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "rfc822_escape", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "byte_compile", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "grok_environment_error", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "split_quoted", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "execute", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "check_environ", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "strtobool", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "rfc822_escape", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "convert_path", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "get_platform", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "byte_compile", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "get_platform", "importPath": "distutils.util", "description": "distutils.util", "isExtraImport": true, "detail": "distutils.util", "documentation": {} }, { "label": "*", "importPath": "turtle", "description": "turtle", "isExtraImport": true, "detail": "turtle", "documentation": {} }, { "label": "RegexLexer", "importPath": "pygments.lexer", "description": "pygments.lexer", "isExtraImport": true, "detail": "pygments.lexer", "documentation": {} }, { "label": "bygroups", "importPath": "pygments.lexer", "description": "pygments.lexer", "isExtraImport": true, "detail": "pygments.lexer", "documentation": {} }, { "label": "include", "importPath": "pygments.lexer", "description": "pygments.lexer", "isExtraImport": true, "detail": "pygments.lexer", "documentation": {} }, { "label": "words", "importPath": "pygments.lexer", "description": "pygments.lexer", "isExtraImport": true, "detail": "pygments.lexer", "documentation": {} }, { "label": "RegexLexer", "importPath": "pygments.lexer", "description": "pygments.lexer", "isExtraImport": true, "detail": "pygments.lexer", "documentation": {} }, { "label": "bygroups", "importPath": "pygments.lexer", "description": "pygments.lexer", "isExtraImport": true, "detail": "pygments.lexer", "documentation": {} }, { "label": "include", "importPath": "pygments.lexer", "description": "pygments.lexer", "isExtraImport": true, "detail": "pygments.lexer", "documentation": {} }, { "label": "Comment", "importPath": "pygments.token", "description": "pygments.token", "isExtraImport": true, "detail": "pygments.token", "documentation": {} }, { "label": "Generic", "importPath": "pygments.token", "description": "pygments.token", "isExtraImport": true, "detail": "pygments.token", "documentation": {} }, { "label": "Keyword", "importPath": "pygments.token", "description": "pygments.token", "isExtraImport": true, "detail": "pygments.token", "documentation": {} }, { "label": "Name", "importPath": "pygments.token", "description": "pygments.token", "isExtraImport": true, "detail": "pygments.token", "documentation": {} }, { "label": "Operator", "importPath": "pygments.token", "description": "pygments.token", "isExtraImport": true, "detail": "pygments.token", "documentation": {} }, { "label": "Punctuation", "importPath": "pygments.token", "description": "pygments.token", "isExtraImport": true, "detail": "pygments.token", "documentation": {} }, { "label": "Text", "importPath": "pygments.token", "description": "pygments.token", "isExtraImport": true, "detail": "pygments.token", "documentation": {} }, { "label": "Comment", "importPath": "pygments.token", "description": "pygments.token", "isExtraImport": true, "detail": "pygments.token", "documentation": {} }, { "label": "Generic", "importPath": "pygments.token", "description": "pygments.token", "isExtraImport": true, "detail": "pygments.token", "documentation": {} }, { "label": "Keyword", "importPath": "pygments.token", "description": "pygments.token", "isExtraImport": true, "detail": "pygments.token", "documentation": {} }, { "label": "Name", "importPath": "pygments.token", "description": "pygments.token", "isExtraImport": true, "detail": "pygments.token", "documentation": {} }, { "label": "Operator", "importPath": "pygments.token", "description": "pygments.token", "isExtraImport": true, "detail": "pygments.token", "documentation": {} }, { "label": "Punctuation", "importPath": "pygments.token", "description": "pygments.token", "isExtraImport": true, "detail": "pygments.token", "documentation": {} }, { "label": "Text", "importPath": "pygments.token", "description": "pygments.token", "isExtraImport": true, "detail": "pygments.token", "documentation": {} }, { "label": "builtin_types", "importPath": "asdl", "description": "asdl", "isExtraImport": true, "detail": "asdl", "documentation": {} }, { "label": "lexers", "importPath": "sphinx.highlighting", "description": "sphinx.highlighting", "isExtraImport": true, "detail": "sphinx.highlighting", "documentation": {} }, { "label": "lexers", "importPath": "sphinx.highlighting", "description": "sphinx.highlighting", "isExtraImport": true, "detail": "sphinx.highlighting", "documentation": {} }, { "label": "nodes", "importPath": "docutils", "description": "docutils", "isExtraImport": true, "detail": "docutils", "documentation": {} }, { "label": "nodes", "importPath": "docutils", "description": "docutils", "isExtraImport": true, "detail": "docutils", "documentation": {} }, { "label": "utils", "importPath": "docutils", "description": "docutils", "isExtraImport": true, "detail": "docutils", "documentation": {} }, { "label": "nodes", "importPath": "docutils", "description": "docutils", "isExtraImport": true, "detail": "docutils", "documentation": {} }, { "label": "directives", "importPath": "docutils.parsers.rst", "description": "docutils.parsers.rst", "isExtraImport": true, "detail": "docutils.parsers.rst", "documentation": {} }, { "label": "Directive", "importPath": "docutils.parsers.rst", "description": "docutils.parsers.rst", "isExtraImport": true, "detail": "docutils.parsers.rst", "documentation": {} }, { "label": "Directive", "importPath": "docutils.parsers.rst", "description": "docutils.parsers.rst", "isExtraImport": true, "detail": "docutils.parsers.rst", "documentation": {} }, { "label": "StringList", "importPath": "docutils.statemachine", "description": "docutils.statemachine", "isExtraImport": true, "detail": "docutils.statemachine", "documentation": {} }, { "label": "csv", "kind": 6, "isExtraImport": true, "importPath": "csv", "description": "csv", "detail": "csv", "documentation": {} }, { "label": "addnodes", "importPath": "sphinx", "description": "sphinx", "isExtraImport": true, "detail": "sphinx", "documentation": {} }, { "label": "addnodes", "importPath": "sphinx", "description": "sphinx", "isExtraImport": true, "detail": "sphinx", "documentation": {} }, { "label": "CObject", "importPath": "sphinx.domains.c", "description": "sphinx.domains.c", "isExtraImport": true, "detail": "sphinx.domains.c", "documentation": {} }, { "label": "codepoint2name", "importPath": "html.entities", "description": "html.entities", "isExtraImport": true, "detail": "html.entities", "documentation": {} }, { "label": "getLogger", "importPath": "sphinx.util.logging", "description": "sphinx.util.logging", "isExtraImport": true, "detail": "sphinx.util.logging", "documentation": {} }, { "label": "definition_list_item", "importPath": "docutils.nodes", "description": "docutils.nodes", "isExtraImport": true, "detail": "docutils.nodes", "documentation": {} }, { "label": "glossary", "importPath": "sphinx.addnodes", "description": "sphinx.addnodes", "isExtraImport": true, "detail": "sphinx.addnodes", "documentation": {} }, { "label": "sphinx.util", "kind": 6, "isExtraImport": true, "importPath": "sphinx.util", "description": "sphinx.util", "detail": "sphinx.util", "documentation": {} }, { "label": "logging", "importPath": "sphinx.util", "description": "sphinx.util", "isExtraImport": true, "detail": "sphinx.util", "documentation": {} }, { "label": "status_iterator", "importPath": "sphinx.util", "description": "sphinx.util", "isExtraImport": true, "detail": "sphinx.util", "documentation": {} }, { "label": "logging", "importPath": "sphinx.util", "description": "sphinx.util", "isExtraImport": true, "detail": "sphinx.util", "documentation": {} }, { "label": "pprint", "kind": 6, "isExtraImport": true, "importPath": "pprint", "description": "pprint", "detail": "pprint", "documentation": {} }, { "label": "pformat", "importPath": "pprint", "description": "pprint", "isExtraImport": true, "detail": "pprint", "documentation": {} }, { "label": "StringOutput", "importPath": "docutils.io", "description": "docutils.io", "isExtraImport": true, "detail": "docutils.io", "documentation": {} }, { "label": "new_document", "importPath": "docutils.utils", "description": "docutils.utils", "isExtraImport": true, "detail": "docutils.utils", "documentation": {} }, { "label": "Builder", "importPath": "sphinx.builders", "description": "sphinx.builders", "isExtraImport": true, "detail": "sphinx.builders", "documentation": {} }, { "label": "Builder", "importPath": "sphinx.builders", "description": "sphinx.builders", "isExtraImport": true, "detail": "sphinx.builders", "documentation": {} }, { "label": "translators", "importPath": "sphinx.locale", "description": "sphinx.locale", "isExtraImport": true, "detail": "sphinx.locale", "documentation": {} }, { "label": "split_explicit_title", "importPath": "sphinx.util.nodes", "description": "sphinx.util.nodes", "isExtraImport": true, "detail": "sphinx.util.nodes", "documentation": {} }, { "label": "TextWriter", "importPath": "sphinx.writers.text", "description": "sphinx.writers.text", "isExtraImport": true, "detail": "sphinx.writers.text", "documentation": {} }, { "label": "TextTranslator", "importPath": "sphinx.writers.text", "description": "sphinx.writers.text", "isExtraImport": true, "detail": "sphinx.writers.text", "documentation": {} }, { "label": "LaTeXTranslator", "importPath": "sphinx.writers.latex", "description": "sphinx.writers.latex", "isExtraImport": true, "detail": "sphinx.writers.latex", "documentation": {} }, { "label": "suspicious", "kind": 6, "isExtraImport": true, "importPath": "suspicious", "description": "suspicious", "detail": "suspicious", "documentation": {} }, { "label": "Body", "importPath": "docutils.parsers.rst.states", "description": "docutils.parsers.rst.states", "isExtraImport": true, "detail": "docutils.parsers.rst.states", "documentation": {} }, { "label": "getopt", "kind": 6, "isExtraImport": true, "importPath": "getopt", "description": "getopt", "detail": "getopt", "documentation": {} }, { "label": "sys,", "kind": 6, "isExtraImport": true, "importPath": "sys.", "description": "sys.", "detail": "sys.", "documentation": {} }, { "label": "patchlevel", "kind": 6, "isExtraImport": true, "importPath": "patchlevel", "description": "patchlevel", "detail": "patchlevel", "documentation": {} }, { "label": "collections.abc", "kind": 6, "isExtraImport": true, "importPath": "collections.abc", "description": "collections.abc", "detail": "collections.abc", "documentation": {} }, { "label": "Sequence", "importPath": "collections.abc", "description": "collections.abc", "isExtraImport": true, "detail": "collections.abc", "documentation": {} }, { "label": "Sequence", "importPath": "collections.abc", "description": "collections.abc", "isExtraImport": true, "detail": "collections.abc", "documentation": {} }, { "label": "concurrent.futures", "kind": 6, "isExtraImport": true, "importPath": "concurrent.futures", "description": "concurrent.futures", "detail": "concurrent.futures", "documentation": {} }, { "label": "_base", "importPath": "concurrent.futures", "description": "concurrent.futures", "isExtraImport": true, "detail": "concurrent.futures", "documentation": {} }, { "label": "_base", "importPath": "concurrent.futures", "description": "concurrent.futures", "isExtraImport": true, "detail": "concurrent.futures", "documentation": {} }, { "label": "heapq", "kind": 6, "isExtraImport": true, "importPath": "heapq", "description": "heapq", "detail": "heapq", "documentation": {} }, { "label": "traceback", "kind": 6, "isExtraImport": true, "importPath": "traceback", "description": "traceback", "detail": "traceback", "documentation": {} }, { "label": "format_exc", "importPath": "traceback", "description": "traceback", "isExtraImport": true, "detail": "traceback", "documentation": {} }, { "label": "warnings", "kind": 6, "isExtraImport": true, "importPath": "warnings", "description": "warnings", "detail": "warnings", "documentation": {} }, { "label": "warn", "importPath": "warnings", "description": "warnings", "isExtraImport": true, "detail": "warnings", "documentation": {} }, { "label": "warn", "importPath": "warnings", "description": "warnings", "isExtraImport": true, "detail": "warnings", "documentation": {} }, { "label": "warn", "importPath": "warnings", "description": "warnings", "isExtraImport": true, "detail": "warnings", "documentation": {} }, { "label": "catch_warnings", "importPath": "warnings", "description": "warnings", "isExtraImport": true, "detail": "warnings", "documentation": {} }, { "label": "weakref", "kind": 6, "isExtraImport": true, "importPath": "weakref", "description": "weakref", "detail": "weakref", "documentation": {} }, { "label": "reprlib", "kind": 6, "isExtraImport": true, "importPath": "reprlib", "description": "reprlib", "detail": "reprlib", "documentation": {} }, { "label": "Repr", "importPath": "reprlib", "description": "reprlib", "isExtraImport": true, "detail": "reprlib", "documentation": {} }, { "label": "_thread", "kind": 6, "isExtraImport": true, "importPath": "_thread", "description": "_thread", "detail": "_thread", "documentation": {} }, { "label": "get_ident", "importPath": "_thread", "description": "_thread", "isExtraImport": true, "detail": "_thread", "documentation": {} }, { "label": "linecache", "kind": 6, "isExtraImport": true, "importPath": "linecache", "description": "linecache", "detail": "linecache", "documentation": {} }, { "label": "enum", "kind": 6, "isExtraImport": true, "importPath": "enum", "description": "enum", "detail": "enum", "documentation": {} }, { "label": "Enum", "importPath": "enum", "description": "enum", "isExtraImport": true, "detail": "enum", "documentation": {} }, { "label": "IntEnum", "importPath": "enum", "description": "enum", "isExtraImport": true, "detail": "enum", "documentation": {} }, { "label": "inspect", "kind": 6, "isExtraImport": true, "importPath": "inspect", "description": "inspect", "detail": "inspect", "documentation": {} }, { "label": "isabstract", "importPath": "inspect", "description": "inspect", "isExtraImport": true, "detail": "inspect", "documentation": {} }, { "label": "types", "kind": 6, "isExtraImport": true, "importPath": "types", "description": "types", "detail": "types", "documentation": {} }, { "label": "GenericAlias", "importPath": "types", "description": "types", "isExtraImport": true, "detail": "types", "documentation": {} }, { "label": "GenericAlias", "importPath": "types", "description": "types", "isExtraImport": true, "detail": "types", "documentation": {} }, { "label": "GenericAlias", "importPath": "types", "description": "types", "isExtraImport": true, "detail": "types", "documentation": {} }, { "label": "MappingProxyType", "importPath": "types", "description": "types", "isExtraImport": true, "detail": "types", "documentation": {} }, { "label": "ModuleType", "importPath": "types", "description": "types", "isExtraImport": true, "detail": "types", "documentation": {} }, { "label": "MethodType", "importPath": "types", "description": "types", "isExtraImport": true, "detail": "types", "documentation": {} }, { "label": "MethodType", "importPath": "types", "description": "types", "isExtraImport": true, "detail": "types", "documentation": {} }, { "label": "ModuleType", "importPath": "types", "description": "types", "isExtraImport": true, "detail": "types", "documentation": {} }, { "label": "GenericAlias", "importPath": "types", "description": "types", "isExtraImport": true, "detail": "types", "documentation": {} }, { "label": "GenericAlias", "importPath": "types", "description": "types", "isExtraImport": true, "detail": "types", "documentation": {} }, { "label": "GenericAlias", "importPath": "types", "description": "types", "isExtraImport": true, "detail": "types", "documentation": {} }, { "label": "contextvars", "kind": 6, "isExtraImport": true, "importPath": "contextvars", "description": "contextvars", "detail": "contextvars", "documentation": {} }, { "label": "ContextVar", "importPath": "contextvars", "description": "contextvars", "isExtraImport": true, "detail": "contextvars", "documentation": {} }, { "label": "errno", "kind": 6, "isExtraImport": true, "importPath": "errno", "description": "errno", "detail": "errno", "documentation": {} }, { "label": "selectors", "kind": 6, "isExtraImport": true, "importPath": "selectors", "description": "selectors", "detail": "selectors", "documentation": {} }, { "label": "_overlapped", "kind": 6, "isExtraImport": true, "importPath": "_overlapped", "description": "_overlapped", "detail": "_overlapped", "documentation": {} }, { "label": "_winapi", "kind": 6, "isExtraImport": true, "importPath": "_winapi", "description": "_winapi", "detail": "_winapi", "documentation": {} }, { "label": "math", "kind": 6, "isExtraImport": true, "importPath": "math", "description": "math", "detail": "math", "documentation": {} }, { "label": "isnan", "importPath": "math", "description": "math", "isExtraImport": true, "detail": "math", "documentation": {} }, { "label": "msvcrt", "kind": 6, "isExtraImport": true, "importPath": "msvcrt", "description": "msvcrt", "detail": "msvcrt", "documentation": {} }, { "label": "*", "importPath": "_collections_abc", "description": "_collections_abc", "isExtraImport": true, "detail": "_collections_abc", "documentation": {} }, { "label": "__all__", "importPath": "_collections_abc", "description": "_collections_abc", "isExtraImport": true, "detail": "_collections_abc", "documentation": {} }, { "label": "_CallableGenericAlias", "importPath": "_collections_abc", "description": "_collections_abc", "isExtraImport": true, "detail": "_collections_abc", "documentation": {} }, { "label": "queue", "kind": 6, "isExtraImport": true, "importPath": "queue", "description": "queue", "detail": "queue", "documentation": {} }, { "label": "Queue", "importPath": "queue", "description": "queue", "isExtraImport": true, "detail": "queue", "documentation": {} }, { "label": "Empty", "importPath": "queue", "description": "queue", "isExtraImport": true, "detail": "queue", "documentation": {} }, { "label": "Full", "importPath": "queue", "description": "queue", "isExtraImport": true, "detail": "queue", "documentation": {} }, { "label": "multiprocessing.connection", "kind": 6, "isExtraImport": true, "importPath": "multiprocessing.connection", "description": "multiprocessing.connection", "detail": "multiprocessing.connection", "documentation": {} }, { "label": "Queue", "importPath": "multiprocessing.queues", "description": "multiprocessing.queues", "isExtraImport": true, "detail": "multiprocessing.queues", "documentation": {} }, { "label": "framework_info", "importPath": "ctypes.macholib.framework", "description": "ctypes.macholib.framework", "isExtraImport": true, "detail": "ctypes.macholib.framework", "documentation": {} }, { "label": "dylib_info", "importPath": "ctypes.macholib.dylib", "description": "ctypes.macholib.dylib", "isExtraImport": true, "detail": "ctypes.macholib.dylib", "documentation": {} }, { "label": "test.support", "kind": 6, "isExtraImport": true, "importPath": "test.support", "description": "test.support", "detail": "test.support", "documentation": {} }, { "label": "bigmemtest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "_2G", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "import_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "patch", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires_zlib", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "missing_compiler_executable", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "captured_stdout", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "missing_compiler_executable", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "captured_stdout", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "captured_stdout", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "captured_stderr", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "captured_stdout", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "captured_stdout", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "swap_attr", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "captured_stdout", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "unix_shell", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "swap_item", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "captured_stderr", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "findfile", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "captured_stdout", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "findfile", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "captured_output", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "captured_stderr", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "swap_attr", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "captured_stderr", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "check_syntax_error", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "check_disallow_instantiation", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "SHORT_TIMEOUT", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "gc_collect", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "threading_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "ALWAYS_EQ", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "run_unittest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "hashlib_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "findfile", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "import_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "captured_stdout", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "import_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "import_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "import_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "threading_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "import_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "verbose", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "script_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "threading_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "import_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "requires_zlib", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "import_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "socket_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "socket_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "threading_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "ALWAYS_EQ", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "LARGEST", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "SMALLEST", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "socket_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "socket_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "socket_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "socket_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "socket_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "socket_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "threading_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "bigmemtest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "_1G", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "bigaddrspacetest", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "os_helper", "importPath": "test.support", "description": "test.support", "isExtraImport": true, "detail": "test.support", "documentation": {} }, { "label": "need_symbol", "importPath": "ctypes.test", "description": "ctypes.test", "isExtraImport": true, "detail": "ctypes.test", "documentation": {} }, { "label": "need_symbol", "importPath": "ctypes.test", "description": "ctypes.test", "isExtraImport": true, "detail": "ctypes.test", "documentation": {} }, { "label": "need_symbol", "importPath": "ctypes.test", "description": "ctypes.test", "isExtraImport": true, "detail": "ctypes.test", "documentation": {} }, { "label": "need_symbol", "importPath": "ctypes.test", "description": "ctypes.test", "isExtraImport": true, "detail": "ctypes.test", "documentation": {} }, { "label": "need_symbol", "importPath": "ctypes.test", "description": "ctypes.test", "isExtraImport": true, "detail": "ctypes.test", "documentation": {} }, { "label": "need_symbol", "importPath": "ctypes.test", "description": "ctypes.test", "isExtraImport": true, "detail": "ctypes.test", "documentation": {} }, { "label": "need_symbol", "importPath": "ctypes.test", "description": "ctypes.test", "isExtraImport": true, "detail": "ctypes.test", "documentation": {} }, { "label": "need_symbol", "importPath": "ctypes.test", "description": "ctypes.test", "isExtraImport": true, "detail": "ctypes.test", "documentation": {} }, { "label": "need_symbol", "importPath": "ctypes.test", "description": "ctypes.test", "isExtraImport": true, "detail": "ctypes.test", "documentation": {} }, { "label": "need_symbol", "importPath": "ctypes.test", "description": "ctypes.test", "isExtraImport": true, "detail": "ctypes.test", "documentation": {} }, { "label": "need_symbol", "importPath": "ctypes.test", "description": "ctypes.test", "isExtraImport": true, "detail": "ctypes.test", "documentation": {} }, { "label": "need_symbol", "importPath": "ctypes.test", "description": "ctypes.test", "isExtraImport": true, "detail": "ctypes.test", "documentation": {} }, { "label": "need_symbol", "importPath": "ctypes.test", "description": "ctypes.test", "isExtraImport": true, "detail": "ctypes.test", "documentation": {} }, { "label": "need_symbol", "importPath": "ctypes.test", "description": "ctypes.test", "isExtraImport": true, "detail": "ctypes.test", "documentation": {} }, { "label": "need_symbol", "importPath": "ctypes.test", "description": "ctypes.test", "isExtraImport": true, "detail": "ctypes.test", "documentation": {} }, { "label": "need_symbol", "importPath": "ctypes.test", "description": "ctypes.test", "isExtraImport": true, "detail": "ctypes.test", "documentation": {} }, { "label": "binascii", "kind": 6, "isExtraImport": true, "importPath": "binascii", "description": "binascii", "detail": "binascii", "documentation": {} }, { "label": "hexlify", "importPath": "binascii", "description": "binascii", "isExtraImport": true, "detail": "binascii", "documentation": {} }, { "label": "hexlify", "importPath": "binascii", "description": "binascii", "isExtraImport": true, "detail": "binascii", "documentation": {} }, { "label": "b2a_base64", "importPath": "binascii", "description": "binascii", "isExtraImport": true, "detail": "binascii", "documentation": {} }, { "label": "a2b_base64", "importPath": "binascii", "description": "binascii", "isExtraImport": true, "detail": "binascii", "documentation": {} }, { "label": "_ctypes_test", "kind": 6, "isExtraImport": true, "importPath": "_ctypes_test", "description": "_ctypes_test", "detail": "_ctypes_test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "lock_tests", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "test_tools", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "test_tools", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "test_tools", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "test_tools", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "test_tools", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "support", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "test_tools", "importPath": "test", "description": "test", "isExtraImport": true, "detail": "test", "documentation": {} }, { "label": "unittest,", "kind": 6, "isExtraImport": true, "importPath": "unittest.", "description": "unittest.", "detail": "unittest.", "documentation": {} }, { "label": "unittest.mock", "kind": 6, "isExtraImport": true, "importPath": "unittest.mock", "description": "unittest.mock", "detail": "unittest.mock", "documentation": {} }, { "label": "patch", "importPath": "unittest.mock", "description": "unittest.mock", "isExtraImport": true, "detail": "unittest.mock", "documentation": {} }, { "label": "patch", "importPath": "unittest.mock", "description": "unittest.mock", "isExtraImport": true, "detail": "unittest.mock", "documentation": {} }, { "label": "Mock", "importPath": "unittest.mock", "description": "unittest.mock", "isExtraImport": true, "detail": "unittest.mock", "documentation": {} }, { "label": "patch", "importPath": "unittest.mock", "description": "unittest.mock", "isExtraImport": true, "detail": "unittest.mock", "documentation": {} }, { "label": "Mock", "importPath": "unittest.mock", "description": "unittest.mock", "isExtraImport": true, "detail": "unittest.mock", "documentation": {} }, { "label": "Mock", "importPath": "unittest.mock", "description": "unittest.mock", "isExtraImport": true, "detail": "unittest.mock", "documentation": {} }, { "label": "Mock", "importPath": "unittest.mock", "description": "unittest.mock", "isExtraImport": true, "detail": "unittest.mock", "documentation": {} }, { "label": "Mock", "importPath": "unittest.mock", "description": "unittest.mock", "isExtraImport": true, "detail": "unittest.mock", "documentation": {} }, { "label": "NonCallableMagicMock", "importPath": "unittest.mock", "description": "unittest.mock", "isExtraImport": true, "detail": "unittest.mock", "documentation": {} }, { "label": "patch", "importPath": "unittest.mock", "description": "unittest.mock", "isExtraImport": true, "detail": "unittest.mock", "documentation": {} }, { "label": "sentinel", "importPath": "unittest.mock", "description": "unittest.mock", "isExtraImport": true, "detail": "unittest.mock", "documentation": {} }, { "label": "ANY", "importPath": "unittest.mock", "description": "unittest.mock", "isExtraImport": true, "detail": "unittest.mock", "documentation": {} }, { "label": "Mock", "importPath": "unittest.mock", "description": "unittest.mock", "isExtraImport": true, "detail": "unittest.mock", "documentation": {} }, { "label": "patch", "importPath": "unittest.mock", "description": "unittest.mock", "isExtraImport": true, "detail": "unittest.mock", "documentation": {} }, { "label": "array", "kind": 6, "isExtraImport": true, "importPath": "array", "description": "array", "detail": "array", "documentation": {} }, { "label": "gc", "kind": 6, "isExtraImport": true, "importPath": "gc", "description": "gc", "detail": "gc", "documentation": {} }, { "label": "dyld_find", "importPath": "ctypes.macholib.dyld", "description": "ctypes.macholib.dyld", "isExtraImport": true, "detail": "ctypes.macholib.dyld", "documentation": {} }, { "label": "ctypes.test.test_objects", "kind": 6, "isExtraImport": true, "importPath": "ctypes.test.test_objects", "description": "ctypes.test.test_objects", "detail": "ctypes.test.test_objects", "documentation": {} }, { "label": "re,", "kind": 6, "isExtraImport": true, "importPath": "re.", "description": "re.", "detail": "re.", "documentation": {} }, { "label": "PyObj_FromPtr", "importPath": "_ctypes", "description": "_ctypes", "isExtraImport": true, "detail": "_ctypes", "documentation": {} }, { "label": "platform", "kind": 6, "isExtraImport": true, "importPath": "platform", "description": "platform", "detail": "platform", "documentation": {} }, { "label": "python_version", "importPath": "platform", "description": "platform", "isExtraImport": true, "detail": "platform", "documentation": {} }, { "label": "python_version", "importPath": "platform", "description": "platform", "isExtraImport": true, "detail": "platform", "documentation": {} }, { "label": "python_version", "importPath": "platform", "description": "platform", "isExtraImport": true, "detail": "platform", "documentation": {} }, { "label": "architecture", "importPath": "platform", "description": "platform", "isExtraImport": true, "detail": "platform", "documentation": {} }, { "label": "python_version", "importPath": "platform", "description": "platform", "isExtraImport": true, "detail": "platform", "documentation": {} }, { "label": "_curses", "kind": 6, "isExtraImport": true, "importPath": "_curses", "description": "_curses", "detail": "_curses", "documentation": {} }, { "label": "*", "importPath": "_curses_panel", "description": "_curses_panel", "isExtraImport": true, "detail": "_curses_panel", "documentation": {} }, { "label": "curses", "kind": 6, "isExtraImport": true, "importPath": "curses", "description": "curses", "detail": "curses", "documentation": {} }, { "label": "curses.ascii", "kind": 6, "isExtraImport": true, "importPath": "curses.ascii", "description": "curses.ascii", "detail": "curses.ascii", "documentation": {} }, { "label": "ast", "kind": 6, "isExtraImport": true, "importPath": "ast", "description": "ast", "detail": "ast", "documentation": {} }, { "label": "*", "importPath": "_gdbm", "description": "_gdbm", "isExtraImport": true, "detail": "_gdbm", "documentation": {} }, { "label": "*", "importPath": "_dbm", "description": "_dbm", "isExtraImport": true, "detail": "_dbm", "documentation": {} }, { "label": "*", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "*", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsOptionError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "*", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsOptionError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "*", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "*", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "*", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsSetupError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsExecError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsPlatformError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsOptionError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsOptionError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "*", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsTemplateError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsOptionError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsOptionError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsSetupError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "CompileError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsPlatformError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsSetupError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "UnknownFileError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsFileError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsSetupError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsOptionError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsFileError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsTemplateError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsFileError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsOptionError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsOptionError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsPlatformError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsPlatformError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsSetupError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsOptionError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsExecError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsPlatformError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsByteCompileError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsExecError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "\\", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "*", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsOptionError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "*", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsExecError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "CCompilerError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "CompileError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "UnknownFileError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsFileError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsFileError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsInternalError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "*", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "*", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsTemplateError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsInternalError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsFileError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsExecError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsPlatformError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "\\", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "\\", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsPlatformError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsExecError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "\\", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsPlatformError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsByteCompileError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsExecError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "DistutilsPlatformError", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "\\", "importPath": "distutils.errors", "description": "distutils.errors", "isExtraImport": true, "detail": "distutils.errors", "documentation": {} }, { "label": "remove_tree", "importPath": "distutils.dir_util", "description": "distutils.dir_util", "isExtraImport": true, "detail": "distutils.dir_util", "documentation": {} }, { "label": "ensure_relative", "importPath": "distutils.dir_util", "description": "distutils.dir_util", "isExtraImport": true, "detail": "distutils.dir_util", "documentation": {} }, { "label": "remove_tree", "importPath": "distutils.dir_util", "description": "distutils.dir_util", "isExtraImport": true, "detail": "distutils.dir_util", "documentation": {} }, { "label": "remove_tree", "importPath": "distutils.dir_util", "description": "distutils.dir_util", "isExtraImport": true, "detail": "distutils.dir_util", "documentation": {} }, { "label": "mkpath", "importPath": "distutils.dir_util", "description": "distutils.dir_util", "isExtraImport": true, "detail": "distutils.dir_util", "documentation": {} }, { "label": "remove_tree", "importPath": "distutils.dir_util", "description": "distutils.dir_util", "isExtraImport": true, "detail": "distutils.dir_util", "documentation": {} }, { "label": "create_tree", "importPath": "distutils.dir_util", "description": "distutils.dir_util", "isExtraImport": true, "detail": "distutils.dir_util", "documentation": {} }, { "label": "copy_tree", "importPath": "distutils.dir_util", "description": "distutils.dir_util", "isExtraImport": true, "detail": "distutils.dir_util", "documentation": {} }, { "label": "ensure_relative", "importPath": "distutils.dir_util", "description": "distutils.dir_util", "isExtraImport": true, "detail": "distutils.dir_util", "documentation": {} }, { "label": "mkpath", "importPath": "distutils.dir_util", "description": "distutils.dir_util", "isExtraImport": true, "detail": "distutils.dir_util", "documentation": {} }, { "label": "mkpath", "importPath": "distutils.dir_util", "description": "distutils.dir_util", "isExtraImport": true, "detail": "distutils.dir_util", "documentation": {} }, { "label": "get_python_version", "importPath": "distutils.sysconfig", "description": "distutils.sysconfig", "isExtraImport": true, "detail": "distutils.sysconfig", "documentation": {} }, { "label": "get_python_version", "importPath": "distutils.sysconfig", "description": "distutils.sysconfig", "isExtraImport": true, "detail": "distutils.sysconfig", "documentation": {} }, { "label": "get_python_version", "importPath": "distutils.sysconfig", "description": "distutils.sysconfig", "isExtraImport": true, "detail": "distutils.sysconfig", "documentation": {} }, { "label": "customize_compiler", "importPath": "distutils.sysconfig", "description": "distutils.sysconfig", "isExtraImport": true, "detail": "distutils.sysconfig", "documentation": {} }, { "label": "customize_compiler", "importPath": "distutils.sysconfig", "description": "distutils.sysconfig", "isExtraImport": true, "detail": "distutils.sysconfig", "documentation": {} }, { "label": "get_python_version", "importPath": "distutils.sysconfig", "description": "distutils.sysconfig", "isExtraImport": true, "detail": "distutils.sysconfig", "documentation": {} }, { "label": "get_config_h_filename", "importPath": "distutils.sysconfig", "description": "distutils.sysconfig", "isExtraImport": true, "detail": "distutils.sysconfig", "documentation": {} }, { "label": "customize_compiler", "importPath": "distutils.sysconfig", "description": "distutils.sysconfig", "isExtraImport": true, "detail": "distutils.sysconfig", "documentation": {} }, { "label": "get_config_vars", "importPath": "distutils.sysconfig", "description": "distutils.sysconfig", "isExtraImport": true, "detail": "distutils.sysconfig", "documentation": {} }, { "label": "get_config_vars", "importPath": "distutils.sysconfig", "description": "distutils.sysconfig", "isExtraImport": true, "detail": "distutils.sysconfig", "documentation": {} }, { "label": "distutils", "kind": 6, "isExtraImport": true, "importPath": "distutils", "description": "distutils", "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "sysconfig", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "dir_util", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "dir_util", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "file_util", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "archive_util", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "archive_util", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "sysconfig", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "sysconfig", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "debug", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "cygwinccompiler", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "dir_util", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "errors", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "debug", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "filelist", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "sysconfig", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "sysconfig", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "sysconfig", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "util", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "sysconfig", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "util", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "dir_util", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "file_util", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "archive_util", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "dep_util", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "sysconfig", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "log", "importPath": "distutils", "description": "distutils", "isExtraImport": true, "detail": "distutils", "documentation": {} }, { "label": "distutils.version", "kind": 6, "isExtraImport": true, "importPath": "distutils.version", "description": "distutils.version", "detail": "distutils.version", "documentation": {} }, { "label": "StrictVersion", "importPath": "distutils.version", "description": "distutils.version", "isExtraImport": true, "detail": "distutils.version", "documentation": {} }, { "label": "LooseVersion", "importPath": "distutils.version", "description": "distutils.version", "isExtraImport": true, "detail": "distutils.version", "documentation": {} }, { "label": "StrictVersion", "importPath": "distutils.version", "description": "distutils.version", "isExtraImport": true, "detail": "distutils.version", "documentation": {} }, { "label": "LooseVersion", "importPath": "distutils.version", "description": "distutils.version", "isExtraImport": true, "detail": "distutils.version", "documentation": {} }, { "label": "msilib", "kind": 6, "isExtraImport": true, "importPath": "msilib", "description": "msilib", "detail": "msilib", "documentation": {} }, { "label": "schema", "importPath": "msilib", "description": "msilib", "isExtraImport": true, "detail": "msilib", "documentation": {} }, { "label": "sequence", "importPath": "msilib", "description": "msilib", "isExtraImport": true, "detail": "msilib", "documentation": {} }, { "label": "text", "importPath": "msilib", "description": "msilib", "isExtraImport": true, "detail": "msilib", "documentation": {} }, { "label": "Directory", "importPath": "msilib", "description": "msilib", "isExtraImport": true, "detail": "msilib", "documentation": {} }, { "label": "Feature", "importPath": "msilib", "description": "msilib", "isExtraImport": true, "detail": "msilib", "documentation": {} }, { "label": "Dialog", "importPath": "msilib", "description": "msilib", "isExtraImport": true, "detail": "msilib", "documentation": {} }, { "label": "add_data", "importPath": "msilib", "description": "msilib", "isExtraImport": true, "detail": "msilib", "documentation": {} }, { "label": "subprocess,", "kind": 6, "isExtraImport": true, "importPath": "subprocess.", "description": "subprocess.", "detail": "subprocess.", "documentation": {} }, { "label": "DEBUG", "importPath": "distutils.debug", "description": "distutils.debug", "isExtraImport": true, "detail": "distutils.debug", "documentation": {} }, { "label": "DEBUG", "importPath": "distutils.debug", "description": "distutils.debug", "isExtraImport": true, "detail": "distutils.debug", "documentation": {} }, { "label": "DEBUG", "importPath": "distutils.debug", "description": "distutils.debug", "isExtraImport": true, "detail": "distutils.debug", "documentation": {} }, { "label": "DEBUG", "importPath": "distutils.debug", "description": "distutils.debug", "isExtraImport": true, "detail": "distutils.debug", "documentation": {} }, { "label": "DEBUG", "importPath": "distutils.debug", "description": "distutils.debug", "isExtraImport": true, "detail": "distutils.debug", "documentation": {} }, { "label": "write_file", "importPath": "distutils.file_util", "description": "distutils.file_util", "isExtraImport": true, "detail": "distutils.file_util", "documentation": {} }, { "label": "write_file", "importPath": "distutils.file_util", "description": "distutils.file_util", "isExtraImport": true, "detail": "distutils.file_util", "documentation": {} }, { "label": "move_file", "importPath": "distutils.file_util", "description": "distutils.file_util", "isExtraImport": true, "detail": "distutils.file_util", "documentation": {} }, { "label": "copy_file", "importPath": "distutils.file_util", "description": "distutils.file_util", "isExtraImport": true, "detail": "distutils.file_util", "documentation": {} }, { "label": "write_file", "importPath": "distutils.file_util", "description": "distutils.file_util", "isExtraImport": true, "detail": "distutils.file_util", "documentation": {} }, { "label": "move_file", "importPath": "distutils.file_util", "description": "distutils.file_util", "isExtraImport": true, "detail": "distutils.file_util", "documentation": {} }, { "label": "write_file", "importPath": "distutils.file_util", "description": "distutils.file_util", "isExtraImport": true, "detail": "distutils.file_util", "documentation": {} }, { "label": "newer_group", "importPath": "distutils.dep_util", "description": "distutils.dep_util", "isExtraImport": true, "detail": "distutils.dep_util", "documentation": {} }, { "label": "newer", "importPath": "distutils.dep_util", "description": "distutils.dep_util", "isExtraImport": true, "detail": "distutils.dep_util", "documentation": {} }, { "label": "newer", "importPath": "distutils.dep_util", "description": "distutils.dep_util", "isExtraImport": true, "detail": "distutils.dep_util", "documentation": {} }, { "label": "newer_pairwise", "importPath": "distutils.dep_util", "description": "distutils.dep_util", "isExtraImport": true, "detail": "distutils.dep_util", "documentation": {} }, { "label": "newer_group", "importPath": "distutils.dep_util", "description": "distutils.dep_util", "isExtraImport": true, "detail": "distutils.dep_util", "documentation": {} }, { "label": "newer", "importPath": "distutils.dep_util", "description": "distutils.dep_util", "isExtraImport": true, "detail": "distutils.dep_util", "documentation": {} }, { "label": "newer_group", "importPath": "distutils.dep_util", "description": "distutils.dep_util", "isExtraImport": true, "detail": "distutils.dep_util", "documentation": {} }, { "label": "newer", "importPath": "distutils.dep_util", "description": "distutils.dep_util", "isExtraImport": true, "detail": "distutils.dep_util", "documentation": {} }, { "label": "newer", "importPath": "distutils.dep_util", "description": "distutils.dep_util", "isExtraImport": true, "detail": "distutils.dep_util", "documentation": {} }, { "label": "Extension", "importPath": "distutils.extension", "description": "distutils.extension", "isExtraImport": true, "detail": "distutils.extension", "documentation": {} }, { "label": "Extension", "importPath": "distutils.extension", "description": "distutils.extension", "isExtraImport": true, "detail": "distutils.extension", "documentation": {} }, { "label": "read_setup_file", "importPath": "distutils.extension", "description": "distutils.extension", "isExtraImport": true, "detail": "distutils.extension", "documentation": {} }, { "label": "Extension", "importPath": "distutils.extension", "description": "distutils.extension", "isExtraImport": true, "detail": "distutils.extension", "documentation": {} }, { "label": "Extension", "importPath": "distutils.extension", "description": "distutils.extension", "isExtraImport": true, "detail": "distutils.extension", "documentation": {} }, { "label": "Extension", "importPath": "distutils.extension", "description": "distutils.extension", "isExtraImport": true, "detail": "distutils.extension", "documentation": {} }, { "label": "Extension", "importPath": "distutils.extension", "description": "distutils.extension", "isExtraImport": true, "detail": "distutils.extension", "documentation": {} }, { "label": "importlib.util", "kind": 6, "isExtraImport": true, "importPath": "importlib.util", "description": "importlib.util", "detail": "importlib.util", "documentation": {} }, { "label": "find_spec", "importPath": "importlib.util", "description": "importlib.util", "isExtraImport": true, "detail": "importlib.util", "documentation": {} }, { "label": "source_from_cache", "importPath": "importlib.util", "description": "importlib.util", "isExtraImport": true, "detail": "importlib.util", "documentation": {} }, { "label": "cache_from_source", "importPath": "importlib.util", "description": "importlib.util", "isExtraImport": true, "detail": "importlib.util", "documentation": {} }, { "label": "tokenize", "kind": 6, "isExtraImport": true, "importPath": "tokenize", "description": "tokenize", "detail": "tokenize", "documentation": {} }, { "label": "TokenInfo", "importPath": "tokenize", "description": "tokenize", "isExtraImport": true, "detail": "tokenize", "documentation": {} }, { "label": "NAME", "importPath": "tokenize", "description": "tokenize", "isExtraImport": true, "detail": "tokenize", "documentation": {} }, { "label": "NEWLINE", "importPath": "tokenize", "description": "tokenize", "isExtraImport": true, "detail": "tokenize", "documentation": {} }, { "label": "NUMBER", "importPath": "tokenize", "description": "tokenize", "isExtraImport": true, "detail": "tokenize", "documentation": {} }, { "label": "OP", "importPath": "tokenize", "description": "tokenize", "isExtraImport": true, "detail": "tokenize", "documentation": {} }, { "label": "Command", "importPath": "distutils.cmd", "description": "distutils.cmd", "isExtraImport": true, "detail": "distutils.cmd", "documentation": {} }, { "label": "Command", "importPath": "distutils.cmd", "description": "distutils.cmd", "isExtraImport": true, "detail": "distutils.cmd", "documentation": {} }, { "label": "Command", "importPath": "distutils.cmd", "description": "distutils.cmd", "isExtraImport": true, "detail": "distutils.cmd", "documentation": {} }, { "label": "Command", "importPath": "distutils.cmd", "description": "distutils.cmd", "isExtraImport": true, "detail": "distutils.cmd", "documentation": {} }, { "label": "Command", "importPath": "distutils.cmd", "description": "distutils.cmd", "isExtraImport": true, "detail": "distutils.cmd", "documentation": {} }, { "label": "urllib.parse,", "kind": 6, "isExtraImport": true, "importPath": "urllib.parse.", "description": "urllib.parse.", "detail": "urllib.parse.", "documentation": {} }, { "label": "TextFile", "importPath": "distutils.text_file", "description": "distutils.text_file", "isExtraImport": true, "detail": "distutils.text_file", "documentation": {} }, { "label": "TextFile", "importPath": "distutils.text_file", "description": "distutils.text_file", "isExtraImport": true, "detail": "distutils.text_file", "documentation": {} }, { "label": "FileList", "importPath": "distutils.filelist", "description": "distutils.filelist", "isExtraImport": true, "detail": "distutils.filelist", "documentation": {} }, { "label": "glob_to_re", "importPath": "distutils.filelist", "description": "distutils.filelist", "isExtraImport": true, "detail": "distutils.filelist", "documentation": {} }, { "label": "translate_pattern", "importPath": "distutils.filelist", "description": "distutils.filelist", "isExtraImport": true, "detail": "distutils.filelist", "documentation": {} }, { "label": "FileList", "importPath": "distutils.filelist", "description": "distutils.filelist", "isExtraImport": true, "detail": "distutils.filelist", "documentation": {} }, { "label": "FileList", "importPath": "distutils.filelist", "description": "distutils.filelist", "isExtraImport": true, "detail": "distutils.filelist", "documentation": {} }, { "label": "HTTPError", "importPath": "urllib.error", "description": "urllib.error", "isExtraImport": true, "detail": "urllib.error", "documentation": {} }, { "label": "HTTPError", "importPath": "urllib.error", "description": "urllib.error", "isExtraImport": true, "detail": "urllib.error", "documentation": {} }, { "label": "urlopen", "importPath": "urllib.request", "description": "urllib.request", "isExtraImport": true, "detail": "urllib.request", "documentation": {} }, { "label": "Request", "importPath": "urllib.request", "description": "urllib.request", "isExtraImport": true, "detail": "urllib.request", "documentation": {} }, { "label": "urllib.parse", "kind": 6, "isExtraImport": true, "importPath": "urllib.parse", "description": "urllib.parse", "detail": "urllib.parse", "documentation": {} }, { "label": "urlparse", "importPath": "urllib.parse", "description": "urllib.parse", "isExtraImport": true, "detail": "urllib.parse", "documentation": {} }, { "label": "urlsplit", "importPath": "urllib.parse", "description": "urllib.parse", "isExtraImport": true, "detail": "urllib.parse", "documentation": {} }, { "label": "spawn", "importPath": "distutils.spawn", "description": "distutils.spawn", "isExtraImport": true, "detail": "distutils.spawn", "documentation": {} }, { "label": "find_executable", "importPath": "distutils.spawn", "description": "distutils.spawn", "isExtraImport": true, "detail": "distutils.spawn", "documentation": {} }, { "label": "spawn", "importPath": "distutils.spawn", "description": "distutils.spawn", "isExtraImport": true, "detail": "distutils.spawn", "documentation": {} }, { "label": "find_executable", "importPath": "distutils.spawn", "description": "distutils.spawn", "isExtraImport": true, "detail": "distutils.spawn", "documentation": {} }, { "label": "find_executable", "importPath": "distutils.spawn", "description": "distutils.spawn", "isExtraImport": true, "detail": "distutils.spawn", "documentation": {} }, { "label": "find_executable", "importPath": "distutils.spawn", "description": "distutils.spawn", "isExtraImport": true, "detail": "distutils.spawn", "documentation": {} }, { "label": "spawn", "importPath": "distutils.spawn", "description": "distutils.spawn", "isExtraImport": true, "detail": "distutils.spawn", "documentation": {} }, { "label": "spawn", "importPath": "distutils.spawn", "description": "distutils.spawn", "isExtraImport": true, "detail": "distutils.spawn", "documentation": {} }, { "label": "spawn", "importPath": "distutils.spawn", "description": "distutils.spawn", "isExtraImport": true, "detail": "distutils.spawn", "documentation": {} }, { "label": "find_executable", "importPath": "distutils.spawn", "description": "distutils.spawn", "isExtraImport": true, "detail": "distutils.spawn", "documentation": {} }, { "label": "spawn", "importPath": "distutils.spawn", "description": "distutils.spawn", "isExtraImport": true, "detail": "distutils.spawn", "documentation": {} }, { "label": "copy", "kind": 6, "isExtraImport": true, "importPath": "copy", "description": "copy", "detail": "copy", "documentation": {} }, { "label": "deepcopy", "importPath": "copy", "description": "copy", "isExtraImport": true, "detail": "copy", "documentation": {} }, { "label": "copy", "importPath": "copy", "description": "copy", "isExtraImport": true, "detail": "copy", "documentation": {} }, { "label": "deepcopy", "importPath": "copy", "description": "copy", "isExtraImport": true, "detail": "copy", "documentation": {} }, { "label": "DEBUG", "importPath": "distutils.log", "description": "distutils.log", "isExtraImport": true, "detail": "distutils.log", "documentation": {} }, { "label": "INFO", "importPath": "distutils.log", "description": "distutils.log", "isExtraImport": true, "detail": "distutils.log", "documentation": {} }, { "label": "WARN", "importPath": "distutils.log", "description": "distutils.log", "isExtraImport": true, "detail": "distutils.log", "documentation": {} }, { "label": "ERROR", "importPath": "distutils.log", "description": "distutils.log", "isExtraImport": true, "detail": "distutils.log", "documentation": {} }, { "label": "FATAL", "importPath": "distutils.log", "description": "distutils.log", "isExtraImport": true, "detail": "distutils.log", "documentation": {} }, { "label": "set_threshold", "importPath": "distutils.log", "description": "distutils.log", "isExtraImport": true, "detail": "distutils.log", "documentation": {} }, { "label": "WARN", "importPath": "distutils.log", "description": "distutils.log", "isExtraImport": true, "detail": "distutils.log", "documentation": {} }, { "label": "WARN", "importPath": "distutils.log", "description": "distutils.log", "isExtraImport": true, "detail": "distutils.log", "documentation": {} }, { "label": "INFO", "importPath": "distutils.log", "description": "distutils.log", "isExtraImport": true, "detail": "distutils.log", "documentation": {} }, { "label": "WARN", "importPath": "distutils.log", "description": "distutils.log", "isExtraImport": true, "detail": "distutils.log", "documentation": {} }, { "label": "ERROR", "importPath": "distutils.log", "description": "distutils.log", "isExtraImport": true, "detail": "distutils.log", "documentation": {} }, { "label": "INFO", "importPath": "distutils.log", "description": "distutils.log", "isExtraImport": true, "detail": "distutils.log", "documentation": {} }, { "label": "tarfile", "kind": 6, "isExtraImport": true, "importPath": "tarfile", "description": "tarfile", "detail": "tarfile", "documentation": {} }, { "label": "check_archive_formats", "importPath": "distutils.archive_util", "description": "distutils.archive_util", "isExtraImport": true, "detail": "distutils.archive_util", "documentation": {} }, { "label": "make_tarball", "importPath": "distutils.archive_util", "description": "distutils.archive_util", "isExtraImport": true, "detail": "distutils.archive_util", "documentation": {} }, { "label": "make_zipfile", "importPath": "distutils.archive_util", "description": "distutils.archive_util", "isExtraImport": true, "detail": "distutils.archive_util", "documentation": {} }, { "label": "make_archive", "importPath": "distutils.archive_util", "description": "distutils.archive_util", "isExtraImport": true, "detail": "distutils.archive_util", "documentation": {} }, { "label": "ARCHIVE_FORMATS", "importPath": "distutils.archive_util", "description": "distutils.archive_util", "isExtraImport": true, "detail": "distutils.archive_util", "documentation": {} }, { "label": "ARCHIVE_FORMATS", "importPath": "distutils.archive_util", "description": "distutils.archive_util", "isExtraImport": true, "detail": "distutils.archive_util", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "support", "importPath": "distutils.tests", "description": "distutils.tests", "isExtraImport": true, "detail": "distutils.tests", "documentation": {} }, { "label": "change_cwd", "importPath": "test.support.os_helper", "description": "test.support.os_helper", "isExtraImport": true, "detail": "test.support.os_helper", "documentation": {} }, { "label": "TESTFN", "importPath": "test.support.os_helper", "description": "test.support.os_helper", "isExtraImport": true, "detail": "test.support.os_helper", "documentation": {} }, { "label": "unlink", "importPath": "test.support.os_helper", "description": "test.support.os_helper", "isExtraImport": true, "detail": "test.support.os_helper", "documentation": {} }, { "label": "TESTFN", "importPath": "test.support.os_helper", "description": "test.support.os_helper", "isExtraImport": true, "detail": "test.support.os_helper", "documentation": {} }, { "label": "EnvironmentVarGuard", "importPath": "test.support.os_helper", "description": "test.support.os_helper", "isExtraImport": true, "detail": "test.support.os_helper", "documentation": {} }, { "label": "TESTFN", "importPath": "test.support.os_helper", "description": "test.support.os_helper", "isExtraImport": true, "detail": "test.support.os_helper", "documentation": {} }, { "label": "unlink", "importPath": "test.support.os_helper", "description": "test.support.os_helper", "isExtraImport": true, "detail": "test.support.os_helper", "documentation": {} }, { "label": "TESTFN", "importPath": "test.support.os_helper", "description": "test.support.os_helper", "isExtraImport": true, "detail": "test.support.os_helper", "documentation": {} }, { "label": "unlink", "importPath": "test.support.os_helper", "description": "test.support.os_helper", "isExtraImport": true, "detail": "test.support.os_helper", "documentation": {} }, { "label": "unlink", "importPath": "test.support.os_helper", "description": "test.support.os_helper", "isExtraImport": true, "detail": "test.support.os_helper", "documentation": {} }, { "label": "temp_cwd", "importPath": "test.support.os_helper", "description": "test.support.os_helper", "isExtraImport": true, "detail": "test.support.os_helper", "documentation": {} }, { "label": "temp_dir", "importPath": "test.support.os_helper", "description": "test.support.os_helper", "isExtraImport": true, "detail": "test.support.os_helper", "documentation": {} }, { "label": "FS_NONASCII", "importPath": "test.support.os_helper", "description": "test.support.os_helper", "isExtraImport": true, "detail": "test.support.os_helper", "documentation": {} }, { "label": "create_empty_file", "importPath": "test.support.os_helper", "description": "test.support.os_helper", "isExtraImport": true, "detail": "test.support.os_helper", "documentation": {} }, { "label": "unlink", "importPath": "test.support.os_helper", "description": "test.support.os_helper", "isExtraImport": true, "detail": "test.support.os_helper", "documentation": {} }, { "label": "TESTFN", "importPath": "test.support.os_helper", "description": "test.support.os_helper", "isExtraImport": true, "detail": "test.support.os_helper", "documentation": {} }, { "label": "unlink", "importPath": "test.support.os_helper", "description": "test.support.os_helper", "isExtraImport": true, "detail": "test.support.os_helper", "documentation": {} }, { "label": "rmtree", "importPath": "test.support.os_helper", "description": "test.support.os_helper", "isExtraImport": true, "detail": "test.support.os_helper", "documentation": {} }, { "label": "check_warnings", "importPath": "test.support.warnings_helper", "description": "test.support.warnings_helper", "isExtraImport": true, "detail": "test.support.warnings_helper", "documentation": {} }, { "label": "check_warnings", "importPath": "test.support.warnings_helper", "description": "test.support.warnings_helper", "isExtraImport": true, "detail": "test.support.warnings_helper", "documentation": {} }, { "label": "check_warnings", "importPath": "test.support.warnings_helper", "description": "test.support.warnings_helper", "isExtraImport": true, "detail": "test.support.warnings_helper", "documentation": {} }, { "label": "check_warnings", "importPath": "test.support.warnings_helper", "description": "test.support.warnings_helper", "isExtraImport": true, "detail": "test.support.warnings_helper", "documentation": {} }, { "label": "check_warnings", "importPath": "test.support.warnings_helper", "description": "test.support.warnings_helper", "isExtraImport": true, "detail": "test.support.warnings_helper", "documentation": {} }, { "label": "check_warnings", "importPath": "test.support.warnings_helper", "description": "test.support.warnings_helper", "isExtraImport": true, "detail": "test.support.warnings_helper", "documentation": {} }, { "label": "zipfile", "kind": 6, "isExtraImport": true, "importPath": "zipfile", "description": "zipfile", "detail": "zipfile", "documentation": {} }, { "label": "bdist_dumb", "importPath": "distutils.command.bdist_dumb", "description": "distutils.command.bdist_dumb", "isExtraImport": true, "detail": "distutils.command.bdist_dumb", "documentation": {} }, { "label": "foo", "kind": 6, "isExtraImport": true, "importPath": "foo", "description": "foo", "detail": "foo", "documentation": {} }, { "label": "bdist_rpm", "importPath": "distutils.command.bdist_rpm", "description": "distutils.command.bdist_rpm", "isExtraImport": true, "detail": "distutils.command.bdist_rpm", "documentation": {} }, { "label": "build", "importPath": "distutils.command.build", "description": "distutils.command.build", "isExtraImport": true, "detail": "distutils.command.build", "documentation": {} }, { "label": "build_clib", "importPath": "distutils.command.build_clib", "description": "distutils.command.build_clib", "isExtraImport": true, "detail": "distutils.command.build_clib", "documentation": {} }, { "label": "textwrap", "kind": 6, "isExtraImport": true, "importPath": "textwrap", "description": "textwrap", "detail": "textwrap", "documentation": {} }, { "label": "dedent", "importPath": "textwrap", "description": "textwrap", "isExtraImport": true, "detail": "textwrap", "documentation": {} }, { "label": "dedent", "importPath": "textwrap", "description": "textwrap", "isExtraImport": true, "detail": "textwrap", "documentation": {} }, { "label": "dedent", "importPath": "textwrap", "description": "textwrap", "isExtraImport": true, "detail": "textwrap", "documentation": {} }, { "label": "TextWrapper", "importPath": "textwrap", "description": "textwrap", "isExtraImport": true, "detail": "textwrap", "documentation": {} }, { "label": "dedent", "importPath": "textwrap", "description": "textwrap", "isExtraImport": true, "detail": "textwrap", "documentation": {} }, { "label": "dedent", "importPath": "textwrap", "description": "textwrap", "isExtraImport": true, "detail": "textwrap", "documentation": {} }, { "label": "build_ext", "importPath": "distutils.command.build_ext", "description": "distutils.command.build_ext", "isExtraImport": true, "detail": "distutils.command.build_ext", "documentation": {} }, { "label": "build_ext", "importPath": "distutils.command.build_ext", "description": "distutils.command.build_ext", "isExtraImport": true, "detail": "distutils.command.build_ext", "documentation": {} }, { "label": "TempdirManager", "importPath": "distutils.tests.support", "description": "distutils.tests.support", "isExtraImport": true, "detail": "distutils.tests.support", "documentation": {} }, { "label": "LoggingSilencer", "importPath": "distutils.tests.support", "description": "distutils.tests.support", "isExtraImport": true, "detail": "distutils.tests.support", "documentation": {} }, { "label": "copy_xxmodule_c", "importPath": "distutils.tests.support", "description": "distutils.tests.support", "isExtraImport": true, "detail": "distutils.tests.support", "documentation": {} }, { "label": "fixup_build_ext", "importPath": "distutils.tests.support", "description": "distutils.tests.support", "isExtraImport": true, "detail": "distutils.tests.support", "documentation": {} }, { "label": "assert_python_ok", "importPath": "test.support.script_helper", "description": "test.support.script_helper", "isExtraImport": true, "detail": "test.support.script_helper", "documentation": {} }, { "label": "assert_python_ok", "importPath": "test.support.script_helper", "description": "test.support.script_helper", "isExtraImport": true, "detail": "test.support.script_helper", "documentation": {} }, { "label": "assert_python_ok", "importPath": "test.support.script_helper", "description": "test.support.script_helper", "isExtraImport": true, "detail": "test.support.script_helper", "documentation": {} }, { "label": "assert_python_failure", "importPath": "test.support.script_helper", "description": "test.support.script_helper", "isExtraImport": true, "detail": "test.support.script_helper", "documentation": {} }, { "label": "assert_python_ok", "importPath": "test.support.script_helper", "description": "test.support.script_helper", "isExtraImport": true, "detail": "test.support.script_helper", "documentation": {} }, { "label": "assert_python_ok", "importPath": "test.support.script_helper", "description": "test.support.script_helper", "isExtraImport": true, "detail": "test.support.script_helper", "documentation": {} }, { "label": "assert_python_failure", "importPath": "test.support.script_helper", "description": "test.support.script_helper", "isExtraImport": true, "detail": "test.support.script_helper", "documentation": {} }, { "label": "assert_python_ok", "importPath": "test.support.script_helper", "description": "test.support.script_helper", "isExtraImport": true, "detail": "test.support.script_helper", "documentation": {} }, { "label": "assert_python_ok", "importPath": "test.support.script_helper", "description": "test.support.script_helper", "isExtraImport": true, "detail": "test.support.script_helper", "documentation": {} }, { "label": "assert_python_ok", "importPath": "test.support.script_helper", "description": "test.support.script_helper", "isExtraImport": true, "detail": "test.support.script_helper", "documentation": {} }, { "label": "assert_python_ok", "importPath": "test.support.script_helper", "description": "test.support.script_helper", "isExtraImport": true, "detail": "test.support.script_helper", "documentation": {} }, { "label": "build_py", "importPath": "distutils.command.build_py", "description": "distutils.command.build_py", "isExtraImport": true, "detail": "distutils.command.build_py", "documentation": {} }, { "label": "build_scripts", "importPath": "distutils.command.build_scripts", "description": "distutils.command.build_scripts", "isExtraImport": true, "detail": "distutils.command.build_scripts", "documentation": {} }, { "label": "check", "importPath": "distutils.command.check", "description": "distutils.command.check", "isExtraImport": true, "detail": "distutils.command.check", "documentation": {} }, { "label": "HAS_DOCUTILS", "importPath": "distutils.command.check", "description": "distutils.command.check", "isExtraImport": true, "detail": "distutils.command.check", "documentation": {} }, { "label": "clean", "importPath": "distutils.command.clean", "description": "distutils.command.clean", "isExtraImport": true, "detail": "distutils.command.clean", "documentation": {} }, { "label": "Distribution", "importPath": "distutils.dist", "description": "distutils.dist", "isExtraImport": true, "detail": "distutils.dist", "documentation": {} }, { "label": "Distribution", "importPath": "distutils.dist", "description": "distutils.dist", "isExtraImport": true, "detail": "distutils.dist", "documentation": {} }, { "label": "fix_help_options", "importPath": "distutils.dist", "description": "distutils.dist", "isExtraImport": true, "detail": "distutils.dist", "documentation": {} }, { "label": "Distribution", "importPath": "distutils.dist", "description": "distutils.dist", "isExtraImport": true, "detail": "distutils.dist", "documentation": {} }, { "label": "dump_file", "importPath": "distutils.command.config", "description": "distutils.command.config", "isExtraImport": true, "detail": "distutils.command.config", "documentation": {} }, { "label": "config", "importPath": "distutils.command.config", "description": "distutils.command.config", "isExtraImport": true, "detail": "distutils.command.config", "documentation": {} }, { "label": "install", "importPath": "distutils.command.install", "description": "distutils.command.install", "isExtraImport": true, "detail": "distutils.command.install", "documentation": {} }, { "label": "install", "importPath": "distutils.command.install", "description": "distutils.command.install", "isExtraImport": true, "detail": "distutils.command.install", "documentation": {} }, { "label": "HAS_USER_SITE", "importPath": "distutils.command.install", "description": "distutils.command.install", "isExtraImport": true, "detail": "distutils.command.install", "documentation": {} }, { "label": "INSTALL_SCHEMES", "importPath": "distutils.command.install", "description": "distutils.command.install", "isExtraImport": true, "detail": "distutils.command.install", "documentation": {} }, { "label": "check_config_h", "importPath": "distutils.cygwinccompiler", "description": "distutils.cygwinccompiler", "isExtraImport": true, "detail": "distutils.cygwinccompiler", "documentation": {} }, { "label": "CONFIG_H_OK", "importPath": "distutils.cygwinccompiler", "description": "distutils.cygwinccompiler", "isExtraImport": true, "detail": "distutils.cygwinccompiler", "documentation": {} }, { "label": "CONFIG_H_NOTOK", "importPath": "distutils.cygwinccompiler", "description": "distutils.cygwinccompiler", "isExtraImport": true, "detail": "distutils.cygwinccompiler", "documentation": {} }, { "label": "CONFIG_H_UNCERTAIN", "importPath": "distutils.cygwinccompiler", "description": "distutils.cygwinccompiler", "isExtraImport": true, "detail": "distutils.cygwinccompiler", "documentation": {} }, { "label": "get_versions", "importPath": "distutils.cygwinccompiler", "description": "distutils.cygwinccompiler", "isExtraImport": true, "detail": "distutils.cygwinccompiler", "documentation": {} }, { "label": "get_msvcr", "importPath": "distutils.cygwinccompiler", "description": "distutils.cygwinccompiler", "isExtraImport": true, "detail": "distutils.cygwinccompiler", "documentation": {} }, { "label": "install", "importPath": "distutils.command", "description": "distutils.command", "isExtraImport": true, "detail": "distutils.command", "documentation": {} }, { "label": "register", "importPath": "distutils.command", "description": "distutils.command", "isExtraImport": true, "detail": "distutils.command", "documentation": {} }, { "label": "upload", "importPath": "distutils.command", "description": "distutils.command", "isExtraImport": true, "detail": "distutils.command", "documentation": {} }, { "label": "install_data", "importPath": "distutils.command.install_data", "description": "distutils.command.install_data", "isExtraImport": true, "detail": "distutils.command.install_data", "documentation": {} }, { "label": "install_headers", "importPath": "distutils.command.install_headers", "description": "distutils.command.install_headers", "isExtraImport": true, "detail": "distutils.command.install_headers", "documentation": {} }, { "label": "install_lib", "importPath": "distutils.command.install_lib", "description": "distutils.command.install_lib", "isExtraImport": true, "detail": "distutils.command.install_lib", "documentation": {} }, { "label": "install_scripts", "importPath": "distutils.command.install_scripts", "description": "distutils.command.install_scripts", "isExtraImport": true, "detail": "distutils.command.install_scripts", "documentation": {} }, { "label": "urllib", "kind": 6, "isExtraImport": true, "importPath": "urllib", "description": "urllib", "detail": "urllib", "documentation": {} }, { "label": "register", "importPath": "distutils.command.register", "description": "distutils.command.register", "isExtraImport": true, "detail": "distutils.command.register", "documentation": {} }, { "label": "BasePyPIRCCommandTestCase", "importPath": "distutils.tests.test_config", "description": "distutils.tests.test_config", "isExtraImport": true, "detail": "distutils.tests.test_config", "documentation": {} }, { "label": "BasePyPIRCCommandTestCase", "importPath": "distutils.tests.test_config", "description": "distutils.tests.test_config", "isExtraImport": true, "detail": "distutils.tests.test_config", "documentation": {} }, { "label": "PYPIRC", "importPath": "distutils.tests.test_config", "description": "distutils.tests.test_config", "isExtraImport": true, "detail": "distutils.tests.test_config", "documentation": {} }, { "label": "BasePyPIRCCommandTestCase", "importPath": "distutils.tests.test_config", "description": "distutils.tests.test_config", "isExtraImport": true, "detail": "distutils.tests.test_config", "documentation": {} }, { "label": "sdist", "importPath": "distutils.command.sdist", "description": "distutils.command.sdist", "isExtraImport": true, "detail": "distutils.command.sdist", "documentation": {} }, { "label": "show_formats", "importPath": "distutils.command.sdist", "description": "distutils.command.sdist", "isExtraImport": true, "detail": "distutils.command.sdist", "documentation": {} }, { "label": "somecode", "kind": 6, "isExtraImport": true, "importPath": "somecode", "description": "somecode", "detail": "somecode", "documentation": {} }, { "label": "get_default_compiler", "importPath": "distutils.ccompiler", "description": "distutils.ccompiler", "isExtraImport": true, "detail": "distutils.ccompiler", "documentation": {} }, { "label": "\\", "importPath": "distutils.ccompiler", "description": "distutils.ccompiler", "isExtraImport": true, "detail": "distutils.ccompiler", "documentation": {} }, { "label": "CCompiler", "importPath": "distutils.ccompiler", "description": "distutils.ccompiler", "isExtraImport": true, "detail": "distutils.ccompiler", "documentation": {} }, { "label": "gen_lib_options", "importPath": "distutils.ccompiler", "description": "distutils.ccompiler", "isExtraImport": true, "detail": "distutils.ccompiler", "documentation": {} }, { "label": "\\", "importPath": "distutils.ccompiler", "description": "distutils.ccompiler", "isExtraImport": true, "detail": "distutils.ccompiler", "documentation": {} }, { "label": "\\", "importPath": "distutils.ccompiler", "description": "distutils.ccompiler", "isExtraImport": true, "detail": "distutils.ccompiler", "documentation": {} }, { "label": "CCompiler", "importPath": "distutils.ccompiler", "description": "distutils.ccompiler", "isExtraImport": true, "detail": "distutils.ccompiler", "documentation": {} }, { "label": "gen_lib_options", "importPath": "distutils.ccompiler", "description": "distutils.ccompiler", "isExtraImport": true, "detail": "distutils.ccompiler", "documentation": {} }, { "label": "UnixCCompiler", "importPath": "distutils.unixccompiler", "description": "distutils.unixccompiler", "isExtraImport": true, "detail": "distutils.unixccompiler", "documentation": {} }, { "label": "UnixCCompiler", "importPath": "distutils.unixccompiler", "description": "distutils.unixccompiler", "isExtraImport": true, "detail": "distutils.unixccompiler", "documentation": {} }, { "label": "upload", "importPath": "distutils.command.upload", "description": "distutils.command.upload", "isExtraImport": true, "detail": "distutils.command.upload", "documentation": {} }, { "label": "_osx_support", "kind": 6, "isExtraImport": true, "importPath": "_osx_support", "description": "_osx_support", "detail": "_osx_support", "documentation": {} }, { "label": "distutils.versionpredicate", "kind": 6, "isExtraImport": true, "importPath": "distutils.versionpredicate", "description": "distutils.versionpredicate", "detail": "distutils.versionpredicate", "documentation": {} }, { "label": "doctest", "kind": 6, "isExtraImport": true, "importPath": "doctest", "description": "doctest", "detail": "doctest", "documentation": {} }, { "label": "RawConfigParser", "importPath": "configparser", "description": "configparser", "isExtraImport": true, "detail": "configparser", "documentation": {} }, { "label": "ConfigParser", "importPath": "configparser", "description": "configparser", "isExtraImport": true, "detail": "configparser", "documentation": {} }, { "label": "PyPIRCCommand", "importPath": "distutils.config", "description": "distutils.config", "isExtraImport": true, "detail": "distutils.config", "documentation": {} }, { "label": "FancyGetopt", "importPath": "distutils.fancy_getopt", "description": "distutils.fancy_getopt", "isExtraImport": true, "detail": "distutils.fancy_getopt", "documentation": {} }, { "label": "translate_longopt", "importPath": "distutils.fancy_getopt", "description": "distutils.fancy_getopt", "isExtraImport": true, "detail": "distutils.fancy_getopt", "documentation": {} }, { "label": "fnmatch", "kind": 6, "isExtraImport": true, "importPath": "fnmatch", "description": "fnmatch", "detail": "fnmatch", "documentation": {} }, { "label": "winreg", "kind": 6, "isExtraImport": true, "importPath": "winreg", "description": "winreg", "detail": "winreg", "documentation": {} }, { "label": "CreateKey", "importPath": "winreg", "description": "winreg", "isExtraImport": true, "detail": "winreg", "documentation": {} }, { "label": "HKEY_CURRENT_USER", "importPath": "winreg", "description": "winreg", "isExtraImport": true, "detail": "winreg", "documentation": {} }, { "label": "SetValue", "importPath": "winreg", "description": "winreg", "isExtraImport": true, "detail": "winreg", "documentation": {} }, { "label": "REG_SZ", "importPath": "winreg", "description": "winreg", "isExtraImport": true, "detail": "winreg", "documentation": {} }, { "label": "KEY_ALL_ACCESS", "importPath": "winreg", "description": "winreg", "isExtraImport": true, "detail": "winreg", "documentation": {} }, { "label": "EnumKey", "importPath": "winreg", "description": "winreg", "isExtraImport": true, "detail": "winreg", "documentation": {} }, { "label": "CloseKey", "importPath": "winreg", "description": "winreg", "isExtraImport": true, "detail": "winreg", "documentation": {} }, { "label": "DeleteKey", "importPath": "winreg", "description": "winreg", "isExtraImport": true, "detail": "winreg", "documentation": {} }, { "label": "OpenKey", "importPath": "winreg", "description": "winreg", "isExtraImport": true, "detail": "winreg", "documentation": {} }, { "label": "_imp", "kind": 6, "isExtraImport": true, "importPath": "_imp", "description": "_imp", "detail": "_imp", "documentation": {} }, { "label": "MIMENonMultipart", "importPath": "email.mime.nonmultipart", "description": "email.mime.nonmultipart", "isExtraImport": true, "detail": "email.mime.nonmultipart", "documentation": {} }, { "label": "MIMENonMultipart", "importPath": "email.mime.nonmultipart", "description": "email.mime.nonmultipart", "isExtraImport": true, "detail": "email.mime.nonmultipart", "documentation": {} }, { "label": "MIMENonMultipart", "importPath": "email.mime.nonmultipart", "description": "email.mime.nonmultipart", "isExtraImport": true, "detail": "email.mime.nonmultipart", "documentation": {} }, { "label": "MIMENonMultipart", "importPath": "email.mime.nonmultipart", "description": "email.mime.nonmultipart", "isExtraImport": true, "detail": "email.mime.nonmultipart", "documentation": {} }, { "label": "MIMENonMultipart", "importPath": "email.mime.nonmultipart", "description": "email.mime.nonmultipart", "isExtraImport": true, "detail": "email.mime.nonmultipart", "documentation": {} }, { "label": "MIMENonMultipart", "importPath": "email.mime.nonmultipart", "description": "email.mime.nonmultipart", "isExtraImport": true, "detail": "email.mime.nonmultipart", "documentation": {} }, { "label": "sndhdr", "kind": 6, "isExtraImport": true, "importPath": "sndhdr", "description": "sndhdr", "detail": "sndhdr", "documentation": {} }, { "label": "MIMEBase", "importPath": "email.mime.base", "description": "email.mime.base", "isExtraImport": true, "detail": "email.mime.base", "documentation": {} }, { "label": "MIMEBase", "importPath": "email.mime.base", "description": "email.mime.base", "isExtraImport": true, "detail": "email.mime.base", "documentation": {} }, { "label": "MIMEBase", "importPath": "email.mime.base", "description": "email.mime.base", "isExtraImport": true, "detail": "email.mime.base", "documentation": {} }, { "label": "email.charset", "kind": 6, "isExtraImport": true, "importPath": "email.charset", "description": "email.charset", "detail": "email.charset", "documentation": {} }, { "label": "Charset", "importPath": "email.charset", "description": "email.charset", "isExtraImport": true, "detail": "email.charset", "documentation": {} }, { "label": "Charset", "importPath": "email.charset", "description": "email.charset", "isExtraImport": true, "detail": "email.charset", "documentation": {} }, { "label": "Charset", "importPath": "email.charset", "description": "email.charset", "isExtraImport": true, "detail": "email.charset", "documentation": {} }, { "label": "Charset", "importPath": "email.charset", "description": "email.charset", "isExtraImport": true, "detail": "email.charset", "documentation": {} }, { "label": "email.base64mime", "kind": 6, "isExtraImport": true, "importPath": "email.base64mime", "description": "email.base64mime", "detail": "email.base64mime", "documentation": {} }, { "label": "email.quoprimime", "kind": 6, "isExtraImport": true, "importPath": "email.quoprimime", "description": "email.quoprimime", "detail": "email.quoprimime", "documentation": {} }, { "label": "encode_7or8bit", "importPath": "email.encoders", "description": "email.encoders", "isExtraImport": true, "detail": "email.encoders", "documentation": {} }, { "label": "email.errors", "kind": 6, "isExtraImport": true, "importPath": "email.errors", "description": "email.errors", "detail": "email.errors", "documentation": {} }, { "label": "HeaderParseError", "importPath": "email.errors", "description": "email.errors", "isExtraImport": true, "detail": "email.errors", "documentation": {} }, { "label": "quopri", "kind": 6, "isExtraImport": true, "importPath": "quopri", "description": "quopri", "detail": "quopri", "documentation": {} }, { "label": "encodestring", "importPath": "quopri", "description": "quopri", "isExtraImport": true, "detail": "quopri", "documentation": {} }, { "label": "compat32", "importPath": "email._policybase", "description": "email._policybase", "isExtraImport": true, "detail": "email._policybase", "documentation": {} }, { "label": "Policy", "importPath": "email._policybase", "description": "email._policybase", "isExtraImport": true, "detail": "email._policybase", "documentation": {} }, { "label": "compat32", "importPath": "email._policybase", "description": "email._policybase", "isExtraImport": true, "detail": "email._policybase", "documentation": {} }, { "label": "compat32", "importPath": "email._policybase", "description": "email._policybase", "isExtraImport": true, "detail": "email._policybase", "documentation": {} }, { "label": "Policy", "importPath": "email._policybase", "description": "email._policybase", "isExtraImport": true, "detail": "email._policybase", "documentation": {} }, { "label": "Compat32", "importPath": "email._policybase", "description": "email._policybase", "isExtraImport": true, "detail": "email._policybase", "documentation": {} }, { "label": "compat32", "importPath": "email._policybase", "description": "email._policybase", "isExtraImport": true, "detail": "email._policybase", "documentation": {} }, { "label": "_extend_docstrings", "importPath": "email._policybase", "description": "email._policybase", "isExtraImport": true, "detail": "email._policybase", "documentation": {} }, { "label": "uu", "kind": 6, "isExtraImport": true, "importPath": "uu", "description": "uu", "detail": "uu", "documentation": {} }, { "label": "decode_b", "importPath": "email._encoded_words", "description": "email._encoded_words", "isExtraImport": true, "detail": "email._encoded_words", "documentation": {} }, { "label": "FeedParser", "importPath": "email.feedparser", "description": "email.feedparser", "isExtraImport": true, "detail": "email.feedparser", "documentation": {} }, { "label": "BytesFeedParser", "importPath": "email.feedparser", "description": "email.feedparser", "isExtraImport": true, "detail": "email.feedparser", "documentation": {} }, { "label": "raw_data_manager", "importPath": "email.contentmanager", "description": "email.contentmanager", "isExtraImport": true, "detail": "email.contentmanager", "documentation": {} }, { "label": "ContentManager", "importPath": "email.contentmanager", "description": "email.contentmanager", "isExtraImport": true, "detail": "email.contentmanager", "documentation": {} }, { "label": "raw_data_manager", "importPath": "email.contentmanager", "description": "email.contentmanager", "isExtraImport": true, "detail": "email.contentmanager", "documentation": {} }, { "label": "quote", "importPath": "email._parseaddr", "description": "email._parseaddr", "isExtraImport": true, "detail": "email._parseaddr", "documentation": {} }, { "label": "AddressList", "importPath": "email._parseaddr", "description": "email._parseaddr", "isExtraImport": true, "detail": "email._parseaddr", "documentation": {} }, { "label": "mktime_tz", "importPath": "email._parseaddr", "description": "email._parseaddr", "isExtraImport": true, "detail": "email._parseaddr", "documentation": {} }, { "label": "parsedate", "importPath": "email._parseaddr", "description": "email._parseaddr", "isExtraImport": true, "detail": "email._parseaddr", "documentation": {} }, { "label": "parsedate_tz", "importPath": "email._parseaddr", "description": "email._parseaddr", "isExtraImport": true, "detail": "email._parseaddr", "documentation": {} }, { "label": "_parsedate_tz", "importPath": "email._parseaddr", "description": "email._parseaddr", "isExtraImport": true, "detail": "email._parseaddr", "documentation": {} }, { "label": "time,", "kind": 6, "isExtraImport": true, "importPath": "time.", "description": "time.", "detail": "time.", "documentation": {} }, { "label": "abc", "kind": 6, "isExtraImport": true, "importPath": "abc", "description": "abc", "detail": "abc", "documentation": {} }, { "label": "ABCMeta", "importPath": "abc", "description": "abc", "isExtraImport": true, "detail": "abc", "documentation": {} }, { "label": "codecs", "kind": 6, "isExtraImport": true, "importPath": "codecs", "description": "codecs", "detail": "codecs", "documentation": {} }, { "label": "mbcs_encode", "importPath": "codecs", "description": "codecs", "isExtraImport": true, "detail": "codecs", "documentation": {} }, { "label": "mbcs_decode", "importPath": "codecs", "description": "codecs", "isExtraImport": true, "detail": "codecs", "documentation": {} }, { "label": "oem_encode", "importPath": "codecs", "description": "codecs", "isExtraImport": true, "detail": "codecs", "documentation": {} }, { "label": "oem_decode", "importPath": "codecs", "description": "codecs", "isExtraImport": true, "detail": "codecs", "documentation": {} }, { "label": "BOM_UTF8", "importPath": "codecs", "description": "codecs", "isExtraImport": true, "detail": "codecs", "documentation": {} }, { "label": "lookup", "importPath": "codecs", "description": "codecs", "isExtraImport": true, "detail": "codecs", "documentation": {} }, { "label": "_codecs_tw,", "kind": 6, "isExtraImport": true, "importPath": "_codecs_tw.", "description": "_codecs_tw.", "detail": "_codecs_tw.", "documentation": {} }, { "label": "_multibytecodec", "kind": 6, "isExtraImport": true, "importPath": "_multibytecodec", "description": "_multibytecodec", "detail": "_multibytecodec", "documentation": {} }, { "label": "_codecs_hk,", "kind": 6, "isExtraImport": true, "importPath": "_codecs_hk.", "description": "_codecs_hk.", "detail": "_codecs_hk.", "documentation": {} }, { "label": "bz2", "kind": 6, "isExtraImport": true, "importPath": "bz2", "description": "bz2", "detail": "bz2", "documentation": {} }, { "label": "_codecs_jp,", "kind": 6, "isExtraImport": true, "importPath": "_codecs_jp.", "description": "_codecs_jp.", "detail": "_codecs_jp.", "documentation": {} }, { "label": "_codecs_kr,", "kind": 6, "isExtraImport": true, "importPath": "_codecs_kr.", "description": "_codecs_kr.", "detail": "_codecs_kr.", "documentation": {} }, { "label": "_codecs_cn,", "kind": 6, "isExtraImport": true, "importPath": "_codecs_cn.", "description": "_codecs_cn.", "detail": "_codecs_cn.", "documentation": {} }, { "label": "stringprep,", "kind": 6, "isExtraImport": true, "importPath": "stringprep.", "description": "stringprep.", "detail": "stringprep.", "documentation": {} }, { "label": "unicodedata", "kind": 6, "isExtraImport": true, "importPath": "unicodedata", "description": "unicodedata", "detail": "unicodedata", "documentation": {} }, { "label": "ucd_3_2_0", "importPath": "unicodedata", "description": "unicodedata", "isExtraImport": true, "detail": "unicodedata", "documentation": {} }, { "label": "_codecs_iso2022,", "kind": 6, "isExtraImport": true, "importPath": "_codecs_iso2022.", "description": "_codecs_iso2022.", "detail": "_codecs_iso2022.", "documentation": {} }, { "label": "codecs,", "kind": 6, "isExtraImport": true, "importPath": "codecs.", "description": "codecs.", "detail": "codecs.", "documentation": {} }, { "label": "zlib", "kind": 6, "isExtraImport": true, "importPath": "zlib", "description": "zlib", "detail": "zlib", "documentation": {} }, { "label": "ensurepip", "kind": 6, "isExtraImport": true, "importPath": "ensurepip", "description": "ensurepip", "detail": "ensurepip", "documentation": {} }, { "label": "_markupbase", "kind": 6, "isExtraImport": true, "importPath": "_markupbase", "description": "_markupbase", "detail": "_markupbase", "documentation": {} }, { "label": "html", "kind": 6, "isExtraImport": true, "importPath": "html", "description": "html", "detail": "html", "documentation": {} }, { "label": "unescape", "importPath": "html", "description": "html", "isExtraImport": true, "detail": "html", "documentation": {} }, { "label": "http", "kind": 6, "isExtraImport": true, "importPath": "http", "description": "http", "detail": "http", "documentation": {} }, { "label": "HTTPStatus", "importPath": "http", "description": "http", "isExtraImport": true, "detail": "http", "documentation": {} }, { "label": "http.client", "kind": 6, "isExtraImport": true, "importPath": "http.client", "description": "http.client", "detail": "http.client", "documentation": {} }, { "label": "timegm", "importPath": "calendar", "description": "calendar", "isExtraImport": true, "detail": "calendar", "documentation": {} }, { "label": "posixpath", "kind": 6, "isExtraImport": true, "importPath": "posixpath", "description": "posixpath", "detail": "posixpath", "documentation": {} }, { "label": "select", "kind": 6, "isExtraImport": true, "importPath": "select", "description": "select", "detail": "select", "documentation": {} }, { "label": "socketserver", "kind": 6, "isExtraImport": true, "importPath": "socketserver", "description": "socketserver", "detail": "socketserver", "documentation": {} }, { "label": "ThreadingTCPServer", "importPath": "socketserver", "description": "socketserver", "isExtraImport": true, "detail": "socketserver", "documentation": {} }, { "label": "StreamRequestHandler", "importPath": "socketserver", "description": "socketserver", "isExtraImport": true, "detail": "socketserver", "documentation": {} }, { "label": "idlelib.pyshell", "kind": 6, "isExtraImport": true, "importPath": "idlelib.pyshell", "description": "idlelib.pyshell", "detail": "idlelib.pyshell", "documentation": {} }, { "label": "fix_x11_paste", "importPath": "idlelib.pyshell", "description": "idlelib.pyshell", "isExtraImport": true, "detail": "idlelib.pyshell", "documentation": {} }, { "label": "PyShell", "importPath": "idlelib.pyshell", "description": "idlelib.pyshell", "isExtraImport": true, "detail": "idlelib.pyshell", "documentation": {} }, { "label": "PyShellFileList", "importPath": "idlelib.pyshell", "description": "idlelib.pyshell", "isExtraImport": true, "detail": "idlelib.pyshell", "documentation": {} }, { "label": "main", "importPath": "idlelib.pyshell", "description": "idlelib.pyshell", "isExtraImport": true, "detail": "idlelib.pyshell", "documentation": {} }, { "label": "tkinter", "kind": 6, "isExtraImport": true, "importPath": "tkinter", "description": "tkinter", "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "NSEW", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Frame", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TclError", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "StringVar", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "IntVar", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "BooleanVar", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "DISABLED", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "NORMAL", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TclError", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "ttk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TclError", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "END", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "END", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TclError", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "BooleanVar", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Toplevel", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "BooleanVar", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "StringVar", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TclError", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "messagebox", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TclError", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "CHAR", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "NONE", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "WORD", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Button", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Toplevel", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "EventType", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "SCROLL", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Tk", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "*", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Label", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "LEFT", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "SOLID", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TclError", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Frame", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TclError", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Toplevel", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Listbox", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Scale", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Canvas", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "StringVar", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "BooleanVar", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "IntVar", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TRUE", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "FALSE", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TOP", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "BOTTOM", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "RIGHT", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "LEFT", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "SOLID", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "GROOVE", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "NONE", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "BOTH", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "X", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Y", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "W", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "E", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "EW", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "NS", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "NSEW", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "NW", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "HORIZONTAL", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "VERTICAL", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "ANCHOR", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "ACTIVE", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "END", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TclError", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "colorchooser", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "messagebox", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Toplevel", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Listbox", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "StringVar", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TclError", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "messagebox", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "*", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "OptionMenu", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "_setit", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "StringVar", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Button", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "*", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "simpledialog", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "messagebox", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "messagebox", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "StringVar", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "BooleanVar", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Toplevel", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Menu", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "font", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Toplevel", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Frame", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Label", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Button", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "PhotoImage", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "SUNKEN", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TOP", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "BOTTOM", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "LEFT", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "X", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "BOTH", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "W", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "EW", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "NSEW", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "E", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "filedialog", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "messagebox", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "messagebox", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "messagebox", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Toplevel", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "StringVar", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "BooleanVar", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "W", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "E", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "S", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "filedialog", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TclError", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "StringVar", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TclError", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "messagebox", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "*", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TclError", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Toplevel", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "StringVar", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "BooleanVar", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TclError", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "messagebox", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "messagebox", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Toplevel", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Text", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TclError", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "\\", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "*", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "*", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Toplevel", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "TclError", "importPath": "tkinter", "description": "tkinter", "isExtraImport": true, "detail": "tkinter", "documentation": {} }, { "label": "Scrollbar", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Frame", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Button", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Scrollbar", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Frame", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "LabelFrame", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Button", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Checkbutton", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Entry", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Label", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "OptionMenu", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Notebook", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Radiobutton", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Scrollbar", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Style", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Spinbox", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Combobox", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Frame", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Button", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Checkbutton", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Entry", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Label", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Scrollbar", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Frame", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Scrollbar", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Scrollbar", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Checkbutton", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Frame", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Menubutton", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Scrollbar", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Style", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Frame", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Button", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Entry", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Label", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Checkbutton", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Frame", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Scrollbar", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Frame", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Entry", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Label", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Button", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Checkbutton", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Radiobutton", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Label", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Frame", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Frame", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Scrollbar", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Button", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Frame", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Scrollbar", "importPath": "tkinter.ttk", "description": "tkinter.ttk", "isExtraImport": true, "detail": "tkinter.ttk", "documentation": {} }, { "label": "Text", "importPath": "idlelib.idle_test.mock_tk", "description": "idlelib.idle_test.mock_tk", "isExtraImport": true, "detail": "idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Mbox", "importPath": "idlelib.idle_test.mock_tk", "description": "idlelib.idle_test.mock_tk", "isExtraImport": true, "detail": "idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Event", "importPath": "idlelib.idle_test.mock_tk", "description": "idlelib.idle_test.mock_tk", "isExtraImport": true, "detail": "idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Text", "importPath": "idlelib.idle_test.mock_tk", "description": "idlelib.idle_test.mock_tk", "isExtraImport": true, "detail": "idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Mbox_func", "importPath": "idlelib.idle_test.mock_tk", "description": "idlelib.idle_test.mock_tk", "isExtraImport": true, "detail": "idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Var", "importPath": "idlelib.idle_test.mock_tk", "description": "idlelib.idle_test.mock_tk", "isExtraImport": true, "detail": "idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Mbox_func", "importPath": "idlelib.idle_test.mock_tk", "description": "idlelib.idle_test.mock_tk", "isExtraImport": true, "detail": "idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Text", "importPath": "idlelib.idle_test.mock_tk", "description": "idlelib.idle_test.mock_tk", "isExtraImport": true, "detail": "idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Mbox_func", "importPath": "idlelib.idle_test.mock_tk", "description": "idlelib.idle_test.mock_tk", "isExtraImport": true, "detail": "idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Var", "importPath": "idlelib.idle_test.mock_tk", "description": "idlelib.idle_test.mock_tk", "isExtraImport": true, "detail": "idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Mbox", "importPath": "idlelib.idle_test.mock_tk", "description": "idlelib.idle_test.mock_tk", "isExtraImport": true, "detail": "idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Var", "importPath": "idlelib.idle_test.mock_tk", "description": "idlelib.idle_test.mock_tk", "isExtraImport": true, "detail": "idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Mbox", "importPath": "idlelib.idle_test.mock_tk", "description": "idlelib.idle_test.mock_tk", "isExtraImport": true, "detail": "idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Text", "importPath": "idlelib.idle_test.mock_tk", "description": "idlelib.idle_test.mock_tk", "isExtraImport": true, "detail": "idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Mbox_func", "importPath": "idlelib.idle_test.mock_tk", "description": "idlelib.idle_test.mock_tk", "isExtraImport": true, "detail": "idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "TclError", "importPath": "_tkinter", "description": "_tkinter", "isExtraImport": true, "detail": "_tkinter", "documentation": {} }, { "label": "TclError", "importPath": "_tkinter", "description": "_tkinter", "isExtraImport": true, "detail": "_tkinter", "documentation": {} }, { "label": "module", "kind": 6, "isExtraImport": true, "importPath": "module", "description": "module", "detail": "module", "documentation": {} }, { "label": "idlelib", "kind": 6, "isExtraImport": true, "importPath": "idlelib", "description": "idlelib", "detail": "idlelib", "documentation": {} }, { "label": "zzdummy", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "browser", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "calltip", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "calltip_w", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "codecontext", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "config", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "colorizer", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "config", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "config", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "configdialog", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "config", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "config_key", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "debugger", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "debugger_r", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "debugobj", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "debugobj_r", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "pyshell", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "editor", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "filelist", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "format", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "grep", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "help", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "help_about", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "textview", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "iomenu", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "util", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "macosx", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "mainmenu", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "multicall", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "outwin", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "pathbrowser", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "browser", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "pyparse", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "pyshell", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "query", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "rpc", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "run", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "runscript", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "search", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "searchengine", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "searchengine", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "searchbase", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "searchengine", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "macosx", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "stackviewer", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "statusbar", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "textview", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "tree", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "util", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "run", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "pyshell", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "window", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "zoomheight", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "zzdummy", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "config", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "editor", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "format", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "autocomplete_w", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "pyshell", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "calltip_w", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "macosx", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "macosx", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "debugger", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "rpc", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "configdialog", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "grep", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "help", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "help_about", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "macosx", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "pyparse", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "query", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "replace", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "search", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "window", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "searchengine", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "textview", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "pyparse", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "debugger", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "debugger_r", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "replace", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "rpc", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "searchengine", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "autocomplete", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "calltip", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "debugger_r", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "debugobj_r", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "iomenu", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "rpc", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "stackviewer", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "macosx", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "pyshell", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "outwin", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "macosx", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "searchengine", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "macosx", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "macosx", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "zoomheight", "importPath": "idlelib", "description": "idlelib", "isExtraImport": true, "detail": "idlelib", "documentation": {} }, { "label": "__main__", "kind": 6, "isExtraImport": true, "importPath": "__main__", "description": "__main__", "detail": "__main__", "documentation": {} }, { "label": "idlelib.autocomplete", "kind": 6, "isExtraImport": true, "importPath": "idlelib.autocomplete", "description": "idlelib.autocomplete", "detail": "idlelib.autocomplete", "documentation": {} }, { "label": "FILES", "importPath": "idlelib.autocomplete", "description": "idlelib.autocomplete", "isExtraImport": true, "detail": "idlelib.autocomplete", "documentation": {} }, { "label": "ATTRS", "importPath": "idlelib.autocomplete", "description": "idlelib.autocomplete", "isExtraImport": true, "detail": "idlelib.autocomplete", "documentation": {} }, { "label": "AutoComplete", "importPath": "idlelib.autocomplete", "description": "idlelib.autocomplete", "isExtraImport": true, "detail": "idlelib.autocomplete", "documentation": {} }, { "label": "idlelib.autocomplete_w", "kind": 6, "isExtraImport": true, "importPath": "idlelib.autocomplete_w", "description": "idlelib.autocomplete_w", "detail": "idlelib.autocomplete_w", "documentation": {} }, { "label": "Func", "importPath": "idlelib.idle_test.mock_idle", "description": "idlelib.idle_test.mock_idle", "isExtraImport": true, "detail": "idlelib.idle_test.mock_idle", "documentation": {} }, { "label": "Func", "importPath": "idlelib.idle_test.mock_idle", "description": "idlelib.idle_test.mock_idle", "isExtraImport": true, "detail": "idlelib.idle_test.mock_idle", "documentation": {} }, { "label": "Func", "importPath": "idlelib.idle_test.mock_idle", "description": "idlelib.idle_test.mock_idle", "isExtraImport": true, "detail": "idlelib.idle_test.mock_idle", "documentation": {} }, { "label": "Func", "importPath": "idlelib.idle_test.mock_idle", "description": "idlelib.idle_test.mock_idle", "isExtraImport": true, "detail": "idlelib.idle_test.mock_idle", "documentation": {} }, { "label": "Func", "importPath": "idlelib.idle_test.mock_idle", "description": "idlelib.idle_test.mock_idle", "isExtraImport": true, "detail": "idlelib.idle_test.mock_idle", "documentation": {} }, { "label": "Func", "importPath": "idlelib.idle_test.mock_idle", "description": "idlelib.idle_test.mock_idle", "isExtraImport": true, "detail": "idlelib.idle_test.mock_idle", "documentation": {} }, { "label": "Editor", "importPath": "idlelib.idle_test.mock_idle", "description": "idlelib.idle_test.mock_idle", "isExtraImport": true, "detail": "idlelib.idle_test.mock_idle", "documentation": {} }, { "label": "Func", "importPath": "idlelib.idle_test.mock_idle", "description": "idlelib.idle_test.mock_idle", "isExtraImport": true, "detail": "idlelib.idle_test.mock_idle", "documentation": {} }, { "label": "Func", "importPath": "idlelib.idle_test.mock_idle", "description": "idlelib.idle_test.mock_idle", "isExtraImport": true, "detail": "idlelib.idle_test.mock_idle", "documentation": {} }, { "label": "Func", "importPath": "idlelib.idle_test.mock_idle", "description": "idlelib.idle_test.mock_idle", "isExtraImport": true, "detail": "idlelib.idle_test.mock_idle", "documentation": {} }, { "label": "Func", "importPath": "idlelib.idle_test.mock_idle", "description": "idlelib.idle_test.mock_idle", "isExtraImport": true, "detail": "idlelib.idle_test.mock_idle", "documentation": {} }, { "label": "Func", "importPath": "idlelib.idle_test.mock_idle", "description": "idlelib.idle_test.mock_idle", "isExtraImport": true, "detail": "idlelib.idle_test.mock_idle", "documentation": {} }, { "label": "Func", "importPath": "idlelib.idle_test.mock_idle", "description": "idlelib.idle_test.mock_idle", "isExtraImport": true, "detail": "idlelib.idle_test.mock_idle", "documentation": {} }, { "label": "Func", "importPath": "idlelib.idle_test.mock_idle", "description": "idlelib.idle_test.mock_idle", "isExtraImport": true, "detail": "idlelib.idle_test.mock_idle", "documentation": {} }, { "label": "AutoExpand", "importPath": "idlelib.autoexpand", "description": "idlelib.autoexpand", "isExtraImport": true, "detail": "idlelib.autoexpand", "documentation": {} }, { "label": "pyclbr", "kind": 6, "isExtraImport": true, "importPath": "pyclbr", "description": "pyclbr", "detail": "pyclbr", "documentation": {} }, { "label": "TreeNode", "importPath": "idlelib.tree", "description": "idlelib.tree", "isExtraImport": true, "detail": "idlelib.tree", "documentation": {} }, { "label": "TreeNode", "importPath": "idlelib.tree", "description": "idlelib.tree", "isExtraImport": true, "detail": "idlelib.tree", "documentation": {} }, { "label": "TreeNode", "importPath": "idlelib.tree", "description": "idlelib.tree", "isExtraImport": true, "detail": "idlelib.tree", "documentation": {} }, { "label": "ScrolledCanvas", "importPath": "idlelib.tree", "description": "idlelib.tree", "isExtraImport": true, "detail": "idlelib.tree", "documentation": {} }, { "label": "TreeNode", "importPath": "idlelib.tree", "description": "idlelib.tree", "isExtraImport": true, "detail": "idlelib.tree", "documentation": {} }, { "label": "TreeItem", "importPath": "idlelib.tree", "description": "idlelib.tree", "isExtraImport": true, "detail": "idlelib.tree", "documentation": {} }, { "label": "ScrolledCanvas", "importPath": "idlelib.tree", "description": "idlelib.tree", "isExtraImport": true, "detail": "idlelib.tree", "documentation": {} }, { "label": "TreeItem", "importPath": "idlelib.tree", "description": "idlelib.tree", "isExtraImport": true, "detail": "idlelib.tree", "documentation": {} }, { "label": "TreeNode", "importPath": "idlelib.tree", "description": "idlelib.tree", "isExtraImport": true, "detail": "idlelib.tree", "documentation": {} }, { "label": "ScrolledCanvas", "importPath": "idlelib.tree", "description": "idlelib.tree", "isExtraImport": true, "detail": "idlelib.tree", "documentation": {} }, { "label": "wheel_event", "importPath": "idlelib.tree", "description": "idlelib.tree", "isExtraImport": true, "detail": "idlelib.tree", "documentation": {} }, { "label": "TreeItem", "importPath": "idlelib.tree", "description": "idlelib.tree", "isExtraImport": true, "detail": "idlelib.tree", "documentation": {} }, { "label": "TreeNode", "importPath": "idlelib.tree", "description": "idlelib.tree", "isExtraImport": true, "detail": "idlelib.tree", "documentation": {} }, { "label": "TreeItem", "importPath": "idlelib.tree", "description": "idlelib.tree", "isExtraImport": true, "detail": "idlelib.tree", "documentation": {} }, { "label": "ScrolledCanvas", "importPath": "idlelib.tree", "description": "idlelib.tree", "isExtraImport": true, "detail": "idlelib.tree", "documentation": {} }, { "label": "run_in_tk_mainloop", "importPath": "idlelib.idle_test.tkinter_testing_utils", "description": "idlelib.idle_test.tkinter_testing_utils", "isExtraImport": true, "detail": "idlelib.idle_test.tkinter_testing_utils", "documentation": {} }, { "label": "run_in_tk_mainloop", "importPath": "idlelib.idle_test.tkinter_testing_utils", "description": "idlelib.idle_test.tkinter_testing_utils", "isExtraImport": true, "detail": "idlelib.idle_test.tkinter_testing_utils", "documentation": {} }, { "label": "Percolator", "importPath": "idlelib.percolator", "description": "idlelib.percolator", "isExtraImport": true, "detail": "idlelib.percolator", "documentation": {} }, { "label": "Percolator", "importPath": "idlelib.percolator", "description": "idlelib.percolator", "isExtraImport": true, "detail": "idlelib.percolator", "documentation": {} }, { "label": "Delegator", "importPath": "idlelib.percolator", "description": "idlelib.percolator", "isExtraImport": true, "detail": "idlelib.percolator", "documentation": {} }, { "label": "Percolator", "importPath": "idlelib.percolator", "description": "idlelib.percolator", "isExtraImport": true, "detail": "idlelib.percolator", "documentation": {} }, { "label": "Percolator", "importPath": "idlelib.percolator", "description": "idlelib.percolator", "isExtraImport": true, "detail": "idlelib.percolator", "documentation": {} }, { "label": "Percolator", "importPath": "idlelib.percolator", "description": "idlelib.percolator", "isExtraImport": true, "detail": "idlelib.percolator", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.configdialog", "description": "idlelib.configdialog", "isExtraImport": true, "detail": "idlelib.configdialog", "documentation": {} }, { "label": "changes", "importPath": "idlelib.configdialog", "description": "idlelib.configdialog", "isExtraImport": true, "detail": "idlelib.configdialog", "documentation": {} }, { "label": "tracers", "importPath": "idlelib.configdialog", "description": "idlelib.configdialog", "isExtraImport": true, "detail": "idlelib.configdialog", "documentation": {} }, { "label": "Delegator", "importPath": "idlelib.delegator", "description": "idlelib.delegator", "isExtraImport": true, "detail": "idlelib.delegator", "documentation": {} }, { "label": "Delegator", "importPath": "idlelib.delegator", "description": "idlelib.delegator", "isExtraImport": true, "detail": "idlelib.delegator", "documentation": {} }, { "label": "Delegator", "importPath": "idlelib.delegator", "description": "idlelib.delegator", "isExtraImport": true, "detail": "idlelib.delegator", "documentation": {} }, { "label": "Delegator", "importPath": "idlelib.delegator", "description": "idlelib.delegator", "isExtraImport": true, "detail": "idlelib.delegator", "documentation": {} }, { "label": "Delegator", "importPath": "idlelib.delegator", "description": "idlelib.delegator", "isExtraImport": true, "detail": "idlelib.delegator", "documentation": {} }, { "label": "Delegator", "importPath": "idlelib.delegator", "description": "idlelib.delegator", "isExtraImport": true, "detail": "idlelib.delegator", "documentation": {} }, { "label": "Delegator", "importPath": "idlelib.delegator", "description": "idlelib.delegator", "isExtraImport": true, "detail": "idlelib.delegator", "documentation": {} }, { "label": "EditorWindow", "importPath": "idlelib.editor", "description": "idlelib.editor", "isExtraImport": true, "detail": "idlelib.editor", "documentation": {} }, { "label": "EditorWindow", "importPath": "idlelib.editor", "description": "idlelib.editor", "isExtraImport": true, "detail": "idlelib.editor", "documentation": {} }, { "label": "EditorWindow", "importPath": "idlelib.editor", "description": "idlelib.editor", "isExtraImport": true, "detail": "idlelib.editor", "documentation": {} }, { "label": "EditorWindow", "importPath": "idlelib.editor", "description": "idlelib.editor", "isExtraImport": true, "detail": "idlelib.editor", "documentation": {} }, { "label": "fixwordbreaks", "importPath": "idlelib.editor", "description": "idlelib.editor", "isExtraImport": true, "detail": "idlelib.editor", "documentation": {} }, { "label": "EditorWindow", "importPath": "idlelib.editor", "description": "idlelib.editor", "isExtraImport": true, "detail": "idlelib.editor", "documentation": {} }, { "label": "EditorWindow", "importPath": "idlelib.editor", "description": "idlelib.editor", "isExtraImport": true, "detail": "idlelib.editor", "documentation": {} }, { "label": "EditorWindow", "importPath": "idlelib.editor", "description": "idlelib.editor", "isExtraImport": true, "detail": "idlelib.editor", "documentation": {} }, { "label": "fixwordbreaks", "importPath": "idlelib.editor", "description": "idlelib.editor", "isExtraImport": true, "detail": "idlelib.editor", "documentation": {} }, { "label": "History", "importPath": "idlelib.history", "description": "idlelib.history", "isExtraImport": true, "detail": "idlelib.history", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "ConfigChanges", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "idleConf", "importPath": "idlelib.config", "description": "idlelib.config", "isExtraImport": true, "detail": "idlelib.config", "documentation": {} }, { "label": "HyperParser", "importPath": "idlelib.hyperparser", "description": "idlelib.hyperparser", "isExtraImport": true, "detail": "idlelib.hyperparser", "documentation": {} }, { "label": "HyperParser", "importPath": "idlelib.hyperparser", "description": "idlelib.hyperparser", "isExtraImport": true, "detail": "idlelib.hyperparser", "documentation": {} }, { "label": "HyperParser", "importPath": "idlelib.hyperparser", "description": "idlelib.hyperparser", "isExtraImport": true, "detail": "idlelib.hyperparser", "documentation": {} }, { "label": "HyperParser", "importPath": "idlelib.hyperparser", "description": "idlelib.hyperparser", "isExtraImport": true, "detail": "idlelib.hyperparser", "documentation": {} }, { "label": "FileList", "importPath": "idlelib.filelist", "description": "idlelib.filelist", "isExtraImport": true, "detail": "idlelib.filelist", "documentation": {} }, { "label": "FileList", "importPath": "idlelib.filelist", "description": "idlelib.filelist", "isExtraImport": true, "detail": "idlelib.filelist", "documentation": {} }, { "label": "ParenMatch", "importPath": "idlelib.parenmatch", "description": "idlelib.parenmatch", "isExtraImport": true, "detail": "idlelib.parenmatch", "documentation": {} }, { "label": "ParenMatch", "importPath": "idlelib.parenmatch", "description": "idlelib.parenmatch", "isExtraImport": true, "detail": "idlelib.parenmatch", "documentation": {} }, { "label": "WidgetRedirector", "importPath": "idlelib.redirector", "description": "idlelib.redirector", "isExtraImport": true, "detail": "idlelib.redirector", "documentation": {} }, { "label": "WidgetRedirector", "importPath": "idlelib.redirector", "description": "idlelib.redirector", "isExtraImport": true, "detail": "idlelib.redirector", "documentation": {} }, { "label": "ReplaceDialog", "importPath": "idlelib.replace", "description": "idlelib.replace", "isExtraImport": true, "detail": "idlelib.replace", "documentation": {} }, { "label": "idlelib.searchengine", "kind": 6, "isExtraImport": true, "importPath": "idlelib.searchengine", "description": "idlelib.searchengine", "detail": "idlelib.searchengine", "documentation": {} }, { "label": "ScrolledList", "importPath": "idlelib.scrolledlist", "description": "idlelib.scrolledlist", "isExtraImport": true, "detail": "idlelib.scrolledlist", "documentation": {} }, { "label": "ScrolledList", "importPath": "idlelib.scrolledlist", "description": "idlelib.scrolledlist", "isExtraImport": true, "detail": "idlelib.scrolledlist", "documentation": {} }, { "label": "fix_scaling", "importPath": "idlelib.run", "description": "idlelib.run", "isExtraImport": true, "detail": "idlelib.run", "documentation": {} }, { "label": "idle_formatwarning", "importPath": "idlelib.run", "description": "idlelib.run", "isExtraImport": true, "detail": "idlelib.run", "documentation": {} }, { "label": "StdInputFile", "importPath": "idlelib.run", "description": "idlelib.run", "isExtraImport": true, "detail": "idlelib.run", "documentation": {} }, { "label": "StdOutputFile", "importPath": "idlelib.run", "description": "idlelib.run", "isExtraImport": true, "detail": "idlelib.run", "documentation": {} }, { "label": "idlelib.sidebar", "kind": 6, "isExtraImport": true, "importPath": "idlelib.sidebar", "description": "idlelib.sidebar", "detail": "idlelib.sidebar", "documentation": {} }, { "label": "get_end_linenumber", "importPath": "idlelib.sidebar", "description": "idlelib.sidebar", "isExtraImport": true, "detail": "idlelib.sidebar", "documentation": {} }, { "label": "get_lineno", "importPath": "idlelib.sidebar", "description": "idlelib.sidebar", "isExtraImport": true, "detail": "idlelib.sidebar", "documentation": {} }, { "label": "count_lines_with_wrapping", "importPath": "idlelib.squeezer", "description": "idlelib.squeezer", "isExtraImport": true, "detail": "idlelib.squeezer", "documentation": {} }, { "label": "ExpandingButton", "importPath": "idlelib.squeezer", "description": "idlelib.squeezer", "isExtraImport": true, "detail": "idlelib.squeezer", "documentation": {} }, { "label": "\\", "importPath": "idlelib.squeezer", "description": "idlelib.squeezer", "isExtraImport": true, "detail": "idlelib.squeezer", "documentation": {} }, { "label": "Squeezer", "importPath": "idlelib.squeezer", "description": "idlelib.squeezer", "isExtraImport": true, "detail": "idlelib.squeezer", "documentation": {} }, { "label": "view_text", "importPath": "idlelib.textview", "description": "idlelib.textview", "isExtraImport": true, "detail": "idlelib.textview", "documentation": {} }, { "label": "view_text", "importPath": "idlelib.textview", "description": "idlelib.textview", "isExtraImport": true, "detail": "idlelib.textview", "documentation": {} }, { "label": "ScrollableTextFrame", "importPath": "idlelib.textview", "description": "idlelib.textview", "isExtraImport": true, "detail": "idlelib.textview", "documentation": {} }, { "label": "view_text", "importPath": "idlelib.textview", "description": "idlelib.textview", "isExtraImport": true, "detail": "idlelib.textview", "documentation": {} }, { "label": "Hovertip", "importPath": "idlelib.tooltip", "description": "idlelib.tooltip", "isExtraImport": true, "detail": "idlelib.tooltip", "documentation": {} }, { "label": "TooltipBase", "importPath": "idlelib.tooltip", "description": "idlelib.tooltip", "isExtraImport": true, "detail": "idlelib.tooltip", "documentation": {} }, { "label": "Hovertip", "importPath": "idlelib.tooltip", "description": "idlelib.tooltip", "isExtraImport": true, "detail": "idlelib.tooltip", "documentation": {} }, { "label": "TooltipBase", "importPath": "idlelib.tooltip", "description": "idlelib.tooltip", "isExtraImport": true, "detail": "idlelib.tooltip", "documentation": {} }, { "label": "Hovertip", "importPath": "idlelib.tooltip", "description": "idlelib.tooltip", "isExtraImport": true, "detail": "idlelib.tooltip", "documentation": {} }, { "label": "UndoDelegator", "importPath": "idlelib.undo", "description": "idlelib.undo", "isExtraImport": true, "detail": "idlelib.undo", "documentation": {} }, { "label": "UndoDelegator", "importPath": "idlelib.undo", "description": "idlelib.undo", "isExtraImport": true, "detail": "idlelib.undo", "documentation": {} }, { "label": "keyword", "kind": 6, "isExtraImport": true, "importPath": "keyword", "description": "keyword", "detail": "keyword", "documentation": {} }, { "label": "iskeyword", "importPath": "keyword", "description": "keyword", "isExtraImport": true, "detail": "keyword", "documentation": {} }, { "label": "MC_SHIFT", "importPath": "idlelib.multicall", "description": "idlelib.multicall", "isExtraImport": true, "detail": "idlelib.multicall", "documentation": {} }, { "label": "MultiCallCreator", "importPath": "idlelib.multicall", "description": "idlelib.multicall", "isExtraImport": true, "detail": "idlelib.multicall", "documentation": {} }, { "label": "ListedToplevel", "importPath": "idlelib.window", "description": "idlelib.window", "isExtraImport": true, "detail": "idlelib.window", "documentation": {} }, { "label": "ListedToplevel", "importPath": "idlelib.window", "description": "idlelib.window", "isExtraImport": true, "detail": "idlelib.window", "documentation": {} }, { "label": "NSEW", "importPath": "tkinter.constants", "description": "tkinter.constants", "isExtraImport": true, "detail": "tkinter.constants", "documentation": {} }, { "label": "SUNKEN", "importPath": "tkinter.constants", "description": "tkinter.constants", "isExtraImport": true, "detail": "tkinter.constants", "documentation": {} }, { "label": "builtins", "kind": 6, "isExtraImport": true, "importPath": "builtins", "description": "builtins", "detail": "builtins", "documentation": {} }, { "label": "tkinter.font", "kind": 6, "isExtraImport": true, "importPath": "tkinter.font", "description": "tkinter.font", "detail": "tkinter.font", "documentation": {} }, { "label": "Font", "importPath": "tkinter.font", "description": "tkinter.font", "isExtraImport": true, "detail": "tkinter.font", "documentation": {} }, { "label": "Font", "importPath": "tkinter.font", "description": "tkinter.font", "isExtraImport": true, "detail": "tkinter.font", "documentation": {} }, { "label": "Font", "importPath": "tkinter.font", "description": "tkinter.font", "isExtraImport": true, "detail": "tkinter.font", "documentation": {} }, { "label": "Font", "importPath": "tkinter.font", "description": "tkinter.font", "isExtraImport": true, "detail": "tkinter.font", "documentation": {} }, { "label": "GetKeysDialog", "importPath": "idlelib.config_key", "description": "idlelib.config_key", "isExtraImport": true, "detail": "idlelib.config_key", "documentation": {} }, { "label": "DynOptionMenu", "importPath": "idlelib.dynoption", "description": "idlelib.dynoption", "isExtraImport": true, "detail": "idlelib.dynoption", "documentation": {} }, { "label": "SectionName", "importPath": "idlelib.query", "description": "idlelib.query", "isExtraImport": true, "detail": "idlelib.query", "documentation": {} }, { "label": "HelpSource", "importPath": "idlelib.query", "description": "idlelib.query", "isExtraImport": true, "detail": "idlelib.query", "documentation": {} }, { "label": "CustomRun", "importPath": "idlelib.query", "description": "idlelib.query", "isExtraImport": true, "detail": "idlelib.query", "documentation": {} }, { "label": "CodeContext", "importPath": "idlelib.codecontext", "description": "idlelib.codecontext", "isExtraImport": true, "detail": "idlelib.codecontext", "documentation": {} }, { "label": "FormatParagraph", "importPath": "idlelib.format", "description": "idlelib.format", "isExtraImport": true, "detail": "idlelib.format", "documentation": {} }, { "label": "_setup_dialog", "importPath": "tkinter.simpledialog", "description": "tkinter.simpledialog", "isExtraImport": true, "detail": "tkinter.simpledialog", "documentation": {} }, { "label": "askinteger", "importPath": "tkinter.simpledialog", "description": "tkinter.simpledialog", "isExtraImport": true, "detail": "tkinter.simpledialog", "documentation": {} }, { "label": "askstring", "importPath": "tkinter.simpledialog", "description": "tkinter.simpledialog", "isExtraImport": true, "detail": "tkinter.simpledialog", "documentation": {} }, { "label": "_setup_dialog", "importPath": "tkinter.simpledialog", "description": "tkinter.simpledialog", "isExtraImport": true, "detail": "tkinter.simpledialog", "documentation": {} }, { "label": "_setup_dialog", "importPath": "tkinter.simpledialog", "description": "tkinter.simpledialog", "isExtraImport": true, "detail": "tkinter.simpledialog", "documentation": {} }, { "label": "bdb", "kind": 6, "isExtraImport": true, "importPath": "bdb", "description": "bdb", "detail": "bdb", "documentation": {} }, { "label": "importlib.abc", "kind": 6, "isExtraImport": true, "importPath": "importlib.abc", "description": "importlib.abc", "detail": "importlib.abc", "documentation": {} }, { "label": "ResourceLoader", "importPath": "importlib.abc", "description": "importlib.abc", "isExtraImport": true, "detail": "importlib.abc", "documentation": {} }, { "label": "Traversable", "importPath": "importlib.abc", "description": "importlib.abc", "isExtraImport": true, "detail": "importlib.abc", "documentation": {} }, { "label": "ResourceReader", "importPath": "importlib.abc", "description": "importlib.abc", "isExtraImport": true, "detail": "importlib.abc", "documentation": {} }, { "label": "py_extensions", "importPath": "idlelib.util", "description": "idlelib.util", "isExtraImport": true, "detail": "idlelib.util", "documentation": {} }, { "label": "py_extensions", "importPath": "idlelib.util", "description": "idlelib.util", "isExtraImport": true, "detail": "idlelib.util", "documentation": {} }, { "label": "askyesno", "importPath": "tkinter.messagebox", "description": "tkinter.messagebox", "isExtraImport": true, "detail": "tkinter.messagebox", "documentation": {} }, { "label": "showerror", "importPath": "tkinter.messagebox", "description": "tkinter.messagebox", "isExtraImport": true, "detail": "tkinter.messagebox", "documentation": {} }, { "label": "SearchDialogBase", "importPath": "idlelib.searchbase", "description": "idlelib.searchbase", "isExtraImport": true, "detail": "idlelib.searchbase", "documentation": {} }, { "label": "SearchDialogBase", "importPath": "idlelib.searchbase", "description": "idlelib.searchbase", "isExtraImport": true, "detail": "idlelib.searchbase", "documentation": {} }, { "label": "SearchDialogBase", "importPath": "idlelib.searchbase", "description": "idlelib.searchbase", "isExtraImport": true, "detail": "idlelib.searchbase", "documentation": {} }, { "label": "HTMLParser", "importPath": "html.parser", "description": "html.parser", "isExtraImport": true, "detail": "html.parser", "documentation": {} }, { "label": "shlex", "kind": 6, "isExtraImport": true, "importPath": "shlex", "description": "shlex", "detail": "shlex", "documentation": {} }, { "label": "plistlib", "kind": 6, "isExtraImport": true, "importPath": "plistlib", "description": "plistlib", "detail": "plistlib", "documentation": {} }, { "label": "importlib.machinery", "kind": 6, "isExtraImport": true, "importPath": "importlib.machinery", "description": "importlib.machinery", "detail": "importlib.machinery", "documentation": {} }, { "label": "ModuleSpec", "importPath": "importlib.machinery", "description": "importlib.machinery", "isExtraImport": true, "detail": "importlib.machinery", "documentation": {} }, { "label": "ModuleBrowser", "importPath": "idlelib.browser", "description": "idlelib.browser", "isExtraImport": true, "detail": "idlelib.browser", "documentation": {} }, { "label": "ModuleBrowserTreeItem", "importPath": "idlelib.browser", "description": "idlelib.browser", "isExtraImport": true, "detail": "idlelib.browser", "documentation": {} }, { "label": "InteractiveInterpreter", "importPath": "code", "description": "code", "isExtraImport": true, "detail": "code", "documentation": {} }, { "label": "ColorDelegator", "importPath": "idlelib.colorizer", "description": "idlelib.colorizer", "isExtraImport": true, "detail": "idlelib.colorizer", "documentation": {} }, { "label": "color_config", "importPath": "idlelib.colorizer", "description": "idlelib.colorizer", "isExtraImport": true, "detail": "idlelib.colorizer", "documentation": {} }, { "label": "OutputWindow", "importPath": "idlelib.outwin", "description": "idlelib.outwin", "isExtraImport": true, "detail": "idlelib.outwin", "documentation": {} }, { "label": "importlib.util,", "kind": 6, "isExtraImport": true, "importPath": "importlib.util.", "description": "importlib.util.", "detail": "importlib.util.", "documentation": {} }, { "label": "copyreg", "kind": 6, "isExtraImport": true, "importPath": "copyreg", "description": "copyreg", "detail": "copyreg", "documentation": {} }, { "label": "marshal", "kind": 6, "isExtraImport": true, "importPath": "marshal", "description": "marshal", "detail": "marshal", "documentation": {} }, { "label": "tabnanny", "kind": 6, "isExtraImport": true, "importPath": "tabnanny", "description": "tabnanny", "detail": "tabnanny", "documentation": {} }, { "label": "ObjectTreeItem", "importPath": "idlelib.debugobj", "description": "idlelib.debugobj", "isExtraImport": true, "detail": "idlelib.debugobj", "documentation": {} }, { "label": "make_objecttreeitem", "importPath": "idlelib.debugobj", "description": "idlelib.debugobj", "isExtraImport": true, "detail": "idlelib.debugobj", "documentation": {} }, { "label": "BinaryIO", "importPath": "typing.io", "description": "typing.io", "isExtraImport": true, "detail": "typing.io", "documentation": {} }, { "label": "TextIO", "importPath": "typing.io", "description": "typing.io", "isExtraImport": true, "detail": "typing.io", "documentation": {} }, { "label": "_io", "kind": 6, "isExtraImport": true, "importPath": "_io", "description": "_io", "detail": "_io", "documentation": {} }, { "label": "_warnings", "kind": 6, "isExtraImport": true, "importPath": "_warnings", "description": "_warnings", "detail": "_warnings", "documentation": {} }, { "label": "pytree", "importPath": "lib2to3", "description": "lib2to3", "isExtraImport": true, "detail": "lib2to3", "documentation": {} }, { "label": "fixer_base", "importPath": "lib2to3", "description": "lib2to3", "isExtraImport": true, "detail": "lib2to3", "documentation": {} }, { "label": "fixer_base", "importPath": "lib2to3", "description": "lib2to3", "isExtraImport": true, "detail": "lib2to3", "documentation": {} }, { "label": "fixer_base", "importPath": "lib2to3", "description": "lib2to3", "isExtraImport": true, "detail": "lib2to3", "documentation": {} }, { "label": "fixer_base", "importPath": "lib2to3", "description": "lib2to3", "isExtraImport": true, "detail": "lib2to3", "documentation": {} }, { "label": "fixer_base", "importPath": "lib2to3", "description": "lib2to3", "isExtraImport": true, "detail": "lib2to3", "documentation": {} }, { "label": "fixer_base", "importPath": "lib2to3", "description": "lib2to3", "isExtraImport": true, "detail": "lib2to3", "documentation": {} }, { "label": "pytree", "importPath": "lib2to3", "description": "lib2to3", "isExtraImport": true, "detail": "lib2to3", "documentation": {} }, { "label": "pytree", "importPath": "lib2to3", "description": "lib2to3", "isExtraImport": true, "detail": "lib2to3", "documentation": {} }, { "label": "refactor", "importPath": "lib2to3", "description": "lib2to3", "isExtraImport": true, "detail": "lib2to3", "documentation": {} }, { "label": "pygram", "importPath": "lib2to3", "description": "lib2to3", "isExtraImport": true, "detail": "lib2to3", "documentation": {} }, { "label": "fixer_util", "importPath": "lib2to3", "description": "lib2to3", "isExtraImport": true, "detail": "lib2to3", "documentation": {} }, { "label": "main", "importPath": "lib2to3", "description": "lib2to3", "isExtraImport": true, "detail": "lib2to3", "documentation": {} }, { "label": "pytree", "importPath": "lib2to3", "description": "lib2to3", "isExtraImport": true, "detail": "lib2to3", "documentation": {} }, { "label": "refactor", "importPath": "lib2to3", "description": "lib2to3", "isExtraImport": true, "detail": "lib2to3", "documentation": {} }, { "label": "pygram", "importPath": "lib2to3", "description": "lib2to3", "isExtraImport": true, "detail": "lib2to3", "documentation": {} }, { "label": "fixer_base", "importPath": "lib2to3", "description": "lib2to3", "isExtraImport": true, "detail": "lib2to3", "documentation": {} }, { "label": "fixer_util", "importPath": "lib2to3", "description": "lib2to3", "isExtraImport": true, "detail": "lib2to3", "documentation": {} }, { "label": "Name", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "Attr", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "Call", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "Comma", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "Newline", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "syms", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "BlankLine", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "syms", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "token", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "is_probably_builtin", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "Call", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "Name", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "String", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "touch_import", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "touch_import", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "token", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "syms", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "Name", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "Comma", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "FromImport", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "Newline", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "find_indentation", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "Node", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "syms", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "Name", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "Attr", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "Name", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "Call", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "Comma", "importPath": "lib2to3.fixer_util", "description": "lib2to3.fixer_util", "isExtraImport": true, "detail": "lib2to3.fixer_util", "documentation": {} }, { "label": "alternates", "importPath": "lib2to3.fixes.fix_imports", "description": "lib2to3.fixes.fix_imports", "isExtraImport": true, "detail": "lib2to3.fixes.fix_imports", "documentation": {} }, { "label": "FixImports", "importPath": "lib2to3.fixes.fix_imports", "description": "lib2to3.fixes.fix_imports", "isExtraImport": true, "detail": "lib2to3.fixes.fix_imports", "documentation": {} }, { "label": "grammar", "importPath": "pgen2", "description": "pgen2", "isExtraImport": true, "detail": "pgen2", "documentation": {} }, { "label": "token", "importPath": "pgen2", "description": "pgen2", "isExtraImport": true, "detail": "pgen2", "documentation": {} }, { "label": "string,", "kind": 6, "isExtraImport": true, "importPath": "string.", "description": "string.", "detail": "string.", "documentation": {} }, { "label": "*", "importPath": "lib2to3.pgen2.token", "description": "lib2to3.pgen2.token", "isExtraImport": true, "detail": "lib2to3.pgen2.token", "documentation": {} }, { "label": "BaseFix", "importPath": "lib2to3.fixer_base", "description": "lib2to3.fixer_base", "isExtraImport": true, "detail": "lib2to3.fixer_base", "documentation": {} }, { "label": "BaseFix", "importPath": "lib2to3.fixer_base", "description": "lib2to3.fixer_base", "isExtraImport": true, "detail": "lib2to3.fixer_base", "documentation": {} }, { "label": "BaseFix", "importPath": "lib2to3.fixer_base", "description": "lib2to3.fixer_base", "isExtraImport": true, "detail": "lib2to3.fixer_base", "documentation": {} }, { "label": "BaseFix", "importPath": "lib2to3.fixer_base", "description": "lib2to3.fixer_base", "isExtraImport": true, "detail": "lib2to3.fixer_base", "documentation": {} }, { "label": "BaseFix", "importPath": "lib2to3.fixer_base", "description": "lib2to3.fixer_base", "isExtraImport": true, "detail": "lib2to3.fixer_base", "documentation": {} }, { "label": "BaseFix", "importPath": "lib2to3.fixer_base", "description": "lib2to3.fixer_base", "isExtraImport": true, "detail": "lib2to3.fixer_base", "documentation": {} }, { "label": "check_syntax_error", "importPath": "test.test_support", "description": "test.test_support", "isExtraImport": true, "detail": "test.test_support", "documentation": {} }, { "label": "driver", "importPath": "lib2to3.pgen2", "description": "lib2to3.pgen2", "isExtraImport": true, "detail": "lib2to3.pgen2", "documentation": {} }, { "label": "driver", "importPath": "lib2to3.pgen2", "description": "lib2to3.pgen2", "isExtraImport": true, "detail": "lib2to3.pgen2", "documentation": {} }, { "label": "tokenize", "importPath": "lib2to3.pgen2", "description": "lib2to3.pgen2", "isExtraImport": true, "detail": "lib2to3.pgen2", "documentation": {} }, { "label": "driver", "importPath": "lib2to3.pgen2", "description": "lib2to3.pgen2", "isExtraImport": true, "detail": "lib2to3.pgen2", "documentation": {} }, { "label": "token", "importPath": "lib2to3.pgen2", "description": "lib2to3.pgen2", "isExtraImport": true, "detail": "lib2to3.pgen2", "documentation": {} }, { "label": "token", "importPath": "lib2to3.pgen2", "description": "lib2to3.pgen2", "isExtraImport": true, "detail": "lib2to3.pgen2", "documentation": {} }, { "label": "support", "importPath": "lib2to3.tests", "description": "lib2to3.tests", "isExtraImport": true, "detail": "lib2to3.tests", "documentation": {} }, { "label": "difflib", "kind": 6, "isExtraImport": true, "importPath": "difflib", "description": "difflib", "detail": "difflib", "documentation": {} }, { "label": "python_symbols", "importPath": "lib2to3.pygram", "description": "lib2to3.pygram", "isExtraImport": true, "detail": "lib2to3.pygram", "documentation": {} }, { "label": "Node", "importPath": "lib2to3.pytree", "description": "lib2to3.pytree", "isExtraImport": true, "detail": "lib2to3.pytree", "documentation": {} }, { "label": "Leaf", "importPath": "lib2to3.pytree", "description": "lib2to3.pytree", "isExtraImport": true, "detail": "lib2to3.pytree", "documentation": {} }, { "label": "optparse", "kind": 6, "isExtraImport": true, "importPath": "optparse", "description": "optparse", "detail": "optparse", "documentation": {} }, { "label": "logging.handlers", "kind": 6, "isExtraImport": true, "importPath": "logging.handlers", "description": "logging.handlers", "detail": "logging.handlers", "documentation": {} }, { "label": "io,", "kind": 6, "isExtraImport": true, "importPath": "io.", "description": "io.", "detail": "io.", "documentation": {} }, { "label": "msilib,os;dirname=os.path.dirname(__file__)", "kind": 6, "isExtraImport": true, "importPath": "msilib.os;dirname=os.path.dirname(__file__)", "description": "msilib.os;dirname=os.path.dirname(__file__)", "detail": "msilib.os;dirname=os.path.dirname(__file__)", "documentation": {} }, { "label": "_multiprocessing", "kind": 6, "isExtraImport": true, "importPath": "_multiprocessing", "description": "_multiprocessing", "detail": "_multiprocessing", "documentation": {} }, { "label": "bisect", "kind": 6, "isExtraImport": true, "importPath": "bisect", "description": "bisect", "detail": "bisect", "documentation": {} }, { "label": "mmap", "kind": 6, "isExtraImport": true, "importPath": "mmap", "description": "mmap", "detail": "mmap", "documentation": {} }, { "label": "WeakSet", "importPath": "_weakrefset", "description": "_weakrefset", "isExtraImport": true, "detail": "_weakrefset", "documentation": {} }, { "label": "secrets", "kind": 6, "isExtraImport": true, "importPath": "secrets", "description": "secrets", "detail": "secrets", "documentation": {} }, { "label": "runpy", "kind": 6, "isExtraImport": true, "importPath": "runpy", "description": "runpy", "detail": "runpy", "documentation": {} }, { "label": "*", "importPath": "_sqlite3", "description": "_sqlite3", "isExtraImport": true, "detail": "_sqlite3", "documentation": {} }, { "label": "faulthandler", "kind": 6, "isExtraImport": true, "importPath": "faulthandler", "description": "faulthandler", "detail": "faulthandler", "documentation": {} }, { "label": "locale", "kind": 6, "isExtraImport": true, "importPath": "locale", "description": "locale", "detail": "locale", "documentation": {} }, { "label": "_parse_args", "importPath": "test.libregrtest.cmdline", "description": "test.libregrtest.cmdline", "isExtraImport": true, "detail": "test.libregrtest.cmdline", "documentation": {} }, { "label": "Namespace", "importPath": "test.libregrtest.cmdline", "description": "test.libregrtest.cmdline", "isExtraImport": true, "detail": "test.libregrtest.cmdline", "documentation": {} }, { "label": "Namespace", "importPath": "test.libregrtest.cmdline", "description": "test.libregrtest.cmdline", "isExtraImport": true, "detail": "test.libregrtest.cmdline", "documentation": {} }, { "label": "findtests", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "runtest", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "get_abs_module", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "is_failed", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "STDTESTS", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "NOTTESTS", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "PROGRESS_MIN_TIME", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "Passed", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "Failed", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "EnvChanged", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "Skipped", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "ResourceDenied", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "Interrupted", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "ChildError", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "DidNotRun", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "runtest", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "is_failed", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "TestResult", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "Interrupted", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "Timeout", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "ChildError", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "PROGRESS_MIN_TIME", "importPath": "test.libregrtest.runtest", "description": "test.libregrtest.runtest", "isExtraImport": true, "detail": "test.libregrtest.runtest", "documentation": {} }, { "label": "setup_tests", "importPath": "test.libregrtest.setup", "description": "test.libregrtest.setup", "isExtraImport": true, "detail": "test.libregrtest.setup", "documentation": {} }, { "label": "setup_tests", "importPath": "test.libregrtest.setup", "description": "test.libregrtest.setup", "isExtraImport": true, "detail": "test.libregrtest.setup", "documentation": {} }, { "label": "setup_pgo_tests", "importPath": "test.libregrtest.pgo", "description": "test.libregrtest.pgo", "isExtraImport": true, "detail": "test.libregrtest.pgo", "documentation": {} }, { "label": "removepy", "importPath": "test.libregrtest.utils", "description": "test.libregrtest.utils", "isExtraImport": true, "detail": "test.libregrtest.utils", "documentation": {} }, { "label": "count", "importPath": "test.libregrtest.utils", "description": "test.libregrtest.utils", "isExtraImport": true, "detail": "test.libregrtest.utils", "documentation": {} }, { "label": "format_duration", "importPath": "test.libregrtest.utils", "description": "test.libregrtest.utils", "isExtraImport": true, "detail": "test.libregrtest.utils", "documentation": {} }, { "label": "printlist", "importPath": "test.libregrtest.utils", "description": "test.libregrtest.utils", "isExtraImport": true, "detail": "test.libregrtest.utils", "documentation": {} }, { "label": "clear_caches", "importPath": "test.libregrtest.utils", "description": "test.libregrtest.utils", "isExtraImport": true, "detail": "test.libregrtest.utils", "documentation": {} }, { "label": "clear_caches", "importPath": "test.libregrtest.utils", "description": "test.libregrtest.utils", "isExtraImport": true, "detail": "test.libregrtest.utils", "documentation": {} }, { "label": "format_duration", "importPath": "test.libregrtest.utils", "description": "test.libregrtest.utils", "isExtraImport": true, "detail": "test.libregrtest.utils", "documentation": {} }, { "label": "print_warning", "importPath": "test.libregrtest.utils", "description": "test.libregrtest.utils", "isExtraImport": true, "detail": "test.libregrtest.utils", "documentation": {} }, { "label": "format_duration", "importPath": "test.libregrtest.utils", "description": "test.libregrtest.utils", "isExtraImport": true, "detail": "test.libregrtest.utils", "documentation": {} }, { "label": "print_warning", "importPath": "test.libregrtest.utils", "description": "test.libregrtest.utils", "isExtraImport": true, "detail": "test.libregrtest.utils", "documentation": {} }, { "label": "print_warning", "importPath": "test.libregrtest.utils", "description": "test.libregrtest.utils", "isExtraImport": true, "detail": "test.libregrtest.utils", "documentation": {} }, { "label": "setup_unraisable_hook", "importPath": "test.libregrtest.utils", "description": "test.libregrtest.utils", "isExtraImport": true, "detail": "test.libregrtest.utils", "documentation": {} }, { "label": "setup_threading_excepthook", "importPath": "test.libregrtest.utils", "description": "test.libregrtest.utils", "isExtraImport": true, "detail": "test.libregrtest.utils", "documentation": {} }, { "label": "saved_test_environment", "importPath": "test.libregrtest.save_env", "description": "test.libregrtest.save_env", "isExtraImport": true, "detail": "test.libregrtest.save_env", "documentation": {} }, { "label": "Regrtest", "importPath": "test.libregrtest.main", "description": "test.libregrtest.main", "isExtraImport": true, "detail": "test.libregrtest.main", "documentation": {} }, { "label": "TestEmailBase", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "TestEmailBase", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "parameterize", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "TestEmailBase", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "openfile", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "TestEmailBase", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "TestEmailBase", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "parameterize", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "TestEmailBase", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "parameterize", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "TestEmailBase", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "parameterize", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "TestEmailBase", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "parameterize", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "TestEmailBase", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "TestEmailBase", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "parameterize", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "TestEmailBase", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "TestEmailBase", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "parameterize", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "TestEmailBase", "importPath": "test.test_email", "description": "test.test_email", "isExtraImport": true, "detail": "test.test_email", "documentation": {} }, { "label": "Header", "importPath": "email.header", "description": "email.header", "isExtraImport": true, "detail": "email.header", "documentation": {} }, { "label": "decode_header", "importPath": "email.header", "description": "email.header", "isExtraImport": true, "detail": "email.header", "documentation": {} }, { "label": "Header", "importPath": "email.header", "description": "email.header", "isExtraImport": true, "detail": "email.header", "documentation": {} }, { "label": "decode_header", "importPath": "email.header", "description": "email.header", "isExtraImport": true, "detail": "email.header", "documentation": {} }, { "label": "make_header", "importPath": "email.header", "description": "email.header", "isExtraImport": true, "detail": "email.header", "documentation": {} }, { "label": "email.generator", "kind": 6, "isExtraImport": true, "importPath": "email.generator", "description": "email.generator", "detail": "email.generator", "documentation": {} }, { "label": "Generator", "importPath": "email.generator", "description": "email.generator", "isExtraImport": true, "detail": "email.generator", "documentation": {} }, { "label": "DecodedGenerator", "importPath": "email.generator", "description": "email.generator", "isExtraImport": true, "detail": "email.generator", "documentation": {} }, { "label": "BytesGenerator", "importPath": "email.generator", "description": "email.generator", "isExtraImport": true, "detail": "email.generator", "documentation": {} }, { "label": "Generator", "importPath": "email.generator", "description": "email.generator", "isExtraImport": true, "detail": "email.generator", "documentation": {} }, { "label": "BytesGenerator", "importPath": "email.generator", "description": "email.generator", "isExtraImport": true, "detail": "email.generator", "documentation": {} }, { "label": "BytesGenerator", "importPath": "email.generator", "description": "email.generator", "isExtraImport": true, "detail": "email.generator", "documentation": {} }, { "label": "MIMEApplication", "importPath": "email.mime.application", "description": "email.mime.application", "isExtraImport": true, "detail": "email.mime.application", "documentation": {} }, { "label": "MIMEAudio", "importPath": "email.mime.audio", "description": "email.mime.audio", "isExtraImport": true, "detail": "email.mime.audio", "documentation": {} }, { "label": "MIMEText", "importPath": "email.mime.text", "description": "email.mime.text", "isExtraImport": true, "detail": "email.mime.text", "documentation": {} }, { "label": "MIMEImage", "importPath": "email.mime.image", "description": "email.mime.image", "isExtraImport": true, "detail": "email.mime.image", "documentation": {} }, { "label": "MIMEMessage", "importPath": "email.mime.message", "description": "email.mime.message", "isExtraImport": true, "detail": "email.mime.message", "documentation": {} }, { "label": "MIMEMultipart", "importPath": "email.mime.multipart", "description": "email.mime.multipart", "isExtraImport": true, "detail": "email.mime.multipart", "documentation": {} }, { "label": "_structure", "importPath": "email.iterators", "description": "email.iterators", "isExtraImport": true, "detail": "email.iterators", "documentation": {} }, { "label": "dis", "kind": 6, "isExtraImport": true, "importPath": "dis", "description": "dis", "detail": "dis", "documentation": {} }, { "label": "_xxsubinterpreters", "kind": 6, "isExtraImport": true, "importPath": "_xxsubinterpreters", "description": "_xxsubinterpreters", "detail": "_xxsubinterpreters", "documentation": {} }, { "label": "ChannelError", "importPath": "_xxsubinterpreters", "description": "_xxsubinterpreters", "isExtraImport": true, "detail": "_xxsubinterpreters", "documentation": {} }, { "label": "ChannelNotFoundError", "importPath": "_xxsubinterpreters", "description": "_xxsubinterpreters", "isExtraImport": true, "detail": "_xxsubinterpreters", "documentation": {} }, { "label": "ChannelEmptyError", "importPath": "_xxsubinterpreters", "description": "_xxsubinterpreters", "isExtraImport": true, "detail": "_xxsubinterpreters", "documentation": {} }, { "label": "is_shareable", "importPath": "_xxsubinterpreters", "description": "_xxsubinterpreters", "isExtraImport": true, "detail": "_xxsubinterpreters", "documentation": {} }, { "label": "py_compile", "kind": 6, "isExtraImport": true, "importPath": "py_compile", "description": "py_compile", "detail": "py_compile", "documentation": {} }, { "label": "make_legacy_pyc", "importPath": "test.support.import_helper", "description": "test.support.import_helper", "isExtraImport": true, "detail": "test.support.import_helper", "documentation": {} }, { "label": "make_legacy_pyc", "importPath": "test.support.import_helper", "description": "test.support.import_helper", "isExtraImport": true, "detail": "test.support.import_helper", "documentation": {} }, { "label": "unload", "importPath": "test.support.import_helper", "description": "test.support.import_helper", "isExtraImport": true, "detail": "test.support.import_helper", "documentation": {} }, { "label": "make_legacy_pyc", "importPath": "test.support.import_helper", "description": "test.support.import_helper", "isExtraImport": true, "detail": "test.support.import_helper", "documentation": {} }, { "label": "CleanImport", "importPath": "test.support.import_helper", "description": "test.support.import_helper", "isExtraImport": true, "detail": "test.support.import_helper", "documentation": {} }, { "label": "forget", "importPath": "test.support.import_helper", "description": "test.support.import_helper", "isExtraImport": true, "detail": "test.support.import_helper", "documentation": {} }, { "label": "import_module", "importPath": "test.support.import_helper", "description": "test.support.import_helper", "isExtraImport": true, "detail": "test.support.import_helper", "documentation": {} }, { "label": "import_fresh_module", "importPath": "test.support.import_helper", "description": "test.support.import_helper", "isExtraImport": true, "detail": "test.support.import_helper", "documentation": {} }, { "label": "skip_if_missing", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "scriptsdir", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "skip_if_missing", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "import_tool", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "skip_if_missing", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "toolsdir", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "skip_if_missing", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "import_tool", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "scriptsdir", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "skip_if_missing", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "scriptsdir", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "skip_if_missing", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "skip_if_missing", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "import_tool", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "scriptsdir", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "skip_if_missing", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "scriptsdir", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "skip_if_missing", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "scriptsdir", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "import_tool", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "skip_if_missing", "importPath": "test.test_tools", "description": "test.test_tools", "isExtraImport": true, "detail": "test.test_tools", "documentation": {} }, { "label": "importlib._bootstrap", "kind": 6, "isExtraImport": true, "importPath": "importlib._bootstrap", "description": "importlib._bootstrap", "detail": "importlib._bootstrap", "documentation": {} }, { "label": "zipimport", "kind": 6, "isExtraImport": true, "importPath": "zipimport", "description": "zipimport", "detail": "zipimport", "documentation": {} }, { "label": "without_source_date_epoch", "importPath": "test.test_py_compile", "description": "test.test_py_compile", "isExtraImport": true, "detail": "test.test_py_compile", "documentation": {} }, { "label": "SourceDateEpochTestMeta", "importPath": "test.test_py_compile", "description": "test.test_py_compile", "isExtraImport": true, "detail": "test.test_py_compile", "documentation": {} }, { "label": "importlib.metadata", "kind": 6, "isExtraImport": true, "importPath": "importlib.metadata", "description": "importlib.metadata", "detail": "importlib.metadata", "documentation": {} }, { "label": "Distribution", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "EntryPoint", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "PackageNotFoundError", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "distributions", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "entry_points", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "metadata", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "version", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "Distribution", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "PackageNotFoundError", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "distribution", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "entry_points", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "files", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "metadata", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "requires", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "version", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "PackageNotFoundError", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "distribution", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "distributions", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "entry_points", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "files", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "version", "importPath": "importlib.metadata", "description": "importlib.metadata", "isExtraImport": true, "detail": "importlib.metadata", "documentation": {} }, { "label": "util", "importPath": "test.test_importlib", "description": "test.test_importlib", "isExtraImport": true, "detail": "test.test_importlib", "documentation": {} }, { "label": "MultiplexedPath", "importPath": "importlib.readers", "description": "importlib.readers", "isExtraImport": true, "detail": "importlib.readers", "documentation": {} }, { "label": "NamespaceReader", "importPath": "importlib.readers", "description": "importlib.readers", "isExtraImport": true, "detail": "importlib.readers", "documentation": {} }, { "label": "asyncio", "kind": 6, "isExtraImport": true, "importPath": "asyncio", "description": "asyncio", "detail": "asyncio", "documentation": {} }, { "label": "base_events", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "constants", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "coroutines", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "events", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "proactor_events", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "selector_events", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "futures", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "base_events", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "constants", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "proactor_events", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "log", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "protocols", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "sslproto", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "base_subprocess", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "subprocess", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "coroutines", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "futures", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "tasks", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "transports", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "log", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "unix_events", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "windows_events", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "windows_utils", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "base_events", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "events", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "format_helpers", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "futures", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "tasks", "importPath": "asyncio", "description": "asyncio", "isExtraImport": true, "detail": "asyncio", "documentation": {} }, { "label": "asyncio.events", "kind": 6, "isExtraImport": true, "importPath": "asyncio.events", "description": "asyncio.events", "detail": "asyncio.events", "documentation": {} }, { "label": "utils", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "functional", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "utils", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "utils", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "utils", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "utils", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "utils", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "utils", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "utils", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "utils", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "utils", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "functional", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "utils", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "utils", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "functional", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "utils", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "utils", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "utils", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "utils", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "utils", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "utils", "importPath": "test.test_asyncio", "description": "test.test_asyncio", "isExtraImport": true, "detail": "test.test_asyncio", "documentation": {} }, { "label": "decimal", "kind": 6, "isExtraImport": true, "importPath": "decimal", "description": "decimal", "detail": "decimal", "documentation": {} }, { "label": "BaseProactorEventLoop", "importPath": "asyncio.proactor_events", "description": "asyncio.proactor_events", "isExtraImport": true, "detail": "asyncio.proactor_events", "documentation": {} }, { "label": "_ProactorSocketTransport", "importPath": "asyncio.proactor_events", "description": "asyncio.proactor_events", "isExtraImport": true, "detail": "asyncio.proactor_events", "documentation": {} }, { "label": "_ProactorWritePipeTransport", "importPath": "asyncio.proactor_events", "description": "asyncio.proactor_events", "isExtraImport": true, "detail": "asyncio.proactor_events", "documentation": {} }, { "label": "_ProactorDuplexPipeTransport", "importPath": "asyncio.proactor_events", "description": "asyncio.proactor_events", "isExtraImport": true, "detail": "asyncio.proactor_events", "documentation": {} }, { "label": "_ProactorDatagramTransport", "importPath": "asyncio.proactor_events", "description": "asyncio.proactor_events", "isExtraImport": true, "detail": "asyncio.proactor_events", "documentation": {} }, { "label": "BaseSelectorEventLoop", "importPath": "asyncio.selector_events", "description": "asyncio.selector_events", "isExtraImport": true, "detail": "asyncio.selector_events", "documentation": {} }, { "label": "_SelectorTransport", "importPath": "asyncio.selector_events", "description": "asyncio.selector_events", "isExtraImport": true, "detail": "asyncio.selector_events", "documentation": {} }, { "label": "_SelectorSocketTransport", "importPath": "asyncio.selector_events", "description": "asyncio.selector_events", "isExtraImport": true, "detail": "asyncio.selector_events", "documentation": {} }, { "label": "_SelectorDatagramTransport", "importPath": "asyncio.selector_events", "description": "asyncio.selector_events", "isExtraImport": true, "detail": "asyncio.selector_events", "documentation": {} }, { "label": "HTTPServer", "importPath": "http.server", "description": "http.server", "isExtraImport": true, "detail": "http.server", "documentation": {} }, { "label": "WSGIRequestHandler", "importPath": "wsgiref.simple_server", "description": "wsgiref.simple_server", "isExtraImport": true, "detail": "wsgiref.simple_server", "documentation": {} }, { "label": "WSGIServer", "importPath": "wsgiref.simple_server", "description": "wsgiref.simple_server", "isExtraImport": true, "detail": "wsgiref.simple_server", "documentation": {} }, { "label": "logger", "importPath": "asyncio.log", "description": "asyncio.log", "isExtraImport": true, "detail": "asyncio.log", "documentation": {} }, { "label": "test.test_import.data.circular_imports.binding2", "kind": 6, "isExtraImport": true, "importPath": "test.test_import.data.circular_imports.binding2", "description": "test.test_import.data.circular_imports.binding2", "detail": "test.test_import.data.circular_imports.binding2", "documentation": {} }, { "label": "test.test_import.data.circular_imports.binding", "kind": 6, "isExtraImport": true, "importPath": "test.test_import.data.circular_imports.binding", "description": "test.test_import.data.circular_imports.binding", "detail": "test.test_import.data.circular_imports.binding", "documentation": {} }, { "label": "lzma", "kind": 6, "isExtraImport": true, "importPath": "lzma", "description": "lzma", "detail": "lzma", "documentation": {} }, { "label": "zoneinfo", "kind": 6, "isExtraImport": true, "importPath": "zoneinfo", "description": "zoneinfo", "detail": "zoneinfo", "documentation": {} }, { "label": "dataclasses", "kind": 6, "isExtraImport": true, "importPath": "dataclasses", "description": "dataclasses", "detail": "dataclasses", "documentation": {} }, { "label": "parse", "kind": 6, "isExtraImport": true, "importPath": "parse", "description": "parse", "detail": "parse", "documentation": {} }, { "label": "signal,", "kind": 6, "isExtraImport": true, "importPath": "signal.", "description": "signal.", "detail": "signal.", "documentation": {} }, { "label": "PyTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "CTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "PyTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "CTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "PyTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "CTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "PyTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "CTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "PyTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "CTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "PyTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "CTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "PyTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "CTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "PyTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "CTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "PyTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "CTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "PyTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "CTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "PyTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "CTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "PyTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "CTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "PyTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "CTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "PyTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "CTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "CTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "PyTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "CTest", "importPath": "test.test_json", "description": "test.test_json", "isExtraImport": true, "detail": "test.test_json", "documentation": {} }, { "label": "startup", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v1", "description": "amigolog.src.atomic_grounding_v1", "peekOfCode": "def startup():\n\tamigo = robot_skills.amigo.Amigo(wait_services=True)\n\treturn amigo\ndef initialize(self):\n self.lights.set_color(0,0,1) #be sure lights are blue\n ## self.head.reset_position()\n self.leftArm.reset_arm()\n self.leftArm.send_gripper_goal_close()\n self.rightArm.reset_arm()\n self.rightArm.send_gripper_goal_close()", "detail": "amigolog.src.atomic_grounding_v1", "documentation": {} }, { "label": "initialize", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v1", "description": "amigolog.src.atomic_grounding_v1", "peekOfCode": "def initialize(self):\n self.lights.set_color(0,0,1) #be sure lights are blue\n ## self.head.reset_position()\n self.leftArm.reset_arm()\n self.leftArm.send_gripper_goal_close()\n self.rightArm.reset_arm()\n self.rightArm.send_gripper_goal_close()\n self.reasoner.reset()\n self.spindle.reset()\n ## Check if TF link between /map and /base_link is set, if not error at initialize in stead of during first navigate execution", "detail": "amigolog.src.atomic_grounding_v1", "documentation": {} }, { "label": "init_retract_facts", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v1", "description": "amigolog.src.atomic_grounding_v1", "peekOfCode": "def init_retract_facts(self):\n\t##retract old facts\n ## commented because the interpreter will do this everytime you query a new plan\n # robot.reasoner.query(Compound(\"retractall\", Compound(\"indigolog_plan\", \"X\")))\n # robot.reasoner.query(Compound(\"retractall\", Compound(\"action\", \"X\")))\n ##Load database\n self.reasoner.query(Compound(\"load_database\",\"tue_owls_indigolog_exec\",'knowledge/kb_ag.pl'))\n self.reasoner.query(Compound(\"load_database\", \"tue_owls_indigolog_exec\", 'knowledge/locations_ag.pl'))\n rospy.loginfo(\"[AG] Database loaded\")\n self.reasoner.query(Compound(\"load_database\",\"tue_owls_indigolog_exec\",'src/indigolog/main.pl'))", "detail": "amigolog.src.atomic_grounding_v1", "documentation": {} }, { "label": "execute_smach_statemachine", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v1", "description": "amigolog.src.atomic_grounding_v1", "peekOfCode": "def execute_smach_statemachine(self, machine):\n introserver = smach_ros.IntrospectionServer('server_name', machine, '/SM_ROOT_PRIMARY')\n introserver.start()\n try:\n result = machine.execute()\n except Exception, e:\n self.speech.speak(e)\n finally:\n introserver.stop()\n return result", "detail": "amigolog.src.atomic_grounding_v1", "documentation": {} }, { "label": "execute_smach_state", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v1", "description": "amigolog.src.atomic_grounding_v1", "peekOfCode": "def execute_smach_state(self, state, transitions):\n class Generated_StateMachine(smach.StateMachine):\n def __init__(self, state, transitions):\n smach.StateMachine.__init__(self,outcomes=transitions)\n with self:\n smach.StateMachine.add('EXECUTE_STATE', state)\n machine = Generated_StateMachine(state, transitions)\n introserver = smach_ros.IntrospectionServer('server_name', machine, '/SM_ROOT_PRIMARY')\n introserver.start()\n try:", "detail": "amigolog.src.atomic_grounding_v1", "documentation": {} }, { "label": "execute", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v1", "description": "amigolog.src.atomic_grounding_v1", "peekOfCode": "def execute(self, action, action_input=None):\n ### HUMAN INTERACTION ###\n if action == \"say\":\n sentence = str(action_input[0])\n self.speech.speak(sentence)\n ### ARMS ###\n elif action == \"arm\":\n arm_action = str(action_input[0])\n side = str(action_input[1])\n if side == \"left\":", "detail": "amigolog.src.atomic_grounding_v1", "documentation": {} }, { "label": "\tamigo", "kind": 5, "importPath": "amigolog.src.atomic_grounding_v1", "description": "amigolog.src.atomic_grounding_v1", "peekOfCode": "\tamigo = robot_skills.amigo.Amigo(wait_services=True)\n\treturn amigo\ndef initialize(self):\n self.lights.set_color(0,0,1) #be sure lights are blue\n ## self.head.reset_position()\n self.leftArm.reset_arm()\n self.leftArm.send_gripper_goal_close()\n self.rightArm.reset_arm()\n self.rightArm.send_gripper_goal_close()\n self.reasoner.reset()", "detail": "amigolog.src.atomic_grounding_v1", "documentation": {} }, { "label": "startup", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v1_old", "description": "amigolog.src.atomic_grounding_v1_old", "peekOfCode": "def startup():\n\tamigo = robot_skills.amigo.Amigo(wait_services=True)\n\treturn amigo\ndef initialize(self):\n self.lights.set_color(0,0,1) #be sure lights are blue\n ## self.head.reset_position()\n self.leftArm.reset_arm()\n self.leftArm.send_gripper_goal_close()\n self.rightArm.reset_arm()\n self.rightArm.send_gripper_goal_close()", "detail": "amigolog.src.atomic_grounding_v1_old", "documentation": {} }, { "label": "initialize", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v1_old", "description": "amigolog.src.atomic_grounding_v1_old", "peekOfCode": "def initialize(self):\n self.lights.set_color(0,0,1) #be sure lights are blue\n ## self.head.reset_position()\n self.leftArm.reset_arm()\n self.leftArm.send_gripper_goal_close()\n self.rightArm.reset_arm()\n self.rightArm.send_gripper_goal_close()\n self.reasoner.reset()\n self.spindle.reset()\n ## Check if TF link between /map and /base_link is set, if not error at initialize in stead of during first navigate execution", "detail": "amigolog.src.atomic_grounding_v1_old", "documentation": {} }, { "label": "init_retract_facts", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v1_old", "description": "amigolog.src.atomic_grounding_v1_old", "peekOfCode": "def init_retract_facts(self):\n\t##retract old facts\n ## commented because the interpreter will do this everytime you query a new plan\n # robot.reasoner.query(Compound(\"retractall\", Compound(\"indigolog_plan\", \"X\")))\n # robot.reasoner.query(Compound(\"retractall\", Compound(\"action\", \"X\")))\n ##Load database\n self.reasoner.query(Compound(\"load_database\",\"tue_owls_indigolog_exec\",'knowledge/kb_ag_1.pl'))\n self.reasoner.query(Compound(\"load_database\", \"tue_owls_indigolog_exec\", 'knowledge/locations_ag.pl'))\n rospy.loginfo(\"[AG] Database loaded\")\n self.reasoner.query(Compound(\"load_database\",\"tue_owls_indigolog_exec\",'src/indigolog/main.pl'))", "detail": "amigolog.src.atomic_grounding_v1_old", "documentation": {} }, { "label": "execute_smach_statemachine", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v1_old", "description": "amigolog.src.atomic_grounding_v1_old", "peekOfCode": "def execute_smach_statemachine(self, machine):\n introserver = smach_ros.IntrospectionServer('server_name', machine, '/SM_ROOT_PRIMARY')\n introserver.start()\n try:\n result = machine.execute()\n except Exception, e:\n self.speech.speak(e)\n finally:\n introserver.stop()\n return result", "detail": "amigolog.src.atomic_grounding_v1_old", "documentation": {} }, { "label": "execute_smach_state", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v1_old", "description": "amigolog.src.atomic_grounding_v1_old", "peekOfCode": "def execute_smach_state(self, state, transitions):\n class Generated_StateMachine(smach.StateMachine):\n def __init__(self, state, transitions):\n smach.StateMachine.__init__(self,outcomes=transitions)\n with self:\n smach.StateMachine.add('EXECUTE_STATE', state)\n machine = Generated_StateMachine(state, transitions)\n introserver = smach_ros.IntrospectionServer('server_name', machine, '/SM_ROOT_PRIMARY')\n introserver.start()\n try:", "detail": "amigolog.src.atomic_grounding_v1_old", "documentation": {} }, { "label": "execute", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v1_old", "description": "amigolog.src.atomic_grounding_v1_old", "peekOfCode": "def execute(self, action, action_input=None):\n ### HUMAN INTERACTION ###\n if action == \"say\":\n sentence = str(action_input[0])\n self.speech.speak(sentence)\n ### ARMS ###\n elif action == \"arm\":\n arm_action = str(action_input[0])\n side = str(action_input[1])\n if side == \"left\":", "detail": "amigolog.src.atomic_grounding_v1_old", "documentation": {} }, { "label": "\tamigo", "kind": 5, "importPath": "amigolog.src.atomic_grounding_v1_old", "description": "amigolog.src.atomic_grounding_v1_old", "peekOfCode": "\tamigo = robot_skills.amigo.Amigo(wait_services=True)\n\treturn amigo\ndef initialize(self):\n self.lights.set_color(0,0,1) #be sure lights are blue\n ## self.head.reset_position()\n self.leftArm.reset_arm()\n self.leftArm.send_gripper_goal_close()\n self.rightArm.reset_arm()\n self.rightArm.send_gripper_goal_close()\n self.reasoner.reset()", "detail": "amigolog.src.atomic_grounding_v1_old", "documentation": {} }, { "label": "GetActionThrea", "kind": 6, "importPath": "amigolog.src.atomic_grounding_v4", "description": "amigolog.src.atomic_grounding_v4", "peekOfCode": "class GetActionThread (threading.Thread):\n def __init__(self, threadID, name, robot):\n threading.Thread.__init__(self)\n self.threadID = threadID\n self.name = name\n self.robot = robot\n self.action_number = 1\n def stop(self):\n self.__stop = True\n def run(self):", "detail": "amigolog.src.atomic_grounding_v4", "documentation": {} }, { "label": "ExecuteActionThrea", "kind": 6, "importPath": "amigolog.src.atomic_grounding_v4", "description": "amigolog.src.atomic_grounding_v4", "peekOfCode": "class ExecuteActionThread (threading.Thread):\n def __init__(self, threadID, name, robot, action, action_input):\n threading.Thread.__init__(self)\n self.threadID = threadID\n self.name = name\n self.robot = robot\n self.action = action\n self.action_input = action_input\n def stop(self):\n self.__stop = True", "detail": "amigolog.src.atomic_grounding_v4", "documentation": {} }, { "label": "startup", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v4", "description": "amigolog.src.atomic_grounding_v4", "peekOfCode": "def startup(): \n amigo = robot_skills.amigo.Amigo(wait_services=True)\n return amigo\ndef initialize(self):\n self.lights.set_color(0,0,1) #be sure lights are blue\n self.head.reset_position()\n self.leftArm.reset_arm()\n self.leftArm.send_gripper_goal_close()\n self.rightArm.reset_arm()\n self.rightArm.send_gripper_goal_close()", "detail": "amigolog.src.atomic_grounding_v4", "documentation": {} }, { "label": "initialize", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v4", "description": "amigolog.src.atomic_grounding_v4", "peekOfCode": "def initialize(self):\n self.lights.set_color(0,0,1) #be sure lights are blue\n self.head.reset_position()\n self.leftArm.reset_arm()\n self.leftArm.send_gripper_goal_close()\n self.rightArm.reset_arm()\n self.rightArm.send_gripper_goal_close()\n self.reasoner.reset()\n self.spindle.reset()\n ## Check if TF link between /map and /base_link is set, if not error at initialize in stead of during first navigate execution", "detail": "amigolog.src.atomic_grounding_v4", "documentation": {} }, { "label": "init_retract_facts", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v4", "description": "amigolog.src.atomic_grounding_v4", "peekOfCode": "def init_retract_facts(self):\n ##retract old facts\n self.reasoner.query(Compound(\"retractall\", Compound(\"thread_ready_for_execution\", \"X\",\"Y\",\"Z\"))) \n self.reasoner.query(Compound(\"retractall\", Compound(\"thread_running\", \"X\", \"Y\",\"Z\")))\n self.reasoner.query(Compound(\"retractall\", Compound(\"thread_finished_succes\", \"X\", \"Y\",\"Z\")))\n self.reasoner.query(Compound(\"retractall\", Compound(\"thread_finished_failed\", \"X\", \"Y\",\"Z\")))\n self.reasoner.query(Compound(\"retractall\", Compound(\"action_noted_as_finished\", \"X\", \"Y\")))\n ##Load database\n self.reasoner.query(Compound(\"load_database\",\"tue_owls_indigolog_exec\",'knowledge/kb_ag.pl'))\n self.reasoner.query(Compound(\"load_database\", \"tue_owls_indigolog_exec\", 'knowledge/locations_ag.pl'))", "detail": "amigolog.src.atomic_grounding_v4", "documentation": {} }, { "label": "execute_smach_statemachine", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v4", "description": "amigolog.src.atomic_grounding_v4", "peekOfCode": "def execute_smach_statemachine(self, machine):\n introserver = smach_ros.IntrospectionServer('server_name', machine, '/SM_ROOT_PRIMARY')\n introserver.start()\n try:\n result = machine.execute()\n except Exception, e:\n self.speech.speak(e)\n finally:\n introserver.stop()\n return result", "detail": "amigolog.src.atomic_grounding_v4", "documentation": {} }, { "label": "execute_smach_state", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v4", "description": "amigolog.src.atomic_grounding_v4", "peekOfCode": "def execute_smach_state(self, state, transitions):\n class Generated_StateMachine(smach.StateMachine):\n def __init__(self, state, transitions):\n smach.StateMachine.__init__(self,outcomes=transitions)\n with self:\n smach.StateMachine.add('EXECUTE_STATE', state)\n machine = Generated_StateMachine(state, transitions)\n introserver = smach_ros.IntrospectionServer('server_name', machine, '/SM_ROOT_PRIMARY')\n introserver.start()\n try:", "detail": "amigolog.src.atomic_grounding_v4", "documentation": {} }, { "label": "execute", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v4", "description": "amigolog.src.atomic_grounding_v4", "peekOfCode": "def execute(self, action, action_input=None):\n ### HUMAN INTERACTION ###\n if action == \"say\":\n sentence = str(action_input[0])\n self.speech.speak(sentence)\n result = \"success\"\n ### ARMS ###\n elif action == \"arm\":\n arm_action = str(action_input[0]) \n side = str(action_input[1])", "detail": "amigolog.src.atomic_grounding_v4", "documentation": {} }, { "label": "get_action_thread", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v4", "description": "amigolog.src.atomic_grounding_v4", "peekOfCode": "def get_action_thread(self, action, action_input):\n self.action = action\n robot = self\n if self.action == \"arm\":\n side = str(action_input[1])\n if side == \"left\":\n name = \"thread_armleft\"\n check_thread_running(robot,name, action, action_input)\n thread = ExecuteActionThread(2, name, robot, action, action_input)\n elif side == \"right\":", "detail": "amigolog.src.atomic_grounding_v4", "documentation": {} }, { "label": "check_thread_running", "kind": 2, "importPath": "amigolog.src.atomic_grounding_v4", "description": "amigolog.src.atomic_grounding_v4", "peekOfCode": "def check_thread_running(self, name, action, action_input):\n self.robot = self\n thread_running = self.robot.reasoner.query(Compound(\"thread_running\", name, action, action_input))\n if thread_running:\n thread_runs = True\n while thread_runs:\n thread_running = self.robot.reasoner.query(Compound(\"thread_running\", name, action, action_input))\n if thread_running:\n rospy.loginfo(\"[AG] Thread {0} is already busy.\".format(name))\n rospy.sleep(1)", "detail": "amigolog.src.atomic_grounding_v4", "documentation": {} }, { "label": "bin_dir", "kind": 5, "importPath": "BFLY0.bin.activate_this", "description": "BFLY0.bin.activate_this", "peekOfCode": "bin_dir = os.path.dirname(abs_file)\nbase = bin_dir[: -len(\"bin\") - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)", "detail": "BFLY0.bin.activate_this", "documentation": {} }, { "label": "base", "kind": 5, "importPath": "BFLY0.bin.activate_this", "description": "BFLY0.bin.activate_this", "peekOfCode": "base = bin_dir[: -len(\"bin\") - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]", "detail": "BFLY0.bin.activate_this", "documentation": {} }, { "label": "os.environ[\"PATH\"]", "kind": 5, "importPath": "BFLY0.bin.activate_this", "description": "BFLY0.bin.activate_this", "peekOfCode": "os.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY0.bin.activate_this", "documentation": {} }, { "label": "os.environ[\"VIRTUAL_ENV\"]", "kind": 5, "importPath": "BFLY0.bin.activate_this", "description": "BFLY0.bin.activate_this", "peekOfCode": "os.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY0.bin.activate_this", "documentation": {} }, { "label": "prev_length", "kind": 5, "importPath": "BFLY0.bin.activate_this", "description": "BFLY0.bin.activate_this", "peekOfCode": "prev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY0.bin.activate_this", "documentation": {} }, { "label": "sys.path[:]", "kind": 5, "importPath": "BFLY0.bin.activate_this", "description": "BFLY0.bin.activate_this", "peekOfCode": "sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY0.bin.activate_this", "documentation": {} }, { "label": "sys.real_prefix", "kind": 5, "importPath": "BFLY0.bin.activate_this", "description": "BFLY0.bin.activate_this", "peekOfCode": "sys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY0.bin.activate_this", "documentation": {} }, { "label": "sys.prefix", "kind": 5, "importPath": "BFLY0.bin.activate_this", "description": "BFLY0.bin.activate_this", "peekOfCode": "sys.prefix = base", "detail": "BFLY0.bin.activate_this", "documentation": {} }, { "label": "bin_dir", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.activate_this", "description": "BFLY0.build.lib.butterfly.bin.activate_this", "peekOfCode": "bin_dir = os.path.dirname(abs_file)\nbase = bin_dir[: -len(\"bin\") - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)", "detail": "BFLY0.build.lib.butterfly.bin.activate_this", "documentation": {} }, { "label": "base", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.activate_this", "description": "BFLY0.build.lib.butterfly.bin.activate_this", "peekOfCode": "base = bin_dir[: -len(\"bin\") - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]", "detail": "BFLY0.build.lib.butterfly.bin.activate_this", "documentation": {} }, { "label": "os.environ[\"PATH\"]", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.activate_this", "description": "BFLY0.build.lib.butterfly.bin.activate_this", "peekOfCode": "os.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY0.build.lib.butterfly.bin.activate_this", "documentation": {} }, { "label": "os.environ[\"VIRTUAL_ENV\"]", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.activate_this", "description": "BFLY0.build.lib.butterfly.bin.activate_this", "peekOfCode": "os.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY0.build.lib.butterfly.bin.activate_this", "documentation": {} }, { "label": "prev_length", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.activate_this", "description": "BFLY0.build.lib.butterfly.bin.activate_this", "peekOfCode": "prev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY0.build.lib.butterfly.bin.activate_this", "documentation": {} }, { "label": "sys.path[:]", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.activate_this", "description": "BFLY0.build.lib.butterfly.bin.activate_this", "peekOfCode": "sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY0.build.lib.butterfly.bin.activate_this", "documentation": {} }, { "label": "sys.real_prefix", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.activate_this", "description": "BFLY0.build.lib.butterfly.bin.activate_this", "peekOfCode": "sys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY0.build.lib.butterfly.bin.activate_this", "documentation": {} }, { "label": "sys.prefix", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.activate_this", "description": "BFLY0.build.lib.butterfly.bin.activate_this", "peekOfCode": "sys.prefix = base", "detail": "BFLY0.build.lib.butterfly.bin.activate_this", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.cat", "description": "BFLY0.build.lib.butterfly.bin.cat", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly cat wrapper.')\nparser.add_argument('-o', action=\"store_true\",\n dest='original', help='Force original cat')\nparser.add_argument(\n 'files', metavar='FILES', nargs='+',\n help='Force original cat')\nargs, remaining = parser.parse_known_args()\nif args.original:\n os.execvp('/usr/bin/cat', remaining + args.files)\nfor file in args.files:", "detail": "BFLY0.build.lib.butterfly.bin.cat", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.colors", "description": "BFLY0.build.lib.butterfly.bin.colors", "peekOfCode": "parser = argparse.ArgumentParser(\n description='Butterfly terminal color tester.')\nparser.add_argument(\n '--colors',\n default='16',\n choices=['8', '16', '256', '16M'],\n help='Set the color mode to test')\nargs = parser.parse_args()\nprint()\nif args.colors in ['8', '16']:", "detail": "BFLY0.build.lib.butterfly.bin.colors", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.colors", "description": "BFLY0.build.lib.butterfly.bin.colors", "peekOfCode": "args = parser.parse_args()\nprint()\nif args.colors in ['8', '16']:\n print('Background\\n')\n for l in range(3):\n sys.stdout.write(' ')\n for i in range(8):\n sys.stdout.write('\\x1b[%dm \\x1b[m ' % (40 + i))\n sys.stdout.write('\\n')\n sys.stdout.flush()", "detail": "BFLY0.build.lib.butterfly.bin.colors", "documentation": {} }, { "label": "path", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.help", "description": "BFLY0.build.lib.butterfly.bin.help", "peekOfCode": "path = os.getenv('BUTTERFLY_PATH')\nif path:\n path = os.path.join(path, '../static/images/favicon.png')\nif path and os.path.exists(path):\n with image('image/png'):\n with open(path, 'rb') as i:\n print(base64.b64encode(i.read()).decode('ascii'))\nprint(\"\"\"\nButterfly is a xterm compliant terminal built with python and javascript.\n{title}Terminal functionalities:{reset}", "detail": "BFLY0.build.lib.butterfly.bin.help", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.html", "description": "BFLY0.build.lib.butterfly.bin.html", "peekOfCode": "parser = argparse.ArgumentParser(\n description=\"Butterfly html converter.\\n\\n\"\n \"Output in html standard input.\\n\"\n \"Example: $ echo \\\"Bold\\\" | b html\",\n formatter_class=argparse.RawTextHelpFormatter)\nparser.parse_known_args()\nwith html():\n for line in fileinput.input():\n sys.stdout.write(line)", "detail": "BFLY0.build.lib.butterfly.bin.html", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.open", "description": "BFLY0.build.lib.butterfly.bin.open", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly tab opener.')\nparser.add_argument(\n 'location',\n nargs='?',\n default=os.getcwd(),\n help='Directory to open the new tab in. (Defaults to current)')\nargs = parser.parse_args()\nurl_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)", "detail": "BFLY0.build.lib.butterfly.bin.open", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.open", "description": "BFLY0.build.lib.butterfly.bin.open", "peekOfCode": "args = parser.parse_args()\nurl_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY0.build.lib.butterfly.bin.open", "documentation": {} }, { "label": "url_parts", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.open", "description": "BFLY0.build.lib.butterfly.bin.open", "peekOfCode": "url_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY0.build.lib.butterfly.bin.open", "documentation": {} }, { "label": "query", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.open", "description": "BFLY0.build.lib.butterfly.bin.open", "peekOfCode": "query = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY0.build.lib.butterfly.bin.open", "documentation": {} }, { "label": "query['path']", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.open", "description": "BFLY0.build.lib.butterfly.bin.open", "peekOfCode": "query['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY0.build.lib.butterfly.bin.open", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.open", "description": "BFLY0.build.lib.butterfly.bin.open", "peekOfCode": "url = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY0.build.lib.butterfly.bin.open", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.session", "description": "BFLY0.build.lib.butterfly.bin.session", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly session opener.')\nparser.add_argument(\n 'session',\n help='Open or rattach a butterfly session. '\n '(Only in secure mode or in user unsecure mode (no su login))')\nargs = parser.parse_args()\nurl = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY0.build.lib.butterfly.bin.session", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.session", "description": "BFLY0.build.lib.butterfly.bin.session", "peekOfCode": "args = parser.parse_args()\nurl = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY0.build.lib.butterfly.bin.session", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.bin.session", "description": "BFLY0.build.lib.butterfly.bin.session", "peekOfCode": "url = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY0.build.lib.butterfly.bin.session", "documentation": {} }, { "label": "html", "kind": 2, "importPath": "BFLY0.build.lib.butterfly.escapes", "description": "BFLY0.build.lib.butterfly.escapes", "peekOfCode": "def html():\n sys.stdout.write('\\x1bP;HTML|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')", "detail": "BFLY0.build.lib.butterfly.escapes", "documentation": {} }, { "label": "image", "kind": 2, "importPath": "BFLY0.build.lib.butterfly.escapes", "description": "BFLY0.build.lib.butterfly.escapes", "peekOfCode": "def image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')\n sys.stdout.flush()\n@contextmanager\ndef prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "BFLY0.build.lib.butterfly.escapes", "documentation": {} }, { "label": "prompt", "kind": 2, "importPath": "BFLY0.build.lib.butterfly.escapes", "description": "BFLY0.build.lib.butterfly.escapes", "peekOfCode": "def prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "BFLY0.build.lib.butterfly.escapes", "documentation": {} }, { "label": "text", "kind": 2, "importPath": "BFLY0.build.lib.butterfly.escapes", "description": "BFLY0.build.lib.butterfly.escapes", "peekOfCode": "def text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\ndef geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)", "detail": "BFLY0.build.lib.butterfly.escapes", "documentation": {} }, { "label": "geolocation", "kind": 2, "importPath": "BFLY0.build.lib.butterfly.escapes", "description": "BFLY0.build.lib.butterfly.escapes", "peekOfCode": "def geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)\n try:\n tty.setraw(sys.stdin.fileno())\n rv = sys.stdin.read(1)\n if rv != '\\x1b':\n raise", "detail": "BFLY0.build.lib.butterfly.escapes", "documentation": {} }, { "label": "PamHandle", "kind": 6, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "class PamHandle(Structure):\n \"\"\"wrapper class for pam_handle_t pointer\"\"\"\n _fields_ = [(\"handle\", c_void_p)]\n def __init__(self):\n Structure.__init__(self)\n self.handle = 0\nclass PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "PamMessage", "kind": 6, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "class PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):\n return \"\" % (self.msg_style, self.msg)\nclass PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "PamResponse", "kind": 6, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "class PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)\nconv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "PamConv", "kind": 6, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "class PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "PAM", "kind": 6, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "class PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.\n Returns True for success, or False for failure.", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "login_prompt", "kind": 2, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "def login_prompt(username, profile, env):\n pam = PAM()\n success = pam.authenticate(username, profile)\n print('{} {}'.format(pam.code, pam.reason))\n if success:\n su = '/usr/bin/su'\n if not os.path.exists(su):\n su = '/bin/su'\n os.execvpe(su, [su, '-l', username], env)\n return success", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "conv_func", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "conv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_OFF", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "PAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_ON", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "PAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "PAM_ERROR_MSG", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "PAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "PAM_TEXT_INFO", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "PAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "PAM_REINITIALIZE_CRED", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "PAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "libc", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "libc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "libpam", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "libpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "libpam_misc", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "libpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "calloc", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "calloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "calloc.restype", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "calloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "calloc.argtypes", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "calloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_end", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "pam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_end.restype", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "pam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_end.argtypes", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "pam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_start", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "pam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_start.restype", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "pam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_start.argtypes", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "pam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_setcred", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "pam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_setcred.restype", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "pam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_setcred.argtypes", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "pam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_strerror", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "pam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_strerror.restype", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "pam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_strerror.argtypes", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "pam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "pam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate.restype", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "pam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate.argtypes", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "pam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "misc_conv", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.pam", "description": "BFLY0.build.lib.butterfly.pam", "peekOfCode": "misc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.", "detail": "BFLY0.build.lib.butterfly.pam", "documentation": {} }, { "label": "Index", "kind": 6, "importPath": "BFLY0.build.lib.butterfly.routes", "description": "BFLY0.build.lib.butterfly.routes", "peekOfCode": "class Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:\n raise tornado.web.HTTPError(400)\n return self.render(\n 'index.html', session=session or str(uuid4()))\n@url(r'/theme/([^/]+)/style.css')\nclass Theme(Route):", "detail": "BFLY0.build.lib.butterfly.routes", "documentation": {} }, { "label": "Theme", "kind": 6, "importPath": "BFLY0.build.lib.butterfly.routes", "description": "BFLY0.build.lib.butterfly.routes", "peekOfCode": "class Theme(Route):\n def get(self, theme):\n self.log.info('Getting style')\n try:\n import sass\n sass.CompileError\n except Exception:\n self.log.error(\n 'You must install libsass to use sass '\n '(pip install libsass)')", "detail": "BFLY0.build.lib.butterfly.routes", "documentation": {} }, { "label": "ThemeStatic", "kind": 6, "importPath": "BFLY0.build.lib.butterfly.routes", "description": "BFLY0.build.lib.butterfly.routes", "peekOfCode": "class ThemeStatic(Route):\n def get(self, theme, name):\n if '..' in name:\n raise tornado.web.HTTPError(403)\n base_dir = self.get_theme_dir(theme)\n fn = os.path.normpath(os.path.join(base_dir, name))\n if not fn.startswith(base_dir):\n raise tornado.web.HTTPError(403)\n if os.path.exists(fn):\n type = guess_type(fn)[0]", "detail": "BFLY0.build.lib.butterfly.routes", "documentation": {} }, { "label": "KeptAliveWebSocketHandler", "kind": 6, "importPath": "BFLY0.build.lib.butterfly.routes", "description": "BFLY0.build.lib.butterfly.routes", "peekOfCode": "class KeptAliveWebSocketHandler(tornado.websocket.WebSocketHandler):\n keepalive_timer = None\n def open(self, *args, **kwargs):\n self.keepalive_timer = tornado.ioloop.PeriodicCallback(\n self.send_ping, tornado.options.options.keepalive_interval * 1000)\n self.keepalive_timer.start()\n def send_ping(self):\n t = int(time.time())\n frame = struct.pack('[^/]+)/?)?')\nclass Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:", "detail": "BFLY0.build.lib.butterfly.routes", "documentation": {} }, { "label": "Terminal", "kind": 6, "importPath": "BFLY0.build.lib.butterfly.terminal", "description": "BFLY0.build.lib.butterfly.terminal", "peekOfCode": "class Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):\n self.sessions[session] = self\n self.history_size = 50000\n self.history = ''\n self.uri = uri\n self.session = session\n self.broadcast = broadcast", "detail": "BFLY0.build.lib.butterfly.terminal", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.terminal", "description": "BFLY0.build.lib.butterfly.terminal", "peekOfCode": "log = getLogger('butterfly')\nioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):", "detail": "BFLY0.build.lib.butterfly.terminal", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.terminal", "description": "BFLY0.build.lib.butterfly.terminal", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}", "detail": "BFLY0.build.lib.butterfly.terminal", "documentation": {} }, { "label": "server", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.terminal", "description": "BFLY0.build.lib.butterfly.terminal", "peekOfCode": "server = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,", "detail": "BFLY0.build.lib.butterfly.terminal", "documentation": {} }, { "label": "daemon", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.terminal", "description": "BFLY0.build.lib.butterfly.terminal", "peekOfCode": "daemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):", "detail": "BFLY0.build.lib.butterfly.terminal", "documentation": {} }, { "label": "User", "kind": 6, "importPath": "BFLY0.build.lib.butterfly.utils", "description": "BFLY0.build.lib.butterfly.utils", "peekOfCode": "class User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:\n uid = os.getuid()\n if uid is not None:\n self.pw = pwd.getpwuid(uid)\n else:\n self.pw = pwd.getpwnam(name)\n if self.pw is None:\n raise LookupError('Unknown user')", "detail": "BFLY0.build.lib.butterfly.utils", "documentation": {} }, { "label": "Socket", "kind": 6, "importPath": "BFLY0.build.lib.butterfly.utils", "description": "BFLY0.build.lib.butterfly.utils", "peekOfCode": "class Socket(object):\n def __init__(self, socket):\n sn = socket.getsockname()\n self.local_addr = sn[0]\n self.local_port = sn[1]\n try:\n pn = socket.getpeername()\n self.remote_addr = pn[0]\n self.remote_port = pn[1]\n except Exception:", "detail": "BFLY0.build.lib.butterfly.utils", "documentation": {} }, { "label": "AnsiColors", "kind": 6, "importPath": "BFLY0.build.lib.butterfly.utils", "description": "BFLY0.build.lib.butterfly.utils", "peekOfCode": "class AnsiColors(object):\n colors = {\n 'black': 30,\n 'red': 31,\n 'green': 32,\n 'yellow': 33,\n 'blue': 34,\n 'magenta': 35,\n 'cyan': 36,\n 'white': 37", "detail": "BFLY0.build.lib.butterfly.utils", "documentation": {} }, { "label": "get_hex_ip_port", "kind": 2, "importPath": "BFLY0.build.lib.butterfly.utils", "description": "BFLY0.build.lib.butterfly.utils", "peekOfCode": "def get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),\n int(splits[2]),", "detail": "BFLY0.build.lib.butterfly.utils", "documentation": {} }, { "label": "parse_cert", "kind": 2, "importPath": "BFLY0.build.lib.butterfly.utils", "description": "BFLY0.build.lib.butterfly.utils", "peekOfCode": "def parse_cert(cert):\n user = None\n for elt in cert['subject']:\n user = dict(elt).get('commonName', None)\n if user:\n break\n return user\nclass User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:", "detail": "BFLY0.build.lib.butterfly.utils", "documentation": {} }, { "label": "get_lsof_socket_line", "kind": 2, "importPath": "BFLY0.build.lib.butterfly.utils", "description": "BFLY0.build.lib.butterfly.utils", "peekOfCode": "def get_lsof_socket_line(addr, port):\n # May want to make this into a dictionary in the future...\n regex = \"\\w+\\s+(?P\\d+)\\s+(?P\\w+).*\\s\" \\\n \"(?P.*?):(?P\\d+)->(?P.*?):(?P\\d+)\"\n output = subprocess.check_output(['lsof', '-Pni']).decode('utf-8')\n lines = output.split('\\n')\n for line in lines:\n # Look for local address with peer port\n match = re.findall(regex, line)\n if len(match):", "detail": "BFLY0.build.lib.butterfly.utils", "documentation": {} }, { "label": "get_procfs_socket_line", "kind": 2, "importPath": "BFLY0.build.lib.butterfly.utils", "description": "BFLY0.build.lib.butterfly.utils", "peekOfCode": "def get_procfs_socket_line(hex_ip_port):\n fn = None\n if len(hex_ip_port) == 13: # ipv4\n fn = '/proc/net/tcp'\n elif len(hex_ip_port) == 37: # ipv6\n fn = '/proc/net/tcp6'\n if not fn:\n return\n try:\n with open(fn) as k:", "detail": "BFLY0.build.lib.butterfly.utils", "documentation": {} }, { "label": "get_socket_env", "kind": 2, "importPath": "BFLY0.build.lib.butterfly.utils", "description": "BFLY0.build.lib.butterfly.utils", "peekOfCode": "def get_socket_env(inode, user):\n for pid in os.listdir(\"/proc/\"):\n if not pid.isdigit():\n continue\n try:\n with open('/proc/%s/cmdline' % pid) as c:\n command = c.read().split('\\x00')\n executable = command[0].split('/')[-1]\n if executable in ('sh', 'bash', 'zsh'):\n executable = command[1].split('/')[-1]", "detail": "BFLY0.build.lib.butterfly.utils", "documentation": {} }, { "label": "get_utmp_file", "kind": 2, "importPath": "BFLY0.build.lib.butterfly.utils", "description": "BFLY0.build.lib.butterfly.utils", "peekOfCode": "def get_utmp_file():\n for file in (\n '/var/run/utmp',\n '/var/adm/utmp',\n '/var/adm/utmpx',\n '/etc/utmp',\n '/etc/utmpx',\n '/var/run/utx.active'):\n if os.path.exists(file):\n return file", "detail": "BFLY0.build.lib.butterfly.utils", "documentation": {} }, { "label": "get_wtmp_file", "kind": 2, "importPath": "BFLY0.build.lib.butterfly.utils", "description": "BFLY0.build.lib.butterfly.utils", "peekOfCode": "def get_wtmp_file():\n for file in (\n '/var/log/wtmp',\n '/var/adm/wtmp',\n '/var/adm/wtmpx',\n '/var/run/utx.log'):\n if os.path.exists(file):\n return file\nUTmp = namedtuple(\n 'UTmp',", "detail": "BFLY0.build.lib.butterfly.utils", "documentation": {} }, { "label": "utmp_line", "kind": 2, "importPath": "BFLY0.build.lib.butterfly.utils", "description": "BFLY0.build.lib.butterfly.utils", "peekOfCode": "def utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line\n b(id), # id\n b(user), # user\n b(host), # host\n 0, # exit 0\n 0, # exit 1", "detail": "BFLY0.build.lib.butterfly.utils", "documentation": {} }, { "label": "add_user_info", "kind": 2, "importPath": "BFLY0.build.lib.butterfly.utils", "description": "BFLY0.build.lib.butterfly.utils", "peekOfCode": "def add_user_info(id, fd, pid, user, host):\n # Freebsd format is not yet supported.\n # Please submit PR\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 7, pid, fd, user, host, time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:", "detail": "BFLY0.build.lib.butterfly.utils", "documentation": {} }, { "label": "rm_user_info", "kind": 2, "importPath": "BFLY0.build.lib.butterfly.utils", "description": "BFLY0.build.lib.butterfly.utils", "peekOfCode": "def rm_user_info(id, pid):\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 8, pid, '', '', '', time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:\n continue\n try:", "detail": "BFLY0.build.lib.butterfly.utils", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.utils", "description": "BFLY0.build.lib.butterfly.utils", "peekOfCode": "log = getLogger('butterfly')\ndef get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),", "detail": "BFLY0.build.lib.butterfly.utils", "documentation": {} }, { "label": "utmp_struct", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.utils", "description": "BFLY0.build.lib.butterfly.utils", "peekOfCode": "utmp_struct = struct.Struct('hi32s4s32s256shhiii4i20s')\nif sys.version_info[0] == 2:\n b = lambda x: x\nelse:\n def b(x):\n if isinstance(x, str):\n return x.encode('utf-8')\n return x\ndef get_utmp_file():\n for file in (", "detail": "BFLY0.build.lib.butterfly.utils", "documentation": {} }, { "label": "UTmp", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.utils", "description": "BFLY0.build.lib.butterfly.utils", "peekOfCode": "UTmp = namedtuple(\n 'UTmp',\n ['type', 'pid', 'line', 'id', 'user', 'host',\n 'exit0', 'exit1', 'session',\n 'sec', 'usec', 'addr0', 'addr1', 'addr2', 'addr3', 'unused'])\ndef utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line", "detail": "BFLY0.build.lib.butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "kind": 5, "importPath": "BFLY0.build.lib.butterfly.utils", "description": "BFLY0.build.lib.butterfly.utils", "peekOfCode": "ansi_colors = AnsiColors()", "detail": "BFLY0.build.lib.butterfly.utils", "documentation": {} }, { "label": "to_abs", "kind": 2, "importPath": "BFLY0.build.scripts-3.10.butterfly.server", "description": "BFLY0.build.scripts-3.10.butterfly.server", "peekOfCode": "def to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',\n 'butterfly_%s.crt', 'butterfly_%s.key',\n '%s.p12'])\ndef fill_fields(subject):\n subject.C = 'WW'\n subject.O = 'Butterfly'\n subject.OU = 'Butterfly Terminal'", "detail": "BFLY0.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "fill_fields", "kind": 2, "importPath": "BFLY0.build.scripts-3.10.butterfly.server", "description": "BFLY0.build.scripts-3.10.butterfly.server", "peekOfCode": "def fill_fields(subject):\n subject.C = 'WW'\n subject.O = 'Butterfly'\n subject.OU = 'Butterfly Terminal'\n subject.ST = 'World Wide'\n subject.L = 'Terminal'\ndef write(file, content):\n with open(file, 'wb') as fd:\n fd.write(content)\n print('Writing %s' % file)", "detail": "BFLY0.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "write", "kind": 2, "importPath": "BFLY0.build.scripts-3.10.butterfly.server", "description": "BFLY0.build.scripts-3.10.butterfly.server", "peekOfCode": "def write(file, content):\n with open(file, 'wb') as fd:\n fd.write(content)\n print('Writing %s' % file)\ndef read(file):\n print('Reading %s' % file)\n with open(file, 'rb') as fd:\n return fd.read()\ndef b(s):\n return s.encode('utf-8')", "detail": "BFLY0.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "read", "kind": 2, "importPath": "BFLY0.build.scripts-3.10.butterfly.server", "description": "BFLY0.build.scripts-3.10.butterfly.server", "peekOfCode": "def read(file):\n print('Reading %s' % file)\n with open(file, 'rb') as fd:\n return fd.read()\ndef b(s):\n return s.encode('utf-8')\nif options.generate_certs:\n from OpenSSL import crypto\n print('Generating certificates for %s (change it with --host)\\n' % host)\n if not os.path.exists(ca) and not os.path.exists(ca_key):", "detail": "BFLY0.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "b", "kind": 2, "importPath": "BFLY0.build.scripts-3.10.butterfly.server", "description": "BFLY0.build.scripts-3.10.butterfly.server", "peekOfCode": "def b(s):\n return s.encode('utf-8')\nif options.generate_certs:\n from OpenSSL import crypto\n print('Generating certificates for %s (change it with --host)\\n' % host)\n if not os.path.exists(ca) and not os.path.exists(ca_key):\n print('Root certificate not found, generating it')\n ca_pk = crypto.PKey()\n ca_pk.generate_key(crypto.TYPE_RSA, 2048)\n ca_cert = crypto.X509()", "detail": "BFLY0.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "butterfly_dir", "kind": 5, "importPath": "BFLY0.build.scripts-3.10.butterfly.server", "description": "BFLY0.build.scripts-3.10.butterfly.server", "peekOfCode": "butterfly_dir = os.path.join(ev, 'butterfly')\nconf_file = os.path.join(butterfly_dir, 'butterfly.conf')\nssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()", "detail": "BFLY0.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "conf_file", "kind": 5, "importPath": "BFLY0.build.scripts-3.10.butterfly.server", "description": "BFLY0.build.scripts-3.10.butterfly.server", "peekOfCode": "conf_file = os.path.join(butterfly_dir, 'butterfly.conf')\nssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()\nif os.path.exists(tornado.options.options.conf):", "detail": "BFLY0.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "ssl_dir", "kind": 5, "importPath": "BFLY0.build.scripts-3.10.butterfly.server", "description": "BFLY0.build.scripts-3.10.butterfly.server", "peekOfCode": "ssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()\nif os.path.exists(tornado.options.options.conf):\n tornado.options.parse_config_file(tornado.options.options.conf)", "detail": "BFLY0.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "options", "kind": 5, "importPath": "BFLY0.build.scripts-3.10.butterfly.server", "description": "BFLY0.build.scripts-3.10.butterfly.server", "peekOfCode": "options = tornado.options.options\nfor logger in ('tornado.access', 'tornado.application',\n 'tornado.general', 'butterfly'):\n level = logging.WARNING\n if options.debug:\n level = logging.INFO\n if options.more:\n level = logging.DEBUG\n logging.getLogger(logger).setLevel(level)\nlog = logging.getLogger('butterfly')", "detail": "BFLY0.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "BFLY0.build.scripts-3.10.butterfly.server", "description": "BFLY0.build.scripts-3.10.butterfly.server", "peekOfCode": "log = logging.getLogger('butterfly')\nhost = options.host\nport = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [", "detail": "BFLY0.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "host", "kind": 5, "importPath": "BFLY0.build.scripts-3.10.butterfly.server", "description": "BFLY0.build.scripts-3.10.butterfly.server", "peekOfCode": "host = options.host\nport = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',", "detail": "BFLY0.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "port", "kind": 5, "importPath": "BFLY0.build.scripts-3.10.butterfly.server", "description": "BFLY0.build.scripts-3.10.butterfly.server", "peekOfCode": "port = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',\n 'butterfly_%s.crt', 'butterfly_%s.key',", "detail": "BFLY0.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "application.butterfly_dir", "kind": 5, "importPath": "BFLY0.build.scripts-3.10.butterfly.server", "description": "BFLY0.build.scripts-3.10.butterfly.server", "peekOfCode": "application.butterfly_dir = butterfly_dir\nlog.info('Starting server')\nhttp_server = HTTPServer(application, ssl_options=ssl_opts)\nhttp_server.listen(port, address=host)\nif getattr(http_server, 'systemd', False):\n os.environ.pop('LISTEN_PID')\n os.environ.pop('LISTEN_FDS')\nlog.info('Starting loop')\nioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:", "detail": "BFLY0.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "http_server", "kind": 5, "importPath": "BFLY0.build.scripts-3.10.butterfly.server", "description": "BFLY0.build.scripts-3.10.butterfly.server", "peekOfCode": "http_server = HTTPServer(application, ssl_options=ssl_opts)\nhttp_server.listen(port, address=host)\nif getattr(http_server, 'systemd', False):\n os.environ.pop('LISTEN_PID')\n os.environ.pop('LISTEN_FDS')\nlog.info('Starting loop')\nioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:\n port = list(http_server._sockets.values())[0].getsockname()[1]\nurl = \"http%s://%s:%d/%s\" % (", "detail": "BFLY0.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "BFLY0.build.scripts-3.10.butterfly.server", "description": "BFLY0.build.scripts-3.10.butterfly.server", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:\n port = list(http_server._sockets.values())[0].getsockname()[1]\nurl = \"http%s://%s:%d/%s\" % (\n \"s\" if not options.unsecure else \"\", host, port,\n (options.uri_root_path.strip('/') + '/') if options.uri_root_path else ''\n)\nif not options.one_shot or not webbrowser.open(url):\n log.warn('Butterfly is ready, open your browser to: %s' % url)\nioloop.start()", "detail": "BFLY0.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "BFLY0.build.scripts-3.10.butterfly.server", "description": "BFLY0.build.scripts-3.10.butterfly.server", "peekOfCode": "url = \"http%s://%s:%d/%s\" % (\n \"s\" if not options.unsecure else \"\", host, port,\n (options.uri_root_path.strip('/') + '/') if options.uri_root_path else ''\n)\nif not options.one_shot or not webbrowser.open(url):\n log.warn('Butterfly is ready, open your browser to: %s' % url)\nioloop.start()", "detail": "BFLY0.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "bin_dir", "kind": 5, "importPath": "BFLY0.butterfly.bin.activate_this", "description": "BFLY0.butterfly.bin.activate_this", "peekOfCode": "bin_dir = os.path.dirname(abs_file)\nbase = bin_dir[: -len(\"bin\") - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)", "detail": "BFLY0.butterfly.bin.activate_this", "documentation": {} }, { "label": "base", "kind": 5, "importPath": "BFLY0.butterfly.bin.activate_this", "description": "BFLY0.butterfly.bin.activate_this", "peekOfCode": "base = bin_dir[: -len(\"bin\") - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]", "detail": "BFLY0.butterfly.bin.activate_this", "documentation": {} }, { "label": "os.environ[\"PATH\"]", "kind": 5, "importPath": "BFLY0.butterfly.bin.activate_this", "description": "BFLY0.butterfly.bin.activate_this", "peekOfCode": "os.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY0.butterfly.bin.activate_this", "documentation": {} }, { "label": "os.environ[\"VIRTUAL_ENV\"]", "kind": 5, "importPath": "BFLY0.butterfly.bin.activate_this", "description": "BFLY0.butterfly.bin.activate_this", "peekOfCode": "os.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY0.butterfly.bin.activate_this", "documentation": {} }, { "label": "prev_length", "kind": 5, "importPath": "BFLY0.butterfly.bin.activate_this", "description": "BFLY0.butterfly.bin.activate_this", "peekOfCode": "prev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY0.butterfly.bin.activate_this", "documentation": {} }, { "label": "sys.path[:]", "kind": 5, "importPath": "BFLY0.butterfly.bin.activate_this", "description": "BFLY0.butterfly.bin.activate_this", "peekOfCode": "sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY0.butterfly.bin.activate_this", "documentation": {} }, { "label": "sys.real_prefix", "kind": 5, "importPath": "BFLY0.butterfly.bin.activate_this", "description": "BFLY0.butterfly.bin.activate_this", "peekOfCode": "sys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY0.butterfly.bin.activate_this", "documentation": {} }, { "label": "sys.prefix", "kind": 5, "importPath": "BFLY0.butterfly.bin.activate_this", "description": "BFLY0.butterfly.bin.activate_this", "peekOfCode": "sys.prefix = base", "detail": "BFLY0.butterfly.bin.activate_this", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY0.butterfly.bin.cat", "description": "BFLY0.butterfly.bin.cat", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly cat wrapper.')\nparser.add_argument('-o', action=\"store_true\",\n dest='original', help='Force original cat')\nparser.add_argument(\n 'files', metavar='FILES', nargs='+',\n help='Force original cat')\nargs, remaining = parser.parse_known_args()\nif args.original:\n os.execvp('/usr/bin/cat', remaining + args.files)\nfor file in args.files:", "detail": "BFLY0.butterfly.bin.cat", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY0.butterfly.bin.colors", "description": "BFLY0.butterfly.bin.colors", "peekOfCode": "parser = argparse.ArgumentParser(\n description='Butterfly terminal color tester.')\nparser.add_argument(\n '--colors',\n default='16',\n choices=['8', '16', '256', '16M'],\n help='Set the color mode to test')\nargs = parser.parse_args()\nprint()\nif args.colors in ['8', '16']:", "detail": "BFLY0.butterfly.bin.colors", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "BFLY0.butterfly.bin.colors", "description": "BFLY0.butterfly.bin.colors", "peekOfCode": "args = parser.parse_args()\nprint()\nif args.colors in ['8', '16']:\n print('Background\\n')\n for l in range(3):\n sys.stdout.write(' ')\n for i in range(8):\n sys.stdout.write('\\x1b[%dm \\x1b[m ' % (40 + i))\n sys.stdout.write('\\n')\n sys.stdout.flush()", "detail": "BFLY0.butterfly.bin.colors", "documentation": {} }, { "label": "path", "kind": 5, "importPath": "BFLY0.butterfly.bin.help", "description": "BFLY0.butterfly.bin.help", "peekOfCode": "path = os.getenv('BUTTERFLY_PATH')\nif path:\n path = os.path.join(path, '../static/images/favicon.png')\nif path and os.path.exists(path):\n with image('image/png'):\n with open(path, 'rb') as i:\n print(base64.b64encode(i.read()).decode('ascii'))\nprint(\"\"\"\nButterfly is a xterm compliant terminal built with python and javascript.\n{title}Terminal functionalities:{reset}", "detail": "BFLY0.butterfly.bin.help", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY0.butterfly.bin.html", "description": "BFLY0.butterfly.bin.html", "peekOfCode": "parser = argparse.ArgumentParser(\n description=\"Butterfly html converter.\\n\\n\"\n \"Output in html standard input.\\n\"\n \"Example: $ echo \\\"Bold\\\" | b html\",\n formatter_class=argparse.RawTextHelpFormatter)\nparser.parse_known_args()\nwith html():\n for line in fileinput.input():\n sys.stdout.write(line)", "detail": "BFLY0.butterfly.bin.html", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY0.butterfly.bin.open", "description": "BFLY0.butterfly.bin.open", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly tab opener.')\nparser.add_argument(\n 'location',\n nargs='?',\n default=os.getcwd(),\n help='Directory to open the new tab in. (Defaults to current)')\nargs = parser.parse_args()\nurl_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)", "detail": "BFLY0.butterfly.bin.open", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "BFLY0.butterfly.bin.open", "description": "BFLY0.butterfly.bin.open", "peekOfCode": "args = parser.parse_args()\nurl_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY0.butterfly.bin.open", "documentation": {} }, { "label": "url_parts", "kind": 5, "importPath": "BFLY0.butterfly.bin.open", "description": "BFLY0.butterfly.bin.open", "peekOfCode": "url_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY0.butterfly.bin.open", "documentation": {} }, { "label": "query", "kind": 5, "importPath": "BFLY0.butterfly.bin.open", "description": "BFLY0.butterfly.bin.open", "peekOfCode": "query = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY0.butterfly.bin.open", "documentation": {} }, { "label": "query['path']", "kind": 5, "importPath": "BFLY0.butterfly.bin.open", "description": "BFLY0.butterfly.bin.open", "peekOfCode": "query['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY0.butterfly.bin.open", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "BFLY0.butterfly.bin.open", "description": "BFLY0.butterfly.bin.open", "peekOfCode": "url = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY0.butterfly.bin.open", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY0.butterfly.bin.session", "description": "BFLY0.butterfly.bin.session", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly session opener.')\nparser.add_argument(\n 'session',\n help='Open or rattach a butterfly session. '\n '(Only in secure mode or in user unsecure mode (no su login))')\nargs = parser.parse_args()\nurl = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY0.butterfly.bin.session", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "BFLY0.butterfly.bin.session", "description": "BFLY0.butterfly.bin.session", "peekOfCode": "args = parser.parse_args()\nurl = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY0.butterfly.bin.session", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "BFLY0.butterfly.bin.session", "description": "BFLY0.butterfly.bin.session", "peekOfCode": "url = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY0.butterfly.bin.session", "documentation": {} }, { "label": "html", "kind": 2, "importPath": "BFLY0.butterfly.escapes", "description": "BFLY0.butterfly.escapes", "peekOfCode": "def html():\n sys.stdout.write('\\x1bP;HTML|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')", "detail": "BFLY0.butterfly.escapes", "documentation": {} }, { "label": "image", "kind": 2, "importPath": "BFLY0.butterfly.escapes", "description": "BFLY0.butterfly.escapes", "peekOfCode": "def image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')\n sys.stdout.flush()\n@contextmanager\ndef prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "BFLY0.butterfly.escapes", "documentation": {} }, { "label": "prompt", "kind": 2, "importPath": "BFLY0.butterfly.escapes", "description": "BFLY0.butterfly.escapes", "peekOfCode": "def prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "BFLY0.butterfly.escapes", "documentation": {} }, { "label": "text", "kind": 2, "importPath": "BFLY0.butterfly.escapes", "description": "BFLY0.butterfly.escapes", "peekOfCode": "def text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\ndef geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)", "detail": "BFLY0.butterfly.escapes", "documentation": {} }, { "label": "geolocation", "kind": 2, "importPath": "BFLY0.butterfly.escapes", "description": "BFLY0.butterfly.escapes", "peekOfCode": "def geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)\n try:\n tty.setraw(sys.stdin.fileno())\n rv = sys.stdin.read(1)\n if rv != '\\x1b':\n raise", "detail": "BFLY0.butterfly.escapes", "documentation": {} }, { "label": "PamHandle", "kind": 6, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "class PamHandle(Structure):\n \"\"\"wrapper class for pam_handle_t pointer\"\"\"\n _fields_ = [(\"handle\", c_void_p)]\n def __init__(self):\n Structure.__init__(self)\n self.handle = 0\nclass PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "PamMessage", "kind": 6, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "class PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):\n return \"\" % (self.msg_style, self.msg)\nclass PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "PamResponse", "kind": 6, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "class PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)\nconv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "PamConv", "kind": 6, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "class PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "PAM", "kind": 6, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "class PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.\n Returns True for success, or False for failure.", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "login_prompt", "kind": 2, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "def login_prompt(username, profile, env):\n pam = PAM()\n success = pam.authenticate(username, profile)\n print('{} {}'.format(pam.code, pam.reason))\n if success:\n su = '/usr/bin/su'\n if not os.path.exists(su):\n su = '/bin/su'\n os.execvpe(su, [su, '-l', username], env)\n return success", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "conv_func", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "conv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_OFF", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "PAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_ON", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "PAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "PAM_ERROR_MSG", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "PAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "PAM_TEXT_INFO", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "PAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "PAM_REINITIALIZE_CRED", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "PAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "libc", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "libc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "libpam", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "libpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "libpam_misc", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "libpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "calloc", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "calloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "calloc.restype", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "calloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "calloc.argtypes", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "calloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "pam_end", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "pam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "pam_end.restype", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "pam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "pam_end.argtypes", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "pam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "pam_start", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "pam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "pam_start.restype", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "pam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "pam_start.argtypes", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "pam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "pam_setcred", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "pam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "pam_setcred.restype", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "pam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "pam_setcred.argtypes", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "pam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "pam_strerror", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "pam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "pam_strerror.restype", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "pam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "pam_strerror.argtypes", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "pam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "pam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate.restype", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "pam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate.argtypes", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "pam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "misc_conv", "kind": 5, "importPath": "BFLY0.butterfly.pam", "description": "BFLY0.butterfly.pam", "peekOfCode": "misc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.", "detail": "BFLY0.butterfly.pam", "documentation": {} }, { "label": "Index", "kind": 6, "importPath": "BFLY0.butterfly.routes", "description": "BFLY0.butterfly.routes", "peekOfCode": "class Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:\n raise tornado.web.HTTPError(400)\n return self.render(\n 'index.html', session=session or str(uuid4()))\n@url(r'/theme/([^/]+)/style.css')\nclass Theme(Route):", "detail": "BFLY0.butterfly.routes", "documentation": {} }, { "label": "Theme", "kind": 6, "importPath": "BFLY0.butterfly.routes", "description": "BFLY0.butterfly.routes", "peekOfCode": "class Theme(Route):\n def get(self, theme):\n self.log.info('Getting style')\n try:\n import sass\n sass.CompileError\n except Exception:\n self.log.error(\n 'You must install libsass to use sass '\n '(pip install libsass)')", "detail": "BFLY0.butterfly.routes", "documentation": {} }, { "label": "ThemeStatic", "kind": 6, "importPath": "BFLY0.butterfly.routes", "description": "BFLY0.butterfly.routes", "peekOfCode": "class ThemeStatic(Route):\n def get(self, theme, name):\n if '..' in name:\n raise tornado.web.HTTPError(403)\n base_dir = self.get_theme_dir(theme)\n fn = os.path.normpath(os.path.join(base_dir, name))\n if not fn.startswith(base_dir):\n raise tornado.web.HTTPError(403)\n if os.path.exists(fn):\n type = guess_type(fn)[0]", "detail": "BFLY0.butterfly.routes", "documentation": {} }, { "label": "KeptAliveWebSocketHandler", "kind": 6, "importPath": "BFLY0.butterfly.routes", "description": "BFLY0.butterfly.routes", "peekOfCode": "class KeptAliveWebSocketHandler(tornado.websocket.WebSocketHandler):\n keepalive_timer = None\n def open(self, *args, **kwargs):\n self.keepalive_timer = tornado.ioloop.PeriodicCallback(\n self.send_ping, tornado.options.options.keepalive_interval * 1000)\n self.keepalive_timer.start()\n def send_ping(self):\n t = int(time.time())\n frame = struct.pack('[^/]+)/?)?')\nclass Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:", "detail": "BFLY0.butterfly.routes", "documentation": {} }, { "label": "Terminal", "kind": 6, "importPath": "BFLY0.butterfly.terminal", "description": "BFLY0.butterfly.terminal", "peekOfCode": "class Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):\n self.sessions[session] = self\n self.history_size = 50000\n self.history = ''\n self.uri = uri\n self.session = session\n self.broadcast = broadcast", "detail": "BFLY0.butterfly.terminal", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "BFLY0.butterfly.terminal", "description": "BFLY0.butterfly.terminal", "peekOfCode": "log = getLogger('butterfly')\nioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):", "detail": "BFLY0.butterfly.terminal", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "BFLY0.butterfly.terminal", "description": "BFLY0.butterfly.terminal", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}", "detail": "BFLY0.butterfly.terminal", "documentation": {} }, { "label": "server", "kind": 5, "importPath": "BFLY0.butterfly.terminal", "description": "BFLY0.butterfly.terminal", "peekOfCode": "server = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,", "detail": "BFLY0.butterfly.terminal", "documentation": {} }, { "label": "daemon", "kind": 5, "importPath": "BFLY0.butterfly.terminal", "description": "BFLY0.butterfly.terminal", "peekOfCode": "daemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):", "detail": "BFLY0.butterfly.terminal", "documentation": {} }, { "label": "User", "kind": 6, "importPath": "BFLY0.butterfly.utils", "description": "BFLY0.butterfly.utils", "peekOfCode": "class User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:\n uid = os.getuid()\n if uid is not None:\n self.pw = pwd.getpwuid(uid)\n else:\n self.pw = pwd.getpwnam(name)\n if self.pw is None:\n raise LookupError('Unknown user')", "detail": "BFLY0.butterfly.utils", "documentation": {} }, { "label": "Socket", "kind": 6, "importPath": "BFLY0.butterfly.utils", "description": "BFLY0.butterfly.utils", "peekOfCode": "class Socket(object):\n def __init__(self, socket):\n sn = socket.getsockname()\n self.local_addr = sn[0]\n self.local_port = sn[1]\n try:\n pn = socket.getpeername()\n self.remote_addr = pn[0]\n self.remote_port = pn[1]\n except Exception:", "detail": "BFLY0.butterfly.utils", "documentation": {} }, { "label": "AnsiColors", "kind": 6, "importPath": "BFLY0.butterfly.utils", "description": "BFLY0.butterfly.utils", "peekOfCode": "class AnsiColors(object):\n colors = {\n 'black': 30,\n 'red': 31,\n 'green': 32,\n 'yellow': 33,\n 'blue': 34,\n 'magenta': 35,\n 'cyan': 36,\n 'white': 37", "detail": "BFLY0.butterfly.utils", "documentation": {} }, { "label": "get_hex_ip_port", "kind": 2, "importPath": "BFLY0.butterfly.utils", "description": "BFLY0.butterfly.utils", "peekOfCode": "def get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),\n int(splits[2]),", "detail": "BFLY0.butterfly.utils", "documentation": {} }, { "label": "parse_cert", "kind": 2, "importPath": "BFLY0.butterfly.utils", "description": "BFLY0.butterfly.utils", "peekOfCode": "def parse_cert(cert):\n user = None\n for elt in cert['subject']:\n user = dict(elt).get('commonName', None)\n if user:\n break\n return user\nclass User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:", "detail": "BFLY0.butterfly.utils", "documentation": {} }, { "label": "get_lsof_socket_line", "kind": 2, "importPath": "BFLY0.butterfly.utils", "description": "BFLY0.butterfly.utils", "peekOfCode": "def get_lsof_socket_line(addr, port):\n # May want to make this into a dictionary in the future...\n regex = \"\\w+\\s+(?P\\d+)\\s+(?P\\w+).*\\s\" \\\n \"(?P.*?):(?P\\d+)->(?P.*?):(?P\\d+)\"\n output = subprocess.check_output(['lsof', '-Pni']).decode('utf-8')\n lines = output.split('\\n')\n for line in lines:\n # Look for local address with peer port\n match = re.findall(regex, line)\n if len(match):", "detail": "BFLY0.butterfly.utils", "documentation": {} }, { "label": "get_procfs_socket_line", "kind": 2, "importPath": "BFLY0.butterfly.utils", "description": "BFLY0.butterfly.utils", "peekOfCode": "def get_procfs_socket_line(hex_ip_port):\n fn = None\n if len(hex_ip_port) == 13: # ipv4\n fn = '/proc/net/tcp'\n elif len(hex_ip_port) == 37: # ipv6\n fn = '/proc/net/tcp6'\n if not fn:\n return\n try:\n with open(fn) as k:", "detail": "BFLY0.butterfly.utils", "documentation": {} }, { "label": "get_socket_env", "kind": 2, "importPath": "BFLY0.butterfly.utils", "description": "BFLY0.butterfly.utils", "peekOfCode": "def get_socket_env(inode, user):\n for pid in os.listdir(\"/proc/\"):\n if not pid.isdigit():\n continue\n try:\n with open('/proc/%s/cmdline' % pid) as c:\n command = c.read().split('\\x00')\n executable = command[0].split('/')[-1]\n if executable in ('sh', 'bash', 'zsh'):\n executable = command[1].split('/')[-1]", "detail": "BFLY0.butterfly.utils", "documentation": {} }, { "label": "get_utmp_file", "kind": 2, "importPath": "BFLY0.butterfly.utils", "description": "BFLY0.butterfly.utils", "peekOfCode": "def get_utmp_file():\n for file in (\n '/var/run/utmp',\n '/var/adm/utmp',\n '/var/adm/utmpx',\n '/etc/utmp',\n '/etc/utmpx',\n '/var/run/utx.active'):\n if os.path.exists(file):\n return file", "detail": "BFLY0.butterfly.utils", "documentation": {} }, { "label": "get_wtmp_file", "kind": 2, "importPath": "BFLY0.butterfly.utils", "description": "BFLY0.butterfly.utils", "peekOfCode": "def get_wtmp_file():\n for file in (\n '/var/log/wtmp',\n '/var/adm/wtmp',\n '/var/adm/wtmpx',\n '/var/run/utx.log'):\n if os.path.exists(file):\n return file\nUTmp = namedtuple(\n 'UTmp',", "detail": "BFLY0.butterfly.utils", "documentation": {} }, { "label": "utmp_line", "kind": 2, "importPath": "BFLY0.butterfly.utils", "description": "BFLY0.butterfly.utils", "peekOfCode": "def utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line\n b(id), # id\n b(user), # user\n b(host), # host\n 0, # exit 0\n 0, # exit 1", "detail": "BFLY0.butterfly.utils", "documentation": {} }, { "label": "add_user_info", "kind": 2, "importPath": "BFLY0.butterfly.utils", "description": "BFLY0.butterfly.utils", "peekOfCode": "def add_user_info(id, fd, pid, user, host):\n # Freebsd format is not yet supported.\n # Please submit PR\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 7, pid, fd, user, host, time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:", "detail": "BFLY0.butterfly.utils", "documentation": {} }, { "label": "rm_user_info", "kind": 2, "importPath": "BFLY0.butterfly.utils", "description": "BFLY0.butterfly.utils", "peekOfCode": "def rm_user_info(id, pid):\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 8, pid, '', '', '', time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:\n continue\n try:", "detail": "BFLY0.butterfly.utils", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "BFLY0.butterfly.utils", "description": "BFLY0.butterfly.utils", "peekOfCode": "log = getLogger('butterfly')\ndef get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),", "detail": "BFLY0.butterfly.utils", "documentation": {} }, { "label": "utmp_struct", "kind": 5, "importPath": "BFLY0.butterfly.utils", "description": "BFLY0.butterfly.utils", "peekOfCode": "utmp_struct = struct.Struct('hi32s4s32s256shhiii4i20s')\nif sys.version_info[0] == 2:\n b = lambda x: x\nelse:\n def b(x):\n if isinstance(x, str):\n return x.encode('utf-8')\n return x\ndef get_utmp_file():\n for file in (", "detail": "BFLY0.butterfly.utils", "documentation": {} }, { "label": "UTmp", "kind": 5, "importPath": "BFLY0.butterfly.utils", "description": "BFLY0.butterfly.utils", "peekOfCode": "UTmp = namedtuple(\n 'UTmp',\n ['type', 'pid', 'line', 'id', 'user', 'host',\n 'exit0', 'exit1', 'session',\n 'sec', 'usec', 'addr0', 'addr1', 'addr2', 'addr3', 'unused'])\ndef utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line", "detail": "BFLY0.butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "kind": 5, "importPath": "BFLY0.butterfly.utils", "description": "BFLY0.butterfly.utils", "peekOfCode": "ansi_colors = AnsiColors()", "detail": "BFLY0.butterfly.utils", "documentation": {} }, { "label": "to_abs", "kind": 2, "importPath": "BFLY0.butterfly.server", "description": "BFLY0.butterfly.server", "peekOfCode": "def to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',\n 'butterfly_%s.crt', 'butterfly_%s.key',\n '%s.p12'])\ndef fill_fields(subject):\n subject.C = 'WW'\n subject.O = 'Butterfly'\n subject.OU = 'Butterfly Terminal'", "detail": "BFLY0.butterfly.server", "documentation": {} }, { "label": "fill_fields", "kind": 2, "importPath": "BFLY0.butterfly.server", "description": "BFLY0.butterfly.server", "peekOfCode": "def fill_fields(subject):\n subject.C = 'WW'\n subject.O = 'Butterfly'\n subject.OU = 'Butterfly Terminal'\n subject.ST = 'World Wide'\n subject.L = 'Terminal'\ndef write(file, content):\n with open(file, 'wb') as fd:\n fd.write(content)\n print('Writing %s' % file)", "detail": "BFLY0.butterfly.server", "documentation": {} }, { "label": "write", "kind": 2, "importPath": "BFLY0.butterfly.server", "description": "BFLY0.butterfly.server", "peekOfCode": "def write(file, content):\n with open(file, 'wb') as fd:\n fd.write(content)\n print('Writing %s' % file)\ndef read(file):\n print('Reading %s' % file)\n with open(file, 'rb') as fd:\n return fd.read()\ndef b(s):\n return s.encode('utf-8')", "detail": "BFLY0.butterfly.server", "documentation": {} }, { "label": "read", "kind": 2, "importPath": "BFLY0.butterfly.server", "description": "BFLY0.butterfly.server", "peekOfCode": "def read(file):\n print('Reading %s' % file)\n with open(file, 'rb') as fd:\n return fd.read()\ndef b(s):\n return s.encode('utf-8')\nif options.generate_certs:\n from OpenSSL import crypto\n print('Generating certificates for %s (change it with --host)\\n' % host)\n if not os.path.exists(ca) and not os.path.exists(ca_key):", "detail": "BFLY0.butterfly.server", "documentation": {} }, { "label": "b", "kind": 2, "importPath": "BFLY0.butterfly.server", "description": "BFLY0.butterfly.server", "peekOfCode": "def b(s):\n return s.encode('utf-8')\nif options.generate_certs:\n from OpenSSL import crypto\n print('Generating certificates for %s (change it with --host)\\n' % host)\n if not os.path.exists(ca) and not os.path.exists(ca_key):\n print('Root certificate not found, generating it')\n ca_pk = crypto.PKey()\n ca_pk.generate_key(crypto.TYPE_RSA, 2048)\n ca_cert = crypto.X509()", "detail": "BFLY0.butterfly.server", "documentation": {} }, { "label": "butterfly_dir", "kind": 5, "importPath": "BFLY0.butterfly.server", "description": "BFLY0.butterfly.server", "peekOfCode": "butterfly_dir = os.path.join(ev, 'butterfly')\nconf_file = os.path.join(butterfly_dir, 'butterfly.conf')\nssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()", "detail": "BFLY0.butterfly.server", "documentation": {} }, { "label": "conf_file", "kind": 5, "importPath": "BFLY0.butterfly.server", "description": "BFLY0.butterfly.server", "peekOfCode": "conf_file = os.path.join(butterfly_dir, 'butterfly.conf')\nssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()\nif os.path.exists(tornado.options.options.conf):", "detail": "BFLY0.butterfly.server", "documentation": {} }, { "label": "ssl_dir", "kind": 5, "importPath": "BFLY0.butterfly.server", "description": "BFLY0.butterfly.server", "peekOfCode": "ssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()\nif os.path.exists(tornado.options.options.conf):\n tornado.options.parse_config_file(tornado.options.options.conf)", "detail": "BFLY0.butterfly.server", "documentation": {} }, { "label": "options", "kind": 5, "importPath": "BFLY0.butterfly.server", "description": "BFLY0.butterfly.server", "peekOfCode": "options = tornado.options.options\nfor logger in ('tornado.access', 'tornado.application',\n 'tornado.general', 'butterfly'):\n level = logging.WARNING\n if options.debug:\n level = logging.INFO\n if options.more:\n level = logging.DEBUG\n logging.getLogger(logger).setLevel(level)\nlog = logging.getLogger('butterfly')", "detail": "BFLY0.butterfly.server", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "BFLY0.butterfly.server", "description": "BFLY0.butterfly.server", "peekOfCode": "log = logging.getLogger('butterfly')\nhost = options.host\nport = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [", "detail": "BFLY0.butterfly.server", "documentation": {} }, { "label": "host", "kind": 5, "importPath": "BFLY0.butterfly.server", "description": "BFLY0.butterfly.server", "peekOfCode": "host = options.host\nport = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',", "detail": "BFLY0.butterfly.server", "documentation": {} }, { "label": "port", "kind": 5, "importPath": "BFLY0.butterfly.server", "description": "BFLY0.butterfly.server", "peekOfCode": "port = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',\n 'butterfly_%s.crt', 'butterfly_%s.key',", "detail": "BFLY0.butterfly.server", "documentation": {} }, { "label": "application.butterfly_dir", "kind": 5, "importPath": "BFLY0.butterfly.server", "description": "BFLY0.butterfly.server", "peekOfCode": "application.butterfly_dir = butterfly_dir\nlog.info('Starting server')\nhttp_server = HTTPServer(application, ssl_options=ssl_opts)\nhttp_server.listen(port, address=host)\nif getattr(http_server, 'systemd', False):\n os.environ.pop('LISTEN_PID')\n os.environ.pop('LISTEN_FDS')\nlog.info('Starting loop')\nioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:", "detail": "BFLY0.butterfly.server", "documentation": {} }, { "label": "http_server", "kind": 5, "importPath": "BFLY0.butterfly.server", "description": "BFLY0.butterfly.server", "peekOfCode": "http_server = HTTPServer(application, ssl_options=ssl_opts)\nhttp_server.listen(port, address=host)\nif getattr(http_server, 'systemd', False):\n os.environ.pop('LISTEN_PID')\n os.environ.pop('LISTEN_FDS')\nlog.info('Starting loop')\nioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:\n port = list(http_server._sockets.values())[0].getsockname()[1]\nurl = \"http%s://%s:%d/%s\" % (", "detail": "BFLY0.butterfly.server", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "BFLY0.butterfly.server", "description": "BFLY0.butterfly.server", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:\n port = list(http_server._sockets.values())[0].getsockname()[1]\nurl = \"http%s://%s:%d/%s\" % (\n \"s\" if not options.unsecure else \"\", host, port,\n (options.uri_root_path.strip('/') + '/') if options.uri_root_path else ''\n)\nif not options.one_shot or not webbrowser.open(url):\n log.warn('Butterfly is ready, open your browser to: %s' % url)\nioloop.start()", "detail": "BFLY0.butterfly.server", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "BFLY0.butterfly.server", "description": "BFLY0.butterfly.server", "peekOfCode": "url = \"http%s://%s:%d/%s\" % (\n \"s\" if not options.unsecure else \"\", host, port,\n (options.uri_root_path.strip('/') + '/') if options.uri_root_path else ''\n)\nif not options.one_shot or not webbrowser.open(url):\n log.warn('Butterfly is ready, open your browser to: %s' % url)\nioloop.start()", "detail": "BFLY0.butterfly.server", "documentation": {} }, { "label": "html", "kind": 2, "importPath": "BFLY0.escapes", "description": "BFLY0.escapes", "peekOfCode": "def html():\n sys.stdout.write('\\x1bP;HTML|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')", "detail": "BFLY0.escapes", "documentation": {} }, { "label": "image", "kind": 2, "importPath": "BFLY0.escapes", "description": "BFLY0.escapes", "peekOfCode": "def image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')\n sys.stdout.flush()\n@contextmanager\ndef prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "BFLY0.escapes", "documentation": {} }, { "label": "prompt", "kind": 2, "importPath": "BFLY0.escapes", "description": "BFLY0.escapes", "peekOfCode": "def prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "BFLY0.escapes", "documentation": {} }, { "label": "text", "kind": 2, "importPath": "BFLY0.escapes", "description": "BFLY0.escapes", "peekOfCode": "def text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\ndef geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)", "detail": "BFLY0.escapes", "documentation": {} }, { "label": "geolocation", "kind": 2, "importPath": "BFLY0.escapes", "description": "BFLY0.escapes", "peekOfCode": "def geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)\n try:\n tty.setraw(sys.stdin.fileno())\n rv = sys.stdin.read(1)\n if rv != '\\x1b':\n raise", "detail": "BFLY0.escapes", "documentation": {} }, { "label": "bootstrap", "kind": 2, "importPath": "BFLY0.get-pip", "description": "BFLY0.get-pip", "peekOfCode": "def bootstrap(tmpdir=None):\n # Import pip so we can use it to install pip and maybe setuptools too\n from pip._internal.cli.main import main as pip_entry_point\n from pip._internal.commands.install import InstallCommand\n from pip._internal.req.constructors import install_req_from_line\n # Wrapper to provide default certificate with the lowest priority\n # Due to pip._internal.commands.commands_dict structure, a monkeypatch\n # seems the simplest workaround.\n install_parse_args = InstallCommand.parse_args\n def cert_parse_args(self, args):", "detail": "BFLY0.get-pip", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "BFLY0.get-pip", "description": "BFLY0.get-pip", "peekOfCode": "def main():\n tmpdir = None\n try:\n # Create a temporary working directory\n tmpdir = tempfile.mkdtemp()\n # Unpack the zipfile into the temporary directory\n pip_zip = os.path.join(tmpdir, \"pip.zip\")\n with open(pip_zip, \"wb\") as fp:\n fp.write(b85decode(DATA.replace(b\"\\n\", b\"\")))\n # Add the zipfile to sys.path so that we can import it", "detail": "BFLY0.get-pip", "documentation": {} }, { "label": "PY2", "kind": 5, "importPath": "BFLY0.get-pip", "description": "BFLY0.get-pip", "peekOfCode": "PY2 = sys.version_info[0] == 2\nPY3 = sys.version_info[0] == 3\nif PY3:\n iterbytes = iter\nelse:\n def iterbytes(buf):\n return (ord(byte) for byte in buf)\ntry:\n from base64 import b85decode\nexcept ImportError:", "detail": "BFLY0.get-pip", "documentation": {} }, { "label": "PY3", "kind": 5, "importPath": "BFLY0.get-pip", "description": "BFLY0.get-pip", "peekOfCode": "PY3 = sys.version_info[0] == 3\nif PY3:\n iterbytes = iter\nelse:\n def iterbytes(buf):\n return (ord(byte) for byte in buf)\ntry:\n from base64 import b85decode\nexcept ImportError:\n _b85alphabet = (b\"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\"", "detail": "BFLY0.get-pip", "documentation": {} }, { "label": "DATA", "kind": 5, "importPath": "BFLY0.get-pip", "description": "BFLY0.get-pip", "peekOfCode": "DATA = b\"\"\"\nP)h>@6aWAK2mq6MtBUtcb8d2NtyYr-%Phu`N@9Nmj4xO9l\nHO>i(|e`H&gvAqzH5bae1Z4z?VNx%J4r5gi7-sG3#xx1$bt^#koRK_v}t4mq4DM@nUjopE%ybBEP%f(\nVnUmmBg>f9C_o<}\nCJ4)Qc90W9W61RSR7ahxNJ-SN9NCI2I;J^0_wz@oEd*V(_q-fwN@;6>7^+xBxXFY?@ZUC4oCw*g8wDM\n4)Xjo=J)$@F|w+JU6GdkR$8pXaIx=duC7LG~F5A*BiNYRq7kB)5uH>QH_+|jP7n_H`$+{bK22zXuOLl\nb>`F|XzwwcMhVDuu)pC^QeXT4P)h>@6aWAK2mq6s8^EeX~AToilV)A2_e6~zhOaP~KZvIOlqFiVW+60AOs)?J~q5l!-OgI;*jfY94W3Aib4Jnnk|YJ\n*Ng1Ga|{kpv)l&^K>8SV(XV+<$mHY8?a{!1#G)Y63H$85<@-{DTbUDCucxV6x07;%M+|!-MO9j<0Wi#", "detail": "BFLY0.get-pip", "documentation": {} }, { "label": "PamHandle", "kind": 6, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "class PamHandle(Structure):\n \"\"\"wrapper class for pam_handle_t pointer\"\"\"\n _fields_ = [(\"handle\", c_void_p)]\n def __init__(self):\n Structure.__init__(self)\n self.handle = 0\nclass PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):", "detail": "BFLY0.pam", "documentation": {} }, { "label": "PamMessage", "kind": 6, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "class PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):\n return \"\" % (self.msg_style, self.msg)\nclass PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)", "detail": "BFLY0.pam", "documentation": {} }, { "label": "PamResponse", "kind": 6, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "class PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)\nconv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"", "detail": "BFLY0.pam", "documentation": {} }, { "label": "PamConv", "kind": 6, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "class PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))", "detail": "BFLY0.pam", "documentation": {} }, { "label": "PAM", "kind": 6, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "class PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.\n Returns True for success, or False for failure.", "detail": "BFLY0.pam", "documentation": {} }, { "label": "login_prompt", "kind": 2, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "def login_prompt(username, profile, env):\n pam = PAM()\n success = pam.authenticate(username, profile)\n print('{} {}'.format(pam.code, pam.reason))\n if success:\n su = '/usr/bin/su'\n if not os.path.exists(su):\n su = '/bin/su'\n os.execvpe(su, [su, '-l', username], env)\n return success", "detail": "BFLY0.pam", "documentation": {} }, { "label": "conv_func", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "conv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3", "detail": "BFLY0.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_OFF", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "PAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p", "detail": "BFLY0.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_ON", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "PAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]", "detail": "BFLY0.pam", "documentation": {} }, { "label": "PAM_ERROR_MSG", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "PAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end", "detail": "BFLY0.pam", "documentation": {} }, { "label": "PAM_TEXT_INFO", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "PAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int", "detail": "BFLY0.pam", "documentation": {} }, { "label": "PAM_REINITIALIZE_CRED", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "PAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]", "detail": "BFLY0.pam", "documentation": {} }, { "label": "libc", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "libc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start", "detail": "BFLY0.pam", "documentation": {} }, { "label": "libpam", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "libpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int", "detail": "BFLY0.pam", "documentation": {} }, { "label": "libpam_misc", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "libpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]", "detail": "BFLY0.pam", "documentation": {} }, { "label": "calloc", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "calloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred", "detail": "BFLY0.pam", "documentation": {} }, { "label": "calloc.restype", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "calloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int", "detail": "BFLY0.pam", "documentation": {} }, { "label": "calloc.argtypes", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "calloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]", "detail": "BFLY0.pam", "documentation": {} }, { "label": "pam_end", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "pam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror", "detail": "BFLY0.pam", "documentation": {} }, { "label": "pam_end.restype", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "pam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p", "detail": "BFLY0.pam", "documentation": {} }, { "label": "pam_end.argtypes", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "pam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]", "detail": "BFLY0.pam", "documentation": {} }, { "label": "pam_start", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "pam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate", "detail": "BFLY0.pam", "documentation": {} }, { "label": "pam_start.restype", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "pam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int", "detail": "BFLY0.pam", "documentation": {} }, { "label": "pam_start.argtypes", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "pam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]", "detail": "BFLY0.pam", "documentation": {} }, { "label": "pam_setcred", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "pam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv", "detail": "BFLY0.pam", "documentation": {} }, { "label": "pam_setcred.restype", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "pam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():", "detail": "BFLY0.pam", "documentation": {} }, { "label": "pam_setcred.argtypes", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "pam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0", "detail": "BFLY0.pam", "documentation": {} }, { "label": "pam_strerror", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "pam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None", "detail": "BFLY0.pam", "documentation": {} }, { "label": "pam_strerror.restype", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "pam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):", "detail": "BFLY0.pam", "documentation": {} }, { "label": "pam_strerror.argtypes", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "pam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass", "detail": "BFLY0.pam", "documentation": {} }, { "label": "pam_authenticate", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "pam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(", "detail": "BFLY0.pam", "documentation": {} }, { "label": "pam_authenticate.restype", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "pam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,", "detail": "BFLY0.pam", "documentation": {} }, { "label": "pam_authenticate.argtypes", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "pam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):", "detail": "BFLY0.pam", "documentation": {} }, { "label": "misc_conv", "kind": 5, "importPath": "BFLY0.pam", "description": "BFLY0.pam", "peekOfCode": "misc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.", "detail": "BFLY0.pam", "documentation": {} }, { "label": "Index", "kind": 6, "importPath": "BFLY0.routes", "description": "BFLY0.routes", "peekOfCode": "class Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:\n raise tornado.web.HTTPError(400)\n return self.render(\n 'index.html', session=session or str(uuid4()))\n@url(r'/theme/([^/]+)/style.css')\nclass Theme(Route):", "detail": "BFLY0.routes", "documentation": {} }, { "label": "Theme", "kind": 6, "importPath": "BFLY0.routes", "description": "BFLY0.routes", "peekOfCode": "class Theme(Route):\n def get(self, theme):\n self.log.info('Getting style')\n try:\n import sass\n sass.CompileError\n except Exception:\n self.log.error(\n 'You must install libsass to use sass '\n '(pip install libsass)')", "detail": "BFLY0.routes", "documentation": {} }, { "label": "ThemeStatic", "kind": 6, "importPath": "BFLY0.routes", "description": "BFLY0.routes", "peekOfCode": "class ThemeStatic(Route):\n def get(self, theme, name):\n if '..' in name:\n raise tornado.web.HTTPError(403)\n base_dir = self.get_theme_dir(theme)\n fn = os.path.normpath(os.path.join(base_dir, name))\n if not fn.startswith(base_dir):\n raise tornado.web.HTTPError(403)\n if os.path.exists(fn):\n type = guess_type(fn)[0]", "detail": "BFLY0.routes", "documentation": {} }, { "label": "KeptAliveWebSocketHandler", "kind": 6, "importPath": "BFLY0.routes", "description": "BFLY0.routes", "peekOfCode": "class KeptAliveWebSocketHandler(tornado.websocket.WebSocketHandler):\n keepalive_timer = None\n def open(self, *args, **kwargs):\n self.keepalive_timer = tornado.ioloop.PeriodicCallback(\n self.send_ping, tornado.options.options.keepalive_interval * 1000)\n self.keepalive_timer.start()\n def send_ping(self):\n t = int(time.time())\n frame = struct.pack('[^/]+)/?)?')\nclass Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:", "detail": "BFLY0.routes", "documentation": {} }, { "label": "about", "kind": 5, "importPath": "BFLY0.setup", "description": "BFLY0.setup", "peekOfCode": "about = {}\nwith open(os.path.join(\n os.path.dirname(__file__), \"butterfly\", \"__about__.py\")) as f:\n exec(f.read(), about)\nsetup(\n name=about['__title__'],\n version=about['__version__'],\n description=about['__summary__'],\n url=about['__uri__'],\n author=about['__author__'],", "detail": "BFLY0.setup", "documentation": {} }, { "label": "Terminal", "kind": 6, "importPath": "BFLY0.terminal", "description": "BFLY0.terminal", "peekOfCode": "class Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):\n self.sessions[session] = self\n self.history_size = 50000\n self.history = ''\n self.uri = uri\n self.session = session\n self.broadcast = broadcast", "detail": "BFLY0.terminal", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "BFLY0.terminal", "description": "BFLY0.terminal", "peekOfCode": "log = getLogger('butterfly')\nioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):", "detail": "BFLY0.terminal", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "BFLY0.terminal", "description": "BFLY0.terminal", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}", "detail": "BFLY0.terminal", "documentation": {} }, { "label": "server", "kind": 5, "importPath": "BFLY0.terminal", "description": "BFLY0.terminal", "peekOfCode": "server = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,", "detail": "BFLY0.terminal", "documentation": {} }, { "label": "daemon", "kind": 5, "importPath": "BFLY0.terminal", "description": "BFLY0.terminal", "peekOfCode": "daemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):", "detail": "BFLY0.terminal", "documentation": {} }, { "label": "User", "kind": 6, "importPath": "BFLY0.utils", "description": "BFLY0.utils", "peekOfCode": "class User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:\n uid = os.getuid()\n if uid is not None:\n self.pw = pwd.getpwuid(uid)\n else:\n self.pw = pwd.getpwnam(name)\n if self.pw is None:\n raise LookupError('Unknown user')", "detail": "BFLY0.utils", "documentation": {} }, { "label": "Socket", "kind": 6, "importPath": "BFLY0.utils", "description": "BFLY0.utils", "peekOfCode": "class Socket(object):\n def __init__(self, socket):\n sn = socket.getsockname()\n self.local_addr = sn[0]\n self.local_port = sn[1]\n try:\n pn = socket.getpeername()\n self.remote_addr = pn[0]\n self.remote_port = pn[1]\n except Exception:", "detail": "BFLY0.utils", "documentation": {} }, { "label": "AnsiColors", "kind": 6, "importPath": "BFLY0.utils", "description": "BFLY0.utils", "peekOfCode": "class AnsiColors(object):\n colors = {\n 'black': 30,\n 'red': 31,\n 'green': 32,\n 'yellow': 33,\n 'blue': 34,\n 'magenta': 35,\n 'cyan': 36,\n 'white': 37", "detail": "BFLY0.utils", "documentation": {} }, { "label": "get_hex_ip_port", "kind": 2, "importPath": "BFLY0.utils", "description": "BFLY0.utils", "peekOfCode": "def get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),\n int(splits[2]),", "detail": "BFLY0.utils", "documentation": {} }, { "label": "parse_cert", "kind": 2, "importPath": "BFLY0.utils", "description": "BFLY0.utils", "peekOfCode": "def parse_cert(cert):\n user = None\n for elt in cert['subject']:\n user = dict(elt).get('commonName', None)\n if user:\n break\n return user\nclass User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:", "detail": "BFLY0.utils", "documentation": {} }, { "label": "get_lsof_socket_line", "kind": 2, "importPath": "BFLY0.utils", "description": "BFLY0.utils", "peekOfCode": "def get_lsof_socket_line(addr, port):\n # May want to make this into a dictionary in the future...\n regex = \"\\w+\\s+(?P\\d+)\\s+(?P\\w+).*\\s\" \\\n \"(?P.*?):(?P\\d+)->(?P.*?):(?P\\d+)\"\n output = subprocess.check_output(['lsof', '-Pni']).decode('utf-8')\n lines = output.split('\\n')\n for line in lines:\n # Look for local address with peer port\n match = re.findall(regex, line)\n if len(match):", "detail": "BFLY0.utils", "documentation": {} }, { "label": "get_procfs_socket_line", "kind": 2, "importPath": "BFLY0.utils", "description": "BFLY0.utils", "peekOfCode": "def get_procfs_socket_line(hex_ip_port):\n fn = None\n if len(hex_ip_port) == 13: # ipv4\n fn = '/proc/net/tcp'\n elif len(hex_ip_port) == 37: # ipv6\n fn = '/proc/net/tcp6'\n if not fn:\n return\n try:\n with open(fn) as k:", "detail": "BFLY0.utils", "documentation": {} }, { "label": "get_socket_env", "kind": 2, "importPath": "BFLY0.utils", "description": "BFLY0.utils", "peekOfCode": "def get_socket_env(inode, user):\n for pid in os.listdir(\"/proc/\"):\n if not pid.isdigit():\n continue\n try:\n with open('/proc/%s/cmdline' % pid) as c:\n command = c.read().split('\\x00')\n executable = command[0].split('/')[-1]\n if executable in ('sh', 'bash', 'zsh'):\n executable = command[1].split('/')[-1]", "detail": "BFLY0.utils", "documentation": {} }, { "label": "get_utmp_file", "kind": 2, "importPath": "BFLY0.utils", "description": "BFLY0.utils", "peekOfCode": "def get_utmp_file():\n for file in (\n '/var/run/utmp',\n '/var/adm/utmp',\n '/var/adm/utmpx',\n '/etc/utmp',\n '/etc/utmpx',\n '/var/run/utx.active'):\n if os.path.exists(file):\n return file", "detail": "BFLY0.utils", "documentation": {} }, { "label": "get_wtmp_file", "kind": 2, "importPath": "BFLY0.utils", "description": "BFLY0.utils", "peekOfCode": "def get_wtmp_file():\n for file in (\n '/var/log/wtmp',\n '/var/adm/wtmp',\n '/var/adm/wtmpx',\n '/var/run/utx.log'):\n if os.path.exists(file):\n return file\nUTmp = namedtuple(\n 'UTmp',", "detail": "BFLY0.utils", "documentation": {} }, { "label": "utmp_line", "kind": 2, "importPath": "BFLY0.utils", "description": "BFLY0.utils", "peekOfCode": "def utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line\n b(id), # id\n b(user), # user\n b(host), # host\n 0, # exit 0\n 0, # exit 1", "detail": "BFLY0.utils", "documentation": {} }, { "label": "add_user_info", "kind": 2, "importPath": "BFLY0.utils", "description": "BFLY0.utils", "peekOfCode": "def add_user_info(id, fd, pid, user, host):\n # Freebsd format is not yet supported.\n # Please submit PR\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 7, pid, fd, user, host, time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:", "detail": "BFLY0.utils", "documentation": {} }, { "label": "rm_user_info", "kind": 2, "importPath": "BFLY0.utils", "description": "BFLY0.utils", "peekOfCode": "def rm_user_info(id, pid):\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 8, pid, '', '', '', time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:\n continue\n try:", "detail": "BFLY0.utils", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "BFLY0.utils", "description": "BFLY0.utils", "peekOfCode": "log = getLogger('butterfly')\ndef get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),", "detail": "BFLY0.utils", "documentation": {} }, { "label": "utmp_struct", "kind": 5, "importPath": "BFLY0.utils", "description": "BFLY0.utils", "peekOfCode": "utmp_struct = struct.Struct('hi32s4s32s256shhiii4i20s')\nif sys.version_info[0] == 2:\n b = lambda x: x\nelse:\n def b(x):\n if isinstance(x, str):\n return x.encode('utf-8')\n return x\ndef get_utmp_file():\n for file in (", "detail": "BFLY0.utils", "documentation": {} }, { "label": "UTmp", "kind": 5, "importPath": "BFLY0.utils", "description": "BFLY0.utils", "peekOfCode": "UTmp = namedtuple(\n 'UTmp',\n ['type', 'pid', 'line', 'id', 'user', 'host',\n 'exit0', 'exit1', 'session',\n 'sec', 'usec', 'addr0', 'addr1', 'addr2', 'addr3', 'unused'])\ndef utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line", "detail": "BFLY0.utils", "documentation": {} }, { "label": "ansi_colors", "kind": 5, "importPath": "BFLY0.utils", "description": "BFLY0.utils", "peekOfCode": "ansi_colors = AnsiColors()", "detail": "BFLY0.utils", "documentation": {} }, { "label": "bin_dir", "kind": 5, "importPath": "BFLY1.bin.activate_this", "description": "BFLY1.bin.activate_this", "peekOfCode": "bin_dir = os.path.dirname(abs_file)\nbase = bin_dir[: -len(\"bin\") - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)", "detail": "BFLY1.bin.activate_this", "documentation": {} }, { "label": "base", "kind": 5, "importPath": "BFLY1.bin.activate_this", "description": "BFLY1.bin.activate_this", "peekOfCode": "base = bin_dir[: -len(\"bin\") - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]", "detail": "BFLY1.bin.activate_this", "documentation": {} }, { "label": "os.environ[\"PATH\"]", "kind": 5, "importPath": "BFLY1.bin.activate_this", "description": "BFLY1.bin.activate_this", "peekOfCode": "os.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY1.bin.activate_this", "documentation": {} }, { "label": "os.environ[\"VIRTUAL_ENV\"]", "kind": 5, "importPath": "BFLY1.bin.activate_this", "description": "BFLY1.bin.activate_this", "peekOfCode": "os.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY1.bin.activate_this", "documentation": {} }, { "label": "prev_length", "kind": 5, "importPath": "BFLY1.bin.activate_this", "description": "BFLY1.bin.activate_this", "peekOfCode": "prev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY1.bin.activate_this", "documentation": {} }, { "label": "sys.path[:]", "kind": 5, "importPath": "BFLY1.bin.activate_this", "description": "BFLY1.bin.activate_this", "peekOfCode": "sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY1.bin.activate_this", "documentation": {} }, { "label": "sys.real_prefix", "kind": 5, "importPath": "BFLY1.bin.activate_this", "description": "BFLY1.bin.activate_this", "peekOfCode": "sys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY1.bin.activate_this", "documentation": {} }, { "label": "sys.prefix", "kind": 5, "importPath": "BFLY1.bin.activate_this", "description": "BFLY1.bin.activate_this", "peekOfCode": "sys.prefix = base", "detail": "BFLY1.bin.activate_this", "documentation": {} }, { "label": "bin_dir", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.activate_this", "description": "BFLY1.build.lib.butterfly.bin.activate_this", "peekOfCode": "bin_dir = os.path.dirname(abs_file)\nbase = bin_dir[: -len(\"bin\") - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)", "detail": "BFLY1.build.lib.butterfly.bin.activate_this", "documentation": {} }, { "label": "base", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.activate_this", "description": "BFLY1.build.lib.butterfly.bin.activate_this", "peekOfCode": "base = bin_dir[: -len(\"bin\") - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]", "detail": "BFLY1.build.lib.butterfly.bin.activate_this", "documentation": {} }, { "label": "os.environ[\"PATH\"]", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.activate_this", "description": "BFLY1.build.lib.butterfly.bin.activate_this", "peekOfCode": "os.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY1.build.lib.butterfly.bin.activate_this", "documentation": {} }, { "label": "os.environ[\"VIRTUAL_ENV\"]", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.activate_this", "description": "BFLY1.build.lib.butterfly.bin.activate_this", "peekOfCode": "os.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY1.build.lib.butterfly.bin.activate_this", "documentation": {} }, { "label": "prev_length", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.activate_this", "description": "BFLY1.build.lib.butterfly.bin.activate_this", "peekOfCode": "prev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY1.build.lib.butterfly.bin.activate_this", "documentation": {} }, { "label": "sys.path[:]", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.activate_this", "description": "BFLY1.build.lib.butterfly.bin.activate_this", "peekOfCode": "sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY1.build.lib.butterfly.bin.activate_this", "documentation": {} }, { "label": "sys.real_prefix", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.activate_this", "description": "BFLY1.build.lib.butterfly.bin.activate_this", "peekOfCode": "sys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY1.build.lib.butterfly.bin.activate_this", "documentation": {} }, { "label": "sys.prefix", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.activate_this", "description": "BFLY1.build.lib.butterfly.bin.activate_this", "peekOfCode": "sys.prefix = base", "detail": "BFLY1.build.lib.butterfly.bin.activate_this", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.cat", "description": "BFLY1.build.lib.butterfly.bin.cat", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly cat wrapper.')\nparser.add_argument('-o', action=\"store_true\",\n dest='original', help='Force original cat')\nparser.add_argument(\n 'files', metavar='FILES', nargs='+',\n help='Force original cat')\nargs, remaining = parser.parse_known_args()\nif args.original:\n os.execvp('/usr/bin/cat', remaining + args.files)\nfor file in args.files:", "detail": "BFLY1.build.lib.butterfly.bin.cat", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.colors", "description": "BFLY1.build.lib.butterfly.bin.colors", "peekOfCode": "parser = argparse.ArgumentParser(\n description='Butterfly terminal color tester.')\nparser.add_argument(\n '--colors',\n default='16',\n choices=['8', '16', '256', '16M'],\n help='Set the color mode to test')\nargs = parser.parse_args()\nprint()\nif args.colors in ['8', '16']:", "detail": "BFLY1.build.lib.butterfly.bin.colors", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.colors", "description": "BFLY1.build.lib.butterfly.bin.colors", "peekOfCode": "args = parser.parse_args()\nprint()\nif args.colors in ['8', '16']:\n print('Background\\n')\n for l in range(3):\n sys.stdout.write(' ')\n for i in range(8):\n sys.stdout.write('\\x1b[%dm \\x1b[m ' % (40 + i))\n sys.stdout.write('\\n')\n sys.stdout.flush()", "detail": "BFLY1.build.lib.butterfly.bin.colors", "documentation": {} }, { "label": "path", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.help", "description": "BFLY1.build.lib.butterfly.bin.help", "peekOfCode": "path = os.getenv('BUTTERFLY_PATH')\nif path:\n path = os.path.join(path, '../static/images/favicon.png')\nif path and os.path.exists(path):\n with image('image/png'):\n with open(path, 'rb') as i:\n print(base64.b64encode(i.read()).decode('ascii'))\nprint(\"\"\"\nButterfly is a xterm compliant terminal built with python and javascript.\n{title}Terminal functionalities:{reset}", "detail": "BFLY1.build.lib.butterfly.bin.help", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.html", "description": "BFLY1.build.lib.butterfly.bin.html", "peekOfCode": "parser = argparse.ArgumentParser(\n description=\"Butterfly html converter.\\n\\n\"\n \"Output in html standard input.\\n\"\n \"Example: $ echo \\\"Bold\\\" | b html\",\n formatter_class=argparse.RawTextHelpFormatter)\nparser.parse_known_args()\nwith html():\n for line in fileinput.input():\n sys.stdout.write(line)", "detail": "BFLY1.build.lib.butterfly.bin.html", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.open", "description": "BFLY1.build.lib.butterfly.bin.open", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly tab opener.')\nparser.add_argument(\n 'location',\n nargs='?',\n default=os.getcwd(),\n help='Directory to open the new tab in. (Defaults to current)')\nargs = parser.parse_args()\nurl_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)", "detail": "BFLY1.build.lib.butterfly.bin.open", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.open", "description": "BFLY1.build.lib.butterfly.bin.open", "peekOfCode": "args = parser.parse_args()\nurl_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY1.build.lib.butterfly.bin.open", "documentation": {} }, { "label": "url_parts", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.open", "description": "BFLY1.build.lib.butterfly.bin.open", "peekOfCode": "url_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY1.build.lib.butterfly.bin.open", "documentation": {} }, { "label": "query", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.open", "description": "BFLY1.build.lib.butterfly.bin.open", "peekOfCode": "query = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY1.build.lib.butterfly.bin.open", "documentation": {} }, { "label": "query['path']", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.open", "description": "BFLY1.build.lib.butterfly.bin.open", "peekOfCode": "query['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY1.build.lib.butterfly.bin.open", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.open", "description": "BFLY1.build.lib.butterfly.bin.open", "peekOfCode": "url = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY1.build.lib.butterfly.bin.open", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.session", "description": "BFLY1.build.lib.butterfly.bin.session", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly session opener.')\nparser.add_argument(\n 'session',\n help='Open or rattach a butterfly session. '\n '(Only in secure mode or in user unsecure mode (no su login))')\nargs = parser.parse_args()\nurl = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY1.build.lib.butterfly.bin.session", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.session", "description": "BFLY1.build.lib.butterfly.bin.session", "peekOfCode": "args = parser.parse_args()\nurl = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY1.build.lib.butterfly.bin.session", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.bin.session", "description": "BFLY1.build.lib.butterfly.bin.session", "peekOfCode": "url = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY1.build.lib.butterfly.bin.session", "documentation": {} }, { "label": "html", "kind": 2, "importPath": "BFLY1.build.lib.butterfly.escapes", "description": "BFLY1.build.lib.butterfly.escapes", "peekOfCode": "def html():\n sys.stdout.write('\\x1bP;HTML|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')", "detail": "BFLY1.build.lib.butterfly.escapes", "documentation": {} }, { "label": "image", "kind": 2, "importPath": "BFLY1.build.lib.butterfly.escapes", "description": "BFLY1.build.lib.butterfly.escapes", "peekOfCode": "def image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')\n sys.stdout.flush()\n@contextmanager\ndef prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "BFLY1.build.lib.butterfly.escapes", "documentation": {} }, { "label": "prompt", "kind": 2, "importPath": "BFLY1.build.lib.butterfly.escapes", "description": "BFLY1.build.lib.butterfly.escapes", "peekOfCode": "def prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "BFLY1.build.lib.butterfly.escapes", "documentation": {} }, { "label": "text", "kind": 2, "importPath": "BFLY1.build.lib.butterfly.escapes", "description": "BFLY1.build.lib.butterfly.escapes", "peekOfCode": "def text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\ndef geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)", "detail": "BFLY1.build.lib.butterfly.escapes", "documentation": {} }, { "label": "geolocation", "kind": 2, "importPath": "BFLY1.build.lib.butterfly.escapes", "description": "BFLY1.build.lib.butterfly.escapes", "peekOfCode": "def geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)\n try:\n tty.setraw(sys.stdin.fileno())\n rv = sys.stdin.read(1)\n if rv != '\\x1b':\n raise", "detail": "BFLY1.build.lib.butterfly.escapes", "documentation": {} }, { "label": "PamHandle", "kind": 6, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "class PamHandle(Structure):\n \"\"\"wrapper class for pam_handle_t pointer\"\"\"\n _fields_ = [(\"handle\", c_void_p)]\n def __init__(self):\n Structure.__init__(self)\n self.handle = 0\nclass PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "PamMessage", "kind": 6, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "class PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):\n return \"\" % (self.msg_style, self.msg)\nclass PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "PamResponse", "kind": 6, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "class PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)\nconv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "PamConv", "kind": 6, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "class PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "PAM", "kind": 6, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "class PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.\n Returns True for success, or False for failure.", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "login_prompt", "kind": 2, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "def login_prompt(username, profile, env):\n pam = PAM()\n success = pam.authenticate(username, profile)\n print('{} {}'.format(pam.code, pam.reason))\n if success:\n su = '/usr/bin/su'\n if not os.path.exists(su):\n su = '/bin/su'\n os.execvpe(su, [su, '-l', username], env)\n return success", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "conv_func", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "conv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_OFF", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "PAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_ON", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "PAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "PAM_ERROR_MSG", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "PAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "PAM_TEXT_INFO", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "PAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "PAM_REINITIALIZE_CRED", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "PAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "libc", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "libc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "libpam", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "libpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "libpam_misc", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "libpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "calloc", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "calloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "calloc.restype", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "calloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "calloc.argtypes", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "calloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_end", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "pam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_end.restype", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "pam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_end.argtypes", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "pam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_start", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "pam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_start.restype", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "pam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_start.argtypes", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "pam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_setcred", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "pam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_setcred.restype", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "pam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_setcred.argtypes", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "pam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_strerror", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "pam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_strerror.restype", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "pam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_strerror.argtypes", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "pam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "pam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate.restype", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "pam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate.argtypes", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "pam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "misc_conv", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.pam", "description": "BFLY1.build.lib.butterfly.pam", "peekOfCode": "misc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.", "detail": "BFLY1.build.lib.butterfly.pam", "documentation": {} }, { "label": "Index", "kind": 6, "importPath": "BFLY1.build.lib.butterfly.routes", "description": "BFLY1.build.lib.butterfly.routes", "peekOfCode": "class Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:\n raise tornado.web.HTTPError(400)\n return self.render(\n 'index.html', session=session or str(uuid4()))\n@url(r'/theme/([^/]+)/style.css')\nclass Theme(Route):", "detail": "BFLY1.build.lib.butterfly.routes", "documentation": {} }, { "label": "Theme", "kind": 6, "importPath": "BFLY1.build.lib.butterfly.routes", "description": "BFLY1.build.lib.butterfly.routes", "peekOfCode": "class Theme(Route):\n def get(self, theme):\n self.log.info('Getting style')\n try:\n import sass\n sass.CompileError\n except Exception:\n self.log.error(\n 'You must install libsass to use sass '\n '(pip install libsass)')", "detail": "BFLY1.build.lib.butterfly.routes", "documentation": {} }, { "label": "ThemeStatic", "kind": 6, "importPath": "BFLY1.build.lib.butterfly.routes", "description": "BFLY1.build.lib.butterfly.routes", "peekOfCode": "class ThemeStatic(Route):\n def get(self, theme, name):\n if '..' in name:\n raise tornado.web.HTTPError(403)\n base_dir = self.get_theme_dir(theme)\n fn = os.path.normpath(os.path.join(base_dir, name))\n if not fn.startswith(base_dir):\n raise tornado.web.HTTPError(403)\n if os.path.exists(fn):\n type = guess_type(fn)[0]", "detail": "BFLY1.build.lib.butterfly.routes", "documentation": {} }, { "label": "KeptAliveWebSocketHandler", "kind": 6, "importPath": "BFLY1.build.lib.butterfly.routes", "description": "BFLY1.build.lib.butterfly.routes", "peekOfCode": "class KeptAliveWebSocketHandler(tornado.websocket.WebSocketHandler):\n keepalive_timer = None\n def open(self, *args, **kwargs):\n self.keepalive_timer = tornado.ioloop.PeriodicCallback(\n self.send_ping, tornado.options.options.keepalive_interval * 1000)\n self.keepalive_timer.start()\n def send_ping(self):\n t = int(time.time())\n frame = struct.pack('[^/]+)/?)?')\nclass Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:", "detail": "BFLY1.build.lib.butterfly.routes", "documentation": {} }, { "label": "Terminal", "kind": 6, "importPath": "BFLY1.build.lib.butterfly.terminal", "description": "BFLY1.build.lib.butterfly.terminal", "peekOfCode": "class Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):\n self.sessions[session] = self\n self.history_size = 50000\n self.history = ''\n self.uri = uri\n self.session = session\n self.broadcast = broadcast", "detail": "BFLY1.build.lib.butterfly.terminal", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.terminal", "description": "BFLY1.build.lib.butterfly.terminal", "peekOfCode": "log = getLogger('butterfly')\nioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):", "detail": "BFLY1.build.lib.butterfly.terminal", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.terminal", "description": "BFLY1.build.lib.butterfly.terminal", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}", "detail": "BFLY1.build.lib.butterfly.terminal", "documentation": {} }, { "label": "server", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.terminal", "description": "BFLY1.build.lib.butterfly.terminal", "peekOfCode": "server = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,", "detail": "BFLY1.build.lib.butterfly.terminal", "documentation": {} }, { "label": "daemon", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.terminal", "description": "BFLY1.build.lib.butterfly.terminal", "peekOfCode": "daemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):", "detail": "BFLY1.build.lib.butterfly.terminal", "documentation": {} }, { "label": "User", "kind": 6, "importPath": "BFLY1.build.lib.butterfly.utils", "description": "BFLY1.build.lib.butterfly.utils", "peekOfCode": "class User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:\n uid = os.getuid()\n if uid is not None:\n self.pw = pwd.getpwuid(uid)\n else:\n self.pw = pwd.getpwnam(name)\n if self.pw is None:\n raise LookupError('Unknown user')", "detail": "BFLY1.build.lib.butterfly.utils", "documentation": {} }, { "label": "Socket", "kind": 6, "importPath": "BFLY1.build.lib.butterfly.utils", "description": "BFLY1.build.lib.butterfly.utils", "peekOfCode": "class Socket(object):\n def __init__(self, socket):\n sn = socket.getsockname()\n self.local_addr = sn[0]\n self.local_port = sn[1]\n try:\n pn = socket.getpeername()\n self.remote_addr = pn[0]\n self.remote_port = pn[1]\n except Exception:", "detail": "BFLY1.build.lib.butterfly.utils", "documentation": {} }, { "label": "AnsiColors", "kind": 6, "importPath": "BFLY1.build.lib.butterfly.utils", "description": "BFLY1.build.lib.butterfly.utils", "peekOfCode": "class AnsiColors(object):\n colors = {\n 'black': 30,\n 'red': 31,\n 'green': 32,\n 'yellow': 33,\n 'blue': 34,\n 'magenta': 35,\n 'cyan': 36,\n 'white': 37", "detail": "BFLY1.build.lib.butterfly.utils", "documentation": {} }, { "label": "get_hex_ip_port", "kind": 2, "importPath": "BFLY1.build.lib.butterfly.utils", "description": "BFLY1.build.lib.butterfly.utils", "peekOfCode": "def get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),\n int(splits[2]),", "detail": "BFLY1.build.lib.butterfly.utils", "documentation": {} }, { "label": "parse_cert", "kind": 2, "importPath": "BFLY1.build.lib.butterfly.utils", "description": "BFLY1.build.lib.butterfly.utils", "peekOfCode": "def parse_cert(cert):\n user = None\n for elt in cert['subject']:\n user = dict(elt).get('commonName', None)\n if user:\n break\n return user\nclass User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:", "detail": "BFLY1.build.lib.butterfly.utils", "documentation": {} }, { "label": "get_lsof_socket_line", "kind": 2, "importPath": "BFLY1.build.lib.butterfly.utils", "description": "BFLY1.build.lib.butterfly.utils", "peekOfCode": "def get_lsof_socket_line(addr, port):\n # May want to make this into a dictionary in the future...\n regex = \"\\w+\\s+(?P\\d+)\\s+(?P\\w+).*\\s\" \\\n \"(?P.*?):(?P\\d+)->(?P.*?):(?P\\d+)\"\n output = subprocess.check_output(['lsof', '-Pni']).decode('utf-8')\n lines = output.split('\\n')\n for line in lines:\n # Look for local address with peer port\n match = re.findall(regex, line)\n if len(match):", "detail": "BFLY1.build.lib.butterfly.utils", "documentation": {} }, { "label": "get_procfs_socket_line", "kind": 2, "importPath": "BFLY1.build.lib.butterfly.utils", "description": "BFLY1.build.lib.butterfly.utils", "peekOfCode": "def get_procfs_socket_line(hex_ip_port):\n fn = None\n if len(hex_ip_port) == 13: # ipv4\n fn = '/proc/net/tcp'\n elif len(hex_ip_port) == 37: # ipv6\n fn = '/proc/net/tcp6'\n if not fn:\n return\n try:\n with open(fn) as k:", "detail": "BFLY1.build.lib.butterfly.utils", "documentation": {} }, { "label": "get_socket_env", "kind": 2, "importPath": "BFLY1.build.lib.butterfly.utils", "description": "BFLY1.build.lib.butterfly.utils", "peekOfCode": "def get_socket_env(inode, user):\n for pid in os.listdir(\"/proc/\"):\n if not pid.isdigit():\n continue\n try:\n with open('/proc/%s/cmdline' % pid) as c:\n command = c.read().split('\\x00')\n executable = command[0].split('/')[-1]\n if executable in ('sh', 'bash', 'zsh'):\n executable = command[1].split('/')[-1]", "detail": "BFLY1.build.lib.butterfly.utils", "documentation": {} }, { "label": "get_utmp_file", "kind": 2, "importPath": "BFLY1.build.lib.butterfly.utils", "description": "BFLY1.build.lib.butterfly.utils", "peekOfCode": "def get_utmp_file():\n for file in (\n '/var/run/utmp',\n '/var/adm/utmp',\n '/var/adm/utmpx',\n '/etc/utmp',\n '/etc/utmpx',\n '/var/run/utx.active'):\n if os.path.exists(file):\n return file", "detail": "BFLY1.build.lib.butterfly.utils", "documentation": {} }, { "label": "get_wtmp_file", "kind": 2, "importPath": "BFLY1.build.lib.butterfly.utils", "description": "BFLY1.build.lib.butterfly.utils", "peekOfCode": "def get_wtmp_file():\n for file in (\n '/var/log/wtmp',\n '/var/adm/wtmp',\n '/var/adm/wtmpx',\n '/var/run/utx.log'):\n if os.path.exists(file):\n return file\nUTmp = namedtuple(\n 'UTmp',", "detail": "BFLY1.build.lib.butterfly.utils", "documentation": {} }, { "label": "utmp_line", "kind": 2, "importPath": "BFLY1.build.lib.butterfly.utils", "description": "BFLY1.build.lib.butterfly.utils", "peekOfCode": "def utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line\n b(id), # id\n b(user), # user\n b(host), # host\n 0, # exit 0\n 0, # exit 1", "detail": "BFLY1.build.lib.butterfly.utils", "documentation": {} }, { "label": "add_user_info", "kind": 2, "importPath": "BFLY1.build.lib.butterfly.utils", "description": "BFLY1.build.lib.butterfly.utils", "peekOfCode": "def add_user_info(id, fd, pid, user, host):\n # Freebsd format is not yet supported.\n # Please submit PR\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 7, pid, fd, user, host, time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:", "detail": "BFLY1.build.lib.butterfly.utils", "documentation": {} }, { "label": "rm_user_info", "kind": 2, "importPath": "BFLY1.build.lib.butterfly.utils", "description": "BFLY1.build.lib.butterfly.utils", "peekOfCode": "def rm_user_info(id, pid):\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 8, pid, '', '', '', time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:\n continue\n try:", "detail": "BFLY1.build.lib.butterfly.utils", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.utils", "description": "BFLY1.build.lib.butterfly.utils", "peekOfCode": "log = getLogger('butterfly')\ndef get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),", "detail": "BFLY1.build.lib.butterfly.utils", "documentation": {} }, { "label": "utmp_struct", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.utils", "description": "BFLY1.build.lib.butterfly.utils", "peekOfCode": "utmp_struct = struct.Struct('hi32s4s32s256shhiii4i20s')\nif sys.version_info[0] == 2:\n b = lambda x: x\nelse:\n def b(x):\n if isinstance(x, str):\n return x.encode('utf-8')\n return x\ndef get_utmp_file():\n for file in (", "detail": "BFLY1.build.lib.butterfly.utils", "documentation": {} }, { "label": "UTmp", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.utils", "description": "BFLY1.build.lib.butterfly.utils", "peekOfCode": "UTmp = namedtuple(\n 'UTmp',\n ['type', 'pid', 'line', 'id', 'user', 'host',\n 'exit0', 'exit1', 'session',\n 'sec', 'usec', 'addr0', 'addr1', 'addr2', 'addr3', 'unused'])\ndef utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line", "detail": "BFLY1.build.lib.butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "kind": 5, "importPath": "BFLY1.build.lib.butterfly.utils", "description": "BFLY1.build.lib.butterfly.utils", "peekOfCode": "ansi_colors = AnsiColors()", "detail": "BFLY1.build.lib.butterfly.utils", "documentation": {} }, { "label": "to_abs", "kind": 2, "importPath": "BFLY1.build.scripts-3.10.butterfly.server", "description": "BFLY1.build.scripts-3.10.butterfly.server", "peekOfCode": "def to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',\n 'butterfly_%s.crt', 'butterfly_%s.key',\n '%s.p12'])\ndef fill_fields(subject):\n subject.C = 'WW'\n subject.O = 'Butterfly'\n subject.OU = 'Butterfly Terminal'", "detail": "BFLY1.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "fill_fields", "kind": 2, "importPath": "BFLY1.build.scripts-3.10.butterfly.server", "description": "BFLY1.build.scripts-3.10.butterfly.server", "peekOfCode": "def fill_fields(subject):\n subject.C = 'WW'\n subject.O = 'Butterfly'\n subject.OU = 'Butterfly Terminal'\n subject.ST = 'World Wide'\n subject.L = 'Terminal'\ndef write(file, content):\n with open(file, 'wb') as fd:\n fd.write(content)\n print('Writing %s' % file)", "detail": "BFLY1.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "write", "kind": 2, "importPath": "BFLY1.build.scripts-3.10.butterfly.server", "description": "BFLY1.build.scripts-3.10.butterfly.server", "peekOfCode": "def write(file, content):\n with open(file, 'wb') as fd:\n fd.write(content)\n print('Writing %s' % file)\ndef read(file):\n print('Reading %s' % file)\n with open(file, 'rb') as fd:\n return fd.read()\ndef b(s):\n return s.encode('utf-8')", "detail": "BFLY1.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "read", "kind": 2, "importPath": "BFLY1.build.scripts-3.10.butterfly.server", "description": "BFLY1.build.scripts-3.10.butterfly.server", "peekOfCode": "def read(file):\n print('Reading %s' % file)\n with open(file, 'rb') as fd:\n return fd.read()\ndef b(s):\n return s.encode('utf-8')\nif options.generate_certs:\n from OpenSSL import crypto\n print('Generating certificates for %s (change it with --host)\\n' % host)\n if not os.path.exists(ca) and not os.path.exists(ca_key):", "detail": "BFLY1.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "b", "kind": 2, "importPath": "BFLY1.build.scripts-3.10.butterfly.server", "description": "BFLY1.build.scripts-3.10.butterfly.server", "peekOfCode": "def b(s):\n return s.encode('utf-8')\nif options.generate_certs:\n from OpenSSL import crypto\n print('Generating certificates for %s (change it with --host)\\n' % host)\n if not os.path.exists(ca) and not os.path.exists(ca_key):\n print('Root certificate not found, generating it')\n ca_pk = crypto.PKey()\n ca_pk.generate_key(crypto.TYPE_RSA, 2048)\n ca_cert = crypto.X509()", "detail": "BFLY1.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "butterfly_dir", "kind": 5, "importPath": "BFLY1.build.scripts-3.10.butterfly.server", "description": "BFLY1.build.scripts-3.10.butterfly.server", "peekOfCode": "butterfly_dir = os.path.join(ev, 'butterfly')\nconf_file = os.path.join(butterfly_dir, 'butterfly.conf')\nssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()", "detail": "BFLY1.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "conf_file", "kind": 5, "importPath": "BFLY1.build.scripts-3.10.butterfly.server", "description": "BFLY1.build.scripts-3.10.butterfly.server", "peekOfCode": "conf_file = os.path.join(butterfly_dir, 'butterfly.conf')\nssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()\nif os.path.exists(tornado.options.options.conf):", "detail": "BFLY1.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "ssl_dir", "kind": 5, "importPath": "BFLY1.build.scripts-3.10.butterfly.server", "description": "BFLY1.build.scripts-3.10.butterfly.server", "peekOfCode": "ssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()\nif os.path.exists(tornado.options.options.conf):\n tornado.options.parse_config_file(tornado.options.options.conf)", "detail": "BFLY1.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "options", "kind": 5, "importPath": "BFLY1.build.scripts-3.10.butterfly.server", "description": "BFLY1.build.scripts-3.10.butterfly.server", "peekOfCode": "options = tornado.options.options\nfor logger in ('tornado.access', 'tornado.application',\n 'tornado.general', 'butterfly'):\n level = logging.WARNING\n if options.debug:\n level = logging.INFO\n if options.more:\n level = logging.DEBUG\n logging.getLogger(logger).setLevel(level)\nlog = logging.getLogger('butterfly')", "detail": "BFLY1.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "BFLY1.build.scripts-3.10.butterfly.server", "description": "BFLY1.build.scripts-3.10.butterfly.server", "peekOfCode": "log = logging.getLogger('butterfly')\nhost = options.host\nport = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [", "detail": "BFLY1.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "host", "kind": 5, "importPath": "BFLY1.build.scripts-3.10.butterfly.server", "description": "BFLY1.build.scripts-3.10.butterfly.server", "peekOfCode": "host = options.host\nport = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',", "detail": "BFLY1.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "port", "kind": 5, "importPath": "BFLY1.build.scripts-3.10.butterfly.server", "description": "BFLY1.build.scripts-3.10.butterfly.server", "peekOfCode": "port = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',\n 'butterfly_%s.crt', 'butterfly_%s.key',", "detail": "BFLY1.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "application.butterfly_dir", "kind": 5, "importPath": "BFLY1.build.scripts-3.10.butterfly.server", "description": "BFLY1.build.scripts-3.10.butterfly.server", "peekOfCode": "application.butterfly_dir = butterfly_dir\nlog.info('Starting server')\nhttp_server = HTTPServer(application, ssl_options=ssl_opts)\nhttp_server.listen(port, address=host)\nif getattr(http_server, 'systemd', False):\n os.environ.pop('LISTEN_PID')\n os.environ.pop('LISTEN_FDS')\nlog.info('Starting loop')\nioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:", "detail": "BFLY1.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "http_server", "kind": 5, "importPath": "BFLY1.build.scripts-3.10.butterfly.server", "description": "BFLY1.build.scripts-3.10.butterfly.server", "peekOfCode": "http_server = HTTPServer(application, ssl_options=ssl_opts)\nhttp_server.listen(port, address=host)\nif getattr(http_server, 'systemd', False):\n os.environ.pop('LISTEN_PID')\n os.environ.pop('LISTEN_FDS')\nlog.info('Starting loop')\nioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:\n port = list(http_server._sockets.values())[0].getsockname()[1]\nurl = \"http%s://%s:%d/%s\" % (", "detail": "BFLY1.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "BFLY1.build.scripts-3.10.butterfly.server", "description": "BFLY1.build.scripts-3.10.butterfly.server", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:\n port = list(http_server._sockets.values())[0].getsockname()[1]\nurl = \"http%s://%s:%d/%s\" % (\n \"s\" if not options.unsecure else \"\", host, port,\n (options.uri_root_path.strip('/') + '/') if options.uri_root_path else ''\n)\nif not options.one_shot or not webbrowser.open(url):\n log.warn('Butterfly is ready, open your browser to: %s' % url)\nioloop.start()", "detail": "BFLY1.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "BFLY1.build.scripts-3.10.butterfly.server", "description": "BFLY1.build.scripts-3.10.butterfly.server", "peekOfCode": "url = \"http%s://%s:%d/%s\" % (\n \"s\" if not options.unsecure else \"\", host, port,\n (options.uri_root_path.strip('/') + '/') if options.uri_root_path else ''\n)\nif not options.one_shot or not webbrowser.open(url):\n log.warn('Butterfly is ready, open your browser to: %s' % url)\nioloop.start()", "detail": "BFLY1.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "bin_dir", "kind": 5, "importPath": "BFLY1.butterfly.bin.activate_this", "description": "BFLY1.butterfly.bin.activate_this", "peekOfCode": "bin_dir = os.path.dirname(abs_file)\nbase = bin_dir[: -len(\"bin\") - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)", "detail": "BFLY1.butterfly.bin.activate_this", "documentation": {} }, { "label": "base", "kind": 5, "importPath": "BFLY1.butterfly.bin.activate_this", "description": "BFLY1.butterfly.bin.activate_this", "peekOfCode": "base = bin_dir[: -len(\"bin\") - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]", "detail": "BFLY1.butterfly.bin.activate_this", "documentation": {} }, { "label": "os.environ[\"PATH\"]", "kind": 5, "importPath": "BFLY1.butterfly.bin.activate_this", "description": "BFLY1.butterfly.bin.activate_this", "peekOfCode": "os.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY1.butterfly.bin.activate_this", "documentation": {} }, { "label": "os.environ[\"VIRTUAL_ENV\"]", "kind": 5, "importPath": "BFLY1.butterfly.bin.activate_this", "description": "BFLY1.butterfly.bin.activate_this", "peekOfCode": "os.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY1.butterfly.bin.activate_this", "documentation": {} }, { "label": "prev_length", "kind": 5, "importPath": "BFLY1.butterfly.bin.activate_this", "description": "BFLY1.butterfly.bin.activate_this", "peekOfCode": "prev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY1.butterfly.bin.activate_this", "documentation": {} }, { "label": "sys.path[:]", "kind": 5, "importPath": "BFLY1.butterfly.bin.activate_this", "description": "BFLY1.butterfly.bin.activate_this", "peekOfCode": "sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY1.butterfly.bin.activate_this", "documentation": {} }, { "label": "sys.real_prefix", "kind": 5, "importPath": "BFLY1.butterfly.bin.activate_this", "description": "BFLY1.butterfly.bin.activate_this", "peekOfCode": "sys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "BFLY1.butterfly.bin.activate_this", "documentation": {} }, { "label": "sys.prefix", "kind": 5, "importPath": "BFLY1.butterfly.bin.activate_this", "description": "BFLY1.butterfly.bin.activate_this", "peekOfCode": "sys.prefix = base", "detail": "BFLY1.butterfly.bin.activate_this", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY1.butterfly.bin.cat", "description": "BFLY1.butterfly.bin.cat", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly cat wrapper.')\nparser.add_argument('-o', action=\"store_true\",\n dest='original', help='Force original cat')\nparser.add_argument(\n 'files', metavar='FILES', nargs='+',\n help='Force original cat')\nargs, remaining = parser.parse_known_args()\nif args.original:\n os.execvp('/usr/bin/cat', remaining + args.files)\nfor file in args.files:", "detail": "BFLY1.butterfly.bin.cat", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY1.butterfly.bin.colors", "description": "BFLY1.butterfly.bin.colors", "peekOfCode": "parser = argparse.ArgumentParser(\n description='Butterfly terminal color tester.')\nparser.add_argument(\n '--colors',\n default='16',\n choices=['8', '16', '256', '16M'],\n help='Set the color mode to test')\nargs = parser.parse_args()\nprint()\nif args.colors in ['8', '16']:", "detail": "BFLY1.butterfly.bin.colors", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "BFLY1.butterfly.bin.colors", "description": "BFLY1.butterfly.bin.colors", "peekOfCode": "args = parser.parse_args()\nprint()\nif args.colors in ['8', '16']:\n print('Background\\n')\n for l in range(3):\n sys.stdout.write(' ')\n for i in range(8):\n sys.stdout.write('\\x1b[%dm \\x1b[m ' % (40 + i))\n sys.stdout.write('\\n')\n sys.stdout.flush()", "detail": "BFLY1.butterfly.bin.colors", "documentation": {} }, { "label": "path", "kind": 5, "importPath": "BFLY1.butterfly.bin.help", "description": "BFLY1.butterfly.bin.help", "peekOfCode": "path = os.getenv('BUTTERFLY_PATH')\nif path:\n path = os.path.join(path, '../static/images/favicon.png')\nif path and os.path.exists(path):\n with image('image/png'):\n with open(path, 'rb') as i:\n print(base64.b64encode(i.read()).decode('ascii'))\nprint(\"\"\"\nButterfly is a xterm compliant terminal built with python and javascript.\n{title}Terminal functionalities:{reset}", "detail": "BFLY1.butterfly.bin.help", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY1.butterfly.bin.html", "description": "BFLY1.butterfly.bin.html", "peekOfCode": "parser = argparse.ArgumentParser(\n description=\"Butterfly html converter.\\n\\n\"\n \"Output in html standard input.\\n\"\n \"Example: $ echo \\\"Bold\\\" | b html\",\n formatter_class=argparse.RawTextHelpFormatter)\nparser.parse_known_args()\nwith html():\n for line in fileinput.input():\n sys.stdout.write(line)", "detail": "BFLY1.butterfly.bin.html", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY1.butterfly.bin.open", "description": "BFLY1.butterfly.bin.open", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly tab opener.')\nparser.add_argument(\n 'location',\n nargs='?',\n default=os.getcwd(),\n help='Directory to open the new tab in. (Defaults to current)')\nargs = parser.parse_args()\nurl_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)", "detail": "BFLY1.butterfly.bin.open", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "BFLY1.butterfly.bin.open", "description": "BFLY1.butterfly.bin.open", "peekOfCode": "args = parser.parse_args()\nurl_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY1.butterfly.bin.open", "documentation": {} }, { "label": "url_parts", "kind": 5, "importPath": "BFLY1.butterfly.bin.open", "description": "BFLY1.butterfly.bin.open", "peekOfCode": "url_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY1.butterfly.bin.open", "documentation": {} }, { "label": "query", "kind": 5, "importPath": "BFLY1.butterfly.bin.open", "description": "BFLY1.butterfly.bin.open", "peekOfCode": "query = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY1.butterfly.bin.open", "documentation": {} }, { "label": "query['path']", "kind": 5, "importPath": "BFLY1.butterfly.bin.open", "description": "BFLY1.butterfly.bin.open", "peekOfCode": "query['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY1.butterfly.bin.open", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "BFLY1.butterfly.bin.open", "description": "BFLY1.butterfly.bin.open", "peekOfCode": "url = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY1.butterfly.bin.open", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "BFLY1.butterfly.bin.session", "description": "BFLY1.butterfly.bin.session", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly session opener.')\nparser.add_argument(\n 'session',\n help='Open or rattach a butterfly session. '\n '(Only in secure mode or in user unsecure mode (no su login))')\nargs = parser.parse_args()\nurl = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY1.butterfly.bin.session", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "BFLY1.butterfly.bin.session", "description": "BFLY1.butterfly.bin.session", "peekOfCode": "args = parser.parse_args()\nurl = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY1.butterfly.bin.session", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "BFLY1.butterfly.bin.session", "description": "BFLY1.butterfly.bin.session", "peekOfCode": "url = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "BFLY1.butterfly.bin.session", "documentation": {} }, { "label": "html", "kind": 2, "importPath": "BFLY1.butterfly.escapes", "description": "BFLY1.butterfly.escapes", "peekOfCode": "def html():\n sys.stdout.write('\\x1bP;HTML|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')", "detail": "BFLY1.butterfly.escapes", "documentation": {} }, { "label": "image", "kind": 2, "importPath": "BFLY1.butterfly.escapes", "description": "BFLY1.butterfly.escapes", "peekOfCode": "def image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')\n sys.stdout.flush()\n@contextmanager\ndef prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "BFLY1.butterfly.escapes", "documentation": {} }, { "label": "prompt", "kind": 2, "importPath": "BFLY1.butterfly.escapes", "description": "BFLY1.butterfly.escapes", "peekOfCode": "def prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "BFLY1.butterfly.escapes", "documentation": {} }, { "label": "text", "kind": 2, "importPath": "BFLY1.butterfly.escapes", "description": "BFLY1.butterfly.escapes", "peekOfCode": "def text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\ndef geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)", "detail": "BFLY1.butterfly.escapes", "documentation": {} }, { "label": "geolocation", "kind": 2, "importPath": "BFLY1.butterfly.escapes", "description": "BFLY1.butterfly.escapes", "peekOfCode": "def geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)\n try:\n tty.setraw(sys.stdin.fileno())\n rv = sys.stdin.read(1)\n if rv != '\\x1b':\n raise", "detail": "BFLY1.butterfly.escapes", "documentation": {} }, { "label": "PamHandle", "kind": 6, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "class PamHandle(Structure):\n \"\"\"wrapper class for pam_handle_t pointer\"\"\"\n _fields_ = [(\"handle\", c_void_p)]\n def __init__(self):\n Structure.__init__(self)\n self.handle = 0\nclass PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "PamMessage", "kind": 6, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "class PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):\n return \"\" % (self.msg_style, self.msg)\nclass PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "PamResponse", "kind": 6, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "class PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)\nconv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "PamConv", "kind": 6, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "class PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "PAM", "kind": 6, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "class PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.\n Returns True for success, or False for failure.", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "login_prompt", "kind": 2, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "def login_prompt(username, profile, env):\n pam = PAM()\n success = pam.authenticate(username, profile)\n print('{} {}'.format(pam.code, pam.reason))\n if success:\n su = '/usr/bin/su'\n if not os.path.exists(su):\n su = '/bin/su'\n os.execvpe(su, [su, '-l', username], env)\n return success", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "conv_func", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "conv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_OFF", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "PAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_ON", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "PAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "PAM_ERROR_MSG", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "PAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "PAM_TEXT_INFO", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "PAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "PAM_REINITIALIZE_CRED", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "PAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "libc", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "libc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "libpam", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "libpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "libpam_misc", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "libpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "calloc", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "calloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "calloc.restype", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "calloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "calloc.argtypes", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "calloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "pam_end", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "pam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "pam_end.restype", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "pam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "pam_end.argtypes", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "pam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "pam_start", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "pam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "pam_start.restype", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "pam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "pam_start.argtypes", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "pam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "pam_setcred", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "pam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "pam_setcred.restype", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "pam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "pam_setcred.argtypes", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "pam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "pam_strerror", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "pam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "pam_strerror.restype", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "pam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "pam_strerror.argtypes", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "pam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "pam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate.restype", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "pam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate.argtypes", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "pam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "misc_conv", "kind": 5, "importPath": "BFLY1.butterfly.pam", "description": "BFLY1.butterfly.pam", "peekOfCode": "misc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.", "detail": "BFLY1.butterfly.pam", "documentation": {} }, { "label": "Index", "kind": 6, "importPath": "BFLY1.butterfly.routes", "description": "BFLY1.butterfly.routes", "peekOfCode": "class Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:\n raise tornado.web.HTTPError(400)\n return self.render(\n 'index.html', session=session or str(uuid4()))\n@url(r'/theme/([^/]+)/style.css')\nclass Theme(Route):", "detail": "BFLY1.butterfly.routes", "documentation": {} }, { "label": "Theme", "kind": 6, "importPath": "BFLY1.butterfly.routes", "description": "BFLY1.butterfly.routes", "peekOfCode": "class Theme(Route):\n def get(self, theme):\n self.log.info('Getting style')\n try:\n import sass\n sass.CompileError\n except Exception:\n self.log.error(\n 'You must install libsass to use sass '\n '(pip install libsass)')", "detail": "BFLY1.butterfly.routes", "documentation": {} }, { "label": "ThemeStatic", "kind": 6, "importPath": "BFLY1.butterfly.routes", "description": "BFLY1.butterfly.routes", "peekOfCode": "class ThemeStatic(Route):\n def get(self, theme, name):\n if '..' in name:\n raise tornado.web.HTTPError(403)\n base_dir = self.get_theme_dir(theme)\n fn = os.path.normpath(os.path.join(base_dir, name))\n if not fn.startswith(base_dir):\n raise tornado.web.HTTPError(403)\n if os.path.exists(fn):\n type = guess_type(fn)[0]", "detail": "BFLY1.butterfly.routes", "documentation": {} }, { "label": "KeptAliveWebSocketHandler", "kind": 6, "importPath": "BFLY1.butterfly.routes", "description": "BFLY1.butterfly.routes", "peekOfCode": "class KeptAliveWebSocketHandler(tornado.websocket.WebSocketHandler):\n keepalive_timer = None\n def open(self, *args, **kwargs):\n self.keepalive_timer = tornado.ioloop.PeriodicCallback(\n self.send_ping, tornado.options.options.keepalive_interval * 1000)\n self.keepalive_timer.start()\n def send_ping(self):\n t = int(time.time())\n frame = struct.pack('[^/]+)/?)?')\nclass Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:", "detail": "BFLY1.butterfly.routes", "documentation": {} }, { "label": "Terminal", "kind": 6, "importPath": "BFLY1.butterfly.terminal", "description": "BFLY1.butterfly.terminal", "peekOfCode": "class Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):\n self.sessions[session] = self\n self.history_size = 50000\n self.history = ''\n self.uri = uri\n self.session = session\n self.broadcast = broadcast", "detail": "BFLY1.butterfly.terminal", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "BFLY1.butterfly.terminal", "description": "BFLY1.butterfly.terminal", "peekOfCode": "log = getLogger('butterfly')\nioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):", "detail": "BFLY1.butterfly.terminal", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "BFLY1.butterfly.terminal", "description": "BFLY1.butterfly.terminal", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}", "detail": "BFLY1.butterfly.terminal", "documentation": {} }, { "label": "server", "kind": 5, "importPath": "BFLY1.butterfly.terminal", "description": "BFLY1.butterfly.terminal", "peekOfCode": "server = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,", "detail": "BFLY1.butterfly.terminal", "documentation": {} }, { "label": "daemon", "kind": 5, "importPath": "BFLY1.butterfly.terminal", "description": "BFLY1.butterfly.terminal", "peekOfCode": "daemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):", "detail": "BFLY1.butterfly.terminal", "documentation": {} }, { "label": "User", "kind": 6, "importPath": "BFLY1.butterfly.utils", "description": "BFLY1.butterfly.utils", "peekOfCode": "class User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:\n uid = os.getuid()\n if uid is not None:\n self.pw = pwd.getpwuid(uid)\n else:\n self.pw = pwd.getpwnam(name)\n if self.pw is None:\n raise LookupError('Unknown user')", "detail": "BFLY1.butterfly.utils", "documentation": {} }, { "label": "Socket", "kind": 6, "importPath": "BFLY1.butterfly.utils", "description": "BFLY1.butterfly.utils", "peekOfCode": "class Socket(object):\n def __init__(self, socket):\n sn = socket.getsockname()\n self.local_addr = sn[0]\n self.local_port = sn[1]\n try:\n pn = socket.getpeername()\n self.remote_addr = pn[0]\n self.remote_port = pn[1]\n except Exception:", "detail": "BFLY1.butterfly.utils", "documentation": {} }, { "label": "AnsiColors", "kind": 6, "importPath": "BFLY1.butterfly.utils", "description": "BFLY1.butterfly.utils", "peekOfCode": "class AnsiColors(object):\n colors = {\n 'black': 30,\n 'red': 31,\n 'green': 32,\n 'yellow': 33,\n 'blue': 34,\n 'magenta': 35,\n 'cyan': 36,\n 'white': 37", "detail": "BFLY1.butterfly.utils", "documentation": {} }, { "label": "get_hex_ip_port", "kind": 2, "importPath": "BFLY1.butterfly.utils", "description": "BFLY1.butterfly.utils", "peekOfCode": "def get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),\n int(splits[2]),", "detail": "BFLY1.butterfly.utils", "documentation": {} }, { "label": "parse_cert", "kind": 2, "importPath": "BFLY1.butterfly.utils", "description": "BFLY1.butterfly.utils", "peekOfCode": "def parse_cert(cert):\n user = None\n for elt in cert['subject']:\n user = dict(elt).get('commonName', None)\n if user:\n break\n return user\nclass User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:", "detail": "BFLY1.butterfly.utils", "documentation": {} }, { "label": "get_lsof_socket_line", "kind": 2, "importPath": "BFLY1.butterfly.utils", "description": "BFLY1.butterfly.utils", "peekOfCode": "def get_lsof_socket_line(addr, port):\n # May want to make this into a dictionary in the future...\n regex = \"\\w+\\s+(?P\\d+)\\s+(?P\\w+).*\\s\" \\\n \"(?P.*?):(?P\\d+)->(?P.*?):(?P\\d+)\"\n output = subprocess.check_output(['lsof', '-Pni']).decode('utf-8')\n lines = output.split('\\n')\n for line in lines:\n # Look for local address with peer port\n match = re.findall(regex, line)\n if len(match):", "detail": "BFLY1.butterfly.utils", "documentation": {} }, { "label": "get_procfs_socket_line", "kind": 2, "importPath": "BFLY1.butterfly.utils", "description": "BFLY1.butterfly.utils", "peekOfCode": "def get_procfs_socket_line(hex_ip_port):\n fn = None\n if len(hex_ip_port) == 13: # ipv4\n fn = '/proc/net/tcp'\n elif len(hex_ip_port) == 37: # ipv6\n fn = '/proc/net/tcp6'\n if not fn:\n return\n try:\n with open(fn) as k:", "detail": "BFLY1.butterfly.utils", "documentation": {} }, { "label": "get_socket_env", "kind": 2, "importPath": "BFLY1.butterfly.utils", "description": "BFLY1.butterfly.utils", "peekOfCode": "def get_socket_env(inode, user):\n for pid in os.listdir(\"/proc/\"):\n if not pid.isdigit():\n continue\n try:\n with open('/proc/%s/cmdline' % pid) as c:\n command = c.read().split('\\x00')\n executable = command[0].split('/')[-1]\n if executable in ('sh', 'bash', 'zsh'):\n executable = command[1].split('/')[-1]", "detail": "BFLY1.butterfly.utils", "documentation": {} }, { "label": "get_utmp_file", "kind": 2, "importPath": "BFLY1.butterfly.utils", "description": "BFLY1.butterfly.utils", "peekOfCode": "def get_utmp_file():\n for file in (\n '/var/run/utmp',\n '/var/adm/utmp',\n '/var/adm/utmpx',\n '/etc/utmp',\n '/etc/utmpx',\n '/var/run/utx.active'):\n if os.path.exists(file):\n return file", "detail": "BFLY1.butterfly.utils", "documentation": {} }, { "label": "get_wtmp_file", "kind": 2, "importPath": "BFLY1.butterfly.utils", "description": "BFLY1.butterfly.utils", "peekOfCode": "def get_wtmp_file():\n for file in (\n '/var/log/wtmp',\n '/var/adm/wtmp',\n '/var/adm/wtmpx',\n '/var/run/utx.log'):\n if os.path.exists(file):\n return file\nUTmp = namedtuple(\n 'UTmp',", "detail": "BFLY1.butterfly.utils", "documentation": {} }, { "label": "utmp_line", "kind": 2, "importPath": "BFLY1.butterfly.utils", "description": "BFLY1.butterfly.utils", "peekOfCode": "def utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line\n b(id), # id\n b(user), # user\n b(host), # host\n 0, # exit 0\n 0, # exit 1", "detail": "BFLY1.butterfly.utils", "documentation": {} }, { "label": "add_user_info", "kind": 2, "importPath": "BFLY1.butterfly.utils", "description": "BFLY1.butterfly.utils", "peekOfCode": "def add_user_info(id, fd, pid, user, host):\n # Freebsd format is not yet supported.\n # Please submit PR\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 7, pid, fd, user, host, time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:", "detail": "BFLY1.butterfly.utils", "documentation": {} }, { "label": "rm_user_info", "kind": 2, "importPath": "BFLY1.butterfly.utils", "description": "BFLY1.butterfly.utils", "peekOfCode": "def rm_user_info(id, pid):\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 8, pid, '', '', '', time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:\n continue\n try:", "detail": "BFLY1.butterfly.utils", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "BFLY1.butterfly.utils", "description": "BFLY1.butterfly.utils", "peekOfCode": "log = getLogger('butterfly')\ndef get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),", "detail": "BFLY1.butterfly.utils", "documentation": {} }, { "label": "utmp_struct", "kind": 5, "importPath": "BFLY1.butterfly.utils", "description": "BFLY1.butterfly.utils", "peekOfCode": "utmp_struct = struct.Struct('hi32s4s32s256shhiii4i20s')\nif sys.version_info[0] == 2:\n b = lambda x: x\nelse:\n def b(x):\n if isinstance(x, str):\n return x.encode('utf-8')\n return x\ndef get_utmp_file():\n for file in (", "detail": "BFLY1.butterfly.utils", "documentation": {} }, { "label": "UTmp", "kind": 5, "importPath": "BFLY1.butterfly.utils", "description": "BFLY1.butterfly.utils", "peekOfCode": "UTmp = namedtuple(\n 'UTmp',\n ['type', 'pid', 'line', 'id', 'user', 'host',\n 'exit0', 'exit1', 'session',\n 'sec', 'usec', 'addr0', 'addr1', 'addr2', 'addr3', 'unused'])\ndef utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line", "detail": "BFLY1.butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "kind": 5, "importPath": "BFLY1.butterfly.utils", "description": "BFLY1.butterfly.utils", "peekOfCode": "ansi_colors = AnsiColors()", "detail": "BFLY1.butterfly.utils", "documentation": {} }, { "label": "to_abs", "kind": 2, "importPath": "BFLY1.butterfly.server", "description": "BFLY1.butterfly.server", "peekOfCode": "def to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',\n 'butterfly_%s.crt', 'butterfly_%s.key',\n '%s.p12'])\ndef fill_fields(subject):\n subject.C = 'WW'\n subject.O = 'Butterfly'\n subject.OU = 'Butterfly Terminal'", "detail": "BFLY1.butterfly.server", "documentation": {} }, { "label": "fill_fields", "kind": 2, "importPath": "BFLY1.butterfly.server", "description": "BFLY1.butterfly.server", "peekOfCode": "def fill_fields(subject):\n subject.C = 'WW'\n subject.O = 'Butterfly'\n subject.OU = 'Butterfly Terminal'\n subject.ST = 'World Wide'\n subject.L = 'Terminal'\ndef write(file, content):\n with open(file, 'wb') as fd:\n fd.write(content)\n print('Writing %s' % file)", "detail": "BFLY1.butterfly.server", "documentation": {} }, { "label": "write", "kind": 2, "importPath": "BFLY1.butterfly.server", "description": "BFLY1.butterfly.server", "peekOfCode": "def write(file, content):\n with open(file, 'wb') as fd:\n fd.write(content)\n print('Writing %s' % file)\ndef read(file):\n print('Reading %s' % file)\n with open(file, 'rb') as fd:\n return fd.read()\ndef b(s):\n return s.encode('utf-8')", "detail": "BFLY1.butterfly.server", "documentation": {} }, { "label": "read", "kind": 2, "importPath": "BFLY1.butterfly.server", "description": "BFLY1.butterfly.server", "peekOfCode": "def read(file):\n print('Reading %s' % file)\n with open(file, 'rb') as fd:\n return fd.read()\ndef b(s):\n return s.encode('utf-8')\nif options.generate_certs:\n from OpenSSL import crypto\n print('Generating certificates for %s (change it with --host)\\n' % host)\n if not os.path.exists(ca) and not os.path.exists(ca_key):", "detail": "BFLY1.butterfly.server", "documentation": {} }, { "label": "b", "kind": 2, "importPath": "BFLY1.butterfly.server", "description": "BFLY1.butterfly.server", "peekOfCode": "def b(s):\n return s.encode('utf-8')\nif options.generate_certs:\n from OpenSSL import crypto\n print('Generating certificates for %s (change it with --host)\\n' % host)\n if not os.path.exists(ca) and not os.path.exists(ca_key):\n print('Root certificate not found, generating it')\n ca_pk = crypto.PKey()\n ca_pk.generate_key(crypto.TYPE_RSA, 2048)\n ca_cert = crypto.X509()", "detail": "BFLY1.butterfly.server", "documentation": {} }, { "label": "butterfly_dir", "kind": 5, "importPath": "BFLY1.butterfly.server", "description": "BFLY1.butterfly.server", "peekOfCode": "butterfly_dir = os.path.join(ev, 'butterfly')\nconf_file = os.path.join(butterfly_dir, 'butterfly.conf')\nssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()", "detail": "BFLY1.butterfly.server", "documentation": {} }, { "label": "conf_file", "kind": 5, "importPath": "BFLY1.butterfly.server", "description": "BFLY1.butterfly.server", "peekOfCode": "conf_file = os.path.join(butterfly_dir, 'butterfly.conf')\nssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()\nif os.path.exists(tornado.options.options.conf):", "detail": "BFLY1.butterfly.server", "documentation": {} }, { "label": "ssl_dir", "kind": 5, "importPath": "BFLY1.butterfly.server", "description": "BFLY1.butterfly.server", "peekOfCode": "ssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()\nif os.path.exists(tornado.options.options.conf):\n tornado.options.parse_config_file(tornado.options.options.conf)", "detail": "BFLY1.butterfly.server", "documentation": {} }, { "label": "options", "kind": 5, "importPath": "BFLY1.butterfly.server", "description": "BFLY1.butterfly.server", "peekOfCode": "options = tornado.options.options\nfor logger in ('tornado.access', 'tornado.application',\n 'tornado.general', 'butterfly'):\n level = logging.WARNING\n if options.debug:\n level = logging.INFO\n if options.more:\n level = logging.DEBUG\n logging.getLogger(logger).setLevel(level)\nlog = logging.getLogger('butterfly')", "detail": "BFLY1.butterfly.server", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "BFLY1.butterfly.server", "description": "BFLY1.butterfly.server", "peekOfCode": "log = logging.getLogger('butterfly')\nhost = options.host\nport = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [", "detail": "BFLY1.butterfly.server", "documentation": {} }, { "label": "host", "kind": 5, "importPath": "BFLY1.butterfly.server", "description": "BFLY1.butterfly.server", "peekOfCode": "host = options.host\nport = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',", "detail": "BFLY1.butterfly.server", "documentation": {} }, { "label": "port", "kind": 5, "importPath": "BFLY1.butterfly.server", "description": "BFLY1.butterfly.server", "peekOfCode": "port = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',\n 'butterfly_%s.crt', 'butterfly_%s.key',", "detail": "BFLY1.butterfly.server", "documentation": {} }, { "label": "application.butterfly_dir", "kind": 5, "importPath": "BFLY1.butterfly.server", "description": "BFLY1.butterfly.server", "peekOfCode": "application.butterfly_dir = butterfly_dir\nlog.info('Starting server')\nhttp_server = HTTPServer(application, ssl_options=ssl_opts)\nhttp_server.listen(port, address=host)\nif getattr(http_server, 'systemd', False):\n os.environ.pop('LISTEN_PID')\n os.environ.pop('LISTEN_FDS')\nlog.info('Starting loop')\nioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:", "detail": "BFLY1.butterfly.server", "documentation": {} }, { "label": "http_server", "kind": 5, "importPath": "BFLY1.butterfly.server", "description": "BFLY1.butterfly.server", "peekOfCode": "http_server = HTTPServer(application, ssl_options=ssl_opts)\nhttp_server.listen(port, address=host)\nif getattr(http_server, 'systemd', False):\n os.environ.pop('LISTEN_PID')\n os.environ.pop('LISTEN_FDS')\nlog.info('Starting loop')\nioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:\n port = list(http_server._sockets.values())[0].getsockname()[1]\nurl = \"http%s://%s:%d/%s\" % (", "detail": "BFLY1.butterfly.server", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "BFLY1.butterfly.server", "description": "BFLY1.butterfly.server", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:\n port = list(http_server._sockets.values())[0].getsockname()[1]\nurl = \"http%s://%s:%d/%s\" % (\n \"s\" if not options.unsecure else \"\", host, port,\n (options.uri_root_path.strip('/') + '/') if options.uri_root_path else ''\n)\nif not options.one_shot or not webbrowser.open(url):\n log.warn('Butterfly is ready, open your browser to: %s' % url)\nioloop.start()", "detail": "BFLY1.butterfly.server", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "BFLY1.butterfly.server", "description": "BFLY1.butterfly.server", "peekOfCode": "url = \"http%s://%s:%d/%s\" % (\n \"s\" if not options.unsecure else \"\", host, port,\n (options.uri_root_path.strip('/') + '/') if options.uri_root_path else ''\n)\nif not options.one_shot or not webbrowser.open(url):\n log.warn('Butterfly is ready, open your browser to: %s' % url)\nioloop.start()", "detail": "BFLY1.butterfly.server", "documentation": {} }, { "label": "html", "kind": 2, "importPath": "BFLY1.escapes", "description": "BFLY1.escapes", "peekOfCode": "def html():\n sys.stdout.write('\\x1bP;HTML|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')", "detail": "BFLY1.escapes", "documentation": {} }, { "label": "image", "kind": 2, "importPath": "BFLY1.escapes", "description": "BFLY1.escapes", "peekOfCode": "def image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')\n sys.stdout.flush()\n@contextmanager\ndef prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "BFLY1.escapes", "documentation": {} }, { "label": "prompt", "kind": 2, "importPath": "BFLY1.escapes", "description": "BFLY1.escapes", "peekOfCode": "def prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "BFLY1.escapes", "documentation": {} }, { "label": "text", "kind": 2, "importPath": "BFLY1.escapes", "description": "BFLY1.escapes", "peekOfCode": "def text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\ndef geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)", "detail": "BFLY1.escapes", "documentation": {} }, { "label": "geolocation", "kind": 2, "importPath": "BFLY1.escapes", "description": "BFLY1.escapes", "peekOfCode": "def geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)\n try:\n tty.setraw(sys.stdin.fileno())\n rv = sys.stdin.read(1)\n if rv != '\\x1b':\n raise", "detail": "BFLY1.escapes", "documentation": {} }, { "label": "bootstrap", "kind": 2, "importPath": "BFLY1.get-pip", "description": "BFLY1.get-pip", "peekOfCode": "def bootstrap(tmpdir=None):\n # Import pip so we can use it to install pip and maybe setuptools too\n from pip._internal.cli.main import main as pip_entry_point\n from pip._internal.commands.install import InstallCommand\n from pip._internal.req.constructors import install_req_from_line\n # Wrapper to provide default certificate with the lowest priority\n # Due to pip._internal.commands.commands_dict structure, a monkeypatch\n # seems the simplest workaround.\n install_parse_args = InstallCommand.parse_args\n def cert_parse_args(self, args):", "detail": "BFLY1.get-pip", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "BFLY1.get-pip", "description": "BFLY1.get-pip", "peekOfCode": "def main():\n tmpdir = None\n try:\n # Create a temporary working directory\n tmpdir = tempfile.mkdtemp()\n # Unpack the zipfile into the temporary directory\n pip_zip = os.path.join(tmpdir, \"pip.zip\")\n with open(pip_zip, \"wb\") as fp:\n fp.write(b85decode(DATA.replace(b\"\\n\", b\"\")))\n # Add the zipfile to sys.path so that we can import it", "detail": "BFLY1.get-pip", "documentation": {} }, { "label": "PY2", "kind": 5, "importPath": "BFLY1.get-pip", "description": "BFLY1.get-pip", "peekOfCode": "PY2 = sys.version_info[0] == 2\nPY3 = sys.version_info[0] == 3\nif PY3:\n iterbytes = iter\nelse:\n def iterbytes(buf):\n return (ord(byte) for byte in buf)\ntry:\n from base64 import b85decode\nexcept ImportError:", "detail": "BFLY1.get-pip", "documentation": {} }, { "label": "PY3", "kind": 5, "importPath": "BFLY1.get-pip", "description": "BFLY1.get-pip", "peekOfCode": "PY3 = sys.version_info[0] == 3\nif PY3:\n iterbytes = iter\nelse:\n def iterbytes(buf):\n return (ord(byte) for byte in buf)\ntry:\n from base64 import b85decode\nexcept ImportError:\n _b85alphabet = (b\"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\"", "detail": "BFLY1.get-pip", "documentation": {} }, { "label": "DATA", "kind": 5, "importPath": "BFLY1.get-pip", "description": "BFLY1.get-pip", "peekOfCode": "DATA = b\"\"\"\nP)h>@6aWAK2mq6MtBUtcb8d2NtyYr-%Phu`N@9Nmj4xO9l\nHO>i(|e`H&gvAqzH5bae1Z4z?VNx%J4r5gi7-sG3#xx1$bt^#koRK_v}t4mq4DM@nUjopE%ybBEP%f(\nVnUmmBg>f9C_o<}\nCJ4)Qc90W9W61RSR7ahxNJ-SN9NCI2I;J^0_wz@oEd*V(_q-fwN@;6>7^+xBxXFY?@ZUC4oCw*g8wDM\n4)Xjo=J)$@F|w+JU6GdkR$8pXaIx=duC7LG~F5A*BiNYRq7kB)5uH>QH_+|jP7n_H`$+{bK22zXuOLl\nb>`F|XzwwcMhVDuu)pC^QeXT4P)h>@6aWAK2mq6s8^EeX~AToilV)A2_e6~zhOaP~KZvIOlqFiVW+60AOs)?J~q5l!-OgI;*jfY94W3Aib4Jnnk|YJ\n*Ng1Ga|{kpv)l&^K>8SV(XV+<$mHY8?a{!1#G)Y63H$85<@-{DTbUDCucxV6x07;%M+|!-MO9j<0Wi#", "detail": "BFLY1.get-pip", "documentation": {} }, { "label": "PamHandle", "kind": 6, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "class PamHandle(Structure):\n \"\"\"wrapper class for pam_handle_t pointer\"\"\"\n _fields_ = [(\"handle\", c_void_p)]\n def __init__(self):\n Structure.__init__(self)\n self.handle = 0\nclass PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):", "detail": "BFLY1.pam", "documentation": {} }, { "label": "PamMessage", "kind": 6, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "class PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):\n return \"\" % (self.msg_style, self.msg)\nclass PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)", "detail": "BFLY1.pam", "documentation": {} }, { "label": "PamResponse", "kind": 6, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "class PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)\nconv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"", "detail": "BFLY1.pam", "documentation": {} }, { "label": "PamConv", "kind": 6, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "class PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))", "detail": "BFLY1.pam", "documentation": {} }, { "label": "PAM", "kind": 6, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "class PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.\n Returns True for success, or False for failure.", "detail": "BFLY1.pam", "documentation": {} }, { "label": "login_prompt", "kind": 2, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "def login_prompt(username, profile, env):\n pam = PAM()\n success = pam.authenticate(username, profile)\n print('{} {}'.format(pam.code, pam.reason))\n if success:\n su = '/usr/bin/su'\n if not os.path.exists(su):\n su = '/bin/su'\n os.execvpe(su, [su, '-l', username], env)\n return success", "detail": "BFLY1.pam", "documentation": {} }, { "label": "conv_func", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "conv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3", "detail": "BFLY1.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_OFF", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "PAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p", "detail": "BFLY1.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_ON", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "PAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]", "detail": "BFLY1.pam", "documentation": {} }, { "label": "PAM_ERROR_MSG", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "PAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end", "detail": "BFLY1.pam", "documentation": {} }, { "label": "PAM_TEXT_INFO", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "PAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int", "detail": "BFLY1.pam", "documentation": {} }, { "label": "PAM_REINITIALIZE_CRED", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "PAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]", "detail": "BFLY1.pam", "documentation": {} }, { "label": "libc", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "libc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start", "detail": "BFLY1.pam", "documentation": {} }, { "label": "libpam", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "libpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int", "detail": "BFLY1.pam", "documentation": {} }, { "label": "libpam_misc", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "libpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]", "detail": "BFLY1.pam", "documentation": {} }, { "label": "calloc", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "calloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred", "detail": "BFLY1.pam", "documentation": {} }, { "label": "calloc.restype", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "calloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int", "detail": "BFLY1.pam", "documentation": {} }, { "label": "calloc.argtypes", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "calloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]", "detail": "BFLY1.pam", "documentation": {} }, { "label": "pam_end", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "pam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror", "detail": "BFLY1.pam", "documentation": {} }, { "label": "pam_end.restype", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "pam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p", "detail": "BFLY1.pam", "documentation": {} }, { "label": "pam_end.argtypes", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "pam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]", "detail": "BFLY1.pam", "documentation": {} }, { "label": "pam_start", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "pam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate", "detail": "BFLY1.pam", "documentation": {} }, { "label": "pam_start.restype", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "pam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int", "detail": "BFLY1.pam", "documentation": {} }, { "label": "pam_start.argtypes", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "pam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]", "detail": "BFLY1.pam", "documentation": {} }, { "label": "pam_setcred", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "pam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv", "detail": "BFLY1.pam", "documentation": {} }, { "label": "pam_setcred.restype", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "pam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():", "detail": "BFLY1.pam", "documentation": {} }, { "label": "pam_setcred.argtypes", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "pam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0", "detail": "BFLY1.pam", "documentation": {} }, { "label": "pam_strerror", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "pam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None", "detail": "BFLY1.pam", "documentation": {} }, { "label": "pam_strerror.restype", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "pam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):", "detail": "BFLY1.pam", "documentation": {} }, { "label": "pam_strerror.argtypes", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "pam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass", "detail": "BFLY1.pam", "documentation": {} }, { "label": "pam_authenticate", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "pam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(", "detail": "BFLY1.pam", "documentation": {} }, { "label": "pam_authenticate.restype", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "pam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,", "detail": "BFLY1.pam", "documentation": {} }, { "label": "pam_authenticate.argtypes", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "pam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):", "detail": "BFLY1.pam", "documentation": {} }, { "label": "misc_conv", "kind": 5, "importPath": "BFLY1.pam", "description": "BFLY1.pam", "peekOfCode": "misc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.", "detail": "BFLY1.pam", "documentation": {} }, { "label": "Index", "kind": 6, "importPath": "BFLY1.routes", "description": "BFLY1.routes", "peekOfCode": "class Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:\n raise tornado.web.HTTPError(400)\n return self.render(\n 'index.html', session=session or str(uuid4()))\n@url(r'/theme/([^/]+)/style.css')\nclass Theme(Route):", "detail": "BFLY1.routes", "documentation": {} }, { "label": "Theme", "kind": 6, "importPath": "BFLY1.routes", "description": "BFLY1.routes", "peekOfCode": "class Theme(Route):\n def get(self, theme):\n self.log.info('Getting style')\n try:\n import sass\n sass.CompileError\n except Exception:\n self.log.error(\n 'You must install libsass to use sass '\n '(pip install libsass)')", "detail": "BFLY1.routes", "documentation": {} }, { "label": "ThemeStatic", "kind": 6, "importPath": "BFLY1.routes", "description": "BFLY1.routes", "peekOfCode": "class ThemeStatic(Route):\n def get(self, theme, name):\n if '..' in name:\n raise tornado.web.HTTPError(403)\n base_dir = self.get_theme_dir(theme)\n fn = os.path.normpath(os.path.join(base_dir, name))\n if not fn.startswith(base_dir):\n raise tornado.web.HTTPError(403)\n if os.path.exists(fn):\n type = guess_type(fn)[0]", "detail": "BFLY1.routes", "documentation": {} }, { "label": "KeptAliveWebSocketHandler", "kind": 6, "importPath": "BFLY1.routes", "description": "BFLY1.routes", "peekOfCode": "class KeptAliveWebSocketHandler(tornado.websocket.WebSocketHandler):\n keepalive_timer = None\n def open(self, *args, **kwargs):\n self.keepalive_timer = tornado.ioloop.PeriodicCallback(\n self.send_ping, tornado.options.options.keepalive_interval * 1000)\n self.keepalive_timer.start()\n def send_ping(self):\n t = int(time.time())\n frame = struct.pack('[^/]+)/?)?')\nclass Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:", "detail": "BFLY1.routes", "documentation": {} }, { "label": "about", "kind": 5, "importPath": "BFLY1.setup", "description": "BFLY1.setup", "peekOfCode": "about = {}\nwith open(os.path.join(\n os.path.dirname(__file__), \"butterfly\", \"__about__.py\")) as f:\n exec(f.read(), about)\nsetup(\n name=about['__title__'],\n version=about['__version__'],\n description=about['__summary__'],\n url=about['__uri__'],\n author=about['__author__'],", "detail": "BFLY1.setup", "documentation": {} }, { "label": "Terminal", "kind": 6, "importPath": "BFLY1.terminal", "description": "BFLY1.terminal", "peekOfCode": "class Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):\n self.sessions[session] = self\n self.history_size = 50000\n self.history = ''\n self.uri = uri\n self.session = session\n self.broadcast = broadcast", "detail": "BFLY1.terminal", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "BFLY1.terminal", "description": "BFLY1.terminal", "peekOfCode": "log = getLogger('butterfly')\nioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):", "detail": "BFLY1.terminal", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "BFLY1.terminal", "description": "BFLY1.terminal", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}", "detail": "BFLY1.terminal", "documentation": {} }, { "label": "server", "kind": 5, "importPath": "BFLY1.terminal", "description": "BFLY1.terminal", "peekOfCode": "server = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,", "detail": "BFLY1.terminal", "documentation": {} }, { "label": "daemon", "kind": 5, "importPath": "BFLY1.terminal", "description": "BFLY1.terminal", "peekOfCode": "daemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):", "detail": "BFLY1.terminal", "documentation": {} }, { "label": "User", "kind": 6, "importPath": "BFLY1.utils", "description": "BFLY1.utils", "peekOfCode": "class User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:\n uid = os.getuid()\n if uid is not None:\n self.pw = pwd.getpwuid(uid)\n else:\n self.pw = pwd.getpwnam(name)\n if self.pw is None:\n raise LookupError('Unknown user')", "detail": "BFLY1.utils", "documentation": {} }, { "label": "Socket", "kind": 6, "importPath": "BFLY1.utils", "description": "BFLY1.utils", "peekOfCode": "class Socket(object):\n def __init__(self, socket):\n sn = socket.getsockname()\n self.local_addr = sn[0]\n self.local_port = sn[1]\n try:\n pn = socket.getpeername()\n self.remote_addr = pn[0]\n self.remote_port = pn[1]\n except Exception:", "detail": "BFLY1.utils", "documentation": {} }, { "label": "AnsiColors", "kind": 6, "importPath": "BFLY1.utils", "description": "BFLY1.utils", "peekOfCode": "class AnsiColors(object):\n colors = {\n 'black': 30,\n 'red': 31,\n 'green': 32,\n 'yellow': 33,\n 'blue': 34,\n 'magenta': 35,\n 'cyan': 36,\n 'white': 37", "detail": "BFLY1.utils", "documentation": {} }, { "label": "get_hex_ip_port", "kind": 2, "importPath": "BFLY1.utils", "description": "BFLY1.utils", "peekOfCode": "def get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),\n int(splits[2]),", "detail": "BFLY1.utils", "documentation": {} }, { "label": "parse_cert", "kind": 2, "importPath": "BFLY1.utils", "description": "BFLY1.utils", "peekOfCode": "def parse_cert(cert):\n user = None\n for elt in cert['subject']:\n user = dict(elt).get('commonName', None)\n if user:\n break\n return user\nclass User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:", "detail": "BFLY1.utils", "documentation": {} }, { "label": "get_lsof_socket_line", "kind": 2, "importPath": "BFLY1.utils", "description": "BFLY1.utils", "peekOfCode": "def get_lsof_socket_line(addr, port):\n # May want to make this into a dictionary in the future...\n regex = \"\\w+\\s+(?P\\d+)\\s+(?P\\w+).*\\s\" \\\n \"(?P.*?):(?P\\d+)->(?P.*?):(?P\\d+)\"\n output = subprocess.check_output(['lsof', '-Pni']).decode('utf-8')\n lines = output.split('\\n')\n for line in lines:\n # Look for local address with peer port\n match = re.findall(regex, line)\n if len(match):", "detail": "BFLY1.utils", "documentation": {} }, { "label": "get_procfs_socket_line", "kind": 2, "importPath": "BFLY1.utils", "description": "BFLY1.utils", "peekOfCode": "def get_procfs_socket_line(hex_ip_port):\n fn = None\n if len(hex_ip_port) == 13: # ipv4\n fn = '/proc/net/tcp'\n elif len(hex_ip_port) == 37: # ipv6\n fn = '/proc/net/tcp6'\n if not fn:\n return\n try:\n with open(fn) as k:", "detail": "BFLY1.utils", "documentation": {} }, { "label": "get_socket_env", "kind": 2, "importPath": "BFLY1.utils", "description": "BFLY1.utils", "peekOfCode": "def get_socket_env(inode, user):\n for pid in os.listdir(\"/proc/\"):\n if not pid.isdigit():\n continue\n try:\n with open('/proc/%s/cmdline' % pid) as c:\n command = c.read().split('\\x00')\n executable = command[0].split('/')[-1]\n if executable in ('sh', 'bash', 'zsh'):\n executable = command[1].split('/')[-1]", "detail": "BFLY1.utils", "documentation": {} }, { "label": "get_utmp_file", "kind": 2, "importPath": "BFLY1.utils", "description": "BFLY1.utils", "peekOfCode": "def get_utmp_file():\n for file in (\n '/var/run/utmp',\n '/var/adm/utmp',\n '/var/adm/utmpx',\n '/etc/utmp',\n '/etc/utmpx',\n '/var/run/utx.active'):\n if os.path.exists(file):\n return file", "detail": "BFLY1.utils", "documentation": {} }, { "label": "get_wtmp_file", "kind": 2, "importPath": "BFLY1.utils", "description": "BFLY1.utils", "peekOfCode": "def get_wtmp_file():\n for file in (\n '/var/log/wtmp',\n '/var/adm/wtmp',\n '/var/adm/wtmpx',\n '/var/run/utx.log'):\n if os.path.exists(file):\n return file\nUTmp = namedtuple(\n 'UTmp',", "detail": "BFLY1.utils", "documentation": {} }, { "label": "utmp_line", "kind": 2, "importPath": "BFLY1.utils", "description": "BFLY1.utils", "peekOfCode": "def utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line\n b(id), # id\n b(user), # user\n b(host), # host\n 0, # exit 0\n 0, # exit 1", "detail": "BFLY1.utils", "documentation": {} }, { "label": "add_user_info", "kind": 2, "importPath": "BFLY1.utils", "description": "BFLY1.utils", "peekOfCode": "def add_user_info(id, fd, pid, user, host):\n # Freebsd format is not yet supported.\n # Please submit PR\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 7, pid, fd, user, host, time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:", "detail": "BFLY1.utils", "documentation": {} }, { "label": "rm_user_info", "kind": 2, "importPath": "BFLY1.utils", "description": "BFLY1.utils", "peekOfCode": "def rm_user_info(id, pid):\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 8, pid, '', '', '', time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:\n continue\n try:", "detail": "BFLY1.utils", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "BFLY1.utils", "description": "BFLY1.utils", "peekOfCode": "log = getLogger('butterfly')\ndef get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),", "detail": "BFLY1.utils", "documentation": {} }, { "label": "utmp_struct", "kind": 5, "importPath": "BFLY1.utils", "description": "BFLY1.utils", "peekOfCode": "utmp_struct = struct.Struct('hi32s4s32s256shhiii4i20s')\nif sys.version_info[0] == 2:\n b = lambda x: x\nelse:\n def b(x):\n if isinstance(x, str):\n return x.encode('utf-8')\n return x\ndef get_utmp_file():\n for file in (", "detail": "BFLY1.utils", "documentation": {} }, { "label": "UTmp", "kind": 5, "importPath": "BFLY1.utils", "description": "BFLY1.utils", "peekOfCode": "UTmp = namedtuple(\n 'UTmp',\n ['type', 'pid', 'line', 'id', 'user', 'host',\n 'exit0', 'exit1', 'session',\n 'sec', 'usec', 'addr0', 'addr1', 'addr2', 'addr3', 'unused'])\ndef utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line", "detail": "BFLY1.utils", "documentation": {} }, { "label": "ansi_colors", "kind": 5, "importPath": "BFLY1.utils", "description": "BFLY1.utils", "peekOfCode": "ansi_colors = AnsiColors()", "detail": "BFLY1.utils", "documentation": {} }, { "label": "bin_dir", "kind": 5, "importPath": "butterfly.bin.activate_this", "description": "butterfly.bin.activate_this", "peekOfCode": "bin_dir = os.path.dirname(abs_file)\nbase = bin_dir[: -len(\"bin\") - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)", "detail": "butterfly.bin.activate_this", "documentation": {} }, { "label": "base", "kind": 5, "importPath": "butterfly.bin.activate_this", "description": "butterfly.bin.activate_this", "peekOfCode": "base = bin_dir[: -len(\"bin\") - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]", "detail": "butterfly.bin.activate_this", "documentation": {} }, { "label": "os.environ[\"PATH\"]", "kind": 5, "importPath": "butterfly.bin.activate_this", "description": "butterfly.bin.activate_this", "peekOfCode": "os.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "butterfly.bin.activate_this", "documentation": {} }, { "label": "os.environ[\"VIRTUAL_ENV\"]", "kind": 5, "importPath": "butterfly.bin.activate_this", "description": "butterfly.bin.activate_this", "peekOfCode": "os.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "butterfly.bin.activate_this", "documentation": {} }, { "label": "prev_length", "kind": 5, "importPath": "butterfly.bin.activate_this", "description": "butterfly.bin.activate_this", "peekOfCode": "prev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "butterfly.bin.activate_this", "documentation": {} }, { "label": "sys.path[:]", "kind": 5, "importPath": "butterfly.bin.activate_this", "description": "butterfly.bin.activate_this", "peekOfCode": "sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "butterfly.bin.activate_this", "documentation": {} }, { "label": "sys.real_prefix", "kind": 5, "importPath": "butterfly.bin.activate_this", "description": "butterfly.bin.activate_this", "peekOfCode": "sys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "butterfly.bin.activate_this", "documentation": {} }, { "label": "sys.prefix", "kind": 5, "importPath": "butterfly.bin.activate_this", "description": "butterfly.bin.activate_this", "peekOfCode": "sys.prefix = base", "detail": "butterfly.bin.activate_this", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly.build.lib.butterfly.bin.cat", "description": "butterfly.build.lib.butterfly.bin.cat", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly cat wrapper.')\nparser.add_argument('-o', action=\"store_true\",\n dest='original', help='Force original cat')\nparser.add_argument(\n 'files', metavar='FILES', nargs='+',\n help='Force original cat')\nargs, remaining = parser.parse_known_args()\nif args.original:\n os.execvp('/usr/bin/cat', remaining + args.files)\nfor file in args.files:", "detail": "butterfly.build.lib.butterfly.bin.cat", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly.build.lib.butterfly.bin.colors", "description": "butterfly.build.lib.butterfly.bin.colors", "peekOfCode": "parser = argparse.ArgumentParser(\n description='Butterfly terminal color tester.')\nparser.add_argument(\n '--colors',\n default='16',\n choices=['8', '16', '256', '16M'],\n help='Set the color mode to test')\nargs = parser.parse_args()\nprint()\nif args.colors in ['8', '16']:", "detail": "butterfly.build.lib.butterfly.bin.colors", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "butterfly.build.lib.butterfly.bin.colors", "description": "butterfly.build.lib.butterfly.bin.colors", "peekOfCode": "args = parser.parse_args()\nprint()\nif args.colors in ['8', '16']:\n print('Background\\n')\n for l in range(3):\n sys.stdout.write(' ')\n for i in range(8):\n sys.stdout.write('\\x1b[%dm \\x1b[m ' % (40 + i))\n sys.stdout.write('\\n')\n sys.stdout.flush()", "detail": "butterfly.build.lib.butterfly.bin.colors", "documentation": {} }, { "label": "path", "kind": 5, "importPath": "butterfly.build.lib.butterfly.bin.help", "description": "butterfly.build.lib.butterfly.bin.help", "peekOfCode": "path = os.getenv('BUTTERFLY_PATH')\nif path:\n path = os.path.join(path, '../static/images/favicon.png')\nif path and os.path.exists(path):\n with image('image/png'):\n with open(path, 'rb') as i:\n print(base64.b64encode(i.read()).decode('ascii'))\nprint(\"\"\"\nButterfly is a xterm compliant terminal built with python and javascript.\n{title}Terminal functionalities:{reset}", "detail": "butterfly.build.lib.butterfly.bin.help", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly.build.lib.butterfly.bin.html", "description": "butterfly.build.lib.butterfly.bin.html", "peekOfCode": "parser = argparse.ArgumentParser(\n description=\"Butterfly html converter.\\n\\n\"\n \"Output in html standard input.\\n\"\n \"Example: $ echo \\\"Bold\\\" | b html\",\n formatter_class=argparse.RawTextHelpFormatter)\nparser.parse_known_args()\nwith html():\n for line in fileinput.input():\n sys.stdout.write(line)", "detail": "butterfly.build.lib.butterfly.bin.html", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly.build.lib.butterfly.bin.open", "description": "butterfly.build.lib.butterfly.bin.open", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly tab opener.')\nparser.add_argument(\n 'location',\n nargs='?',\n default=os.getcwd(),\n help='Directory to open the new tab in. (Defaults to current)')\nargs = parser.parse_args()\nurl_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)", "detail": "butterfly.build.lib.butterfly.bin.open", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "butterfly.build.lib.butterfly.bin.open", "description": "butterfly.build.lib.butterfly.bin.open", "peekOfCode": "args = parser.parse_args()\nurl_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly.build.lib.butterfly.bin.open", "documentation": {} }, { "label": "url_parts", "kind": 5, "importPath": "butterfly.build.lib.butterfly.bin.open", "description": "butterfly.build.lib.butterfly.bin.open", "peekOfCode": "url_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly.build.lib.butterfly.bin.open", "documentation": {} }, { "label": "query", "kind": 5, "importPath": "butterfly.build.lib.butterfly.bin.open", "description": "butterfly.build.lib.butterfly.bin.open", "peekOfCode": "query = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly.build.lib.butterfly.bin.open", "documentation": {} }, { "label": "query['path']", "kind": 5, "importPath": "butterfly.build.lib.butterfly.bin.open", "description": "butterfly.build.lib.butterfly.bin.open", "peekOfCode": "query['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly.build.lib.butterfly.bin.open", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "butterfly.build.lib.butterfly.bin.open", "description": "butterfly.build.lib.butterfly.bin.open", "peekOfCode": "url = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly.build.lib.butterfly.bin.open", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly.build.lib.butterfly.bin.session", "description": "butterfly.build.lib.butterfly.bin.session", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly session opener.')\nparser.add_argument(\n 'session',\n help='Open or rattach a butterfly session. '\n '(Only in secure mode or in user unsecure mode (no su login))')\nargs = parser.parse_args()\nurl = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly.build.lib.butterfly.bin.session", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "butterfly.build.lib.butterfly.bin.session", "description": "butterfly.build.lib.butterfly.bin.session", "peekOfCode": "args = parser.parse_args()\nurl = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly.build.lib.butterfly.bin.session", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "butterfly.build.lib.butterfly.bin.session", "description": "butterfly.build.lib.butterfly.bin.session", "peekOfCode": "url = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly.build.lib.butterfly.bin.session", "documentation": {} }, { "label": "html", "kind": 2, "importPath": "butterfly.build.lib.butterfly.escapes", "description": "butterfly.build.lib.butterfly.escapes", "peekOfCode": "def html():\n sys.stdout.write('\\x1bP;HTML|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')", "detail": "butterfly.build.lib.butterfly.escapes", "documentation": {} }, { "label": "image", "kind": 2, "importPath": "butterfly.build.lib.butterfly.escapes", "description": "butterfly.build.lib.butterfly.escapes", "peekOfCode": "def image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')\n sys.stdout.flush()\n@contextmanager\ndef prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "butterfly.build.lib.butterfly.escapes", "documentation": {} }, { "label": "prompt", "kind": 2, "importPath": "butterfly.build.lib.butterfly.escapes", "description": "butterfly.build.lib.butterfly.escapes", "peekOfCode": "def prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "butterfly.build.lib.butterfly.escapes", "documentation": {} }, { "label": "text", "kind": 2, "importPath": "butterfly.build.lib.butterfly.escapes", "description": "butterfly.build.lib.butterfly.escapes", "peekOfCode": "def text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\ndef geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)", "detail": "butterfly.build.lib.butterfly.escapes", "documentation": {} }, { "label": "geolocation", "kind": 2, "importPath": "butterfly.build.lib.butterfly.escapes", "description": "butterfly.build.lib.butterfly.escapes", "peekOfCode": "def geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)\n try:\n tty.setraw(sys.stdin.fileno())\n rv = sys.stdin.read(1)\n if rv != '\\x1b':\n raise", "detail": "butterfly.build.lib.butterfly.escapes", "documentation": {} }, { "label": "PamHandle", "kind": 6, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "class PamHandle(Structure):\n \"\"\"wrapper class for pam_handle_t pointer\"\"\"\n _fields_ = [(\"handle\", c_void_p)]\n def __init__(self):\n Structure.__init__(self)\n self.handle = 0\nclass PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "PamMessage", "kind": 6, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "class PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):\n return \"\" % (self.msg_style, self.msg)\nclass PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "PamResponse", "kind": 6, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "class PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)\nconv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "PamConv", "kind": 6, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "class PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "PAM", "kind": 6, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "class PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.\n Returns True for success, or False for failure.", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "login_prompt", "kind": 2, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "def login_prompt(username, profile, env):\n pam = PAM()\n success = pam.authenticate(username, profile)\n print('{} {}'.format(pam.code, pam.reason))\n if success:\n su = '/usr/bin/su'\n if not os.path.exists(su):\n su = '/bin/su'\n os.execvpe(su, [su, '-l', username], env)\n return success", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "conv_func", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "conv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_OFF", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "PAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_ON", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "PAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "PAM_ERROR_MSG", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "PAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "PAM_TEXT_INFO", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "PAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "PAM_REINITIALIZE_CRED", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "PAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "libc", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "libc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "libpam", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "libpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "libpam_misc", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "libpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "calloc", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "calloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "calloc.restype", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "calloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "calloc.argtypes", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "calloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_end", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "pam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_end.restype", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "pam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_end.argtypes", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "pam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_start", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "pam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_start.restype", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "pam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_start.argtypes", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "pam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_setcred", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "pam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_setcred.restype", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "pam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_setcred.argtypes", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "pam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_strerror", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "pam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_strerror.restype", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "pam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_strerror.argtypes", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "pam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "pam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate.restype", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "pam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate.argtypes", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "pam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "misc_conv", "kind": 5, "importPath": "butterfly.build.lib.butterfly.pam", "description": "butterfly.build.lib.butterfly.pam", "peekOfCode": "misc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.", "detail": "butterfly.build.lib.butterfly.pam", "documentation": {} }, { "label": "Index", "kind": 6, "importPath": "butterfly.build.lib.butterfly.routes", "description": "butterfly.build.lib.butterfly.routes", "peekOfCode": "class Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:\n raise tornado.web.HTTPError(400)\n return self.render(\n 'index.html', session=session or str(uuid4()))\n@url(r'/theme/([^/]+)/style.css')\nclass Theme(Route):", "detail": "butterfly.build.lib.butterfly.routes", "documentation": {} }, { "label": "Theme", "kind": 6, "importPath": "butterfly.build.lib.butterfly.routes", "description": "butterfly.build.lib.butterfly.routes", "peekOfCode": "class Theme(Route):\n def get(self, theme):\n self.log.info('Getting style')\n try:\n import sass\n sass.CompileError\n except Exception:\n self.log.error(\n 'You must install libsass to use sass '\n '(pip install libsass)')", "detail": "butterfly.build.lib.butterfly.routes", "documentation": {} }, { "label": "ThemeStatic", "kind": 6, "importPath": "butterfly.build.lib.butterfly.routes", "description": "butterfly.build.lib.butterfly.routes", "peekOfCode": "class ThemeStatic(Route):\n def get(self, theme, name):\n if '..' in name:\n raise tornado.web.HTTPError(403)\n base_dir = self.get_theme_dir(theme)\n fn = os.path.normpath(os.path.join(base_dir, name))\n if not fn.startswith(base_dir):\n raise tornado.web.HTTPError(403)\n if os.path.exists(fn):\n type = guess_type(fn)[0]", "detail": "butterfly.build.lib.butterfly.routes", "documentation": {} }, { "label": "KeptAliveWebSocketHandler", "kind": 6, "importPath": "butterfly.build.lib.butterfly.routes", "description": "butterfly.build.lib.butterfly.routes", "peekOfCode": "class KeptAliveWebSocketHandler(tornado.websocket.WebSocketHandler):\n keepalive_timer = None\n def open(self, *args, **kwargs):\n self.keepalive_timer = tornado.ioloop.PeriodicCallback(\n self.send_ping, tornado.options.options.keepalive_interval * 1000)\n self.keepalive_timer.start()\n def send_ping(self):\n t = int(time.time())\n frame = struct.pack('[^/]+)/?)?')\nclass Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:", "detail": "butterfly.build.lib.butterfly.routes", "documentation": {} }, { "label": "Terminal", "kind": 6, "importPath": "butterfly.build.lib.butterfly.terminal", "description": "butterfly.build.lib.butterfly.terminal", "peekOfCode": "class Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):\n self.sessions[session] = self\n self.history_size = 50000\n self.history = ''\n self.uri = uri\n self.session = session\n self.broadcast = broadcast", "detail": "butterfly.build.lib.butterfly.terminal", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "butterfly.build.lib.butterfly.terminal", "description": "butterfly.build.lib.butterfly.terminal", "peekOfCode": "log = getLogger('butterfly')\nioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):", "detail": "butterfly.build.lib.butterfly.terminal", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "butterfly.build.lib.butterfly.terminal", "description": "butterfly.build.lib.butterfly.terminal", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}", "detail": "butterfly.build.lib.butterfly.terminal", "documentation": {} }, { "label": "server", "kind": 5, "importPath": "butterfly.build.lib.butterfly.terminal", "description": "butterfly.build.lib.butterfly.terminal", "peekOfCode": "server = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,", "detail": "butterfly.build.lib.butterfly.terminal", "documentation": {} }, { "label": "daemon", "kind": 5, "importPath": "butterfly.build.lib.butterfly.terminal", "description": "butterfly.build.lib.butterfly.terminal", "peekOfCode": "daemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):", "detail": "butterfly.build.lib.butterfly.terminal", "documentation": {} }, { "label": "User", "kind": 6, "importPath": "butterfly.build.lib.butterfly.utils", "description": "butterfly.build.lib.butterfly.utils", "peekOfCode": "class User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:\n uid = os.getuid()\n if uid is not None:\n self.pw = pwd.getpwuid(uid)\n else:\n self.pw = pwd.getpwnam(name)\n if self.pw is None:\n raise LookupError('Unknown user')", "detail": "butterfly.build.lib.butterfly.utils", "documentation": {} }, { "label": "Socket", "kind": 6, "importPath": "butterfly.build.lib.butterfly.utils", "description": "butterfly.build.lib.butterfly.utils", "peekOfCode": "class Socket(object):\n def __init__(self, socket):\n sn = socket.getsockname()\n self.local_addr = sn[0]\n self.local_port = sn[1]\n try:\n pn = socket.getpeername()\n self.remote_addr = pn[0]\n self.remote_port = pn[1]\n except Exception:", "detail": "butterfly.build.lib.butterfly.utils", "documentation": {} }, { "label": "AnsiColors", "kind": 6, "importPath": "butterfly.build.lib.butterfly.utils", "description": "butterfly.build.lib.butterfly.utils", "peekOfCode": "class AnsiColors(object):\n colors = {\n 'black': 30,\n 'red': 31,\n 'green': 32,\n 'yellow': 33,\n 'blue': 34,\n 'magenta': 35,\n 'cyan': 36,\n 'white': 37", "detail": "butterfly.build.lib.butterfly.utils", "documentation": {} }, { "label": "get_hex_ip_port", "kind": 2, "importPath": "butterfly.build.lib.butterfly.utils", "description": "butterfly.build.lib.butterfly.utils", "peekOfCode": "def get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),\n int(splits[2]),", "detail": "butterfly.build.lib.butterfly.utils", "documentation": {} }, { "label": "parse_cert", "kind": 2, "importPath": "butterfly.build.lib.butterfly.utils", "description": "butterfly.build.lib.butterfly.utils", "peekOfCode": "def parse_cert(cert):\n user = None\n for elt in cert['subject']:\n user = dict(elt).get('commonName', None)\n if user:\n break\n return user\nclass User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:", "detail": "butterfly.build.lib.butterfly.utils", "documentation": {} }, { "label": "get_lsof_socket_line", "kind": 2, "importPath": "butterfly.build.lib.butterfly.utils", "description": "butterfly.build.lib.butterfly.utils", "peekOfCode": "def get_lsof_socket_line(addr, port):\n # May want to make this into a dictionary in the future...\n regex = \"\\w+\\s+(?P\\d+)\\s+(?P\\w+).*\\s\" \\\n \"(?P.*?):(?P\\d+)->(?P.*?):(?P\\d+)\"\n output = subprocess.check_output(['lsof', '-Pni']).decode('utf-8')\n lines = output.split('\\n')\n for line in lines:\n # Look for local address with peer port\n match = re.findall(regex, line)\n if len(match):", "detail": "butterfly.build.lib.butterfly.utils", "documentation": {} }, { "label": "get_procfs_socket_line", "kind": 2, "importPath": "butterfly.build.lib.butterfly.utils", "description": "butterfly.build.lib.butterfly.utils", "peekOfCode": "def get_procfs_socket_line(hex_ip_port):\n fn = None\n if len(hex_ip_port) == 13: # ipv4\n fn = '/proc/net/tcp'\n elif len(hex_ip_port) == 37: # ipv6\n fn = '/proc/net/tcp6'\n if not fn:\n return\n try:\n with open(fn) as k:", "detail": "butterfly.build.lib.butterfly.utils", "documentation": {} }, { "label": "get_socket_env", "kind": 2, "importPath": "butterfly.build.lib.butterfly.utils", "description": "butterfly.build.lib.butterfly.utils", "peekOfCode": "def get_socket_env(inode, user):\n for pid in os.listdir(\"/proc/\"):\n if not pid.isdigit():\n continue\n try:\n with open('/proc/%s/cmdline' % pid) as c:\n command = c.read().split('\\x00')\n executable = command[0].split('/')[-1]\n if executable in ('sh', 'bash', 'zsh'):\n executable = command[1].split('/')[-1]", "detail": "butterfly.build.lib.butterfly.utils", "documentation": {} }, { "label": "get_utmp_file", "kind": 2, "importPath": "butterfly.build.lib.butterfly.utils", "description": "butterfly.build.lib.butterfly.utils", "peekOfCode": "def get_utmp_file():\n for file in (\n '/var/run/utmp',\n '/var/adm/utmp',\n '/var/adm/utmpx',\n '/etc/utmp',\n '/etc/utmpx',\n '/var/run/utx.active'):\n if os.path.exists(file):\n return file", "detail": "butterfly.build.lib.butterfly.utils", "documentation": {} }, { "label": "get_wtmp_file", "kind": 2, "importPath": "butterfly.build.lib.butterfly.utils", "description": "butterfly.build.lib.butterfly.utils", "peekOfCode": "def get_wtmp_file():\n for file in (\n '/var/log/wtmp',\n '/var/adm/wtmp',\n '/var/adm/wtmpx',\n '/var/run/utx.log'):\n if os.path.exists(file):\n return file\nUTmp = namedtuple(\n 'UTmp',", "detail": "butterfly.build.lib.butterfly.utils", "documentation": {} }, { "label": "utmp_line", "kind": 2, "importPath": "butterfly.build.lib.butterfly.utils", "description": "butterfly.build.lib.butterfly.utils", "peekOfCode": "def utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line\n b(id), # id\n b(user), # user\n b(host), # host\n 0, # exit 0\n 0, # exit 1", "detail": "butterfly.build.lib.butterfly.utils", "documentation": {} }, { "label": "add_user_info", "kind": 2, "importPath": "butterfly.build.lib.butterfly.utils", "description": "butterfly.build.lib.butterfly.utils", "peekOfCode": "def add_user_info(id, fd, pid, user, host):\n # Freebsd format is not yet supported.\n # Please submit PR\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 7, pid, fd, user, host, time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:", "detail": "butterfly.build.lib.butterfly.utils", "documentation": {} }, { "label": "rm_user_info", "kind": 2, "importPath": "butterfly.build.lib.butterfly.utils", "description": "butterfly.build.lib.butterfly.utils", "peekOfCode": "def rm_user_info(id, pid):\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 8, pid, '', '', '', time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:\n continue\n try:", "detail": "butterfly.build.lib.butterfly.utils", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "butterfly.build.lib.butterfly.utils", "description": "butterfly.build.lib.butterfly.utils", "peekOfCode": "log = getLogger('butterfly')\ndef get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),", "detail": "butterfly.build.lib.butterfly.utils", "documentation": {} }, { "label": "utmp_struct", "kind": 5, "importPath": "butterfly.build.lib.butterfly.utils", "description": "butterfly.build.lib.butterfly.utils", "peekOfCode": "utmp_struct = struct.Struct('hi32s4s32s256shhiii4i20s')\nif sys.version_info[0] == 2:\n b = lambda x: x\nelse:\n def b(x):\n if isinstance(x, str):\n return x.encode('utf-8')\n return x\ndef get_utmp_file():\n for file in (", "detail": "butterfly.build.lib.butterfly.utils", "documentation": {} }, { "label": "UTmp", "kind": 5, "importPath": "butterfly.build.lib.butterfly.utils", "description": "butterfly.build.lib.butterfly.utils", "peekOfCode": "UTmp = namedtuple(\n 'UTmp',\n ['type', 'pid', 'line', 'id', 'user', 'host',\n 'exit0', 'exit1', 'session',\n 'sec', 'usec', 'addr0', 'addr1', 'addr2', 'addr3', 'unused'])\ndef utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line", "detail": "butterfly.build.lib.butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "kind": 5, "importPath": "butterfly.build.lib.butterfly.utils", "description": "butterfly.build.lib.butterfly.utils", "peekOfCode": "ansi_colors = AnsiColors()", "detail": "butterfly.build.lib.butterfly.utils", "documentation": {} }, { "label": "to_abs", "kind": 2, "importPath": "butterfly.build.scripts-3.10.butterfly.server", "description": "butterfly.build.scripts-3.10.butterfly.server", "peekOfCode": "def to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',\n 'butterfly_%s.crt', 'butterfly_%s.key',\n '%s.p12'])\ndef fill_fields(subject):\n subject.C = 'WW'\n subject.O = 'Butterfly'\n subject.OU = 'Butterfly Terminal'", "detail": "butterfly.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "fill_fields", "kind": 2, "importPath": "butterfly.build.scripts-3.10.butterfly.server", "description": "butterfly.build.scripts-3.10.butterfly.server", "peekOfCode": "def fill_fields(subject):\n subject.C = 'WW'\n subject.O = 'Butterfly'\n subject.OU = 'Butterfly Terminal'\n subject.ST = 'World Wide'\n subject.L = 'Terminal'\ndef write(file, content):\n with open(file, 'wb') as fd:\n fd.write(content)\n print('Writing %s' % file)", "detail": "butterfly.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "write", "kind": 2, "importPath": "butterfly.build.scripts-3.10.butterfly.server", "description": "butterfly.build.scripts-3.10.butterfly.server", "peekOfCode": "def write(file, content):\n with open(file, 'wb') as fd:\n fd.write(content)\n print('Writing %s' % file)\ndef read(file):\n print('Reading %s' % file)\n with open(file, 'rb') as fd:\n return fd.read()\ndef b(s):\n return s.encode('utf-8')", "detail": "butterfly.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "read", "kind": 2, "importPath": "butterfly.build.scripts-3.10.butterfly.server", "description": "butterfly.build.scripts-3.10.butterfly.server", "peekOfCode": "def read(file):\n print('Reading %s' % file)\n with open(file, 'rb') as fd:\n return fd.read()\ndef b(s):\n return s.encode('utf-8')\nif options.generate_certs:\n from OpenSSL import crypto\n print('Generating certificates for %s (change it with --host)\\n' % host)\n if not os.path.exists(ca) and not os.path.exists(ca_key):", "detail": "butterfly.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "b", "kind": 2, "importPath": "butterfly.build.scripts-3.10.butterfly.server", "description": "butterfly.build.scripts-3.10.butterfly.server", "peekOfCode": "def b(s):\n return s.encode('utf-8')\nif options.generate_certs:\n from OpenSSL import crypto\n print('Generating certificates for %s (change it with --host)\\n' % host)\n if not os.path.exists(ca) and not os.path.exists(ca_key):\n print('Root certificate not found, generating it')\n ca_pk = crypto.PKey()\n ca_pk.generate_key(crypto.TYPE_RSA, 2048)\n ca_cert = crypto.X509()", "detail": "butterfly.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "butterfly_dir", "kind": 5, "importPath": "butterfly.build.scripts-3.10.butterfly.server", "description": "butterfly.build.scripts-3.10.butterfly.server", "peekOfCode": "butterfly_dir = os.path.join(ev, 'butterfly')\nconf_file = os.path.join(butterfly_dir, 'butterfly.conf')\nssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()", "detail": "butterfly.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "conf_file", "kind": 5, "importPath": "butterfly.build.scripts-3.10.butterfly.server", "description": "butterfly.build.scripts-3.10.butterfly.server", "peekOfCode": "conf_file = os.path.join(butterfly_dir, 'butterfly.conf')\nssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()\nif os.path.exists(tornado.options.options.conf):", "detail": "butterfly.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "ssl_dir", "kind": 5, "importPath": "butterfly.build.scripts-3.10.butterfly.server", "description": "butterfly.build.scripts-3.10.butterfly.server", "peekOfCode": "ssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()\nif os.path.exists(tornado.options.options.conf):\n tornado.options.parse_config_file(tornado.options.options.conf)", "detail": "butterfly.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "options", "kind": 5, "importPath": "butterfly.build.scripts-3.10.butterfly.server", "description": "butterfly.build.scripts-3.10.butterfly.server", "peekOfCode": "options = tornado.options.options\nfor logger in ('tornado.access', 'tornado.application',\n 'tornado.general', 'butterfly'):\n level = logging.WARNING\n if options.debug:\n level = logging.INFO\n if options.more:\n level = logging.DEBUG\n logging.getLogger(logger).setLevel(level)\nlog = logging.getLogger('butterfly')", "detail": "butterfly.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "butterfly.build.scripts-3.10.butterfly.server", "description": "butterfly.build.scripts-3.10.butterfly.server", "peekOfCode": "log = logging.getLogger('butterfly')\nhost = options.host\nport = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [", "detail": "butterfly.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "host", "kind": 5, "importPath": "butterfly.build.scripts-3.10.butterfly.server", "description": "butterfly.build.scripts-3.10.butterfly.server", "peekOfCode": "host = options.host\nport = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',", "detail": "butterfly.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "port", "kind": 5, "importPath": "butterfly.build.scripts-3.10.butterfly.server", "description": "butterfly.build.scripts-3.10.butterfly.server", "peekOfCode": "port = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',\n 'butterfly_%s.crt', 'butterfly_%s.key',", "detail": "butterfly.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "application.butterfly_dir", "kind": 5, "importPath": "butterfly.build.scripts-3.10.butterfly.server", "description": "butterfly.build.scripts-3.10.butterfly.server", "peekOfCode": "application.butterfly_dir = butterfly_dir\nlog.info('Starting server')\nhttp_server = HTTPServer(application, ssl_options=ssl_opts)\nhttp_server.listen(port, address=host)\nif getattr(http_server, 'systemd', False):\n os.environ.pop('LISTEN_PID')\n os.environ.pop('LISTEN_FDS')\nlog.info('Starting loop')\nioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:", "detail": "butterfly.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "http_server", "kind": 5, "importPath": "butterfly.build.scripts-3.10.butterfly.server", "description": "butterfly.build.scripts-3.10.butterfly.server", "peekOfCode": "http_server = HTTPServer(application, ssl_options=ssl_opts)\nhttp_server.listen(port, address=host)\nif getattr(http_server, 'systemd', False):\n os.environ.pop('LISTEN_PID')\n os.environ.pop('LISTEN_FDS')\nlog.info('Starting loop')\nioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:\n port = list(http_server._sockets.values())[0].getsockname()[1]\nurl = \"http%s://%s:%d/%s\" % (", "detail": "butterfly.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "butterfly.build.scripts-3.10.butterfly.server", "description": "butterfly.build.scripts-3.10.butterfly.server", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:\n port = list(http_server._sockets.values())[0].getsockname()[1]\nurl = \"http%s://%s:%d/%s\" % (\n \"s\" if not options.unsecure else \"\", host, port,\n (options.uri_root_path.strip('/') + '/') if options.uri_root_path else ''\n)\nif not options.one_shot or not webbrowser.open(url):\n log.warn('Butterfly is ready, open your browser to: %s' % url)\nioloop.start()", "detail": "butterfly.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "butterfly.build.scripts-3.10.butterfly.server", "description": "butterfly.build.scripts-3.10.butterfly.server", "peekOfCode": "url = \"http%s://%s:%d/%s\" % (\n \"s\" if not options.unsecure else \"\", host, port,\n (options.uri_root_path.strip('/') + '/') if options.uri_root_path else ''\n)\nif not options.one_shot or not webbrowser.open(url):\n log.warn('Butterfly is ready, open your browser to: %s' % url)\nioloop.start()", "detail": "butterfly.build.scripts-3.10.butterfly.server", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly.butterfly.bin.cat", "description": "butterfly.butterfly.bin.cat", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly cat wrapper.')\nparser.add_argument('-o', action=\"store_true\",\n dest='original', help='Force original cat')\nparser.add_argument(\n 'files', metavar='FILES', nargs='+',\n help='Force original cat')\nargs, remaining = parser.parse_known_args()\nif args.original:\n os.execvp('/usr/bin/cat', remaining + args.files)\nfor file in args.files:", "detail": "butterfly.butterfly.bin.cat", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly.butterfly.bin.colors", "description": "butterfly.butterfly.bin.colors", "peekOfCode": "parser = argparse.ArgumentParser(\n description='Butterfly terminal color tester.')\nparser.add_argument(\n '--colors',\n default='16',\n choices=['8', '16', '256', '16M'],\n help='Set the color mode to test')\nargs = parser.parse_args()\nprint()\nif args.colors in ['8', '16']:", "detail": "butterfly.butterfly.bin.colors", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "butterfly.butterfly.bin.colors", "description": "butterfly.butterfly.bin.colors", "peekOfCode": "args = parser.parse_args()\nprint()\nif args.colors in ['8', '16']:\n print('Background\\n')\n for l in range(3):\n sys.stdout.write(' ')\n for i in range(8):\n sys.stdout.write('\\x1b[%dm \\x1b[m ' % (40 + i))\n sys.stdout.write('\\n')\n sys.stdout.flush()", "detail": "butterfly.butterfly.bin.colors", "documentation": {} }, { "label": "path", "kind": 5, "importPath": "butterfly.butterfly.bin.help", "description": "butterfly.butterfly.bin.help", "peekOfCode": "path = os.getenv('BUTTERFLY_PATH')\nif path:\n path = os.path.join(path, '../static/images/favicon.png')\nif path and os.path.exists(path):\n with image('image/png'):\n with open(path, 'rb') as i:\n print(base64.b64encode(i.read()).decode('ascii'))\nprint(\"\"\"\nButterfly is a xterm compliant terminal built with python and javascript.\n{title}Terminal functionalities:{reset}", "detail": "butterfly.butterfly.bin.help", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly.butterfly.bin.html", "description": "butterfly.butterfly.bin.html", "peekOfCode": "parser = argparse.ArgumentParser(\n description=\"Butterfly html converter.\\n\\n\"\n \"Output in html standard input.\\n\"\n \"Example: $ echo \\\"Bold\\\" | b html\",\n formatter_class=argparse.RawTextHelpFormatter)\nparser.parse_known_args()\nwith html():\n for line in fileinput.input():\n sys.stdout.write(line)", "detail": "butterfly.butterfly.bin.html", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly.butterfly.bin.open", "description": "butterfly.butterfly.bin.open", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly tab opener.')\nparser.add_argument(\n 'location',\n nargs='?',\n default=os.getcwd(),\n help='Directory to open the new tab in. (Defaults to current)')\nargs = parser.parse_args()\nurl_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)", "detail": "butterfly.butterfly.bin.open", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "butterfly.butterfly.bin.open", "description": "butterfly.butterfly.bin.open", "peekOfCode": "args = parser.parse_args()\nurl_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly.butterfly.bin.open", "documentation": {} }, { "label": "url_parts", "kind": 5, "importPath": "butterfly.butterfly.bin.open", "description": "butterfly.butterfly.bin.open", "peekOfCode": "url_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly.butterfly.bin.open", "documentation": {} }, { "label": "query", "kind": 5, "importPath": "butterfly.butterfly.bin.open", "description": "butterfly.butterfly.bin.open", "peekOfCode": "query = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly.butterfly.bin.open", "documentation": {} }, { "label": "query['path']", "kind": 5, "importPath": "butterfly.butterfly.bin.open", "description": "butterfly.butterfly.bin.open", "peekOfCode": "query['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly.butterfly.bin.open", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "butterfly.butterfly.bin.open", "description": "butterfly.butterfly.bin.open", "peekOfCode": "url = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly.butterfly.bin.open", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly.butterfly.bin.session", "description": "butterfly.butterfly.bin.session", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly session opener.')\nparser.add_argument(\n 'session',\n help='Open or rattach a butterfly session. '\n '(Only in secure mode or in user unsecure mode (no su login))')\nargs = parser.parse_args()\nurl = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly.butterfly.bin.session", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "butterfly.butterfly.bin.session", "description": "butterfly.butterfly.bin.session", "peekOfCode": "args = parser.parse_args()\nurl = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly.butterfly.bin.session", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "butterfly.butterfly.bin.session", "description": "butterfly.butterfly.bin.session", "peekOfCode": "url = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly.butterfly.bin.session", "documentation": {} }, { "label": "html", "kind": 2, "importPath": "butterfly.butterfly.escapes", "description": "butterfly.butterfly.escapes", "peekOfCode": "def html():\n sys.stdout.write('\\x1bP;HTML|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')", "detail": "butterfly.butterfly.escapes", "documentation": {} }, { "label": "image", "kind": 2, "importPath": "butterfly.butterfly.escapes", "description": "butterfly.butterfly.escapes", "peekOfCode": "def image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')\n sys.stdout.flush()\n@contextmanager\ndef prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "butterfly.butterfly.escapes", "documentation": {} }, { "label": "prompt", "kind": 2, "importPath": "butterfly.butterfly.escapes", "description": "butterfly.butterfly.escapes", "peekOfCode": "def prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "butterfly.butterfly.escapes", "documentation": {} }, { "label": "text", "kind": 2, "importPath": "butterfly.butterfly.escapes", "description": "butterfly.butterfly.escapes", "peekOfCode": "def text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\ndef geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)", "detail": "butterfly.butterfly.escapes", "documentation": {} }, { "label": "geolocation", "kind": 2, "importPath": "butterfly.butterfly.escapes", "description": "butterfly.butterfly.escapes", "peekOfCode": "def geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)\n try:\n tty.setraw(sys.stdin.fileno())\n rv = sys.stdin.read(1)\n if rv != '\\x1b':\n raise", "detail": "butterfly.butterfly.escapes", "documentation": {} }, { "label": "PamHandle", "kind": 6, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "class PamHandle(Structure):\n \"\"\"wrapper class for pam_handle_t pointer\"\"\"\n _fields_ = [(\"handle\", c_void_p)]\n def __init__(self):\n Structure.__init__(self)\n self.handle = 0\nclass PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "PamMessage", "kind": 6, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "class PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):\n return \"\" % (self.msg_style, self.msg)\nclass PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "PamResponse", "kind": 6, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "class PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)\nconv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "PamConv", "kind": 6, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "class PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "PAM", "kind": 6, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "class PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.\n Returns True for success, or False for failure.", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "login_prompt", "kind": 2, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "def login_prompt(username, profile, env):\n pam = PAM()\n success = pam.authenticate(username, profile)\n print('{} {}'.format(pam.code, pam.reason))\n if success:\n su = '/usr/bin/su'\n if not os.path.exists(su):\n su = '/bin/su'\n os.execvpe(su, [su, '-l', username], env)\n return success", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "conv_func", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "conv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_OFF", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "PAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_ON", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "PAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "PAM_ERROR_MSG", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "PAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "PAM_TEXT_INFO", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "PAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "PAM_REINITIALIZE_CRED", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "PAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "libc", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "libc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "libpam", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "libpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "libpam_misc", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "libpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "calloc", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "calloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "calloc.restype", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "calloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "calloc.argtypes", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "calloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_end", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "pam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_end.restype", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "pam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_end.argtypes", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "pam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_start", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "pam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_start.restype", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "pam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_start.argtypes", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "pam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_setcred", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "pam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_setcred.restype", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "pam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_setcred.argtypes", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "pam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_strerror", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "pam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_strerror.restype", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "pam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_strerror.argtypes", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "pam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "pam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate.restype", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "pam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate.argtypes", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "pam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "misc_conv", "kind": 5, "importPath": "butterfly.butterfly.pam", "description": "butterfly.butterfly.pam", "peekOfCode": "misc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.", "detail": "butterfly.butterfly.pam", "documentation": {} }, { "label": "Index", "kind": 6, "importPath": "butterfly.butterfly.routes", "description": "butterfly.butterfly.routes", "peekOfCode": "class Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:\n raise tornado.web.HTTPError(400)\n return self.render(\n 'index.html', session=session or str(uuid4()))\n@url(r'/theme/([^/]+)/style.css')\nclass Theme(Route):", "detail": "butterfly.butterfly.routes", "documentation": {} }, { "label": "Theme", "kind": 6, "importPath": "butterfly.butterfly.routes", "description": "butterfly.butterfly.routes", "peekOfCode": "class Theme(Route):\n def get(self, theme):\n self.log.info('Getting style')\n try:\n import sass\n sass.CompileError\n except Exception:\n self.log.error(\n 'You must install libsass to use sass '\n '(pip install libsass)')", "detail": "butterfly.butterfly.routes", "documentation": {} }, { "label": "ThemeStatic", "kind": 6, "importPath": "butterfly.butterfly.routes", "description": "butterfly.butterfly.routes", "peekOfCode": "class ThemeStatic(Route):\n def get(self, theme, name):\n if '..' in name:\n raise tornado.web.HTTPError(403)\n base_dir = self.get_theme_dir(theme)\n fn = os.path.normpath(os.path.join(base_dir, name))\n if not fn.startswith(base_dir):\n raise tornado.web.HTTPError(403)\n if os.path.exists(fn):\n type = guess_type(fn)[0]", "detail": "butterfly.butterfly.routes", "documentation": {} }, { "label": "KeptAliveWebSocketHandler", "kind": 6, "importPath": "butterfly.butterfly.routes", "description": "butterfly.butterfly.routes", "peekOfCode": "class KeptAliveWebSocketHandler(tornado.websocket.WebSocketHandler):\n keepalive_timer = None\n def open(self, *args, **kwargs):\n self.keepalive_timer = tornado.ioloop.PeriodicCallback(\n self.send_ping, tornado.options.options.keepalive_interval * 1000)\n self.keepalive_timer.start()\n def send_ping(self):\n t = int(time.time())\n frame = struct.pack('[^/]+)/?)?')\nclass Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:", "detail": "butterfly.butterfly.routes", "documentation": {} }, { "label": "Terminal", "kind": 6, "importPath": "butterfly.butterfly.terminal", "description": "butterfly.butterfly.terminal", "peekOfCode": "class Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):\n self.sessions[session] = self\n self.history_size = 50000\n self.history = ''\n self.uri = uri\n self.session = session\n self.broadcast = broadcast", "detail": "butterfly.butterfly.terminal", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "butterfly.butterfly.terminal", "description": "butterfly.butterfly.terminal", "peekOfCode": "log = getLogger('butterfly')\nioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):", "detail": "butterfly.butterfly.terminal", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "butterfly.butterfly.terminal", "description": "butterfly.butterfly.terminal", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}", "detail": "butterfly.butterfly.terminal", "documentation": {} }, { "label": "server", "kind": 5, "importPath": "butterfly.butterfly.terminal", "description": "butterfly.butterfly.terminal", "peekOfCode": "server = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,", "detail": "butterfly.butterfly.terminal", "documentation": {} }, { "label": "daemon", "kind": 5, "importPath": "butterfly.butterfly.terminal", "description": "butterfly.butterfly.terminal", "peekOfCode": "daemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):", "detail": "butterfly.butterfly.terminal", "documentation": {} }, { "label": "User", "kind": 6, "importPath": "butterfly.butterfly.utils", "description": "butterfly.butterfly.utils", "peekOfCode": "class User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:\n uid = os.getuid()\n if uid is not None:\n self.pw = pwd.getpwuid(uid)\n else:\n self.pw = pwd.getpwnam(name)\n if self.pw is None:\n raise LookupError('Unknown user')", "detail": "butterfly.butterfly.utils", "documentation": {} }, { "label": "Socket", "kind": 6, "importPath": "butterfly.butterfly.utils", "description": "butterfly.butterfly.utils", "peekOfCode": "class Socket(object):\n def __init__(self, socket):\n sn = socket.getsockname()\n self.local_addr = sn[0]\n self.local_port = sn[1]\n try:\n pn = socket.getpeername()\n self.remote_addr = pn[0]\n self.remote_port = pn[1]\n except Exception:", "detail": "butterfly.butterfly.utils", "documentation": {} }, { "label": "AnsiColors", "kind": 6, "importPath": "butterfly.butterfly.utils", "description": "butterfly.butterfly.utils", "peekOfCode": "class AnsiColors(object):\n colors = {\n 'black': 30,\n 'red': 31,\n 'green': 32,\n 'yellow': 33,\n 'blue': 34,\n 'magenta': 35,\n 'cyan': 36,\n 'white': 37", "detail": "butterfly.butterfly.utils", "documentation": {} }, { "label": "get_hex_ip_port", "kind": 2, "importPath": "butterfly.butterfly.utils", "description": "butterfly.butterfly.utils", "peekOfCode": "def get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),\n int(splits[2]),", "detail": "butterfly.butterfly.utils", "documentation": {} }, { "label": "parse_cert", "kind": 2, "importPath": "butterfly.butterfly.utils", "description": "butterfly.butterfly.utils", "peekOfCode": "def parse_cert(cert):\n user = None\n for elt in cert['subject']:\n user = dict(elt).get('commonName', None)\n if user:\n break\n return user\nclass User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:", "detail": "butterfly.butterfly.utils", "documentation": {} }, { "label": "get_lsof_socket_line", "kind": 2, "importPath": "butterfly.butterfly.utils", "description": "butterfly.butterfly.utils", "peekOfCode": "def get_lsof_socket_line(addr, port):\n # May want to make this into a dictionary in the future...\n regex = \"\\w+\\s+(?P\\d+)\\s+(?P\\w+).*\\s\" \\\n \"(?P.*?):(?P\\d+)->(?P.*?):(?P\\d+)\"\n output = subprocess.check_output(['lsof', '-Pni']).decode('utf-8')\n lines = output.split('\\n')\n for line in lines:\n # Look for local address with peer port\n match = re.findall(regex, line)\n if len(match):", "detail": "butterfly.butterfly.utils", "documentation": {} }, { "label": "get_procfs_socket_line", "kind": 2, "importPath": "butterfly.butterfly.utils", "description": "butterfly.butterfly.utils", "peekOfCode": "def get_procfs_socket_line(hex_ip_port):\n fn = None\n if len(hex_ip_port) == 13: # ipv4\n fn = '/proc/net/tcp'\n elif len(hex_ip_port) == 37: # ipv6\n fn = '/proc/net/tcp6'\n if not fn:\n return\n try:\n with open(fn) as k:", "detail": "butterfly.butterfly.utils", "documentation": {} }, { "label": "get_socket_env", "kind": 2, "importPath": "butterfly.butterfly.utils", "description": "butterfly.butterfly.utils", "peekOfCode": "def get_socket_env(inode, user):\n for pid in os.listdir(\"/proc/\"):\n if not pid.isdigit():\n continue\n try:\n with open('/proc/%s/cmdline' % pid) as c:\n command = c.read().split('\\x00')\n executable = command[0].split('/')[-1]\n if executable in ('sh', 'bash', 'zsh'):\n executable = command[1].split('/')[-1]", "detail": "butterfly.butterfly.utils", "documentation": {} }, { "label": "get_utmp_file", "kind": 2, "importPath": "butterfly.butterfly.utils", "description": "butterfly.butterfly.utils", "peekOfCode": "def get_utmp_file():\n for file in (\n '/var/run/utmp',\n '/var/adm/utmp',\n '/var/adm/utmpx',\n '/etc/utmp',\n '/etc/utmpx',\n '/var/run/utx.active'):\n if os.path.exists(file):\n return file", "detail": "butterfly.butterfly.utils", "documentation": {} }, { "label": "get_wtmp_file", "kind": 2, "importPath": "butterfly.butterfly.utils", "description": "butterfly.butterfly.utils", "peekOfCode": "def get_wtmp_file():\n for file in (\n '/var/log/wtmp',\n '/var/adm/wtmp',\n '/var/adm/wtmpx',\n '/var/run/utx.log'):\n if os.path.exists(file):\n return file\nUTmp = namedtuple(\n 'UTmp',", "detail": "butterfly.butterfly.utils", "documentation": {} }, { "label": "utmp_line", "kind": 2, "importPath": "butterfly.butterfly.utils", "description": "butterfly.butterfly.utils", "peekOfCode": "def utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line\n b(id), # id\n b(user), # user\n b(host), # host\n 0, # exit 0\n 0, # exit 1", "detail": "butterfly.butterfly.utils", "documentation": {} }, { "label": "add_user_info", "kind": 2, "importPath": "butterfly.butterfly.utils", "description": "butterfly.butterfly.utils", "peekOfCode": "def add_user_info(id, fd, pid, user, host):\n # Freebsd format is not yet supported.\n # Please submit PR\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 7, pid, fd, user, host, time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:", "detail": "butterfly.butterfly.utils", "documentation": {} }, { "label": "rm_user_info", "kind": 2, "importPath": "butterfly.butterfly.utils", "description": "butterfly.butterfly.utils", "peekOfCode": "def rm_user_info(id, pid):\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 8, pid, '', '', '', time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:\n continue\n try:", "detail": "butterfly.butterfly.utils", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "butterfly.butterfly.utils", "description": "butterfly.butterfly.utils", "peekOfCode": "log = getLogger('butterfly')\ndef get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),", "detail": "butterfly.butterfly.utils", "documentation": {} }, { "label": "utmp_struct", "kind": 5, "importPath": "butterfly.butterfly.utils", "description": "butterfly.butterfly.utils", "peekOfCode": "utmp_struct = struct.Struct('hi32s4s32s256shhiii4i20s')\nif sys.version_info[0] == 2:\n b = lambda x: x\nelse:\n def b(x):\n if isinstance(x, str):\n return x.encode('utf-8')\n return x\ndef get_utmp_file():\n for file in (", "detail": "butterfly.butterfly.utils", "documentation": {} }, { "label": "UTmp", "kind": 5, "importPath": "butterfly.butterfly.utils", "description": "butterfly.butterfly.utils", "peekOfCode": "UTmp = namedtuple(\n 'UTmp',\n ['type', 'pid', 'line', 'id', 'user', 'host',\n 'exit0', 'exit1', 'session',\n 'sec', 'usec', 'addr0', 'addr1', 'addr2', 'addr3', 'unused'])\ndef utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line", "detail": "butterfly.butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "kind": 5, "importPath": "butterfly.butterfly.utils", "description": "butterfly.butterfly.utils", "peekOfCode": "ansi_colors = AnsiColors()", "detail": "butterfly.butterfly.utils", "documentation": {} }, { "label": "to_abs", "kind": 2, "importPath": "butterfly.butterfly.server", "description": "butterfly.butterfly.server", "peekOfCode": "def to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',\n 'butterfly_%s.crt', 'butterfly_%s.key',\n '%s.p12'])\ndef fill_fields(subject):\n subject.C = 'WW'\n subject.O = 'Butterfly'\n subject.OU = 'Butterfly Terminal'", "detail": "butterfly.butterfly.server", "documentation": {} }, { "label": "fill_fields", "kind": 2, "importPath": "butterfly.butterfly.server", "description": "butterfly.butterfly.server", "peekOfCode": "def fill_fields(subject):\n subject.C = 'WW'\n subject.O = 'Butterfly'\n subject.OU = 'Butterfly Terminal'\n subject.ST = 'World Wide'\n subject.L = 'Terminal'\ndef write(file, content):\n with open(file, 'wb') as fd:\n fd.write(content)\n print('Writing %s' % file)", "detail": "butterfly.butterfly.server", "documentation": {} }, { "label": "write", "kind": 2, "importPath": "butterfly.butterfly.server", "description": "butterfly.butterfly.server", "peekOfCode": "def write(file, content):\n with open(file, 'wb') as fd:\n fd.write(content)\n print('Writing %s' % file)\ndef read(file):\n print('Reading %s' % file)\n with open(file, 'rb') as fd:\n return fd.read()\ndef b(s):\n return s.encode('utf-8')", "detail": "butterfly.butterfly.server", "documentation": {} }, { "label": "read", "kind": 2, "importPath": "butterfly.butterfly.server", "description": "butterfly.butterfly.server", "peekOfCode": "def read(file):\n print('Reading %s' % file)\n with open(file, 'rb') as fd:\n return fd.read()\ndef b(s):\n return s.encode('utf-8')\nif options.generate_certs:\n from OpenSSL import crypto\n print('Generating certificates for %s (change it with --host)\\n' % host)\n if not os.path.exists(ca) and not os.path.exists(ca_key):", "detail": "butterfly.butterfly.server", "documentation": {} }, { "label": "b", "kind": 2, "importPath": "butterfly.butterfly.server", "description": "butterfly.butterfly.server", "peekOfCode": "def b(s):\n return s.encode('utf-8')\nif options.generate_certs:\n from OpenSSL import crypto\n print('Generating certificates for %s (change it with --host)\\n' % host)\n if not os.path.exists(ca) and not os.path.exists(ca_key):\n print('Root certificate not found, generating it')\n ca_pk = crypto.PKey()\n ca_pk.generate_key(crypto.TYPE_RSA, 2048)\n ca_cert = crypto.X509()", "detail": "butterfly.butterfly.server", "documentation": {} }, { "label": "butterfly_dir", "kind": 5, "importPath": "butterfly.butterfly.server", "description": "butterfly.butterfly.server", "peekOfCode": "butterfly_dir = os.path.join(ev, 'butterfly')\nconf_file = os.path.join(butterfly_dir, 'butterfly.conf')\nssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()", "detail": "butterfly.butterfly.server", "documentation": {} }, { "label": "conf_file", "kind": 5, "importPath": "butterfly.butterfly.server", "description": "butterfly.butterfly.server", "peekOfCode": "conf_file = os.path.join(butterfly_dir, 'butterfly.conf')\nssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()\nif os.path.exists(tornado.options.options.conf):", "detail": "butterfly.butterfly.server", "documentation": {} }, { "label": "ssl_dir", "kind": 5, "importPath": "butterfly.butterfly.server", "description": "butterfly.butterfly.server", "peekOfCode": "ssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()\nif os.path.exists(tornado.options.options.conf):\n tornado.options.parse_config_file(tornado.options.options.conf)", "detail": "butterfly.butterfly.server", "documentation": {} }, { "label": "options", "kind": 5, "importPath": "butterfly.butterfly.server", "description": "butterfly.butterfly.server", "peekOfCode": "options = tornado.options.options\nfor logger in ('tornado.access', 'tornado.application',\n 'tornado.general', 'butterfly'):\n level = logging.WARNING\n if options.debug:\n level = logging.INFO\n if options.more:\n level = logging.DEBUG\n logging.getLogger(logger).setLevel(level)\nlog = logging.getLogger('butterfly')", "detail": "butterfly.butterfly.server", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "butterfly.butterfly.server", "description": "butterfly.butterfly.server", "peekOfCode": "log = logging.getLogger('butterfly')\nhost = options.host\nport = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [", "detail": "butterfly.butterfly.server", "documentation": {} }, { "label": "host", "kind": 5, "importPath": "butterfly.butterfly.server", "description": "butterfly.butterfly.server", "peekOfCode": "host = options.host\nport = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',", "detail": "butterfly.butterfly.server", "documentation": {} }, { "label": "port", "kind": 5, "importPath": "butterfly.butterfly.server", "description": "butterfly.butterfly.server", "peekOfCode": "port = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',\n 'butterfly_%s.crt', 'butterfly_%s.key',", "detail": "butterfly.butterfly.server", "documentation": {} }, { "label": "application.butterfly_dir", "kind": 5, "importPath": "butterfly.butterfly.server", "description": "butterfly.butterfly.server", "peekOfCode": "application.butterfly_dir = butterfly_dir\nlog.info('Starting server')\nhttp_server = HTTPServer(application, ssl_options=ssl_opts)\nhttp_server.listen(port, address=host)\nif getattr(http_server, 'systemd', False):\n os.environ.pop('LISTEN_PID')\n os.environ.pop('LISTEN_FDS')\nlog.info('Starting loop')\nioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:", "detail": "butterfly.butterfly.server", "documentation": {} }, { "label": "http_server", "kind": 5, "importPath": "butterfly.butterfly.server", "description": "butterfly.butterfly.server", "peekOfCode": "http_server = HTTPServer(application, ssl_options=ssl_opts)\nhttp_server.listen(port, address=host)\nif getattr(http_server, 'systemd', False):\n os.environ.pop('LISTEN_PID')\n os.environ.pop('LISTEN_FDS')\nlog.info('Starting loop')\nioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:\n port = list(http_server._sockets.values())[0].getsockname()[1]\nurl = \"http%s://%s:%d/%s\" % (", "detail": "butterfly.butterfly.server", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "butterfly.butterfly.server", "description": "butterfly.butterfly.server", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:\n port = list(http_server._sockets.values())[0].getsockname()[1]\nurl = \"http%s://%s:%d/%s\" % (\n \"s\" if not options.unsecure else \"\", host, port,\n (options.uri_root_path.strip('/') + '/') if options.uri_root_path else ''\n)\nif not options.one_shot or not webbrowser.open(url):\n log.warn('Butterfly is ready, open your browser to: %s' % url)\nioloop.start()", "detail": "butterfly.butterfly.server", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "butterfly.butterfly.server", "description": "butterfly.butterfly.server", "peekOfCode": "url = \"http%s://%s:%d/%s\" % (\n \"s\" if not options.unsecure else \"\", host, port,\n (options.uri_root_path.strip('/') + '/') if options.uri_root_path else ''\n)\nif not options.one_shot or not webbrowser.open(url):\n log.warn('Butterfly is ready, open your browser to: %s' % url)\nioloop.start()", "detail": "butterfly.butterfly.server", "documentation": {} }, { "label": "bootstrap", "kind": 2, "importPath": "butterfly.get-pip", "description": "butterfly.get-pip", "peekOfCode": "def bootstrap(tmpdir=None):\n # Import pip so we can use it to install pip and maybe setuptools too\n from pip._internal.cli.main import main as pip_entry_point\n from pip._internal.commands.install import InstallCommand\n from pip._internal.req.constructors import install_req_from_line\n # Wrapper to provide default certificate with the lowest priority\n # Due to pip._internal.commands.commands_dict structure, a monkeypatch\n # seems the simplest workaround.\n install_parse_args = InstallCommand.parse_args\n def cert_parse_args(self, args):", "detail": "butterfly.get-pip", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "butterfly.get-pip", "description": "butterfly.get-pip", "peekOfCode": "def main():\n tmpdir = None\n try:\n # Create a temporary working directory\n tmpdir = tempfile.mkdtemp()\n # Unpack the zipfile into the temporary directory\n pip_zip = os.path.join(tmpdir, \"pip.zip\")\n with open(pip_zip, \"wb\") as fp:\n fp.write(b85decode(DATA.replace(b\"\\n\", b\"\")))\n # Add the zipfile to sys.path so that we can import it", "detail": "butterfly.get-pip", "documentation": {} }, { "label": "PY2", "kind": 5, "importPath": "butterfly.get-pip", "description": "butterfly.get-pip", "peekOfCode": "PY2 = sys.version_info[0] == 2\nPY3 = sys.version_info[0] == 3\nif PY3:\n iterbytes = iter\nelse:\n def iterbytes(buf):\n return (ord(byte) for byte in buf)\ntry:\n from base64 import b85decode\nexcept ImportError:", "detail": "butterfly.get-pip", "documentation": {} }, { "label": "PY3", "kind": 5, "importPath": "butterfly.get-pip", "description": "butterfly.get-pip", "peekOfCode": "PY3 = sys.version_info[0] == 3\nif PY3:\n iterbytes = iter\nelse:\n def iterbytes(buf):\n return (ord(byte) for byte in buf)\ntry:\n from base64 import b85decode\nexcept ImportError:\n _b85alphabet = (b\"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\"", "detail": "butterfly.get-pip", "documentation": {} }, { "label": "DATA", "kind": 5, "importPath": "butterfly.get-pip", "description": "butterfly.get-pip", "peekOfCode": "DATA = b\"\"\"\nP)h>@6aWAK2mq6MtBUtcb8d2NtyYr-%Phu`N@9Nmj4xO9l\nHO>i(|e`H&gvAqzH5bae1Z4z?VNx%J4r5gi7-sG3#xx1$bt^#koRK_v}t4mq4DM@nUjopE%ybBEP%f(\nVnUmmBg>f9C_o<}\nCJ4)Qc90W9W61RSR7ahxNJ-SN9NCI2I;J^0_wz@oEd*V(_q-fwN@;6>7^+xBxXFY?@ZUC4oCw*g8wDM\n4)Xjo=J)$@F|w+JU6GdkR$8pXaIx=duC7LG~F5A*BiNYRq7kB)5uH>QH_+|jP7n_H`$+{bK22zXuOLl\nb>`F|XzwwcMhVDuu)pC^QeXT4P)h>@6aWAK2mq6s8^EeX~AToilV)A2_e6~zhOaP~KZvIOlqFiVW+60AOs)?J~q5l!-OgI;*jfY94W3Aib4Jnnk|YJ\n*Ng1Ga|{kpv)l&^K>8SV(XV+<$mHY8?a{!1#G)Y63H$85<@-{DTbUDCucxV6x07;%M+|!-MO9j<0Wi#", "detail": "butterfly.get-pip", "documentation": {} }, { "label": "about", "kind": 5, "importPath": "butterfly.setup", "description": "butterfly.setup", "peekOfCode": "about = {}\nwith open(os.path.join(\n os.path.dirname(__file__), \"butterfly\", \"__about__.py\")) as f:\n exec(f.read(), about)\nsetup(\n name=about['__title__'],\n version=about['__version__'],\n description=about['__summary__'],\n url=about['__uri__'],\n author=about['__author__'],", "detail": "butterfly.setup", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly_web.bf37.bin.cat", "description": "butterfly_web.bf37.bin.cat", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly cat wrapper.')\nparser.add_argument('-o', action=\"store_true\",\n dest='original', help='Force original cat')\nparser.add_argument(\n 'files', metavar='FILES', nargs='+',\n help='Force original cat')\nargs, remaining = parser.parse_known_args()\nif args.original:\n os.execvp('/usr/bin/cat', remaining + args.files)\nfor file in args.files:", "detail": "butterfly_web.bf37.bin.cat", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly_web.bf37.bin.colors", "description": "butterfly_web.bf37.bin.colors", "peekOfCode": "parser = argparse.ArgumentParser(\n description='Butterfly terminal color tester.')\nparser.add_argument(\n '--colors',\n default='16',\n choices=['8', '16', '256', '16M'],\n help='Set the color mode to test')\nargs = parser.parse_args()\nprint()\nif args.colors in ['8', '16']:", "detail": "butterfly_web.bf37.bin.colors", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "butterfly_web.bf37.bin.colors", "description": "butterfly_web.bf37.bin.colors", "peekOfCode": "args = parser.parse_args()\nprint()\nif args.colors in ['8', '16']:\n print('Background\\n')\n for l in range(3):\n sys.stdout.write(' ')\n for i in range(8):\n sys.stdout.write('\\x1b[%dm \\x1b[m ' % (40 + i))\n sys.stdout.write('\\n')\n sys.stdout.flush()", "detail": "butterfly_web.bf37.bin.colors", "documentation": {} }, { "label": "path", "kind": 5, "importPath": "butterfly_web.bf37.bin.help", "description": "butterfly_web.bf37.bin.help", "peekOfCode": "path = os.getenv('BUTTERFLY_PATH')\nif path:\n path = os.path.join(path, '../static/images/favicon.png')\nif path and os.path.exists(path):\n with image('image/png'):\n with open(path, 'rb') as i:\n print(base64.b64encode(i.read()).decode('ascii'))\nprint(\"\"\"\nButterfly is a xterm compliant terminal built with python and javascript.\n{title}Terminal functionalities:{reset}", "detail": "butterfly_web.bf37.bin.help", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly_web.bf37.bin.html", "description": "butterfly_web.bf37.bin.html", "peekOfCode": "parser = argparse.ArgumentParser(\n description=\"Butterfly html converter.\\n\\n\"\n \"Output in html standard input.\\n\"\n \"Example: $ echo \\\"Bold\\\" | b html\",\n formatter_class=argparse.RawTextHelpFormatter)\nparser.parse_known_args()\nwith html():\n for line in fileinput.input():\n sys.stdout.write(line)", "detail": "butterfly_web.bf37.bin.html", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly_web.bf37.bin.open", "description": "butterfly_web.bf37.bin.open", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly tab opener.')\nparser.add_argument(\n 'location',\n nargs='?',\n default=os.getcwd(),\n help='Directory to open the new tab in. (Defaults to current)')\nargs = parser.parse_args()\nurl_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)", "detail": "butterfly_web.bf37.bin.open", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "butterfly_web.bf37.bin.open", "description": "butterfly_web.bf37.bin.open", "peekOfCode": "args = parser.parse_args()\nurl_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly_web.bf37.bin.open", "documentation": {} }, { "label": "url_parts", "kind": 5, "importPath": "butterfly_web.bf37.bin.open", "description": "butterfly_web.bf37.bin.open", "peekOfCode": "url_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly_web.bf37.bin.open", "documentation": {} }, { "label": "query", "kind": 5, "importPath": "butterfly_web.bf37.bin.open", "description": "butterfly_web.bf37.bin.open", "peekOfCode": "query = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly_web.bf37.bin.open", "documentation": {} }, { "label": "query['path']", "kind": 5, "importPath": "butterfly_web.bf37.bin.open", "description": "butterfly_web.bf37.bin.open", "peekOfCode": "query['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly_web.bf37.bin.open", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "butterfly_web.bf37.bin.open", "description": "butterfly_web.bf37.bin.open", "peekOfCode": "url = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly_web.bf37.bin.open", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly_web.bf37.bin.session", "description": "butterfly_web.bf37.bin.session", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly session opener.')\nparser.add_argument(\n 'session',\n help='Open or rattach a butterfly session. '\n '(Only in secure mode or in user unsecure mode (no su login))')\nargs = parser.parse_args()\nurl = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly_web.bf37.bin.session", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "butterfly_web.bf37.bin.session", "description": "butterfly_web.bf37.bin.session", "peekOfCode": "args = parser.parse_args()\nurl = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly_web.bf37.bin.session", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "butterfly_web.bf37.bin.session", "description": "butterfly_web.bf37.bin.session", "peekOfCode": "url = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly_web.bf37.bin.session", "documentation": {} }, { "label": "html", "kind": 2, "importPath": "butterfly_web.bf37.escapes", "description": "butterfly_web.bf37.escapes", "peekOfCode": "def html():\n sys.stdout.write('\\x1bP;HTML|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')", "detail": "butterfly_web.bf37.escapes", "documentation": {} }, { "label": "image", "kind": 2, "importPath": "butterfly_web.bf37.escapes", "description": "butterfly_web.bf37.escapes", "peekOfCode": "def image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')\n sys.stdout.flush()\n@contextmanager\ndef prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "butterfly_web.bf37.escapes", "documentation": {} }, { "label": "prompt", "kind": 2, "importPath": "butterfly_web.bf37.escapes", "description": "butterfly_web.bf37.escapes", "peekOfCode": "def prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "butterfly_web.bf37.escapes", "documentation": {} }, { "label": "text", "kind": 2, "importPath": "butterfly_web.bf37.escapes", "description": "butterfly_web.bf37.escapes", "peekOfCode": "def text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\ndef geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)", "detail": "butterfly_web.bf37.escapes", "documentation": {} }, { "label": "geolocation", "kind": 2, "importPath": "butterfly_web.bf37.escapes", "description": "butterfly_web.bf37.escapes", "peekOfCode": "def geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)\n try:\n tty.setraw(sys.stdin.fileno())\n rv = sys.stdin.read(1)\n if rv != '\\x1b':\n raise", "detail": "butterfly_web.bf37.escapes", "documentation": {} }, { "label": "PamHandle", "kind": 6, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "class PamHandle(Structure):\n \"\"\"wrapper class for pam_handle_t pointer\"\"\"\n _fields_ = [(\"handle\", c_void_p)]\n def __init__(self):\n Structure.__init__(self)\n self.handle = 0\nclass PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "PamMessage", "kind": 6, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "class PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):\n return \"\" % (self.msg_style, self.msg)\nclass PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "PamResponse", "kind": 6, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "class PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)\nconv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "PamConv", "kind": 6, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "class PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "PAM", "kind": 6, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "class PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.\n Returns True for success, or False for failure.", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "login_prompt", "kind": 2, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "def login_prompt(username, profile, env):\n pam = PAM()\n success = pam.authenticate(username, profile)\n print('{} {}'.format(pam.code, pam.reason))\n if success:\n su = '/usr/bin/su'\n if not os.path.exists(su):\n su = '/bin/su'\n os.execvpe(su, [su, '-l', username], env)\n return success", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "conv_func", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "conv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_OFF", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "PAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_ON", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "PAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "PAM_ERROR_MSG", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "PAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "PAM_TEXT_INFO", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "PAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "PAM_REINITIALIZE_CRED", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "PAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "libc", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "libc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "libpam", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "libpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "libpam_misc", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "libpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "calloc", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "calloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "calloc.restype", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "calloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "calloc.argtypes", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "calloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "pam_end", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "pam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "pam_end.restype", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "pam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "pam_end.argtypes", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "pam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "pam_start", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "pam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "pam_start.restype", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "pam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "pam_start.argtypes", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "pam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "pam_setcred", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "pam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "pam_setcred.restype", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "pam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "pam_setcred.argtypes", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "pam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "pam_strerror", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "pam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "pam_strerror.restype", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "pam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "pam_strerror.argtypes", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "pam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "pam_authenticate", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "pam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "pam_authenticate.restype", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "pam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "pam_authenticate.argtypes", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "pam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "misc_conv", "kind": 5, "importPath": "butterfly_web.bf37.pam", "description": "butterfly_web.bf37.pam", "peekOfCode": "misc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.", "detail": "butterfly_web.bf37.pam", "documentation": {} }, { "label": "Index", "kind": 6, "importPath": "butterfly_web.bf37.routes", "description": "butterfly_web.bf37.routes", "peekOfCode": "class Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:\n raise tornado.web.HTTPError(400)\n return self.render(\n 'index.html', session=session or str(uuid4()))\n@url(r'/theme/([^/]+)/style.css')\nclass Theme(Route):", "detail": "butterfly_web.bf37.routes", "documentation": {} }, { "label": "Theme", "kind": 6, "importPath": "butterfly_web.bf37.routes", "description": "butterfly_web.bf37.routes", "peekOfCode": "class Theme(Route):\n def get(self, theme):\n self.log.info('Getting style')\n try:\n import sass\n sass.CompileError\n except Exception:\n self.log.error(\n 'You must install libsass to use sass '\n '(pip install libsass)')", "detail": "butterfly_web.bf37.routes", "documentation": {} }, { "label": "ThemeStatic", "kind": 6, "importPath": "butterfly_web.bf37.routes", "description": "butterfly_web.bf37.routes", "peekOfCode": "class ThemeStatic(Route):\n def get(self, theme, name):\n if '..' in name:\n raise tornado.web.HTTPError(403)\n base_dir = self.get_theme_dir(theme)\n fn = os.path.normpath(os.path.join(base_dir, name))\n if not fn.startswith(base_dir):\n raise tornado.web.HTTPError(403)\n if os.path.exists(fn):\n type = guess_type(fn)[0]", "detail": "butterfly_web.bf37.routes", "documentation": {} }, { "label": "KeptAliveWebSocketHandler", "kind": 6, "importPath": "butterfly_web.bf37.routes", "description": "butterfly_web.bf37.routes", "peekOfCode": "class KeptAliveWebSocketHandler(tornado.websocket.WebSocketHandler):\n keepalive_timer = None\n def open(self, *args, **kwargs):\n self.keepalive_timer = tornado.ioloop.PeriodicCallback(\n self.send_ping, tornado.options.options.keepalive_interval * 1000)\n self.keepalive_timer.start()\n def send_ping(self):\n t = int(time.time())\n frame = struct.pack('[^/]+)/?)?')\nclass Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:", "detail": "butterfly_web.bf37.routes", "documentation": {} }, { "label": "Terminal", "kind": 6, "importPath": "butterfly_web.bf37.terminal", "description": "butterfly_web.bf37.terminal", "peekOfCode": "class Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):\n self.sessions[session] = self\n self.history_size = 50000\n self.history = ''\n self.uri = uri\n self.session = session\n self.broadcast = broadcast", "detail": "butterfly_web.bf37.terminal", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "butterfly_web.bf37.terminal", "description": "butterfly_web.bf37.terminal", "peekOfCode": "log = getLogger('butterfly')\nioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):", "detail": "butterfly_web.bf37.terminal", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "butterfly_web.bf37.terminal", "description": "butterfly_web.bf37.terminal", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}", "detail": "butterfly_web.bf37.terminal", "documentation": {} }, { "label": "server", "kind": 5, "importPath": "butterfly_web.bf37.terminal", "description": "butterfly_web.bf37.terminal", "peekOfCode": "server = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,", "detail": "butterfly_web.bf37.terminal", "documentation": {} }, { "label": "daemon", "kind": 5, "importPath": "butterfly_web.bf37.terminal", "description": "butterfly_web.bf37.terminal", "peekOfCode": "daemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):", "detail": "butterfly_web.bf37.terminal", "documentation": {} }, { "label": "User", "kind": 6, "importPath": "butterfly_web.bf37.utils", "description": "butterfly_web.bf37.utils", "peekOfCode": "class User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:\n uid = os.getuid()\n if uid is not None:\n self.pw = pwd.getpwuid(uid)\n else:\n self.pw = pwd.getpwnam(name)\n if self.pw is None:\n raise LookupError('Unknown user')", "detail": "butterfly_web.bf37.utils", "documentation": {} }, { "label": "Socket", "kind": 6, "importPath": "butterfly_web.bf37.utils", "description": "butterfly_web.bf37.utils", "peekOfCode": "class Socket(object):\n def __init__(self, socket):\n sn = socket.getsockname()\n self.local_addr = sn[0]\n self.local_port = sn[1]\n try:\n pn = socket.getpeername()\n self.remote_addr = pn[0]\n self.remote_port = pn[1]\n except Exception:", "detail": "butterfly_web.bf37.utils", "documentation": {} }, { "label": "AnsiColors", "kind": 6, "importPath": "butterfly_web.bf37.utils", "description": "butterfly_web.bf37.utils", "peekOfCode": "class AnsiColors(object):\n colors = {\n 'black': 30,\n 'red': 31,\n 'green': 32,\n 'yellow': 33,\n 'blue': 34,\n 'magenta': 35,\n 'cyan': 36,\n 'white': 37", "detail": "butterfly_web.bf37.utils", "documentation": {} }, { "label": "get_hex_ip_port", "kind": 2, "importPath": "butterfly_web.bf37.utils", "description": "butterfly_web.bf37.utils", "peekOfCode": "def get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),\n int(splits[2]),", "detail": "butterfly_web.bf37.utils", "documentation": {} }, { "label": "parse_cert", "kind": 2, "importPath": "butterfly_web.bf37.utils", "description": "butterfly_web.bf37.utils", "peekOfCode": "def parse_cert(cert):\n user = None\n for elt in cert['subject']:\n user = dict(elt).get('commonName', None)\n if user:\n break\n return user\nclass User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:", "detail": "butterfly_web.bf37.utils", "documentation": {} }, { "label": "get_lsof_socket_line", "kind": 2, "importPath": "butterfly_web.bf37.utils", "description": "butterfly_web.bf37.utils", "peekOfCode": "def get_lsof_socket_line(addr, port):\n # May want to make this into a dictionary in the future...\n regex = \"\\w+\\s+(?P\\d+)\\s+(?P\\w+).*\\s\" \\\n \"(?P.*?):(?P\\d+)->(?P.*?):(?P\\d+)\"\n output = subprocess.check_output(['lsof', '-Pni']).decode('utf-8')\n lines = output.split('\\n')\n for line in lines:\n # Look for local address with peer port\n match = re.findall(regex, line)\n if len(match):", "detail": "butterfly_web.bf37.utils", "documentation": {} }, { "label": "get_procfs_socket_line", "kind": 2, "importPath": "butterfly_web.bf37.utils", "description": "butterfly_web.bf37.utils", "peekOfCode": "def get_procfs_socket_line(hex_ip_port):\n fn = None\n if len(hex_ip_port) == 13: # ipv4\n fn = '/proc/net/tcp'\n elif len(hex_ip_port) == 37: # ipv6\n fn = '/proc/net/tcp6'\n if not fn:\n return\n try:\n with open(fn) as k:", "detail": "butterfly_web.bf37.utils", "documentation": {} }, { "label": "get_socket_env", "kind": 2, "importPath": "butterfly_web.bf37.utils", "description": "butterfly_web.bf37.utils", "peekOfCode": "def get_socket_env(inode, user):\n for pid in os.listdir(\"/proc/\"):\n if not pid.isdigit():\n continue\n try:\n with open('/proc/%s/cmdline' % pid) as c:\n command = c.read().split('\\x00')\n executable = command[0].split('/')[-1]\n if executable in ('sh', 'bash', 'zsh'):\n executable = command[1].split('/')[-1]", "detail": "butterfly_web.bf37.utils", "documentation": {} }, { "label": "get_utmp_file", "kind": 2, "importPath": "butterfly_web.bf37.utils", "description": "butterfly_web.bf37.utils", "peekOfCode": "def get_utmp_file():\n for file in (\n '/var/run/utmp',\n '/var/adm/utmp',\n '/var/adm/utmpx',\n '/etc/utmp',\n '/etc/utmpx',\n '/var/run/utx.active'):\n if os.path.exists(file):\n return file", "detail": "butterfly_web.bf37.utils", "documentation": {} }, { "label": "get_wtmp_file", "kind": 2, "importPath": "butterfly_web.bf37.utils", "description": "butterfly_web.bf37.utils", "peekOfCode": "def get_wtmp_file():\n for file in (\n '/var/log/wtmp',\n '/var/adm/wtmp',\n '/var/adm/wtmpx',\n '/var/run/utx.log'):\n if os.path.exists(file):\n return file\nUTmp = namedtuple(\n 'UTmp',", "detail": "butterfly_web.bf37.utils", "documentation": {} }, { "label": "utmp_line", "kind": 2, "importPath": "butterfly_web.bf37.utils", "description": "butterfly_web.bf37.utils", "peekOfCode": "def utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line\n b(id), # id\n b(user), # user\n b(host), # host\n 0, # exit 0\n 0, # exit 1", "detail": "butterfly_web.bf37.utils", "documentation": {} }, { "label": "add_user_info", "kind": 2, "importPath": "butterfly_web.bf37.utils", "description": "butterfly_web.bf37.utils", "peekOfCode": "def add_user_info(id, fd, pid, user, host):\n # Freebsd format is not yet supported.\n # Please submit PR\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 7, pid, fd, user, host, time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:", "detail": "butterfly_web.bf37.utils", "documentation": {} }, { "label": "rm_user_info", "kind": 2, "importPath": "butterfly_web.bf37.utils", "description": "butterfly_web.bf37.utils", "peekOfCode": "def rm_user_info(id, pid):\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 8, pid, '', '', '', time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:\n continue\n try:", "detail": "butterfly_web.bf37.utils", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "butterfly_web.bf37.utils", "description": "butterfly_web.bf37.utils", "peekOfCode": "log = getLogger('butterfly')\ndef get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),", "detail": "butterfly_web.bf37.utils", "documentation": {} }, { "label": "utmp_struct", "kind": 5, "importPath": "butterfly_web.bf37.utils", "description": "butterfly_web.bf37.utils", "peekOfCode": "utmp_struct = struct.Struct('hi32s4s32s256shhiii4i20s')\nif sys.version_info[0] == 2:\n b = lambda x: x\nelse:\n def b(x):\n if isinstance(x, str):\n return x.encode('utf-8')\n return x\ndef get_utmp_file():\n for file in (", "detail": "butterfly_web.bf37.utils", "documentation": {} }, { "label": "UTmp", "kind": 5, "importPath": "butterfly_web.bf37.utils", "description": "butterfly_web.bf37.utils", "peekOfCode": "UTmp = namedtuple(\n 'UTmp',\n ['type', 'pid', 'line', 'id', 'user', 'host',\n 'exit0', 'exit1', 'session',\n 'sec', 'usec', 'addr0', 'addr1', 'addr2', 'addr3', 'unused'])\ndef utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line", "detail": "butterfly_web.bf37.utils", "documentation": {} }, { "label": "ansi_colors", "kind": 5, "importPath": "butterfly_web.bf37.utils", "description": "butterfly_web.bf37.utils", "peekOfCode": "ansi_colors = AnsiColors()", "detail": "butterfly_web.bf37.utils", "documentation": {} }, { "label": "bin_dir", "kind": 5, "importPath": "butterfly_web.bin.activate_this", "description": "butterfly_web.bin.activate_this", "peekOfCode": "bin_dir = os.path.dirname(abs_file)\nbase = bin_dir[: -len(\"bin\") - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)", "detail": "butterfly_web.bin.activate_this", "documentation": {} }, { "label": "base", "kind": 5, "importPath": "butterfly_web.bin.activate_this", "description": "butterfly_web.bin.activate_this", "peekOfCode": "base = bin_dir[: -len(\"bin\") - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]", "detail": "butterfly_web.bin.activate_this", "documentation": {} }, { "label": "os.environ[\"PATH\"]", "kind": 5, "importPath": "butterfly_web.bin.activate_this", "description": "butterfly_web.bin.activate_this", "peekOfCode": "os.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "butterfly_web.bin.activate_this", "documentation": {} }, { "label": "os.environ[\"VIRTUAL_ENV\"]", "kind": 5, "importPath": "butterfly_web.bin.activate_this", "description": "butterfly_web.bin.activate_this", "peekOfCode": "os.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "butterfly_web.bin.activate_this", "documentation": {} }, { "label": "prev_length", "kind": 5, "importPath": "butterfly_web.bin.activate_this", "description": "butterfly_web.bin.activate_this", "peekOfCode": "prev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "butterfly_web.bin.activate_this", "documentation": {} }, { "label": "sys.path[:]", "kind": 5, "importPath": "butterfly_web.bin.activate_this", "description": "butterfly_web.bin.activate_this", "peekOfCode": "sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "butterfly_web.bin.activate_this", "documentation": {} }, { "label": "sys.real_prefix", "kind": 5, "importPath": "butterfly_web.bin.activate_this", "description": "butterfly_web.bin.activate_this", "peekOfCode": "sys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "butterfly_web.bin.activate_this", "documentation": {} }, { "label": "sys.prefix", "kind": 5, "importPath": "butterfly_web.bin.activate_this", "description": "butterfly_web.bin.activate_this", "peekOfCode": "sys.prefix = base", "detail": "butterfly_web.bin.activate_this", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly_web.butterfly.bin.cat", "description": "butterfly_web.butterfly.bin.cat", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly cat wrapper.')\nparser.add_argument('-o', action=\"store_true\",\n dest='original', help='Force original cat')\nparser.add_argument(\n 'files', metavar='FILES', nargs='+',\n help='Force original cat')\nargs, remaining = parser.parse_known_args()\nif args.original:\n os.execvp('/usr/bin/cat', remaining + args.files)\nfor file in args.files:", "detail": "butterfly_web.butterfly.bin.cat", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly_web.butterfly.bin.colors", "description": "butterfly_web.butterfly.bin.colors", "peekOfCode": "parser = argparse.ArgumentParser(\n description='Butterfly terminal color tester.')\nparser.add_argument(\n '--colors',\n default='16',\n choices=['8', '16', '256', '16M'],\n help='Set the color mode to test')\nargs = parser.parse_args()\nprint()\nif args.colors in ['8', '16']:", "detail": "butterfly_web.butterfly.bin.colors", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "butterfly_web.butterfly.bin.colors", "description": "butterfly_web.butterfly.bin.colors", "peekOfCode": "args = parser.parse_args()\nprint()\nif args.colors in ['8', '16']:\n print('Background\\n')\n for l in range(3):\n sys.stdout.write(' ')\n for i in range(8):\n sys.stdout.write('\\x1b[%dm \\x1b[m ' % (40 + i))\n sys.stdout.write('\\n')\n sys.stdout.flush()", "detail": "butterfly_web.butterfly.bin.colors", "documentation": {} }, { "label": "path", "kind": 5, "importPath": "butterfly_web.butterfly.bin.help", "description": "butterfly_web.butterfly.bin.help", "peekOfCode": "path = os.getenv('BUTTERFLY_PATH')\nif path:\n path = os.path.join(path, '../static/images/favicon.png')\nif path and os.path.exists(path):\n with image('image/png'):\n with open(path, 'rb') as i:\n print(base64.b64encode(i.read()).decode('ascii'))\nprint(\"\"\"\nButterfly is a xterm compliant terminal built with python and javascript.\n{title}Terminal functionalities:{reset}", "detail": "butterfly_web.butterfly.bin.help", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly_web.butterfly.bin.html", "description": "butterfly_web.butterfly.bin.html", "peekOfCode": "parser = argparse.ArgumentParser(\n description=\"Butterfly html converter.\\n\\n\"\n \"Output in html standard input.\\n\"\n \"Example: $ echo \\\"Bold\\\" | b html\",\n formatter_class=argparse.RawTextHelpFormatter)\nparser.parse_known_args()\nwith html():\n for line in fileinput.input():\n sys.stdout.write(line)", "detail": "butterfly_web.butterfly.bin.html", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly_web.butterfly.bin.open", "description": "butterfly_web.butterfly.bin.open", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly tab opener.')\nparser.add_argument(\n 'location',\n nargs='?',\n default=os.getcwd(),\n help='Directory to open the new tab in. (Defaults to current)')\nargs = parser.parse_args()\nurl_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)", "detail": "butterfly_web.butterfly.bin.open", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "butterfly_web.butterfly.bin.open", "description": "butterfly_web.butterfly.bin.open", "peekOfCode": "args = parser.parse_args()\nurl_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly_web.butterfly.bin.open", "documentation": {} }, { "label": "url_parts", "kind": 5, "importPath": "butterfly_web.butterfly.bin.open", "description": "butterfly_web.butterfly.bin.open", "peekOfCode": "url_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly_web.butterfly.bin.open", "documentation": {} }, { "label": "query", "kind": 5, "importPath": "butterfly_web.butterfly.bin.open", "description": "butterfly_web.butterfly.bin.open", "peekOfCode": "query = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly_web.butterfly.bin.open", "documentation": {} }, { "label": "query['path']", "kind": 5, "importPath": "butterfly_web.butterfly.bin.open", "description": "butterfly_web.butterfly.bin.open", "peekOfCode": "query['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly_web.butterfly.bin.open", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "butterfly_web.butterfly.bin.open", "description": "butterfly_web.butterfly.bin.open", "peekOfCode": "url = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly_web.butterfly.bin.open", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "butterfly_web.butterfly.bin.session", "description": "butterfly_web.butterfly.bin.session", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly session opener.')\nparser.add_argument(\n 'session',\n help='Open or rattach a butterfly session. '\n '(Only in secure mode or in user unsecure mode (no su login))')\nargs = parser.parse_args()\nurl = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly_web.butterfly.bin.session", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "butterfly_web.butterfly.bin.session", "description": "butterfly_web.butterfly.bin.session", "peekOfCode": "args = parser.parse_args()\nurl = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly_web.butterfly.bin.session", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "butterfly_web.butterfly.bin.session", "description": "butterfly_web.butterfly.bin.session", "peekOfCode": "url = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "butterfly_web.butterfly.bin.session", "documentation": {} }, { "label": "html", "kind": 2, "importPath": "butterfly_web.butterfly.escapes", "description": "butterfly_web.butterfly.escapes", "peekOfCode": "def html():\n sys.stdout.write('\\x1bP;HTML|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')", "detail": "butterfly_web.butterfly.escapes", "documentation": {} }, { "label": "image", "kind": 2, "importPath": "butterfly_web.butterfly.escapes", "description": "butterfly_web.butterfly.escapes", "peekOfCode": "def image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')\n sys.stdout.flush()\n@contextmanager\ndef prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "butterfly_web.butterfly.escapes", "documentation": {} }, { "label": "prompt", "kind": 2, "importPath": "butterfly_web.butterfly.escapes", "description": "butterfly_web.butterfly.escapes", "peekOfCode": "def prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "butterfly_web.butterfly.escapes", "documentation": {} }, { "label": "text", "kind": 2, "importPath": "butterfly_web.butterfly.escapes", "description": "butterfly_web.butterfly.escapes", "peekOfCode": "def text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\ndef geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)", "detail": "butterfly_web.butterfly.escapes", "documentation": {} }, { "label": "geolocation", "kind": 2, "importPath": "butterfly_web.butterfly.escapes", "description": "butterfly_web.butterfly.escapes", "peekOfCode": "def geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)\n try:\n tty.setraw(sys.stdin.fileno())\n rv = sys.stdin.read(1)\n if rv != '\\x1b':\n raise", "detail": "butterfly_web.butterfly.escapes", "documentation": {} }, { "label": "PamHandle", "kind": 6, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "class PamHandle(Structure):\n \"\"\"wrapper class for pam_handle_t pointer\"\"\"\n _fields_ = [(\"handle\", c_void_p)]\n def __init__(self):\n Structure.__init__(self)\n self.handle = 0\nclass PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "PamMessage", "kind": 6, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "class PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):\n return \"\" % (self.msg_style, self.msg)\nclass PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "PamResponse", "kind": 6, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "class PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)\nconv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "PamConv", "kind": 6, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "class PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "PAM", "kind": 6, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "class PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.\n Returns True for success, or False for failure.", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "login_prompt", "kind": 2, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "def login_prompt(username, profile, env):\n pam = PAM()\n success = pam.authenticate(username, profile)\n print('{} {}'.format(pam.code, pam.reason))\n if success:\n su = '/usr/bin/su'\n if not os.path.exists(su):\n su = '/bin/su'\n os.execvpe(su, [su, '-l', username], env)\n return success", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "conv_func", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "conv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_OFF", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "PAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_ON", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "PAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "PAM_ERROR_MSG", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "PAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "PAM_TEXT_INFO", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "PAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "PAM_REINITIALIZE_CRED", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "PAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "libc", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "libc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "libpam", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "libpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "libpam_misc", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "libpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "calloc", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "calloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "calloc.restype", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "calloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "calloc.argtypes", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "calloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "pam_end", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "pam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "pam_end.restype", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "pam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "pam_end.argtypes", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "pam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "pam_start", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "pam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "pam_start.restype", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "pam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "pam_start.argtypes", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "pam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "pam_setcred", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "pam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "pam_setcred.restype", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "pam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "pam_setcred.argtypes", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "pam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "pam_strerror", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "pam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "pam_strerror.restype", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "pam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "pam_strerror.argtypes", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "pam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "pam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate.restype", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "pam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate.argtypes", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "pam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "misc_conv", "kind": 5, "importPath": "butterfly_web.butterfly.pam", "description": "butterfly_web.butterfly.pam", "peekOfCode": "misc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.", "detail": "butterfly_web.butterfly.pam", "documentation": {} }, { "label": "Index", "kind": 6, "importPath": "butterfly_web.butterfly.routes", "description": "butterfly_web.butterfly.routes", "peekOfCode": "class Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:\n raise tornado.web.HTTPError(400)\n return self.render(\n 'index.html', session=session or str(uuid4()))\n@url(r'/theme/([^/]+)/style.css')\nclass Theme(Route):", "detail": "butterfly_web.butterfly.routes", "documentation": {} }, { "label": "Theme", "kind": 6, "importPath": "butterfly_web.butterfly.routes", "description": "butterfly_web.butterfly.routes", "peekOfCode": "class Theme(Route):\n def get(self, theme):\n self.log.info('Getting style')\n try:\n import sass\n sass.CompileError\n except Exception:\n self.log.error(\n 'You must install libsass to use sass '\n '(pip install libsass)')", "detail": "butterfly_web.butterfly.routes", "documentation": {} }, { "label": "ThemeStatic", "kind": 6, "importPath": "butterfly_web.butterfly.routes", "description": "butterfly_web.butterfly.routes", "peekOfCode": "class ThemeStatic(Route):\n def get(self, theme, name):\n if '..' in name:\n raise tornado.web.HTTPError(403)\n base_dir = self.get_theme_dir(theme)\n fn = os.path.normpath(os.path.join(base_dir, name))\n if not fn.startswith(base_dir):\n raise tornado.web.HTTPError(403)\n if os.path.exists(fn):\n type = guess_type(fn)[0]", "detail": "butterfly_web.butterfly.routes", "documentation": {} }, { "label": "KeptAliveWebSocketHandler", "kind": 6, "importPath": "butterfly_web.butterfly.routes", "description": "butterfly_web.butterfly.routes", "peekOfCode": "class KeptAliveWebSocketHandler(tornado.websocket.WebSocketHandler):\n keepalive_timer = None\n def open(self, *args, **kwargs):\n self.keepalive_timer = tornado.ioloop.PeriodicCallback(\n self.send_ping, tornado.options.options.keepalive_interval * 1000)\n self.keepalive_timer.start()\n def send_ping(self):\n t = int(time.time())\n frame = struct.pack('[^/]+)/?)?')\nclass Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:", "detail": "butterfly_web.butterfly.routes", "documentation": {} }, { "label": "Terminal", "kind": 6, "importPath": "butterfly_web.butterfly.terminal", "description": "butterfly_web.butterfly.terminal", "peekOfCode": "class Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):\n self.sessions[session] = self\n self.history_size = 50000\n self.history = ''\n self.uri = uri\n self.session = session\n self.broadcast = broadcast", "detail": "butterfly_web.butterfly.terminal", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "butterfly_web.butterfly.terminal", "description": "butterfly_web.butterfly.terminal", "peekOfCode": "log = getLogger('butterfly')\nioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):", "detail": "butterfly_web.butterfly.terminal", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "butterfly_web.butterfly.terminal", "description": "butterfly_web.butterfly.terminal", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}", "detail": "butterfly_web.butterfly.terminal", "documentation": {} }, { "label": "server", "kind": 5, "importPath": "butterfly_web.butterfly.terminal", "description": "butterfly_web.butterfly.terminal", "peekOfCode": "server = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,", "detail": "butterfly_web.butterfly.terminal", "documentation": {} }, { "label": "daemon", "kind": 5, "importPath": "butterfly_web.butterfly.terminal", "description": "butterfly_web.butterfly.terminal", "peekOfCode": "daemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):", "detail": "butterfly_web.butterfly.terminal", "documentation": {} }, { "label": "User", "kind": 6, "importPath": "butterfly_web.butterfly.utils", "description": "butterfly_web.butterfly.utils", "peekOfCode": "class User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:\n uid = os.getuid()\n if uid is not None:\n self.pw = pwd.getpwuid(uid)\n else:\n self.pw = pwd.getpwnam(name)\n if self.pw is None:\n raise LookupError('Unknown user')", "detail": "butterfly_web.butterfly.utils", "documentation": {} }, { "label": "Socket", "kind": 6, "importPath": "butterfly_web.butterfly.utils", "description": "butterfly_web.butterfly.utils", "peekOfCode": "class Socket(object):\n def __init__(self, socket):\n sn = socket.getsockname()\n self.local_addr = sn[0]\n self.local_port = sn[1]\n try:\n pn = socket.getpeername()\n self.remote_addr = pn[0]\n self.remote_port = pn[1]\n except Exception:", "detail": "butterfly_web.butterfly.utils", "documentation": {} }, { "label": "AnsiColors", "kind": 6, "importPath": "butterfly_web.butterfly.utils", "description": "butterfly_web.butterfly.utils", "peekOfCode": "class AnsiColors(object):\n colors = {\n 'black': 30,\n 'red': 31,\n 'green': 32,\n 'yellow': 33,\n 'blue': 34,\n 'magenta': 35,\n 'cyan': 36,\n 'white': 37", "detail": "butterfly_web.butterfly.utils", "documentation": {} }, { "label": "get_hex_ip_port", "kind": 2, "importPath": "butterfly_web.butterfly.utils", "description": "butterfly_web.butterfly.utils", "peekOfCode": "def get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),\n int(splits[2]),", "detail": "butterfly_web.butterfly.utils", "documentation": {} }, { "label": "parse_cert", "kind": 2, "importPath": "butterfly_web.butterfly.utils", "description": "butterfly_web.butterfly.utils", "peekOfCode": "def parse_cert(cert):\n user = None\n for elt in cert['subject']:\n user = dict(elt).get('commonName', None)\n if user:\n break\n return user\nclass User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:", "detail": "butterfly_web.butterfly.utils", "documentation": {} }, { "label": "get_lsof_socket_line", "kind": 2, "importPath": "butterfly_web.butterfly.utils", "description": "butterfly_web.butterfly.utils", "peekOfCode": "def get_lsof_socket_line(addr, port):\n # May want to make this into a dictionary in the future...\n regex = \"\\w+\\s+(?P\\d+)\\s+(?P\\w+).*\\s\" \\\n \"(?P.*?):(?P\\d+)->(?P.*?):(?P\\d+)\"\n output = subprocess.check_output(['lsof', '-Pni']).decode('utf-8')\n lines = output.split('\\n')\n for line in lines:\n # Look for local address with peer port\n match = re.findall(regex, line)\n if len(match):", "detail": "butterfly_web.butterfly.utils", "documentation": {} }, { "label": "get_procfs_socket_line", "kind": 2, "importPath": "butterfly_web.butterfly.utils", "description": "butterfly_web.butterfly.utils", "peekOfCode": "def get_procfs_socket_line(hex_ip_port):\n fn = None\n if len(hex_ip_port) == 13: # ipv4\n fn = '/proc/net/tcp'\n elif len(hex_ip_port) == 37: # ipv6\n fn = '/proc/net/tcp6'\n if not fn:\n return\n try:\n with open(fn) as k:", "detail": "butterfly_web.butterfly.utils", "documentation": {} }, { "label": "get_socket_env", "kind": 2, "importPath": "butterfly_web.butterfly.utils", "description": "butterfly_web.butterfly.utils", "peekOfCode": "def get_socket_env(inode, user):\n for pid in os.listdir(\"/proc/\"):\n if not pid.isdigit():\n continue\n try:\n with open('/proc/%s/cmdline' % pid) as c:\n command = c.read().split('\\x00')\n executable = command[0].split('/')[-1]\n if executable in ('sh', 'bash', 'zsh'):\n executable = command[1].split('/')[-1]", "detail": "butterfly_web.butterfly.utils", "documentation": {} }, { "label": "get_utmp_file", "kind": 2, "importPath": "butterfly_web.butterfly.utils", "description": "butterfly_web.butterfly.utils", "peekOfCode": "def get_utmp_file():\n for file in (\n '/var/run/utmp',\n '/var/adm/utmp',\n '/var/adm/utmpx',\n '/etc/utmp',\n '/etc/utmpx',\n '/var/run/utx.active'):\n if os.path.exists(file):\n return file", "detail": "butterfly_web.butterfly.utils", "documentation": {} }, { "label": "get_wtmp_file", "kind": 2, "importPath": "butterfly_web.butterfly.utils", "description": "butterfly_web.butterfly.utils", "peekOfCode": "def get_wtmp_file():\n for file in (\n '/var/log/wtmp',\n '/var/adm/wtmp',\n '/var/adm/wtmpx',\n '/var/run/utx.log'):\n if os.path.exists(file):\n return file\nUTmp = namedtuple(\n 'UTmp',", "detail": "butterfly_web.butterfly.utils", "documentation": {} }, { "label": "utmp_line", "kind": 2, "importPath": "butterfly_web.butterfly.utils", "description": "butterfly_web.butterfly.utils", "peekOfCode": "def utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line\n b(id), # id\n b(user), # user\n b(host), # host\n 0, # exit 0\n 0, # exit 1", "detail": "butterfly_web.butterfly.utils", "documentation": {} }, { "label": "add_user_info", "kind": 2, "importPath": "butterfly_web.butterfly.utils", "description": "butterfly_web.butterfly.utils", "peekOfCode": "def add_user_info(id, fd, pid, user, host):\n # Freebsd format is not yet supported.\n # Please submit PR\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 7, pid, fd, user, host, time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:", "detail": "butterfly_web.butterfly.utils", "documentation": {} }, { "label": "rm_user_info", "kind": 2, "importPath": "butterfly_web.butterfly.utils", "description": "butterfly_web.butterfly.utils", "peekOfCode": "def rm_user_info(id, pid):\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 8, pid, '', '', '', time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:\n continue\n try:", "detail": "butterfly_web.butterfly.utils", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "butterfly_web.butterfly.utils", "description": "butterfly_web.butterfly.utils", "peekOfCode": "log = getLogger('butterfly')\ndef get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),", "detail": "butterfly_web.butterfly.utils", "documentation": {} }, { "label": "utmp_struct", "kind": 5, "importPath": "butterfly_web.butterfly.utils", "description": "butterfly_web.butterfly.utils", "peekOfCode": "utmp_struct = struct.Struct('hi32s4s32s256shhiii4i20s')\nif sys.version_info[0] == 2:\n b = lambda x: x\nelse:\n def b(x):\n if isinstance(x, str):\n return x.encode('utf-8')\n return x\ndef get_utmp_file():\n for file in (", "detail": "butterfly_web.butterfly.utils", "documentation": {} }, { "label": "UTmp", "kind": 5, "importPath": "butterfly_web.butterfly.utils", "description": "butterfly_web.butterfly.utils", "peekOfCode": "UTmp = namedtuple(\n 'UTmp',\n ['type', 'pid', 'line', 'id', 'user', 'host',\n 'exit0', 'exit1', 'session',\n 'sec', 'usec', 'addr0', 'addr1', 'addr2', 'addr3', 'unused'])\ndef utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line", "detail": "butterfly_web.butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "kind": 5, "importPath": "butterfly_web.butterfly.utils", "description": "butterfly_web.butterfly.utils", "peekOfCode": "ansi_colors = AnsiColors()", "detail": "butterfly_web.butterfly.utils", "documentation": {} }, { "label": "to_abs", "kind": 2, "importPath": "butterfly_web.butterfly.server", "description": "butterfly_web.butterfly.server", "peekOfCode": "def to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',\n 'butterfly_%s.crt', 'butterfly_%s.key',\n '%s.p12'])\ndef fill_fields(subject):\n subject.C = 'WW'\n subject.O = 'Butterfly'\n subject.OU = 'Butterfly Terminal'", "detail": "butterfly_web.butterfly.server", "documentation": {} }, { "label": "fill_fields", "kind": 2, "importPath": "butterfly_web.butterfly.server", "description": "butterfly_web.butterfly.server", "peekOfCode": "def fill_fields(subject):\n subject.C = 'WW'\n subject.O = 'Butterfly'\n subject.OU = 'Butterfly Terminal'\n subject.ST = 'World Wide'\n subject.L = 'Terminal'\ndef write(file, content):\n with open(file, 'wb') as fd:\n fd.write(content)\n print('Writing %s' % file)", "detail": "butterfly_web.butterfly.server", "documentation": {} }, { "label": "write", "kind": 2, "importPath": "butterfly_web.butterfly.server", "description": "butterfly_web.butterfly.server", "peekOfCode": "def write(file, content):\n with open(file, 'wb') as fd:\n fd.write(content)\n print('Writing %s' % file)\ndef read(file):\n print('Reading %s' % file)\n with open(file, 'rb') as fd:\n return fd.read()\ndef b(s):\n return s.encode('utf-8')", "detail": "butterfly_web.butterfly.server", "documentation": {} }, { "label": "read", "kind": 2, "importPath": "butterfly_web.butterfly.server", "description": "butterfly_web.butterfly.server", "peekOfCode": "def read(file):\n print('Reading %s' % file)\n with open(file, 'rb') as fd:\n return fd.read()\ndef b(s):\n return s.encode('utf-8')\nif options.generate_certs:\n from OpenSSL import crypto\n print('Generating certificates for %s (change it with --host)\\n' % host)\n if not os.path.exists(ca) and not os.path.exists(ca_key):", "detail": "butterfly_web.butterfly.server", "documentation": {} }, { "label": "b", "kind": 2, "importPath": "butterfly_web.butterfly.server", "description": "butterfly_web.butterfly.server", "peekOfCode": "def b(s):\n return s.encode('utf-8')\nif options.generate_certs:\n from OpenSSL import crypto\n print('Generating certificates for %s (change it with --host)\\n' % host)\n if not os.path.exists(ca) and not os.path.exists(ca_key):\n print('Root certificate not found, generating it')\n ca_pk = crypto.PKey()\n ca_pk.generate_key(crypto.TYPE_RSA, 2048)\n ca_cert = crypto.X509()", "detail": "butterfly_web.butterfly.server", "documentation": {} }, { "label": "butterfly_dir", "kind": 5, "importPath": "butterfly_web.butterfly.server", "description": "butterfly_web.butterfly.server", "peekOfCode": "butterfly_dir = os.path.join(ev, 'butterfly')\nconf_file = os.path.join(butterfly_dir, 'butterfly.conf')\nssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()", "detail": "butterfly_web.butterfly.server", "documentation": {} }, { "label": "conf_file", "kind": 5, "importPath": "butterfly_web.butterfly.server", "description": "butterfly_web.butterfly.server", "peekOfCode": "conf_file = os.path.join(butterfly_dir, 'butterfly.conf')\nssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()\nif os.path.exists(tornado.options.options.conf):", "detail": "butterfly_web.butterfly.server", "documentation": {} }, { "label": "ssl_dir", "kind": 5, "importPath": "butterfly_web.butterfly.server", "description": "butterfly_web.butterfly.server", "peekOfCode": "ssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()\nif os.path.exists(tornado.options.options.conf):\n tornado.options.parse_config_file(tornado.options.options.conf)", "detail": "butterfly_web.butterfly.server", "documentation": {} }, { "label": "options", "kind": 5, "importPath": "butterfly_web.butterfly.server", "description": "butterfly_web.butterfly.server", "peekOfCode": "options = tornado.options.options\nfor logger in ('tornado.access', 'tornado.application',\n 'tornado.general', 'butterfly'):\n level = logging.WARNING\n if options.debug:\n level = logging.INFO\n if options.more:\n level = logging.DEBUG\n logging.getLogger(logger).setLevel(level)\nlog = logging.getLogger('butterfly')", "detail": "butterfly_web.butterfly.server", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "butterfly_web.butterfly.server", "description": "butterfly_web.butterfly.server", "peekOfCode": "log = logging.getLogger('butterfly')\nhost = options.host\nport = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [", "detail": "butterfly_web.butterfly.server", "documentation": {} }, { "label": "host", "kind": 5, "importPath": "butterfly_web.butterfly.server", "description": "butterfly_web.butterfly.server", "peekOfCode": "host = options.host\nport = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',", "detail": "butterfly_web.butterfly.server", "documentation": {} }, { "label": "port", "kind": 5, "importPath": "butterfly_web.butterfly.server", "description": "butterfly_web.butterfly.server", "peekOfCode": "port = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',\n 'butterfly_%s.crt', 'butterfly_%s.key',", "detail": "butterfly_web.butterfly.server", "documentation": {} }, { "label": "application.butterfly_dir", "kind": 5, "importPath": "butterfly_web.butterfly.server", "description": "butterfly_web.butterfly.server", "peekOfCode": "application.butterfly_dir = butterfly_dir\nlog.info('Starting server')\nhttp_server = HTTPServer(application, ssl_options=ssl_opts)\nhttp_server.listen(port, address=host)\nif getattr(http_server, 'systemd', False):\n os.environ.pop('LISTEN_PID')\n os.environ.pop('LISTEN_FDS')\nlog.info('Starting loop')\nioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:", "detail": "butterfly_web.butterfly.server", "documentation": {} }, { "label": "http_server", "kind": 5, "importPath": "butterfly_web.butterfly.server", "description": "butterfly_web.butterfly.server", "peekOfCode": "http_server = HTTPServer(application, ssl_options=ssl_opts)\nhttp_server.listen(port, address=host)\nif getattr(http_server, 'systemd', False):\n os.environ.pop('LISTEN_PID')\n os.environ.pop('LISTEN_FDS')\nlog.info('Starting loop')\nioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:\n port = list(http_server._sockets.values())[0].getsockname()[1]\nurl = \"http%s://%s:%d/%s\" % (", "detail": "butterfly_web.butterfly.server", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "butterfly_web.butterfly.server", "description": "butterfly_web.butterfly.server", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:\n port = list(http_server._sockets.values())[0].getsockname()[1]\nurl = \"http%s://%s:%d/%s\" % (\n \"s\" if not options.unsecure else \"\", host, port,\n (options.uri_root_path.strip('/') + '/') if options.uri_root_path else ''\n)\nif not options.one_shot or not webbrowser.open(url):\n log.warn('Butterfly is ready, open your browser to: %s' % url)\nioloop.start()", "detail": "butterfly_web.butterfly.server", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "butterfly_web.butterfly.server", "description": "butterfly_web.butterfly.server", "peekOfCode": "url = \"http%s://%s:%d/%s\" % (\n \"s\" if not options.unsecure else \"\", host, port,\n (options.uri_root_path.strip('/') + '/') if options.uri_root_path else ''\n)\nif not options.one_shot or not webbrowser.open(url):\n log.warn('Butterfly is ready, open your browser to: %s' % url)\nioloop.start()", "detail": "butterfly_web.butterfly.server", "documentation": {} }, { "label": "bootstrap", "kind": 2, "importPath": "butterfly_web.get-pip", "description": "butterfly_web.get-pip", "peekOfCode": "def bootstrap(tmpdir=None):\n # Import pip so we can use it to install pip and maybe setuptools too\n from pip._internal.cli.main import main as pip_entry_point\n from pip._internal.commands.install import InstallCommand\n from pip._internal.req.constructors import install_req_from_line\n # Wrapper to provide default certificate with the lowest priority\n # Due to pip._internal.commands.commands_dict structure, a monkeypatch\n # seems the simplest workaround.\n install_parse_args = InstallCommand.parse_args\n def cert_parse_args(self, args):", "detail": "butterfly_web.get-pip", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "butterfly_web.get-pip", "description": "butterfly_web.get-pip", "peekOfCode": "def main():\n tmpdir = None\n try:\n # Create a temporary working directory\n tmpdir = tempfile.mkdtemp()\n # Unpack the zipfile into the temporary directory\n pip_zip = os.path.join(tmpdir, \"pip.zip\")\n with open(pip_zip, \"wb\") as fp:\n fp.write(b85decode(DATA.replace(b\"\\n\", b\"\")))\n # Add the zipfile to sys.path so that we can import it", "detail": "butterfly_web.get-pip", "documentation": {} }, { "label": "PY2", "kind": 5, "importPath": "butterfly_web.get-pip", "description": "butterfly_web.get-pip", "peekOfCode": "PY2 = sys.version_info[0] == 2\nPY3 = sys.version_info[0] == 3\nif PY3:\n iterbytes = iter\nelse:\n def iterbytes(buf):\n return (ord(byte) for byte in buf)\ntry:\n from base64 import b85decode\nexcept ImportError:", "detail": "butterfly_web.get-pip", "documentation": {} }, { "label": "PY3", "kind": 5, "importPath": "butterfly_web.get-pip", "description": "butterfly_web.get-pip", "peekOfCode": "PY3 = sys.version_info[0] == 3\nif PY3:\n iterbytes = iter\nelse:\n def iterbytes(buf):\n return (ord(byte) for byte in buf)\ntry:\n from base64 import b85decode\nexcept ImportError:\n _b85alphabet = (b\"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\"", "detail": "butterfly_web.get-pip", "documentation": {} }, { "label": "DATA", "kind": 5, "importPath": "butterfly_web.get-pip", "description": "butterfly_web.get-pip", "peekOfCode": "DATA = b\"\"\"\nP)h>@6aWAK2mq6MtBUtcb8d2NtyYr-%Phu`N@9Nmj4xO9l\nHO>i(|e`H&gvAqzH5bae1Z4z?VNx%J4r5gi7-sG3#xx1$bt^#koRK_v}t4mq4DM@nUjopE%ybBEP%f(\nVnUmmBg>f9C_o<}\nCJ4)Qc90W9W61RSR7ahxNJ-SN9NCI2I;J^0_wz@oEd*V(_q-fwN@;6>7^+xBxXFY?@ZUC4oCw*g8wDM\n4)Xjo=J)$@F|w+JU6GdkR$8pXaIx=duC7LG~F5A*BiNYRq7kB)5uH>QH_+|jP7n_H`$+{bK22zXuOLl\nb>`F|XzwwcMhVDuu)pC^QeXT4P)h>@6aWAK2mq6s8^EeX~AToilV)A2_e6~zhOaP~KZvIOlqFiVW+60AOs)?J~q5l!-OgI;*jfY94W3Aib4Jnnk|YJ\n*Ng1Ga|{kpv)l&^K>8SV(XV+<$mHY8?a{!1#G)Y63H$85<@-{DTbUDCucxV6x07;%M+|!-MO9j<0Wi#", "detail": "butterfly_web.get-pip", "documentation": {} }, { "label": "about", "kind": 5, "importPath": "butterfly_web.setup", "description": "butterfly_web.setup", "peekOfCode": "about = {}\nwith open(os.path.join(\n os.path.dirname(__file__), \"butterfly\", \"__about__.py\")) as f:\n exec(f.read(), about)\nsetup(\n name=about['__title__'],\n version=about['__version__'],\n description=about['__summary__'],\n url=about['__uri__'],\n author=about['__author__'],", "detail": "butterfly_web.setup", "documentation": {} }, { "label": "style", "kind": 6, "importPath": "prolog.ARC_jmmcd.src.manual_solve", "description": "prolog.ARC_jmmcd.src.manual_solve", "peekOfCode": "class style():\n BLACK = '\\033[40m'\n RED = '\\033[101m'\n GREEN = '\\033[42m'\n YELLOW = '\\033[103m'\n BLUE = '\\033[44m'\n MAGENTA = '\\033[45m'\n CYAN = '\\033[46m'\n WHITE = '\\033[47m'\n RESET = '\\033[0m'", "detail": "prolog.ARC_jmmcd.src.manual_solve", "documentation": {} }, { "label": "solve_6a1e5592", "kind": 2, "importPath": "prolog.ARC_jmmcd.src.manual_solve", "description": "prolog.ARC_jmmcd.src.manual_solve", "peekOfCode": "def solve_6a1e5592(x):\n return x\ndef solve_b2862040(x):\n return x\ndef solve_05269061(x):\n return x\ndef main():\n # Find all the functions defined in this file whose names are\n # like solve_abcd1234(), and run them.\n # regex to match solve_* functions and extract task IDs", "detail": "prolog.ARC_jmmcd.src.manual_solve", "documentation": {} }, { "label": "solve_b2862040", "kind": 2, "importPath": "prolog.ARC_jmmcd.src.manual_solve", "description": "prolog.ARC_jmmcd.src.manual_solve", "peekOfCode": "def solve_b2862040(x):\n return x\ndef solve_05269061(x):\n return x\ndef main():\n # Find all the functions defined in this file whose names are\n # like solve_abcd1234(), and run them.\n # regex to match solve_* functions and extract task IDs\n p = r\"solve_([a-f0-9]{8})\" \n tasks_solvers = []", "detail": "prolog.ARC_jmmcd.src.manual_solve", "documentation": {} }, { "label": "solve_05269061", "kind": 2, "importPath": "prolog.ARC_jmmcd.src.manual_solve", "description": "prolog.ARC_jmmcd.src.manual_solve", "peekOfCode": "def solve_05269061(x):\n return x\ndef main():\n # Find all the functions defined in this file whose names are\n # like solve_abcd1234(), and run them.\n # regex to match solve_* functions and extract task IDs\n p = r\"solve_([a-f0-9]{8})\" \n tasks_solvers = []\n # globals() gives a dict containing all global names (variables\n # and functions), as name: value pairs.", "detail": "prolog.ARC_jmmcd.src.manual_solve", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.ARC_jmmcd.src.manual_solve", "description": "prolog.ARC_jmmcd.src.manual_solve", "peekOfCode": "def main():\n # Find all the functions defined in this file whose names are\n # like solve_abcd1234(), and run them.\n # regex to match solve_* functions and extract task IDs\n p = r\"solve_([a-f0-9]{8})\" \n tasks_solvers = []\n # globals() gives a dict containing all global names (variables\n # and functions), as name: value pairs.\n for name in globals(): \n m = re.match(p, name)", "detail": "prolog.ARC_jmmcd.src.manual_solve", "documentation": {} }, { "label": "echo_colour", "kind": 2, "importPath": "prolog.ARC_jmmcd.src.manual_solve", "description": "prolog.ARC_jmmcd.src.manual_solve", "peekOfCode": "def echo_colour(x):\n s = \" \" # print a space with a coloured background\n for row in x:\n for i in row:\n # print a character twice as grids are too \"thin\" otherwise\n print(cmap[int(i)] + s + s + style.RESET, end=\"\")\n print(\"\")\n## TODO write a more convenient diff function, either for grids\n## or for json files (because each task is stored as a single line\n## of json in GitHub).", "detail": "prolog.ARC_jmmcd.src.manual_solve", "documentation": {} }, { "label": "read_ARC_JSON", "kind": 2, "importPath": "prolog.ARC_jmmcd.src.manual_solve", "description": "prolog.ARC_jmmcd.src.manual_solve", "peekOfCode": "def read_ARC_JSON(filepath):\n \"\"\"Given a filepath, read in the ARC task data which is in JSON\n format. Extract the train/test input/output pairs of\n grids. Convert each grid to np.array and return train_input,\n train_output, test_input, test_output.\"\"\"\n # Open the JSON file and load it \n data = json.load(open(filepath))\n # Extract the train/test input/output grids. Each grid will be a\n # list of lists of ints. We convert to Numpy.\n train_input = [np.array(data['train'][i]['input']) for i in range(len(data['train']))]", "detail": "prolog.ARC_jmmcd.src.manual_solve", "documentation": {} }, { "label": "test", "kind": 2, "importPath": "prolog.ARC_jmmcd.src.manual_solve", "description": "prolog.ARC_jmmcd.src.manual_solve", "peekOfCode": "def test(taskID, solve, data):\n \"\"\"Given a task ID, call the given solve() function on every\n example in the task data.\"\"\"\n print(taskID)\n train_input, train_output, test_input, test_output = data\n print(\"Training grids\")\n for x, y in zip(train_input, train_output):\n yhat = solve(x)\n show_result(x, y, yhat)\n print(\"Test grids\")", "detail": "prolog.ARC_jmmcd.src.manual_solve", "documentation": {} }, { "label": "show_result", "kind": 2, "importPath": "prolog.ARC_jmmcd.src.manual_solve", "description": "prolog.ARC_jmmcd.src.manual_solve", "peekOfCode": "def show_result(x, y, yhat):\n print(\"Input\")\n echo_colour(x) # if echo_colour(x) doesn't work, uncomment print(x) instead\n #print(x)\n print(\"Correct output\")\n echo_colour(y)\n #print(y)\n print(\"Our output\")\n echo_colour(yhat)\n #print(yhat)", "detail": "prolog.ARC_jmmcd.src.manual_solve", "documentation": {} }, { "label": "cmap", "kind": 5, "importPath": "prolog.ARC_jmmcd.src.manual_solve", "description": "prolog.ARC_jmmcd.src.manual_solve", "peekOfCode": "cmap = [style.BLACK,\n style.BLUE,\n style.RED,\n style.GREEN,\n style.YELLOW,\n style.WHITE,\n style.MAGENTA,\n style.DARKYELLOW,\n style.CYAN,\n style.DARKRED]", "detail": "prolog.ARC_jmmcd.src.manual_solve", "documentation": {} }, { "label": "bin_dir", "kind": 5, "importPath": "prolog.h-muarc.butterfly.bin.activate_this", "description": "prolog.h-muarc.butterfly.bin.activate_this", "peekOfCode": "bin_dir = os.path.dirname(abs_file)\nbase = bin_dir[: -len(\"bin\") - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)", "detail": "prolog.h-muarc.butterfly.bin.activate_this", "documentation": {} }, { "label": "base", "kind": 5, "importPath": "prolog.h-muarc.butterfly.bin.activate_this", "description": "prolog.h-muarc.butterfly.bin.activate_this", "peekOfCode": "base = bin_dir[: -len(\"bin\") - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]", "detail": "prolog.h-muarc.butterfly.bin.activate_this", "documentation": {} }, { "label": "os.environ[\"PATH\"]", "kind": 5, "importPath": "prolog.h-muarc.butterfly.bin.activate_this", "description": "prolog.h-muarc.butterfly.bin.activate_this", "peekOfCode": "os.environ[\"PATH\"] = os.pathsep.join([bin_dir] + os.environ.get(\"PATH\", \"\").split(os.pathsep))\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "prolog.h-muarc.butterfly.bin.activate_this", "documentation": {} }, { "label": "os.environ[\"VIRTUAL_ENV\"]", "kind": 5, "importPath": "prolog.h-muarc.butterfly.bin.activate_this", "description": "prolog.h-muarc.butterfly.bin.activate_this", "peekOfCode": "os.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "prolog.h-muarc.butterfly.bin.activate_this", "documentation": {} }, { "label": "prev_length", "kind": 5, "importPath": "prolog.h-muarc.butterfly.bin.activate_this", "description": "prolog.h-muarc.butterfly.bin.activate_this", "peekOfCode": "prev_length = len(sys.path)\nfor lib in \"../lib/python3.7/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "prolog.h-muarc.butterfly.bin.activate_this", "documentation": {} }, { "label": "sys.path[:]", "kind": 5, "importPath": "prolog.h-muarc.butterfly.bin.activate_this", "description": "prolog.h-muarc.butterfly.bin.activate_this", "peekOfCode": "sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "prolog.h-muarc.butterfly.bin.activate_this", "documentation": {} }, { "label": "sys.real_prefix", "kind": 5, "importPath": "prolog.h-muarc.butterfly.bin.activate_this", "description": "prolog.h-muarc.butterfly.bin.activate_this", "peekOfCode": "sys.real_prefix = sys.prefix\nsys.prefix = base", "detail": "prolog.h-muarc.butterfly.bin.activate_this", "documentation": {} }, { "label": "sys.prefix", "kind": 5, "importPath": "prolog.h-muarc.butterfly.bin.activate_this", "description": "prolog.h-muarc.butterfly.bin.activate_this", "peekOfCode": "sys.prefix = base", "detail": "prolog.h-muarc.butterfly.bin.activate_this", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.bin.cat", "description": "prolog.h-muarc.butterfly.butterfly.bin.cat", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly cat wrapper.')\nparser.add_argument('-o', action=\"store_true\",\n dest='original', help='Force original cat')\nparser.add_argument(\n 'files', metavar='FILES', nargs='+',\n help='Force original cat')\nargs, remaining = parser.parse_known_args()\nif args.original:\n os.execvp('/usr/bin/cat', remaining + args.files)\nfor file in args.files:", "detail": "prolog.h-muarc.butterfly.butterfly.bin.cat", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.bin.colors", "description": "prolog.h-muarc.butterfly.butterfly.bin.colors", "peekOfCode": "parser = argparse.ArgumentParser(\n description='Butterfly terminal color tester.')\nparser.add_argument(\n '--colors',\n default='16',\n choices=['8', '16', '256', '16M'],\n help='Set the color mode to test')\nargs = parser.parse_args()\nprint()\nif args.colors in ['8', '16']:", "detail": "prolog.h-muarc.butterfly.butterfly.bin.colors", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.bin.colors", "description": "prolog.h-muarc.butterfly.butterfly.bin.colors", "peekOfCode": "args = parser.parse_args()\nprint()\nif args.colors in ['8', '16']:\n print('Background\\n')\n for l in range(3):\n sys.stdout.write(' ')\n for i in range(8):\n sys.stdout.write('\\x1b[%dm \\x1b[m ' % (40 + i))\n sys.stdout.write('\\n')\n sys.stdout.flush()", "detail": "prolog.h-muarc.butterfly.butterfly.bin.colors", "documentation": {} }, { "label": "path", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.bin.help", "description": "prolog.h-muarc.butterfly.butterfly.bin.help", "peekOfCode": "path = os.getenv('BUTTERFLY_PATH')\nif path:\n path = os.path.join(path, '../static/images/favicon.png')\nif path and os.path.exists(path):\n with image('image/png'):\n with open(path, 'rb') as i:\n print(base64.b64encode(i.read()).decode('ascii'))\nprint(\"\"\"\nButterfly is a xterm compliant terminal built with python and javascript.\n{title}Terminal functionalities:{reset}", "detail": "prolog.h-muarc.butterfly.butterfly.bin.help", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.bin.html", "description": "prolog.h-muarc.butterfly.butterfly.bin.html", "peekOfCode": "parser = argparse.ArgumentParser(\n description=\"Butterfly html converter.\\n\\n\"\n \"Output in html standard input.\\n\"\n \"Example: $ echo \\\"Bold\\\" | b html\",\n formatter_class=argparse.RawTextHelpFormatter)\nparser.parse_known_args()\nwith html():\n for line in fileinput.input():\n sys.stdout.write(line)", "detail": "prolog.h-muarc.butterfly.butterfly.bin.html", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.bin.open", "description": "prolog.h-muarc.butterfly.butterfly.bin.open", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly tab opener.')\nparser.add_argument(\n 'location',\n nargs='?',\n default=os.getcwd(),\n help='Directory to open the new tab in. (Defaults to current)')\nargs = parser.parse_args()\nurl_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)", "detail": "prolog.h-muarc.butterfly.butterfly.bin.open", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.bin.open", "description": "prolog.h-muarc.butterfly.butterfly.bin.open", "peekOfCode": "args = parser.parse_args()\nurl_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "prolog.h-muarc.butterfly.butterfly.bin.open", "documentation": {} }, { "label": "url_parts", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.bin.open", "description": "prolog.h-muarc.butterfly.butterfly.bin.open", "peekOfCode": "url_parts = urlparse(os.getenv('LOCATION', '/'))\nquery = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "prolog.h-muarc.butterfly.butterfly.bin.open", "documentation": {} }, { "label": "query", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.bin.open", "description": "prolog.h-muarc.butterfly.butterfly.bin.open", "peekOfCode": "query = parse_qs(url_parts.query)\nquery['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "prolog.h-muarc.butterfly.butterfly.bin.open", "documentation": {} }, { "label": "query['path']", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.bin.open", "description": "prolog.h-muarc.butterfly.butterfly.bin.open", "peekOfCode": "query['path'] = os.path.abspath(args.location)\nurl = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "prolog.h-muarc.butterfly.butterfly.bin.open", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.bin.open", "description": "prolog.h-muarc.butterfly.butterfly.bin.open", "peekOfCode": "url = urlunparse(url_parts._replace(path='')._replace(query=urlencode(query)))\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "prolog.h-muarc.butterfly.butterfly.bin.open", "documentation": {} }, { "label": "parser", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.bin.session", "description": "prolog.h-muarc.butterfly.butterfly.bin.session", "peekOfCode": "parser = argparse.ArgumentParser(description='Butterfly session opener.')\nparser.add_argument(\n 'session',\n help='Open or rattach a butterfly session. '\n '(Only in secure mode or in user unsecure mode (no su login))')\nargs = parser.parse_args()\nurl = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "prolog.h-muarc.butterfly.butterfly.bin.session", "documentation": {} }, { "label": "args", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.bin.session", "description": "prolog.h-muarc.butterfly.butterfly.bin.session", "peekOfCode": "args = parser.parse_args()\nurl = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "prolog.h-muarc.butterfly.butterfly.bin.session", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.bin.session", "description": "prolog.h-muarc.butterfly.butterfly.bin.session", "peekOfCode": "url = '%ssession/%s' % (os.getenv('LOCATION', '/'), args.session)\nif not webbrowser.open(url):\n print('Unable to open browser, please go to %s' % url)", "detail": "prolog.h-muarc.butterfly.butterfly.bin.session", "documentation": {} }, { "label": "html", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.escapes", "description": "prolog.h-muarc.butterfly.butterfly.escapes", "peekOfCode": "def html():\n sys.stdout.write('\\x1bP;HTML|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')", "detail": "prolog.h-muarc.butterfly.butterfly.escapes", "documentation": {} }, { "label": "image", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.escapes", "description": "prolog.h-muarc.butterfly.butterfly.escapes", "peekOfCode": "def image(mime='image'):\n sys.stdout.write('\\x1bP;IMAGE|%s;' % mime)\n yield\n sys.stdout.write('\\x1bP\\n')\n sys.stdout.flush()\n@contextmanager\ndef prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "prolog.h-muarc.butterfly.butterfly.escapes", "documentation": {} }, { "label": "prompt", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.escapes", "description": "prolog.h-muarc.butterfly.butterfly.escapes", "peekOfCode": "def prompt():\n sys.stdout.write('\\x1bP;PROMPT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\n@contextmanager\ndef text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')", "detail": "prolog.h-muarc.butterfly.butterfly.escapes", "documentation": {} }, { "label": "text", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.escapes", "description": "prolog.h-muarc.butterfly.butterfly.escapes", "peekOfCode": "def text():\n sys.stdout.write('\\x1bP;TEXT|')\n yield\n sys.stdout.write('\\x1bP')\n sys.stdout.flush()\ndef geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)", "detail": "prolog.h-muarc.butterfly.butterfly.escapes", "documentation": {} }, { "label": "geolocation", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.escapes", "description": "prolog.h-muarc.butterfly.butterfly.escapes", "peekOfCode": "def geolocation():\n sys.stdout.write('\\x1b[?99n')\n sys.stdout.flush()\n fd = sys.stdin.fileno()\n old_settings = termios.tcgetattr(fd)\n try:\n tty.setraw(sys.stdin.fileno())\n rv = sys.stdin.read(1)\n if rv != '\\x1b':\n raise", "detail": "prolog.h-muarc.butterfly.butterfly.escapes", "documentation": {} }, { "label": "PamHandle", "kind": 6, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "class PamHandle(Structure):\n \"\"\"wrapper class for pam_handle_t pointer\"\"\"\n _fields_ = [(\"handle\", c_void_p)]\n def __init__(self):\n Structure.__init__(self)\n self.handle = 0\nclass PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "PamMessage", "kind": 6, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "class PamMessage(Structure):\n \"\"\"wrapper class for pam_message structure\"\"\"\n _fields_ = [(\"msg_style\", c_int), (\"msg\", c_char_p)]\n def __repr__(self):\n return \"\" % (self.msg_style, self.msg)\nclass PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "PamResponse", "kind": 6, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "class PamResponse(Structure):\n \"\"\"wrapper class for pam_response structure\"\"\"\n _fields_ = [(\"resp\", c_char_p), (\"resp_retcode\", c_int)]\n def __repr__(self):\n return \"\" % (self.resp_retcode, self.resp)\nconv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "PamConv", "kind": 6, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "class PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "PAM", "kind": 6, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "class PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.\n Returns True for success, or False for failure.", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "login_prompt", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "def login_prompt(username, profile, env):\n pam = PAM()\n success = pam.authenticate(username, profile)\n print('{} {}'.format(pam.code, pam.reason))\n if success:\n su = '/usr/bin/su'\n if not os.path.exists(su):\n su = '/bin/su'\n os.execvpe(su, [su, '-l', username], env)\n return success", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "conv_func", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "conv_func = CFUNCTYPE(\n c_int, c_int, POINTER(POINTER(PamMessage)),\n POINTER(POINTER(PamResponse)), c_void_p)\nclass PamConv(Structure):\n \"\"\"wrapper class for pam_conv structure\"\"\"\n _fields_ = [(\"conv\", conv_func), (\"appdata_ptr\", c_void_p)]\n# Various constants\nPAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_OFF", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "PAM_PROMPT_ECHO_OFF = 1\nPAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "PAM_PROMPT_ECHO_ON", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "PAM_PROMPT_ECHO_ON = 2\nPAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "PAM_ERROR_MSG", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "PAM_ERROR_MSG = 3\nPAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "PAM_TEXT_INFO", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "PAM_TEXT_INFO = 4\nPAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "PAM_REINITIALIZE_CRED", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "PAM_REINITIALIZE_CRED = 8\nlibc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "libc", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "libc = CDLL(find_library(\"c\"))\nlibpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "libpam", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "libpam = CDLL(find_library(\"pam\"))\nlibpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "libpam_misc", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "libpam_misc = CDLL(find_library(\"pam_misc\"))\ncalloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "calloc", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "calloc = libc.calloc\ncalloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "calloc.restype", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "calloc.restype = c_void_p\ncalloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "calloc.argtypes", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "calloc.argtypes = [c_size_t, c_size_t]\npam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_end", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "pam_end = libpam.pam_end\npam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_end.restype", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "pam_end.restype = c_int\npam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_end.argtypes", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "pam_end.argtypes = [PamHandle, c_int]\npam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_start", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "pam_start = libpam.pam_start\npam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_start.restype", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "pam_start.restype = c_int\npam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_start.argtypes", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "pam_start.argtypes = [c_char_p, c_char_p, POINTER(PamConv), POINTER(PamHandle)]\npam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_setcred", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "pam_setcred = libpam.pam_setcred\npam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_setcred.restype", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "pam_setcred.restype = c_int\npam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_setcred.argtypes", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "pam_setcred.argtypes = [PamHandle, c_int]\npam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_strerror", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "pam_strerror = libpam.pam_strerror\npam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_strerror.restype", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "pam_strerror.restype = c_char_p\npam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_strerror.argtypes", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "pam_strerror.argtypes = [PamHandle, c_int]\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "pam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate.restype", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "pam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "pam_authenticate.argtypes", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "pam_authenticate.argtypes = [PamHandle, c_int]\nmisc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "misc_conv", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.pam", "description": "prolog.h-muarc.butterfly.butterfly.pam", "peekOfCode": "misc_conv = libpam_misc.misc_conv\nclass PAM():\n code = 0\n reason = None\n def __init__(self):\n pass\n def authenticate(\n self, username,\n service='login', encoding='utf-8', resetcreds=True):\n \"\"\"PAM authentication through standard input for the given service.", "detail": "prolog.h-muarc.butterfly.butterfly.pam", "documentation": {} }, { "label": "Index", "kind": 6, "importPath": "prolog.h-muarc.butterfly.butterfly.routes", "description": "prolog.h-muarc.butterfly.butterfly.routes", "peekOfCode": "class Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:\n raise tornado.web.HTTPError(400)\n return self.render(\n 'index.html', session=session or str(uuid4()))\n@url(r'/theme/([^/]+)/style.css')\nclass Theme(Route):", "detail": "prolog.h-muarc.butterfly.butterfly.routes", "documentation": {} }, { "label": "Theme", "kind": 6, "importPath": "prolog.h-muarc.butterfly.butterfly.routes", "description": "prolog.h-muarc.butterfly.butterfly.routes", "peekOfCode": "class Theme(Route):\n def get(self, theme):\n self.log.info('Getting style')\n try:\n import sass\n sass.CompileError\n except Exception:\n self.log.error(\n 'You must install libsass to use sass '\n '(pip install libsass)')", "detail": "prolog.h-muarc.butterfly.butterfly.routes", "documentation": {} }, { "label": "ThemeStatic", "kind": 6, "importPath": "prolog.h-muarc.butterfly.butterfly.routes", "description": "prolog.h-muarc.butterfly.butterfly.routes", "peekOfCode": "class ThemeStatic(Route):\n def get(self, theme, name):\n if '..' in name:\n raise tornado.web.HTTPError(403)\n base_dir = self.get_theme_dir(theme)\n fn = os.path.normpath(os.path.join(base_dir, name))\n if not fn.startswith(base_dir):\n raise tornado.web.HTTPError(403)\n if os.path.exists(fn):\n type = guess_type(fn)[0]", "detail": "prolog.h-muarc.butterfly.butterfly.routes", "documentation": {} }, { "label": "KeptAliveWebSocketHandler", "kind": 6, "importPath": "prolog.h-muarc.butterfly.butterfly.routes", "description": "prolog.h-muarc.butterfly.butterfly.routes", "peekOfCode": "class KeptAliveWebSocketHandler(tornado.websocket.WebSocketHandler):\n keepalive_timer = None\n def open(self, *args, **kwargs):\n self.keepalive_timer = tornado.ioloop.PeriodicCallback(\n self.send_ping, tornado.options.options.keepalive_interval * 1000)\n self.keepalive_timer.start()\n def send_ping(self):\n t = int(time.time())\n frame = struct.pack('[^/]+)/?)?')\nclass Index(Route):\n def get(self, session):\n user = self.request.query_arguments.get(\n 'user', [b''])[0].decode('utf-8')\n if not tornado.options.options.unsecure and user:", "detail": "prolog.h-muarc.butterfly.butterfly.routes", "documentation": {} }, { "label": "Terminal", "kind": 6, "importPath": "prolog.h-muarc.butterfly.butterfly.terminal", "description": "prolog.h-muarc.butterfly.butterfly.terminal", "peekOfCode": "class Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):\n self.sessions[session] = self\n self.history_size = 50000\n self.history = ''\n self.uri = uri\n self.session = session\n self.broadcast = broadcast", "detail": "prolog.h-muarc.butterfly.butterfly.terminal", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.terminal", "description": "prolog.h-muarc.butterfly.butterfly.terminal", "peekOfCode": "log = getLogger('butterfly')\nioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):", "detail": "prolog.h-muarc.butterfly.butterfly.terminal", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.terminal", "description": "prolog.h-muarc.butterfly.butterfly.terminal", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nserver = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}", "detail": "prolog.h-muarc.butterfly.butterfly.terminal", "documentation": {} }, { "label": "server", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.terminal", "description": "prolog.h-muarc.butterfly.butterfly.terminal", "peekOfCode": "server = utils.User()\ndaemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,", "detail": "prolog.h-muarc.butterfly.butterfly.terminal", "documentation": {} }, { "label": "daemon", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.terminal", "description": "prolog.h-muarc.butterfly.butterfly.terminal", "peekOfCode": "daemon = utils.User(name='daemon')\n# Python 2 backward compatibility\ntry:\n input = raw_input\nexcept NameError:\n pass\nclass Terminal(object):\n sessions = {}\n def __init__(self, user, path, session, socket, uri, render_string,\n broadcast):", "detail": "prolog.h-muarc.butterfly.butterfly.terminal", "documentation": {} }, { "label": "User", "kind": 6, "importPath": "prolog.h-muarc.butterfly.butterfly.utils", "description": "prolog.h-muarc.butterfly.butterfly.utils", "peekOfCode": "class User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:\n uid = os.getuid()\n if uid is not None:\n self.pw = pwd.getpwuid(uid)\n else:\n self.pw = pwd.getpwnam(name)\n if self.pw is None:\n raise LookupError('Unknown user')", "detail": "prolog.h-muarc.butterfly.butterfly.utils", "documentation": {} }, { "label": "Socket", "kind": 6, "importPath": "prolog.h-muarc.butterfly.butterfly.utils", "description": "prolog.h-muarc.butterfly.butterfly.utils", "peekOfCode": "class Socket(object):\n def __init__(self, socket):\n sn = socket.getsockname()\n self.local_addr = sn[0]\n self.local_port = sn[1]\n try:\n pn = socket.getpeername()\n self.remote_addr = pn[0]\n self.remote_port = pn[1]\n except Exception:", "detail": "prolog.h-muarc.butterfly.butterfly.utils", "documentation": {} }, { "label": "AnsiColors", "kind": 6, "importPath": "prolog.h-muarc.butterfly.butterfly.utils", "description": "prolog.h-muarc.butterfly.butterfly.utils", "peekOfCode": "class AnsiColors(object):\n colors = {\n 'black': 30,\n 'red': 31,\n 'green': 32,\n 'yellow': 33,\n 'blue': 34,\n 'magenta': 35,\n 'cyan': 36,\n 'white': 37", "detail": "prolog.h-muarc.butterfly.butterfly.utils", "documentation": {} }, { "label": "get_hex_ip_port", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.utils", "description": "prolog.h-muarc.butterfly.butterfly.utils", "peekOfCode": "def get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),\n int(splits[2]),", "detail": "prolog.h-muarc.butterfly.butterfly.utils", "documentation": {} }, { "label": "parse_cert", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.utils", "description": "prolog.h-muarc.butterfly.butterfly.utils", "peekOfCode": "def parse_cert(cert):\n user = None\n for elt in cert['subject']:\n user = dict(elt).get('commonName', None)\n if user:\n break\n return user\nclass User(object):\n def __init__(self, uid=None, name=None):\n if uid is None and not name:", "detail": "prolog.h-muarc.butterfly.butterfly.utils", "documentation": {} }, { "label": "get_lsof_socket_line", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.utils", "description": "prolog.h-muarc.butterfly.butterfly.utils", "peekOfCode": "def get_lsof_socket_line(addr, port):\n # May want to make this into a dictionary in the future...\n regex = \"\\w+\\s+(?P\\d+)\\s+(?P\\w+).*\\s\" \\\n \"(?P.*?):(?P\\d+)->(?P.*?):(?P\\d+)\"\n output = subprocess.check_output(['lsof', '-Pni']).decode('utf-8')\n lines = output.split('\\n')\n for line in lines:\n # Look for local address with peer port\n match = re.findall(regex, line)\n if len(match):", "detail": "prolog.h-muarc.butterfly.butterfly.utils", "documentation": {} }, { "label": "get_procfs_socket_line", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.utils", "description": "prolog.h-muarc.butterfly.butterfly.utils", "peekOfCode": "def get_procfs_socket_line(hex_ip_port):\n fn = None\n if len(hex_ip_port) == 13: # ipv4\n fn = '/proc/net/tcp'\n elif len(hex_ip_port) == 37: # ipv6\n fn = '/proc/net/tcp6'\n if not fn:\n return\n try:\n with open(fn) as k:", "detail": "prolog.h-muarc.butterfly.butterfly.utils", "documentation": {} }, { "label": "get_socket_env", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.utils", "description": "prolog.h-muarc.butterfly.butterfly.utils", "peekOfCode": "def get_socket_env(inode, user):\n for pid in os.listdir(\"/proc/\"):\n if not pid.isdigit():\n continue\n try:\n with open('/proc/%s/cmdline' % pid) as c:\n command = c.read().split('\\x00')\n executable = command[0].split('/')[-1]\n if executable in ('sh', 'bash', 'zsh'):\n executable = command[1].split('/')[-1]", "detail": "prolog.h-muarc.butterfly.butterfly.utils", "documentation": {} }, { "label": "get_utmp_file", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.utils", "description": "prolog.h-muarc.butterfly.butterfly.utils", "peekOfCode": "def get_utmp_file():\n for file in (\n '/var/run/utmp',\n '/var/adm/utmp',\n '/var/adm/utmpx',\n '/etc/utmp',\n '/etc/utmpx',\n '/var/run/utx.active'):\n if os.path.exists(file):\n return file", "detail": "prolog.h-muarc.butterfly.butterfly.utils", "documentation": {} }, { "label": "get_wtmp_file", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.utils", "description": "prolog.h-muarc.butterfly.butterfly.utils", "peekOfCode": "def get_wtmp_file():\n for file in (\n '/var/log/wtmp',\n '/var/adm/wtmp',\n '/var/adm/wtmpx',\n '/var/run/utx.log'):\n if os.path.exists(file):\n return file\nUTmp = namedtuple(\n 'UTmp',", "detail": "prolog.h-muarc.butterfly.butterfly.utils", "documentation": {} }, { "label": "utmp_line", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.utils", "description": "prolog.h-muarc.butterfly.butterfly.utils", "peekOfCode": "def utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line\n b(id), # id\n b(user), # user\n b(host), # host\n 0, # exit 0\n 0, # exit 1", "detail": "prolog.h-muarc.butterfly.butterfly.utils", "documentation": {} }, { "label": "add_user_info", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.utils", "description": "prolog.h-muarc.butterfly.butterfly.utils", "peekOfCode": "def add_user_info(id, fd, pid, user, host):\n # Freebsd format is not yet supported.\n # Please submit PR\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 7, pid, fd, user, host, time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:", "detail": "prolog.h-muarc.butterfly.butterfly.utils", "documentation": {} }, { "label": "rm_user_info", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.utils", "description": "prolog.h-muarc.butterfly.butterfly.utils", "peekOfCode": "def rm_user_info(id, pid):\n if sys.platform != 'linux':\n return\n utmp = utmp_line(id, 8, pid, '', '', '', time.time())\n for kind, file in {\n 'utmp': get_utmp_file(),\n 'wtmp': get_wtmp_file()}.items():\n if not file:\n continue\n try:", "detail": "prolog.h-muarc.butterfly.butterfly.utils", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.utils", "description": "prolog.h-muarc.butterfly.butterfly.utils", "peekOfCode": "log = getLogger('butterfly')\ndef get_hex_ip_port(remote):\n ip, port = remote\n if ip.startswith('::ffff:'):\n ip = ip[len('::ffff:'):]\n splits = ip.split('.')\n if ':' not in ip and len(splits) == 4:\n # Must be an ipv4\n return '%02X%02X%02X%02X:%04X' % (\n int(splits[3]),", "detail": "prolog.h-muarc.butterfly.butterfly.utils", "documentation": {} }, { "label": "utmp_struct", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.utils", "description": "prolog.h-muarc.butterfly.butterfly.utils", "peekOfCode": "utmp_struct = struct.Struct('hi32s4s32s256shhiii4i20s')\nif sys.version_info[0] == 2:\n b = lambda x: x\nelse:\n def b(x):\n if isinstance(x, str):\n return x.encode('utf-8')\n return x\ndef get_utmp_file():\n for file in (", "detail": "prolog.h-muarc.butterfly.butterfly.utils", "documentation": {} }, { "label": "UTmp", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.utils", "description": "prolog.h-muarc.butterfly.butterfly.utils", "peekOfCode": "UTmp = namedtuple(\n 'UTmp',\n ['type', 'pid', 'line', 'id', 'user', 'host',\n 'exit0', 'exit1', 'session',\n 'sec', 'usec', 'addr0', 'addr1', 'addr2', 'addr3', 'unused'])\ndef utmp_line(id, type, pid, fd, user, host, ts):\n return UTmp(\n type, # Type, 7 : user process\n pid, # pid\n b(fd), # line", "detail": "prolog.h-muarc.butterfly.butterfly.utils", "documentation": {} }, { "label": "ansi_colors", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.utils", "description": "prolog.h-muarc.butterfly.butterfly.utils", "peekOfCode": "ansi_colors = AnsiColors()", "detail": "prolog.h-muarc.butterfly.butterfly.utils", "documentation": {} }, { "label": "to_abs", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.server", "description": "prolog.h-muarc.butterfly.butterfly.server", "peekOfCode": "def to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',\n 'butterfly_%s.crt', 'butterfly_%s.key',\n '%s.p12'])\ndef fill_fields(subject):\n subject.C = 'WW'\n subject.O = 'Butterfly'\n subject.OU = 'Butterfly Terminal'", "detail": "prolog.h-muarc.butterfly.butterfly.server", "documentation": {} }, { "label": "fill_fields", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.server", "description": "prolog.h-muarc.butterfly.butterfly.server", "peekOfCode": "def fill_fields(subject):\n subject.C = 'WW'\n subject.O = 'Butterfly'\n subject.OU = 'Butterfly Terminal'\n subject.ST = 'World Wide'\n subject.L = 'Terminal'\ndef write(file, content):\n with open(file, 'wb') as fd:\n fd.write(content)\n print('Writing %s' % file)", "detail": "prolog.h-muarc.butterfly.butterfly.server", "documentation": {} }, { "label": "write", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.server", "description": "prolog.h-muarc.butterfly.butterfly.server", "peekOfCode": "def write(file, content):\n with open(file, 'wb') as fd:\n fd.write(content)\n print('Writing %s' % file)\ndef read(file):\n print('Reading %s' % file)\n with open(file, 'rb') as fd:\n return fd.read()\ndef b(s):\n return s.encode('utf-8')", "detail": "prolog.h-muarc.butterfly.butterfly.server", "documentation": {} }, { "label": "read", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.server", "description": "prolog.h-muarc.butterfly.butterfly.server", "peekOfCode": "def read(file):\n print('Reading %s' % file)\n with open(file, 'rb') as fd:\n return fd.read()\ndef b(s):\n return s.encode('utf-8')\nif options.generate_certs:\n from OpenSSL import crypto\n print('Generating certificates for %s (change it with --host)\\n' % host)\n if not os.path.exists(ca) and not os.path.exists(ca_key):", "detail": "prolog.h-muarc.butterfly.butterfly.server", "documentation": {} }, { "label": "b", "kind": 2, "importPath": "prolog.h-muarc.butterfly.butterfly.server", "description": "prolog.h-muarc.butterfly.butterfly.server", "peekOfCode": "def b(s):\n return s.encode('utf-8')\nif options.generate_certs:\n from OpenSSL import crypto\n print('Generating certificates for %s (change it with --host)\\n' % host)\n if not os.path.exists(ca) and not os.path.exists(ca_key):\n print('Root certificate not found, generating it')\n ca_pk = crypto.PKey()\n ca_pk.generate_key(crypto.TYPE_RSA, 2048)\n ca_cert = crypto.X509()", "detail": "prolog.h-muarc.butterfly.butterfly.server", "documentation": {} }, { "label": "butterfly_dir", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.server", "description": "prolog.h-muarc.butterfly.butterfly.server", "peekOfCode": "butterfly_dir = os.path.join(ev, 'butterfly')\nconf_file = os.path.join(butterfly_dir, 'butterfly.conf')\nssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()", "detail": "prolog.h-muarc.butterfly.butterfly.server", "documentation": {} }, { "label": "conf_file", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.server", "description": "prolog.h-muarc.butterfly.butterfly.server", "peekOfCode": "conf_file = os.path.join(butterfly_dir, 'butterfly.conf')\nssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()\nif os.path.exists(tornado.options.options.conf):", "detail": "prolog.h-muarc.butterfly.butterfly.server", "documentation": {} }, { "label": "ssl_dir", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.server", "description": "prolog.h-muarc.butterfly.butterfly.server", "peekOfCode": "ssl_dir = os.path.join(butterfly_dir, 'ssl')\ntornado.options.define(\"conf\", default=conf_file,\n help=\"Butterfly configuration file. \"\n \"Contains the same options as command line.\")\ntornado.options.define(\"ssl_dir\", default=ssl_dir,\n help=\"Force SSL directory location\")\n# Do it once to get the conf path\ntornado.options.parse_command_line()\nif os.path.exists(tornado.options.options.conf):\n tornado.options.parse_config_file(tornado.options.options.conf)", "detail": "prolog.h-muarc.butterfly.butterfly.server", "documentation": {} }, { "label": "options", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.server", "description": "prolog.h-muarc.butterfly.butterfly.server", "peekOfCode": "options = tornado.options.options\nfor logger in ('tornado.access', 'tornado.application',\n 'tornado.general', 'butterfly'):\n level = logging.WARNING\n if options.debug:\n level = logging.INFO\n if options.more:\n level = logging.DEBUG\n logging.getLogger(logger).setLevel(level)\nlog = logging.getLogger('butterfly')", "detail": "prolog.h-muarc.butterfly.butterfly.server", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.server", "description": "prolog.h-muarc.butterfly.butterfly.server", "peekOfCode": "log = logging.getLogger('butterfly')\nhost = options.host\nport = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [", "detail": "prolog.h-muarc.butterfly.butterfly.server", "documentation": {} }, { "label": "host", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.server", "description": "prolog.h-muarc.butterfly.butterfly.server", "peekOfCode": "host = options.host\nport = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',", "detail": "prolog.h-muarc.butterfly.butterfly.server", "documentation": {} }, { "label": "port", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.server", "description": "prolog.h-muarc.butterfly.butterfly.server", "peekOfCode": "port = options.port\nif options.i_hereby_declare_i_dont_want_any_security_whatsoever:\n options.unsecure = True\nif not os.path.exists(options.ssl_dir):\n os.makedirs(options.ssl_dir)\ndef to_abs(file):\n return os.path.join(options.ssl_dir, file)\nca, ca_key, cert, cert_key, pkcs12 = map(to_abs, [\n 'butterfly_ca.crt', 'butterfly_ca.key',\n 'butterfly_%s.crt', 'butterfly_%s.key',", "detail": "prolog.h-muarc.butterfly.butterfly.server", "documentation": {} }, { "label": "application.butterfly_dir", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.server", "description": "prolog.h-muarc.butterfly.butterfly.server", "peekOfCode": "application.butterfly_dir = butterfly_dir\nlog.info('Starting server')\nhttp_server = HTTPServer(application, ssl_options=ssl_opts)\nhttp_server.listen(port, address=host)\nif getattr(http_server, 'systemd', False):\n os.environ.pop('LISTEN_PID')\n os.environ.pop('LISTEN_FDS')\nlog.info('Starting loop')\nioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:", "detail": "prolog.h-muarc.butterfly.butterfly.server", "documentation": {} }, { "label": "http_server", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.server", "description": "prolog.h-muarc.butterfly.butterfly.server", "peekOfCode": "http_server = HTTPServer(application, ssl_options=ssl_opts)\nhttp_server.listen(port, address=host)\nif getattr(http_server, 'systemd', False):\n os.environ.pop('LISTEN_PID')\n os.environ.pop('LISTEN_FDS')\nlog.info('Starting loop')\nioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:\n port = list(http_server._sockets.values())[0].getsockname()[1]\nurl = \"http%s://%s:%d/%s\" % (", "detail": "prolog.h-muarc.butterfly.butterfly.server", "documentation": {} }, { "label": "ioloop", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.server", "description": "prolog.h-muarc.butterfly.butterfly.server", "peekOfCode": "ioloop = tornado.ioloop.IOLoop.instance()\nif port == 0:\n port = list(http_server._sockets.values())[0].getsockname()[1]\nurl = \"http%s://%s:%d/%s\" % (\n \"s\" if not options.unsecure else \"\", host, port,\n (options.uri_root_path.strip('/') + '/') if options.uri_root_path else ''\n)\nif not options.one_shot or not webbrowser.open(url):\n log.warn('Butterfly is ready, open your browser to: %s' % url)\nioloop.start()", "detail": "prolog.h-muarc.butterfly.butterfly.server", "documentation": {} }, { "label": "url", "kind": 5, "importPath": "prolog.h-muarc.butterfly.butterfly.server", "description": "prolog.h-muarc.butterfly.butterfly.server", "peekOfCode": "url = \"http%s://%s:%d/%s\" % (\n \"s\" if not options.unsecure else \"\", host, port,\n (options.uri_root_path.strip('/') + '/') if options.uri_root_path else ''\n)\nif not options.one_shot or not webbrowser.open(url):\n log.warn('Butterfly is ready, open your browser to: %s' % url)\nioloop.start()", "detail": "prolog.h-muarc.butterfly.butterfly.server", "documentation": {} }, { "label": "bootstrap", "kind": 2, "importPath": "prolog.h-muarc.butterfly.get-pip", "description": "prolog.h-muarc.butterfly.get-pip", "peekOfCode": "def bootstrap(tmpdir=None):\n # Import pip so we can use it to install pip and maybe setuptools too\n from pip._internal.cli.main import main as pip_entry_point\n from pip._internal.commands.install import InstallCommand\n from pip._internal.req.constructors import install_req_from_line\n # Wrapper to provide default certificate with the lowest priority\n # Due to pip._internal.commands.commands_dict structure, a monkeypatch\n # seems the simplest workaround.\n install_parse_args = InstallCommand.parse_args\n def cert_parse_args(self, args):", "detail": "prolog.h-muarc.butterfly.get-pip", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.h-muarc.butterfly.get-pip", "description": "prolog.h-muarc.butterfly.get-pip", "peekOfCode": "def main():\n tmpdir = None\n try:\n # Create a temporary working directory\n tmpdir = tempfile.mkdtemp()\n # Unpack the zipfile into the temporary directory\n pip_zip = os.path.join(tmpdir, \"pip.zip\")\n with open(pip_zip, \"wb\") as fp:\n fp.write(b85decode(DATA.replace(b\"\\n\", b\"\")))\n # Add the zipfile to sys.path so that we can import it", "detail": "prolog.h-muarc.butterfly.get-pip", "documentation": {} }, { "label": "PY2", "kind": 5, "importPath": "prolog.h-muarc.butterfly.get-pip", "description": "prolog.h-muarc.butterfly.get-pip", "peekOfCode": "PY2 = sys.version_info[0] == 2\nPY3 = sys.version_info[0] == 3\nif PY3:\n iterbytes = iter\nelse:\n def iterbytes(buf):\n return (ord(byte) for byte in buf)\ntry:\n from base64 import b85decode\nexcept ImportError:", "detail": "prolog.h-muarc.butterfly.get-pip", "documentation": {} }, { "label": "PY3", "kind": 5, "importPath": "prolog.h-muarc.butterfly.get-pip", "description": "prolog.h-muarc.butterfly.get-pip", "peekOfCode": "PY3 = sys.version_info[0] == 3\nif PY3:\n iterbytes = iter\nelse:\n def iterbytes(buf):\n return (ord(byte) for byte in buf)\ntry:\n from base64 import b85decode\nexcept ImportError:\n _b85alphabet = (b\"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\"", "detail": "prolog.h-muarc.butterfly.get-pip", "documentation": {} }, { "label": "DATA", "kind": 5, "importPath": "prolog.h-muarc.butterfly.get-pip", "description": "prolog.h-muarc.butterfly.get-pip", "peekOfCode": "DATA = b\"\"\"\nP)h>@6aWAK2mq6MtBUtcb8d2NtyYr-%Phu`N@9Nmj4xO9l\nHO>i(|e`H&gvAqzH5bae1Z4z?VNx%J4r5gi7-sG3#xx1$bt^#koRK_v}t4mq4DM@nUjopE%ybBEP%f(\nVnUmmBg>f9C_o<}\nCJ4)Qc90W9W61RSR7ahxNJ-SN9NCI2I;J^0_wz@oEd*V(_q-fwN@;6>7^+xBxXFY?@ZUC4oCw*g8wDM\n4)Xjo=J)$@F|w+JU6GdkR$8pXaIx=duC7LG~F5A*BiNYRq7kB)5uH>QH_+|jP7n_H`$+{bK22zXuOLl\nb>`F|XzwwcMhVDuu)pC^QeXT4P)h>@6aWAK2mq6s8^EeX~AToilV)A2_e6~zhOaP~KZvIOlqFiVW+60AOs)?J~q5l!-OgI;*jfY94W3Aib4Jnnk|YJ\n*Ng1Ga|{kpv)l&^K>8SV(XV+<$mHY8?a{!1#G)Y63H$85<@-{DTbUDCucxV6x07;%M+|!-MO9j<0Wi#", "detail": "prolog.h-muarc.butterfly.get-pip", "documentation": {} }, { "label": "about", "kind": 5, "importPath": "prolog.h-muarc.butterfly.setup", "description": "prolog.h-muarc.butterfly.setup", "peekOfCode": "about = {}\nwith open(os.path.join(\n os.path.dirname(__file__), \"butterfly\", \"__about__.py\")) as f:\n exec(f.read(), about)\nsetup(\n name=about['__title__'],\n version=about['__version__'],\n description=about['__summary__'],\n url=about['__uri__'],\n author=about['__author__'],", "detail": "prolog.h-muarc.butterfly.setup", "documentation": {} }, { "label": "current_thread", "kind": 2, "importPath": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def current_thread(debugger):\n return debugger.GetSelectedTarget().GetProcess().GetSelectedThread()\ndef current_frame(debugger):\n return current_thread(debugger).GetSelectedFrame()\ndef no_arg_cmd(debugger, cmd):\n current_frame(debugger).EvaluateExpression(cmd)\n print(\"\")\ndef ptr_arg_cmd(debugger, name, param, cmd):\n if not param:\n print(\"'{}' requires an argument\".format(name))", "detail": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "current_frame", "kind": 2, "importPath": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def current_frame(debugger):\n return current_thread(debugger).GetSelectedFrame()\ndef no_arg_cmd(debugger, cmd):\n current_frame(debugger).EvaluateExpression(cmd)\n print(\"\")\ndef ptr_arg_cmd(debugger, name, param, cmd):\n if not param:\n print(\"'{}' requires an argument\".format(name))\n return\n param = '(void*)({})'.format(param)", "detail": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "no_arg_cmd", "kind": 2, "importPath": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def no_arg_cmd(debugger, cmd):\n current_frame(debugger).EvaluateExpression(cmd)\n print(\"\")\ndef ptr_arg_cmd(debugger, name, param, cmd):\n if not param:\n print(\"'{}' requires an argument\".format(name))\n return\n param = '(void*)({})'.format(param)\n no_arg_cmd(debugger, cmd.format(param))\n#####################", "detail": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "ptr_arg_cmd", "kind": 2, "importPath": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def ptr_arg_cmd(debugger, name, param, cmd):\n if not param:\n print(\"'{}' requires an argument\".format(name))\n return\n param = '(void*)({})'.format(param)\n no_arg_cmd(debugger, cmd.format(param))\n#####################\n# lldb commands. #\n#####################\ndef job(debugger, param, *args):", "detail": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "job", "kind": 2, "importPath": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def job(debugger, param, *args):\n \"\"\"Print a v8 heap object\"\"\"\n ptr_arg_cmd(debugger, 'job', param, \"_v8_internal_Print_Object({})\")\ndef jlh(debugger, param, *args):\n \"\"\"Print v8::Local handle value\"\"\"\n ptr_arg_cmd(debugger, 'jlh', param,\n \"_v8_internal_Print_Object(*(v8::internal::Object**)(*{}))\")\ndef jco(debugger, param, *args):\n \"\"\"Print the code object at the given pc (default: current pc)\"\"\"\n if not param:", "detail": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "jlh", "kind": 2, "importPath": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def jlh(debugger, param, *args):\n \"\"\"Print v8::Local handle value\"\"\"\n ptr_arg_cmd(debugger, 'jlh', param,\n \"_v8_internal_Print_Object(*(v8::internal::Object**)(*{}))\")\ndef jco(debugger, param, *args):\n \"\"\"Print the code object at the given pc (default: current pc)\"\"\"\n if not param:\n param = str(current_frame(debugger).FindRegister(\"pc\").value)\n ptr_arg_cmd(debugger, 'jco', param, \"_v8_internal_Print_Code({})\")\ndef jld(debugger, param, *args):", "detail": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "jco", "kind": 2, "importPath": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def jco(debugger, param, *args):\n \"\"\"Print the code object at the given pc (default: current pc)\"\"\"\n if not param:\n param = str(current_frame(debugger).FindRegister(\"pc\").value)\n ptr_arg_cmd(debugger, 'jco', param, \"_v8_internal_Print_Code({})\")\ndef jld(debugger, param, *args):\n \"\"\"Print a v8 LayoutDescriptor object\"\"\"\n ptr_arg_cmd(debugger, 'jld', param,\n \"_v8_internal_Print_LayoutDescriptor({})\")\ndef jtt(debugger, param, *args):", "detail": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "jld", "kind": 2, "importPath": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def jld(debugger, param, *args):\n \"\"\"Print a v8 LayoutDescriptor object\"\"\"\n ptr_arg_cmd(debugger, 'jld', param,\n \"_v8_internal_Print_LayoutDescriptor({})\")\ndef jtt(debugger, param, *args):\n \"\"\"Print the transition tree of a v8 Map\"\"\"\n ptr_arg_cmd(debugger, 'jtt', param, \"_v8_internal_Print_TransitionTree({})\")\ndef jst(debugger, *args):\n \"\"\"Print the current JavaScript stack trace\"\"\"\n no_arg_cmd(debugger, \"_v8_internal_Print_StackTrace()\")", "detail": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "jtt", "kind": 2, "importPath": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def jtt(debugger, param, *args):\n \"\"\"Print the transition tree of a v8 Map\"\"\"\n ptr_arg_cmd(debugger, 'jtt', param, \"_v8_internal_Print_TransitionTree({})\")\ndef jst(debugger, *args):\n \"\"\"Print the current JavaScript stack trace\"\"\"\n no_arg_cmd(debugger, \"_v8_internal_Print_StackTrace()\")\ndef jss(debugger, *args):\n \"\"\"Skip the jitted stack on x64 to where we entered JS last\"\"\"\n frame = current_frame(debugger)\n js_entry_sp = frame.EvaluateExpression(", "detail": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "jst", "kind": 2, "importPath": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def jst(debugger, *args):\n \"\"\"Print the current JavaScript stack trace\"\"\"\n no_arg_cmd(debugger, \"_v8_internal_Print_StackTrace()\")\ndef jss(debugger, *args):\n \"\"\"Skip the jitted stack on x64 to where we entered JS last\"\"\"\n frame = current_frame(debugger)\n js_entry_sp = frame.EvaluateExpression(\n \"v8::internal::Isolate::Current()->thread_local_top()->js_entry_sp_;\") \\\n .GetValue()\n sizeof_void = frame.EvaluateExpression(\"sizeof(void*)\").GetValue()", "detail": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "jss", "kind": 2, "importPath": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def jss(debugger, *args):\n \"\"\"Skip the jitted stack on x64 to where we entered JS last\"\"\"\n frame = current_frame(debugger)\n js_entry_sp = frame.EvaluateExpression(\n \"v8::internal::Isolate::Current()->thread_local_top()->js_entry_sp_;\") \\\n .GetValue()\n sizeof_void = frame.EvaluateExpression(\"sizeof(void*)\").GetValue()\n rbp = frame.FindRegister(\"rbp\")\n rsp = frame.FindRegister(\"rsp\")\n pc = frame.FindRegister(\"pc\")", "detail": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "bta", "kind": 2, "importPath": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def bta(debugger, *args):\n \"\"\"Print stack trace with assertion scopes\"\"\"\n func_name_re = re.compile(\"([^(<]+)(?:\\(.+\\))?\")\n assert_re = re.compile(\n \"^v8::internal::Per\\w+AssertType::(\\w+)_ASSERT, (false|true)>\")\n thread = current_thread(debugger)\n for frame in thread:\n functionSignature = frame.GetDisplayFunctionName()\n if functionSignature is None:\n continue", "detail": "prolog.h-muarc.prolog.kaggle_arc.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "load_tasks", "kind": 2, "importPath": "prolog.h-muarc.tutorial_code.tutorial_script", "description": "prolog.h-muarc.tutorial_code.tutorial_script", "peekOfCode": "def load_tasks(path):\n \"\"\"\n Function to load .json files of tasks\n :param path: Path to folder where tasks are stored\n :return: - training and test tasks separated into a list of dictionaries\n where each entry is of the type {'input': [.task.], 'output': [.task.]}\n - list of file names\n \"\"\"\n # Load Tasks\n # Path to tasks ", "detail": "prolog.h-muarc.tutorial_code.tutorial_script", "documentation": {} }, { "label": "num_test_tasks", "kind": 5, "importPath": "prolog.h-muarc.tutorial_code.tutorial_script", "description": "prolog.h-muarc.tutorial_code.tutorial_script", "peekOfCode": "num_test_tasks = len(testing_tasks)\ncounter = 0\n# Do some stuff to generate solution\n# Allocate space for overall solution\nsolution = []\n# Iterate over all tasks to generate solution\nfor test_task, task_filename in zip(testing_tasks, file_names):\n # Allocate space for solutions of task examples\n test = []\n # Store filename", "detail": "prolog.h-muarc.tutorial_code.tutorial_script", "documentation": {} }, { "label": "counter", "kind": 5, "importPath": "prolog.h-muarc.tutorial_code.tutorial_script", "description": "prolog.h-muarc.tutorial_code.tutorial_script", "peekOfCode": "counter = 0\n# Do some stuff to generate solution\n# Allocate space for overall solution\nsolution = []\n# Iterate over all tasks to generate solution\nfor test_task, task_filename in zip(testing_tasks, file_names):\n # Allocate space for solutions of task examples\n test = []\n # Store filename\n task_name = task_filename.strip('.json')", "detail": "prolog.h-muarc.tutorial_code.tutorial_script", "documentation": {} }, { "label": "solution", "kind": 5, "importPath": "prolog.h-muarc.tutorial_code.tutorial_script", "description": "prolog.h-muarc.tutorial_code.tutorial_script", "peekOfCode": "solution = []\n# Iterate over all tasks to generate solution\nfor test_task, task_filename in zip(testing_tasks, file_names):\n # Allocate space for solutions of task examples\n test = []\n # Store filename\n task_name = task_filename.strip('.json')\n # Iterate over test examples (1 or 2)\n for id_example, example in enumerate(test_task):\n # Get input of example", "detail": "prolog.h-muarc.tutorial_code.tutorial_script", "documentation": {} }, { "label": "solution_json", "kind": 5, "importPath": "prolog.h-muarc.tutorial_code.tutorial_script", "description": "prolog.h-muarc.tutorial_code.tutorial_script", "peekOfCode": "solution_json = json.dumps(solution)\nwith open('../data/solution/solution_lab42_logicmoo.json', 'w') as outfile:\n outfile.write(solution_json)\n# Print that program has finished\nprint(\"Program has finished!\")", "detail": "prolog.h-muarc.tutorial_code.tutorial_script", "documentation": {} }, { "label": "enable_echo", "kind": 2, "importPath": "prolog.HIDEEEEED~.KA.xterm.js.fixtures.escape_sequence_files.run_tests", "description": "prolog.HIDEEEEED~.KA.xterm.js.fixtures.escape_sequence_files.run_tests", "peekOfCode": "def enable_echo(fd, enabled):\n (iflag, oflag, cflag, lflag, ispeed, ospeed, cc) = termios.tcgetattr(fd)\n if enabled:\n lflag |= termios.ECHO\n else:\n lflag &= ~termios.ECHO\n new_attr = [iflag, oflag, cflag, lflag, ispeed, ospeed, cc]\n termios.tcsetattr(fd, termios.TCSANOW, new_attr)\natexit.register(enable_echo, sys.stdin.fileno(), True)\noutput = []", "detail": "prolog.HIDEEEEED~.KA.xterm.js.fixtures.escape_sequence_files.run_tests", "documentation": {} }, { "label": "log", "kind": 2, "importPath": "prolog.HIDEEEEED~.KA.xterm.js.fixtures.escape_sequence_files.run_tests", "description": "prolog.HIDEEEEED~.KA.xterm.js.fixtures.escape_sequence_files.run_tests", "peekOfCode": "def log(append=False, *s):\n if append:\n output[-1] += ' ' + ' '.join(str(part) for part in s)\n else:\n output.append(' '.join(str(part) for part in s))\ndef reset_terminal():\n sys.stdout.write('\\x1bc\\x1b[H')\n sys.stdout.flush()\ndef test():\n count = 0", "detail": "prolog.HIDEEEEED~.KA.xterm.js.fixtures.escape_sequence_files.run_tests", "documentation": {} }, { "label": "reset_terminal", "kind": 2, "importPath": "prolog.HIDEEEEED~.KA.xterm.js.fixtures.escape_sequence_files.run_tests", "description": "prolog.HIDEEEEED~.KA.xterm.js.fixtures.escape_sequence_files.run_tests", "peekOfCode": "def reset_terminal():\n sys.stdout.write('\\x1bc\\x1b[H')\n sys.stdout.flush()\ndef test():\n count = 0\n passed = 0\n for i, testfile in enumerate(sorted(glob(os.path.join(BASE_DIR, '*.in')))):\n count += 1\n log(False, os.path.basename(testfile))\n reset_terminal()", "detail": "prolog.HIDEEEEED~.KA.xterm.js.fixtures.escape_sequence_files.run_tests", "documentation": {} }, { "label": "test", "kind": 2, "importPath": "prolog.HIDEEEEED~.KA.xterm.js.fixtures.escape_sequence_files.run_tests", "description": "prolog.HIDEEEEED~.KA.xterm.js.fixtures.escape_sequence_files.run_tests", "peekOfCode": "def test():\n count = 0\n passed = 0\n for i, testfile in enumerate(sorted(glob(os.path.join(BASE_DIR, '*.in')))):\n count += 1\n log(False, os.path.basename(testfile))\n reset_terminal()\n with open(testfile) as test:\n sys.stdout.write('\\x1b]0;%s\\x07' % os.path.basename(testfile))\n sys.stdout.write(test.read()+'\\x1bt')", "detail": "prolog.HIDEEEEED~.KA.xterm.js.fixtures.escape_sequence_files.run_tests", "documentation": {} }, { "label": "BASE_DIR", "kind": 5, "importPath": "prolog.HIDEEEEED~.KA.xterm.js.fixtures.escape_sequence_files.run_tests", "description": "prolog.HIDEEEEED~.KA.xterm.js.fixtures.escape_sequence_files.run_tests", "peekOfCode": "BASE_DIR = os.path.dirname(os.path.abspath(__file__))\ndef enable_echo(fd, enabled):\n (iflag, oflag, cflag, lflag, ispeed, ospeed, cc) = termios.tcgetattr(fd)\n if enabled:\n lflag |= termios.ECHO\n else:\n lflag &= ~termios.ECHO\n new_attr = [iflag, oflag, cflag, lflag, ispeed, ospeed, cc]\n termios.tcsetattr(fd, termios.TCSANOW, new_attr)\natexit.register(enable_echo, sys.stdin.fileno(), True)", "detail": "prolog.HIDEEEEED~.KA.xterm.js.fixtures.escape_sequence_files.run_tests", "documentation": {} }, { "label": "output", "kind": 5, "importPath": "prolog.HIDEEEEED~.KA.xterm.js.fixtures.escape_sequence_files.run_tests", "description": "prolog.HIDEEEEED~.KA.xterm.js.fixtures.escape_sequence_files.run_tests", "peekOfCode": "output = []\ndef log(append=False, *s):\n if append:\n output[-1] += ' ' + ' '.join(str(part) for part in s)\n else:\n output.append(' '.join(str(part) for part in s))\ndef reset_terminal():\n sys.stdout.write('\\x1bc\\x1b[H')\n sys.stdout.flush()\ndef test():", "detail": "prolog.HIDEEEEED~.KA.xterm.js.fixtures.escape_sequence_files.run_tests", "documentation": {} }, { "label": "current_thread", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def current_thread(debugger):\n return debugger.GetSelectedTarget().GetProcess().GetSelectedThread()\ndef current_frame(debugger):\n return current_thread(debugger).GetSelectedFrame()\ndef no_arg_cmd(debugger, cmd):\n current_frame(debugger).EvaluateExpression(cmd)\n print(\"\")\ndef ptr_arg_cmd(debugger, name, param, cmd):\n if not param:\n print(\"'{}' requires an argument\".format(name))", "detail": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "current_frame", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def current_frame(debugger):\n return current_thread(debugger).GetSelectedFrame()\ndef no_arg_cmd(debugger, cmd):\n current_frame(debugger).EvaluateExpression(cmd)\n print(\"\")\ndef ptr_arg_cmd(debugger, name, param, cmd):\n if not param:\n print(\"'{}' requires an argument\".format(name))\n return\n param = '(void*)({})'.format(param)", "detail": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "no_arg_cmd", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def no_arg_cmd(debugger, cmd):\n current_frame(debugger).EvaluateExpression(cmd)\n print(\"\")\ndef ptr_arg_cmd(debugger, name, param, cmd):\n if not param:\n print(\"'{}' requires an argument\".format(name))\n return\n param = '(void*)({})'.format(param)\n no_arg_cmd(debugger, cmd.format(param))\n#####################", "detail": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "ptr_arg_cmd", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def ptr_arg_cmd(debugger, name, param, cmd):\n if not param:\n print(\"'{}' requires an argument\".format(name))\n return\n param = '(void*)({})'.format(param)\n no_arg_cmd(debugger, cmd.format(param))\n#####################\n# lldb commands. #\n#####################\ndef job(debugger, param, *args):", "detail": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "job", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def job(debugger, param, *args):\n \"\"\"Print a v8 heap object\"\"\"\n ptr_arg_cmd(debugger, 'job', param, \"_v8_internal_Print_Object({})\")\ndef jlh(debugger, param, *args):\n \"\"\"Print v8::Local handle value\"\"\"\n ptr_arg_cmd(debugger, 'jlh', param,\n \"_v8_internal_Print_Object(*(v8::internal::Object**)(*{}))\")\ndef jco(debugger, param, *args):\n \"\"\"Print the code object at the given pc (default: current pc)\"\"\"\n if not param:", "detail": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "jlh", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def jlh(debugger, param, *args):\n \"\"\"Print v8::Local handle value\"\"\"\n ptr_arg_cmd(debugger, 'jlh', param,\n \"_v8_internal_Print_Object(*(v8::internal::Object**)(*{}))\")\ndef jco(debugger, param, *args):\n \"\"\"Print the code object at the given pc (default: current pc)\"\"\"\n if not param:\n param = str(current_frame(debugger).FindRegister(\"pc\").value)\n ptr_arg_cmd(debugger, 'jco', param, \"_v8_internal_Print_Code({})\")\ndef jld(debugger, param, *args):", "detail": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "jco", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def jco(debugger, param, *args):\n \"\"\"Print the code object at the given pc (default: current pc)\"\"\"\n if not param:\n param = str(current_frame(debugger).FindRegister(\"pc\").value)\n ptr_arg_cmd(debugger, 'jco', param, \"_v8_internal_Print_Code({})\")\ndef jld(debugger, param, *args):\n \"\"\"Print a v8 LayoutDescriptor object\"\"\"\n ptr_arg_cmd(debugger, 'jld', param,\n \"_v8_internal_Print_LayoutDescriptor({})\")\ndef jtt(debugger, param, *args):", "detail": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "jld", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def jld(debugger, param, *args):\n \"\"\"Print a v8 LayoutDescriptor object\"\"\"\n ptr_arg_cmd(debugger, 'jld', param,\n \"_v8_internal_Print_LayoutDescriptor({})\")\ndef jtt(debugger, param, *args):\n \"\"\"Print the transition tree of a v8 Map\"\"\"\n ptr_arg_cmd(debugger, 'jtt', param, \"_v8_internal_Print_TransitionTree({})\")\ndef jst(debugger, *args):\n \"\"\"Print the current JavaScript stack trace\"\"\"\n no_arg_cmd(debugger, \"_v8_internal_Print_StackTrace()\")", "detail": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "jtt", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def jtt(debugger, param, *args):\n \"\"\"Print the transition tree of a v8 Map\"\"\"\n ptr_arg_cmd(debugger, 'jtt', param, \"_v8_internal_Print_TransitionTree({})\")\ndef jst(debugger, *args):\n \"\"\"Print the current JavaScript stack trace\"\"\"\n no_arg_cmd(debugger, \"_v8_internal_Print_StackTrace()\")\ndef jss(debugger, *args):\n \"\"\"Skip the jitted stack on x64 to where we entered JS last\"\"\"\n frame = current_frame(debugger)\n js_entry_sp = frame.EvaluateExpression(", "detail": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "jst", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def jst(debugger, *args):\n \"\"\"Print the current JavaScript stack trace\"\"\"\n no_arg_cmd(debugger, \"_v8_internal_Print_StackTrace()\")\ndef jss(debugger, *args):\n \"\"\"Skip the jitted stack on x64 to where we entered JS last\"\"\"\n frame = current_frame(debugger)\n js_entry_sp = frame.EvaluateExpression(\n \"v8::internal::Isolate::Current()->thread_local_top()->js_entry_sp_;\") \\\n .GetValue()\n sizeof_void = frame.EvaluateExpression(\"sizeof(void*)\").GetValue()", "detail": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "jss", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def jss(debugger, *args):\n \"\"\"Skip the jitted stack on x64 to where we entered JS last\"\"\"\n frame = current_frame(debugger)\n js_entry_sp = frame.EvaluateExpression(\n \"v8::internal::Isolate::Current()->thread_local_top()->js_entry_sp_;\") \\\n .GetValue()\n sizeof_void = frame.EvaluateExpression(\"sizeof(void*)\").GetValue()\n rbp = frame.FindRegister(\"rbp\")\n rsp = frame.FindRegister(\"rsp\")\n pc = frame.FindRegister(\"pc\")", "detail": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "bta", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def bta(debugger, *args):\n \"\"\"Print stack trace with assertion scopes\"\"\"\n func_name_re = re.compile(\"([^(<]+)(?:\\(.+\\))?\")\n assert_re = re.compile(\n \"^v8::internal::Per\\w+AssertType::(\\w+)_ASSERT, (false|true)>\")\n thread = current_thread(debugger)\n for frame in thread:\n functionSignature = frame.GetDisplayFunctionName()\n if functionSignature is None:\n continue", "detail": "prolog.HIDEEEEED~.KAAAA.gojs.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "current_thread", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def current_thread(debugger):\n return debugger.GetSelectedTarget().GetProcess().GetSelectedThread()\ndef current_frame(debugger):\n return current_thread(debugger).GetSelectedFrame()\ndef no_arg_cmd(debugger, cmd):\n current_frame(debugger).EvaluateExpression(cmd)\n print(\"\")\ndef ptr_arg_cmd(debugger, name, param, cmd):\n if not param:\n print(\"'{}' requires an argument\".format(name))", "detail": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "current_frame", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def current_frame(debugger):\n return current_thread(debugger).GetSelectedFrame()\ndef no_arg_cmd(debugger, cmd):\n current_frame(debugger).EvaluateExpression(cmd)\n print(\"\")\ndef ptr_arg_cmd(debugger, name, param, cmd):\n if not param:\n print(\"'{}' requires an argument\".format(name))\n return\n param = '(void*)({})'.format(param)", "detail": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "no_arg_cmd", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def no_arg_cmd(debugger, cmd):\n current_frame(debugger).EvaluateExpression(cmd)\n print(\"\")\ndef ptr_arg_cmd(debugger, name, param, cmd):\n if not param:\n print(\"'{}' requires an argument\".format(name))\n return\n param = '(void*)({})'.format(param)\n no_arg_cmd(debugger, cmd.format(param))\n#####################", "detail": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "ptr_arg_cmd", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def ptr_arg_cmd(debugger, name, param, cmd):\n if not param:\n print(\"'{}' requires an argument\".format(name))\n return\n param = '(void*)({})'.format(param)\n no_arg_cmd(debugger, cmd.format(param))\n#####################\n# lldb commands. #\n#####################\ndef job(debugger, param, *args):", "detail": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "job", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def job(debugger, param, *args):\n \"\"\"Print a v8 heap object\"\"\"\n ptr_arg_cmd(debugger, 'job', param, \"_v8_internal_Print_Object({})\")\ndef jlh(debugger, param, *args):\n \"\"\"Print v8::Local handle value\"\"\"\n ptr_arg_cmd(debugger, 'jlh', param,\n \"_v8_internal_Print_Object(*(v8::internal::Object**)(*{}))\")\ndef jco(debugger, param, *args):\n \"\"\"Print the code object at the given pc (default: current pc)\"\"\"\n if not param:", "detail": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "jlh", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def jlh(debugger, param, *args):\n \"\"\"Print v8::Local handle value\"\"\"\n ptr_arg_cmd(debugger, 'jlh', param,\n \"_v8_internal_Print_Object(*(v8::internal::Object**)(*{}))\")\ndef jco(debugger, param, *args):\n \"\"\"Print the code object at the given pc (default: current pc)\"\"\"\n if not param:\n param = str(current_frame(debugger).FindRegister(\"pc\").value)\n ptr_arg_cmd(debugger, 'jco', param, \"_v8_internal_Print_Code({})\")\ndef jld(debugger, param, *args):", "detail": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "jco", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def jco(debugger, param, *args):\n \"\"\"Print the code object at the given pc (default: current pc)\"\"\"\n if not param:\n param = str(current_frame(debugger).FindRegister(\"pc\").value)\n ptr_arg_cmd(debugger, 'jco', param, \"_v8_internal_Print_Code({})\")\ndef jld(debugger, param, *args):\n \"\"\"Print a v8 LayoutDescriptor object\"\"\"\n ptr_arg_cmd(debugger, 'jld', param,\n \"_v8_internal_Print_LayoutDescriptor({})\")\ndef jtt(debugger, param, *args):", "detail": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "jld", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def jld(debugger, param, *args):\n \"\"\"Print a v8 LayoutDescriptor object\"\"\"\n ptr_arg_cmd(debugger, 'jld', param,\n \"_v8_internal_Print_LayoutDescriptor({})\")\ndef jtt(debugger, param, *args):\n \"\"\"Print the transition tree of a v8 Map\"\"\"\n ptr_arg_cmd(debugger, 'jtt', param, \"_v8_internal_Print_TransitionTree({})\")\ndef jst(debugger, *args):\n \"\"\"Print the current JavaScript stack trace\"\"\"\n no_arg_cmd(debugger, \"_v8_internal_Print_StackTrace()\")", "detail": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "jtt", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def jtt(debugger, param, *args):\n \"\"\"Print the transition tree of a v8 Map\"\"\"\n ptr_arg_cmd(debugger, 'jtt', param, \"_v8_internal_Print_TransitionTree({})\")\ndef jst(debugger, *args):\n \"\"\"Print the current JavaScript stack trace\"\"\"\n no_arg_cmd(debugger, \"_v8_internal_Print_StackTrace()\")\ndef jss(debugger, *args):\n \"\"\"Skip the jitted stack on x64 to where we entered JS last\"\"\"\n frame = current_frame(debugger)\n js_entry_sp = frame.EvaluateExpression(", "detail": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "jst", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def jst(debugger, *args):\n \"\"\"Print the current JavaScript stack trace\"\"\"\n no_arg_cmd(debugger, \"_v8_internal_Print_StackTrace()\")\ndef jss(debugger, *args):\n \"\"\"Skip the jitted stack on x64 to where we entered JS last\"\"\"\n frame = current_frame(debugger)\n js_entry_sp = frame.EvaluateExpression(\n \"v8::internal::Isolate::Current()->thread_local_top()->js_entry_sp_;\") \\\n .GetValue()\n sizeof_void = frame.EvaluateExpression(\"sizeof(void*)\").GetValue()", "detail": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "jss", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def jss(debugger, *args):\n \"\"\"Skip the jitted stack on x64 to where we entered JS last\"\"\"\n frame = current_frame(debugger)\n js_entry_sp = frame.EvaluateExpression(\n \"v8::internal::Isolate::Current()->thread_local_top()->js_entry_sp_;\") \\\n .GetValue()\n sizeof_void = frame.EvaluateExpression(\"sizeof(void*)\").GetValue()\n rbp = frame.FindRegister(\"rbp\")\n rsp = frame.FindRegister(\"rsp\")\n pc = frame.FindRegister(\"pc\")", "detail": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "bta", "kind": 2, "importPath": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "description": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "peekOfCode": "def bta(debugger, *args):\n \"\"\"Print stack trace with assertion scopes\"\"\"\n func_name_re = re.compile(\"([^(<]+)(?:\\(.+\\))?\")\n assert_re = re.compile(\n \"^v8::internal::Per\\w+AssertType::(\\w+)_ASSERT, (false|true)>\")\n thread = current_thread(debugger)\n for frame in thread:\n functionSignature = frame.GetDisplayFunctionName()\n if functionSignature is None:\n continue", "detail": "prolog.HIDEEEEED~.KAAAA.node_modules.node.node_modules.node-linux-x64.share.doc.node.lldb_commands", "documentation": {} }, { "label": "Agent", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.agents.base", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.agents.base", "peekOfCode": "class Agent:\n def __init__(self):\n pass\n def solve_riddle(\n self,\n task_data: TaskData,\n hints: Hints,\n train: list[BoardPair],\n test: list[Board],\n ) -> RiddleSolution:", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.agents.base", "documentation": {} }, { "label": "CheatingAgent", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.agents.dummy_agents", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.agents.dummy_agents", "peekOfCode": "class CheatingAgent(Agent):\n \"\"\"An agent that uses hints to directly output the real solution.\"\"\"\n def solve_test_sample(\n self,\n task_data: TaskData,\n hints: BoardHints,\n train: list[BoardPair],\n test: Board,\n test_idx: int,\n ) -> TopKList:", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.agents.dummy_agents", "documentation": {} }, { "label": "EchoAgent", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.agents.dummy_agents", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.agents.dummy_agents", "peekOfCode": "class EchoAgent(Agent):\n \"\"\"An agent that simply copies the input.\"\"\"\n def solve_test_sample(\n self,\n task_data: TaskData,\n hints: BoardHints,\n train: list[BoardPair],\n test: Board,\n test_idx: int,\n ) -> TopKList:", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.agents.dummy_agents", "documentation": {} }, { "label": "set_datadir", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.tests.eval_test", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.tests.eval_test", "peekOfCode": "def set_datadir():\n settings.dataset_dir = str(Path(__file__).parent / \"test_data\")\n@pytest.fixture(scope=\"class\")\ndef riddle1():\n return dataset.load_riddle_from_id(dataset.get_riddle_ids()[0])\n@pytest.fixture(scope=\"class\")\ndef task_data():\n return TaskData(topk=3)\ndef test_echo():\n assert True", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.tests.eval_test", "documentation": {} }, { "label": "riddle1", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.tests.eval_test", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.tests.eval_test", "peekOfCode": "def riddle1():\n return dataset.load_riddle_from_id(dataset.get_riddle_ids()[0])\n@pytest.fixture(scope=\"class\")\ndef task_data():\n return TaskData(topk=3)\ndef test_echo():\n assert True\ndef test_list_dir():\n assert dataset.get_riddle_ids()[0] == \"t001\"\ndef test_evaluate_agent_on_riddle(riddle1, task_data):", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.tests.eval_test", "documentation": {} }, { "label": "task_data", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.tests.eval_test", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.tests.eval_test", "peekOfCode": "def task_data():\n return TaskData(topk=3)\ndef test_echo():\n assert True\ndef test_list_dir():\n assert dataset.get_riddle_ids()[0] == \"t001\"\ndef test_evaluate_agent_on_riddle(riddle1, task_data):\n agent = CheatingAgent()\n metrics = get_default_metrics()\n report = arc.eval.evaluate_and_report(agent, [riddle1], task_data, metrics=metrics)", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.tests.eval_test", "documentation": {} }, { "label": "test_echo", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.tests.eval_test", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.tests.eval_test", "peekOfCode": "def test_echo():\n assert True\ndef test_list_dir():\n assert dataset.get_riddle_ids()[0] == \"t001\"\ndef test_evaluate_agent_on_riddle(riddle1, task_data):\n agent = CheatingAgent()\n metrics = get_default_metrics()\n report = arc.eval.evaluate_and_report(agent, [riddle1], task_data, metrics=metrics)\n assert report.metric_results[\"correct\"].aggregate_result == 1.0\n assert \"output\" in report.eval_results.hints_accessed", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.tests.eval_test", "documentation": {} }, { "label": "test_list_dir", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.tests.eval_test", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.tests.eval_test", "peekOfCode": "def test_list_dir():\n assert dataset.get_riddle_ids()[0] == \"t001\"\ndef test_evaluate_agent_on_riddle(riddle1, task_data):\n agent = CheatingAgent()\n metrics = get_default_metrics()\n report = arc.eval.evaluate_and_report(agent, [riddle1], task_data, metrics=metrics)\n assert report.metric_results[\"correct\"].aggregate_result == 1.0\n assert \"output\" in report.eval_results.hints_accessed", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.tests.eval_test", "documentation": {} }, { "label": "test_evaluate_agent_on_riddle", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.tests.eval_test", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.tests.eval_test", "peekOfCode": "def test_evaluate_agent_on_riddle(riddle1, task_data):\n agent = CheatingAgent()\n metrics = get_default_metrics()\n report = arc.eval.evaluate_and_report(agent, [riddle1], task_data, metrics=metrics)\n assert report.metric_results[\"correct\"].aggregate_result == 1.0\n assert \"output\" in report.eval_results.hints_accessed", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.tests.eval_test", "documentation": {} }, { "label": "get_cache_dir", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.cache", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.cache", "peekOfCode": "def get_cache_dir(subdir: str = None) -> Path:\n \"\"\"\n Get the cache directory.\n :param subdir: Subdirectory to create.\n :return: Path to the cache directory.\n \"\"\"\n cache_dir = Path(settings.cache_path)\n if subdir:\n cache_dir = cache_dir / subdir\n if not cache_dir.exists():", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.cache", "documentation": {} }, { "label": "cache_lock", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.cache", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.cache", "peekOfCode": "cache_lock = filelock.FileLock(str(get_cache_dir() / \"lock\"))", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.cache", "documentation": {} }, { "label": "download_arc_dataset", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "peekOfCode": "def download_arc_dataset(output_dir: os.PathLike):\n output_dir = Path(output_dir)\n if not output_dir.exists():\n output_dir.mkdir(parents=True)\n elif not output_dir.is_dir():\n raise ValueError(f\"{output_dir} is not a directory\")\n for subdir in [\"training\", \"evaluation\"]:\n logger.info(f\"Downloading {subdir} dataset\")\n subdir_path = output_dir / subdir\n if not subdir_path.exists():", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "documentation": {} }, { "label": "get_cached_dataset_dir", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "peekOfCode": "def get_cached_dataset_dir() -> Path:\n cache_dir = cache.get_cache_dir() / \"dataset\"\n if not cache_dir.exists():\n with cache.cache_lock:\n if not cache_dir.exists():\n download_arc_dataset(cache_dir)\n return cache_dir\ndef get_dataset_dir(subdir: Optional[str] = None) -> Path:\n if settings.dataset_dir:\n dataset_dir = Path(settings.dataset_dir)", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "documentation": {} }, { "label": "get_dataset_dir", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "peekOfCode": "def get_dataset_dir(subdir: Optional[str] = None) -> Path:\n if settings.dataset_dir:\n dataset_dir = Path(settings.dataset_dir)\n else:\n dataset_dir = get_cached_dataset_dir()\n if subdir and subdir != \"all\":\n dataset_dir = dataset_dir / subdir\n return dataset_dir\ndef load_riddle_from_file(file_path: os.PathLike) -> Riddle:\n file_path = Path(file_path)", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "documentation": {} }, { "label": "load_riddle_from_file", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "peekOfCode": "def load_riddle_from_file(file_path: os.PathLike) -> Riddle:\n file_path = Path(file_path)\n json_data = json.loads(file_path.read_text())\n riddle = Riddle(**json_data, riddle_id=file_path.stem, subdir=file_path.parent.name)\n return riddle\ndef get_riddle_paths(subdirs: list[str] = [\"training\"]) -> dict[str, Path]:\n if not subdirs:\n subdirs = [\"all\"]\n return dict(\n itt.chain.from_iterable(", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "documentation": {} }, { "label": "get_riddle_paths", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "peekOfCode": "def get_riddle_paths(subdirs: list[str] = [\"training\"]) -> dict[str, Path]:\n if not subdirs:\n subdirs = [\"all\"]\n return dict(\n itt.chain.from_iterable(\n ((s.stem, s) for s in get_dataset_dir(subdir=sd).rglob(\"*.json\"))\n for sd in subdirs\n )\n )\ndef get_riddle_ids(subdirs: list[str] = [\"training\"]):", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "documentation": {} }, { "label": "get_riddle_ids", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "peekOfCode": "def get_riddle_ids(subdirs: list[str] = [\"training\"]):\n return list(sorted(get_riddle_paths(subdirs=subdirs).keys()))\ndef get_riddles(subdirs: list[str] = [\"training\"]) -> list[Riddle]:\n logger.info(f\"Loading riddles from {subdirs}\")\n return [\n load_riddle_from_file(riddle_path)\n for riddle_path in get_riddle_paths(subdirs=subdirs).values()\n ]\ndef get_random_riddle_id(subdirs: list[str] = [\"training\"]):\n return random.choice(get_riddle_ids(subdirs=subdirs))", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "documentation": {} }, { "label": "get_riddles", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "peekOfCode": "def get_riddles(subdirs: list[str] = [\"training\"]) -> list[Riddle]:\n logger.info(f\"Loading riddles from {subdirs}\")\n return [\n load_riddle_from_file(riddle_path)\n for riddle_path in get_riddle_paths(subdirs=subdirs).values()\n ]\ndef get_random_riddle_id(subdirs: list[str] = [\"training\"]):\n return random.choice(get_riddle_ids(subdirs=subdirs))\ndef load_riddle_from_id(riddle_id: str) -> Riddle:\n riddles = get_riddle_paths(subdirs=[])", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "documentation": {} }, { "label": "get_random_riddle_id", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "peekOfCode": "def get_random_riddle_id(subdirs: list[str] = [\"training\"]):\n return random.choice(get_riddle_ids(subdirs=subdirs))\ndef load_riddle_from_id(riddle_id: str) -> Riddle:\n riddles = get_riddle_paths(subdirs=[])\n riddle_path = riddles[riddle_id]\n return load_riddle_from_file(riddle_path)", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "documentation": {} }, { "label": "load_riddle_from_id", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "peekOfCode": "def load_riddle_from_id(riddle_id: str) -> Riddle:\n riddles = get_riddle_paths(subdirs=[])\n riddle_path = riddles[riddle_id]\n return load_riddle_from_file(riddle_path)", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "documentation": {} }, { "label": "ARC_DATA_URL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "peekOfCode": "ARC_DATA_URL = \"https://api.github.com/repos/fchollet/ARC/contents/data\"\ndef download_arc_dataset(output_dir: os.PathLike):\n output_dir = Path(output_dir)\n if not output_dir.exists():\n output_dir.mkdir(parents=True)\n elif not output_dir.is_dir():\n raise ValueError(f\"{output_dir} is not a directory\")\n for subdir in [\"training\", \"evaluation\"]:\n logger.info(f\"Downloading {subdir} dataset\")\n subdir_path = output_dir / subdir", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.utils.dataset", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.cli", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.cli", "peekOfCode": "def main(name: str):\n typer.echo(f\"Hello {name}\")\n@app.command()\ndef download_arc_dataset(output_dir: Path):\n typer.echo(f\"Downloading arc dataset to {output_dir}\")\n dataset.download_arc_dataset(output_dir)\n@app.command()\ndef show(\n file: Optional[Path] = typer.Option(None),\n riddle_id: Optional[str] = typer.Option(None),", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.cli", "documentation": {} }, { "label": "download_arc_dataset", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.cli", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.cli", "peekOfCode": "def download_arc_dataset(output_dir: Path):\n typer.echo(f\"Downloading arc dataset to {output_dir}\")\n dataset.download_arc_dataset(output_dir)\n@app.command()\ndef show(\n file: Optional[Path] = typer.Option(None),\n riddle_id: Optional[str] = typer.Option(None),\n random_id: bool = typer.Option(False),\n colored: bool = typer.Option(True),\n solution: bool = typer.Option(False),", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.cli", "documentation": {} }, { "label": "show", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.cli", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.cli", "peekOfCode": "def show(\n file: Optional[Path] = typer.Option(None),\n riddle_id: Optional[str] = typer.Option(None),\n random_id: bool = typer.Option(False),\n colored: bool = typer.Option(True),\n solution: bool = typer.Option(False),\n subdir: str = typer.Option(\"training\"),\n output_format: str = typer.Option(\"term\", help=\"['term', 'arc-game', 'pyplot']\"),\n output_path: Optional[Path] = typer.Option(None),\n):", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.cli", "documentation": {} }, { "label": "list", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.cli", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.cli", "peekOfCode": "def list(\n subdir=typer.Option(\"training\"),\n):\n typer.echo(\"\\n\".join(dataset.get_riddle_ids(subdirs=[subdir])))\n@app.command()\ndef eval(\n agent_path: str,\n topk: int = typer.Option(settings.default_topk),\n default_metrics: bool = typer.Option(True),\n all_metrics: bool = typer.Option(False),", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.cli", "documentation": {} }, { "label": "eval", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.cli", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.cli", "peekOfCode": "def eval(\n agent_path: str,\n topk: int = typer.Option(settings.default_topk),\n default_metrics: bool = typer.Option(True),\n all_metrics: bool = typer.Option(False),\n subdir: str = typer.Option(\"training\"),\n):\n typer.echo(f\"Evaluating {agent_path} on {subdir}\")\n agent_module_name, agent_classname = agent_path.split(\":\")\n module = import_module(agent_module_name)", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.cli", "documentation": {} }, { "label": "app", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.cli", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.cli", "peekOfCode": "app = typer.Typer()\n@app.command()\ndef main(name: str):\n typer.echo(f\"Hello {name}\")\n@app.command()\ndef download_arc_dataset(output_dir: Path):\n typer.echo(f\"Downloading arc dataset to {output_dir}\")\n dataset.download_arc_dataset(output_dir)\n@app.command()\ndef show(", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.cli", "documentation": {} }, { "label": "evaluate_agent_on_riddle", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.eval", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.eval", "peekOfCode": "def evaluate_agent_on_riddle(\n agent: Agent, riddle: Riddle, task_data: TaskData\n) -> EvalResult:\n hints = Hints(riddle=riddle)\n solution = agent.solve_riddle(\n task_data=task_data, hints=hints, train=riddle.train, test=riddle.test_inputs\n )\n if (num_tests := len(riddle.test)) != (num_solutions := len(solution)):\n raise ValueError(\n f\"Riddle has {num_tests} tests, but got {num_solutions} solutions.\"", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.eval", "documentation": {} }, { "label": "evaluate_agent_on_riddles", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.eval", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.eval", "peekOfCode": "def evaluate_agent_on_riddles(agent: Agent, riddles: list[Riddle], task_data: TaskData):\n logger.info(f\"Evaluating agent on {len(riddles)} riddles.\")\n eval_results = [\n evaluate_agent_on_riddle(agent, riddle, task_data)\n for riddle in tqdm.tqdm(riddles)\n ]\n eval_result_list = EvalResultList(eval_results=eval_results, task_data=task_data)\n return eval_result_list\ndef apply_metrics(\n eval_result_list: EvalResultList, metrics: list[Metric]", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.eval", "documentation": {} }, { "label": "apply_metrics", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.eval", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.eval", "peekOfCode": "def apply_metrics(\n eval_result_list: EvalResultList, metrics: list[Metric]\n) -> MetricResultDict:\n eval_results = eval_result_list.eval_results\n metric_results = MetricResultDict()\n for metric in metrics:\n logger.info(f\"Applying metric {metric.name}.\")\n compute_results = [\n metric.compute(eval_result) for eval_result in tqdm.tqdm(eval_results)\n ]", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.eval", "documentation": {} }, { "label": "evaluate_and_report", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.eval", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.eval", "peekOfCode": "def evaluate_and_report(\n agent: Agent,\n riddles: list[Riddle],\n task_data: TaskData,\n metrics: list[Metric] = None,\n):\n eval_results = evaluate_agent_on_riddles(agent, riddles, task_data)\n if metrics is None:\n metrics = []\n metric_results = apply_metrics(eval_results, metrics)", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.eval", "documentation": {} }, { "label": "BoardHints", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.hints", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.hints", "peekOfCode": "class BoardHints:\n def __init__(\n self,\n riddle: Riddle,\n test_pair: BoardPair,\n hints_accessed: set[str],\n ):\n self._riddle = riddle\n self._test_pair = test_pair\n self._hints_accessed = hints_accessed", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.hints", "documentation": {} }, { "label": "Hints", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.hints", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.hints", "peekOfCode": "class Hints:\n def __init__(self, riddle: Riddle):\n self._riddle = riddle\n self._hints_accessed = [set() for _ in riddle.test]\n @property\n def hints_accessed(self) -> set[str]:\n return set(itt.chain.from_iterable(self._hints_accessed))\n def board(self, test_idx) -> BoardHints:\n return BoardHints(\n riddle=self._riddle,", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.hints", "documentation": {} }, { "label": "record_hint_access", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.hints", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.hints", "peekOfCode": "def record_hint_access(f: Callable):\n @fct.wraps(f)\n def _recorded_f(self, *args, **kwargs):\n self._hints_accessed.add(f.__name__)\n return f(self, *args, **kwargs)\n return _recorded_f\nclass BoardHints:\n def __init__(\n self,\n riddle: Riddle,", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.hints", "documentation": {} }, { "label": "Board", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "peekOfCode": "class Board(pydantic.BaseModel):\n __root__: list[list[int]]\n @pydantic.validator(\"__root__\", pre=True)\n def validate_native_list(cls, v):\n if isinstance(v, np.ndarray):\n v = v.tolist()\n return v\n @pydantic.validator(\"__root__\")\n def validate_non_ragged(cls, v):\n if len(set(lengths := list(map(len, v)))) != 1:", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "documentation": {} }, { "label": "BoardPair", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "peekOfCode": "class BoardPair(pydantic.BaseModel):\n input: Board\n output: Board\n def fmt(self, colored=False, with_output=True) -> str:\n rows = []\n max_row = (\n max(self.input.num_rows, self.output.num_rows)\n if with_output\n else self.input.num_rows\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "documentation": {} }, { "label": "Riddle", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "peekOfCode": "class Riddle(pydantic.BaseModel):\n train: list[BoardPair]\n test: list[BoardPair]\n riddle_id: Optional[str] = None\n subdir: Optional[str] = None\n def fmt(self, colored=False, with_test_outputs=False) -> str:\n parts = []\n if self.riddle_id:\n parts.append(f\"ID: {self.riddle_id}\")\n if self.subdir:", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "documentation": {} }, { "label": "TaskData", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "peekOfCode": "class TaskData(pydantic.BaseModel):\n topk: int = settings.default_topk\nHintsAccessed = set\nclass EvalResult(pydantic.BaseModel):\n riddle: Riddle\n task_data: TaskData\n solution: RiddleSolution\n hints_accessed: HintsAccessed = HintsAccessed()\n @pydantic.validator(\"solution\")\n def validate_solution(cls, v, values):", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "documentation": {} }, { "label": "EvalResult", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "peekOfCode": "class EvalResult(pydantic.BaseModel):\n riddle: Riddle\n task_data: TaskData\n solution: RiddleSolution\n hints_accessed: HintsAccessed = HintsAccessed()\n @pydantic.validator(\"solution\")\n def validate_solution(cls, v, values):\n riddle = values[\"riddle\"]\n if len(v) != len(riddle.test):\n raise ValueError(", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "documentation": {} }, { "label": "EvalResultList", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "peekOfCode": "class EvalResultList(pydantic.BaseModel):\n task_data: TaskData\n eval_results: list[EvalResult]\n @pydantic.validator(\"eval_results\")\n def validate_eval_results(cls, v, values):\n task_data = values[\"task_data\"]\n for eval_result in v:\n if eval_result.task_data != task_data:\n raise ValueError(\n f\"EvalResult task_data must be equal to task_data,\"", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "documentation": {} }, { "label": "CELL_PADDING_STR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "peekOfCode": "CELL_PADDING_STR = \" \" * settings.cell_padding\nBOARD_GAP_STR = \" \" * settings.board_gap\nPAIR_GAP_STR = \"\\n\" + \" \" * settings.pair_gap + \"\\n\"\nCOLORMAP = {0: 0, 1: 4, 2: 1, 3: 2, 4: 3, 5: 8, 6: 5, 7: 166, 8: 6, 9: 52}\nclass Board(pydantic.BaseModel):\n __root__: list[list[int]]\n @pydantic.validator(\"__root__\", pre=True)\n def validate_native_list(cls, v):\n if isinstance(v, np.ndarray):\n v = v.tolist()", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "documentation": {} }, { "label": "BOARD_GAP_STR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "peekOfCode": "BOARD_GAP_STR = \" \" * settings.board_gap\nPAIR_GAP_STR = \"\\n\" + \" \" * settings.pair_gap + \"\\n\"\nCOLORMAP = {0: 0, 1: 4, 2: 1, 3: 2, 4: 3, 5: 8, 6: 5, 7: 166, 8: 6, 9: 52}\nclass Board(pydantic.BaseModel):\n __root__: list[list[int]]\n @pydantic.validator(\"__root__\", pre=True)\n def validate_native_list(cls, v):\n if isinstance(v, np.ndarray):\n v = v.tolist()\n return v", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "documentation": {} }, { "label": "PAIR_GAP_STR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "peekOfCode": "PAIR_GAP_STR = \"\\n\" + \" \" * settings.pair_gap + \"\\n\"\nCOLORMAP = {0: 0, 1: 4, 2: 1, 3: 2, 4: 3, 5: 8, 6: 5, 7: 166, 8: 6, 9: 52}\nclass Board(pydantic.BaseModel):\n __root__: list[list[int]]\n @pydantic.validator(\"__root__\", pre=True)\n def validate_native_list(cls, v):\n if isinstance(v, np.ndarray):\n v = v.tolist()\n return v\n @pydantic.validator(\"__root__\")", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "documentation": {} }, { "label": "COLORMAP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "peekOfCode": "COLORMAP = {0: 0, 1: 4, 2: 1, 3: 2, 4: 3, 5: 8, 6: 5, 7: 166, 8: 6, 9: 52}\nclass Board(pydantic.BaseModel):\n __root__: list[list[int]]\n @pydantic.validator(\"__root__\", pre=True)\n def validate_native_list(cls, v):\n if isinstance(v, np.ndarray):\n v = v.tolist()\n return v\n @pydantic.validator(\"__root__\")\n def validate_non_ragged(cls, v):", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "documentation": {} }, { "label": "TopKList", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "peekOfCode": "TopKList = list[Board]\nRiddleSolution = list[TopKList]\nclass BoardPair(pydantic.BaseModel):\n input: Board\n output: Board\n def fmt(self, colored=False, with_output=True) -> str:\n rows = []\n max_row = (\n max(self.input.num_rows, self.output.num_rows)\n if with_output", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "documentation": {} }, { "label": "RiddleSolution", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "peekOfCode": "RiddleSolution = list[TopKList]\nclass BoardPair(pydantic.BaseModel):\n input: Board\n output: Board\n def fmt(self, colored=False, with_output=True) -> str:\n rows = []\n max_row = (\n max(self.input.num_rows, self.output.num_rows)\n if with_output\n else self.input.num_rows", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "documentation": {} }, { "label": "HintsAccessed", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "peekOfCode": "HintsAccessed = set\nclass EvalResult(pydantic.BaseModel):\n riddle: Riddle\n task_data: TaskData\n solution: RiddleSolution\n hints_accessed: HintsAccessed = HintsAccessed()\n @pydantic.validator(\"solution\")\n def validate_solution(cls, v, values):\n riddle = values[\"riddle\"]\n if len(v) != len(riddle.test):", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.interface", "documentation": {} }, { "label": "MetricResult", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "class MetricResult(pydantic.generics.GenericModel, Generic[C, A]):\n name: str\n compute_results: Optional[list[C]] = None\n aggregate_result: Optional[A] = None\nMetricResultDict = dict[str, MetricResult]\ndef min_over_tests(\n eval_result: EvalResult, get_value: Callable[[BoardPair, TopKList], float]\n) -> float:\n values = [\n get_value(test, topk_list)", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "NotFoundError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "class NotFoundError(Exception):\n pass\ndef get_correct_solution_idx(test_output: Board, topk_list: TopKList) -> int:\n for i, output in enumerate(topk_list):\n if safe_allclose(test_output.np, output.np):\n return i\n raise NotFoundError()\ndef safe_mean(values: list[float]) -> float:\n if not values:\n return 0.0", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "Metric", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "class Metric(Generic[C, A]):\n def __init__(self, name: str):\n self.name = name\n def _compute(self, eval_result: EvalResult) -> C:\n raise NotImplementedError()\n def _aggregate(\n self, eval_result_list: EvalResultList, compute_results: list[C]\n ) -> A:\n raise NotImplementedError()\n def compute(self, eval_result: EvalResult) -> C:", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "MeanAggMetric", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "class MeanAggMetric(Metric[float, float]):\n def _aggregate(\n self, eval_result_list: EvalResultList, compute_results: list[float]\n ) -> float:\n return safe_mean(compute_results)\nclass BoardSizeMetric(MeanAggMetric, Metric[float, float]):\n def __init__(self):\n super().__init__(name=\"board_size\")\n def _compute(self, eval_result: EvalResult) -> float:\n def _get_value(test: BoardPair, topk_list: TopKList) -> float:", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "BoardSizeMetric", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "class BoardSizeMetric(MeanAggMetric, Metric[float, float]):\n def __init__(self):\n super().__init__(name=\"board_size\")\n def _compute(self, eval_result: EvalResult) -> float:\n def _get_value(test: BoardPair, topk_list: TopKList) -> float:\n if any(test.output.shape == b.shape for b in topk_list):\n return 1.0\n else:\n return 0.0\n return min_over_tests(eval_result, _get_value)", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "CorrectMetric", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "class CorrectMetric(MeanAggMetric, Metric[float, float]):\n def __init__(self):\n super().__init__(name=\"correct\")\n def _compute(self, eval_result: EvalResult) -> float:\n def _get_value(test: BoardPair, topk_list: TopKList) -> float:\n try:\n get_correct_solution_idx(test.output, topk_list)\n return 1.0\n except NotFoundError:\n return 0.0", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "CorrectPixelsMetric", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "class CorrectPixelsMetric(MeanAggMetric, Metric[float, float]):\n def __init__(self):\n super().__init__(name=\"correct_pixels\")\n def _compute(self, eval_result: EvalResult) -> float:\n def _get_value(test: BoardPair, topk_list: TopKList) -> float:\n def _get_correct_pixels(trial) -> float:\n if trial.shape == test.output.shape:\n return np.mean(np.equal(trial.np, test.output.np)).item()\n else:\n return 0.0", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "InverseRankOfCorrectMetric", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "class InverseRankOfCorrectMetric(Metric[float, float]):\n def __init__(self):\n super().__init__(name=\"inverse_rank_of_correct\")\n def _compute(self, eval_result: EvalResult) -> float:\n def _get_value(test: BoardPair, topk_list: TopKList) -> float:\n try:\n idx = get_correct_solution_idx(test.output, topk_list)\n return 1.0 / (idx + 1)\n except NotFoundError:\n return 0.0", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "min_over_tests", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "def min_over_tests(\n eval_result: EvalResult, get_value: Callable[[BoardPair, TopKList], float]\n) -> float:\n values = [\n get_value(test, topk_list)\n for test, topk_list in zip(eval_result.riddle.test, eval_result.solution)\n ]\n if not values:\n raise ValueError(\"No values for min computation.\")\n return min(values)", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "get_correct_solution_idx", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "def get_correct_solution_idx(test_output: Board, topk_list: TopKList) -> int:\n for i, output in enumerate(topk_list):\n if safe_allclose(test_output.np, output.np):\n return i\n raise NotFoundError()\ndef safe_mean(values: list[float]) -> float:\n if not values:\n return 0.0\n return sum(values) / len(values)\ndef safe_allclose(a, b):", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "safe_mean", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "def safe_mean(values: list[float]) -> float:\n if not values:\n return 0.0\n return sum(values) / len(values)\ndef safe_allclose(a, b):\n if a.shape != b.shape:\n return 0.0\n return np.allclose(a, b)\nclass Metric(Generic[C, A]):\n def __init__(self, name: str):", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "safe_allclose", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "def safe_allclose(a, b):\n if a.shape != b.shape:\n return 0.0\n return np.allclose(a, b)\nclass Metric(Generic[C, A]):\n def __init__(self, name: str):\n self.name = name\n def _compute(self, eval_result: EvalResult) -> C:\n raise NotImplementedError()\n def _aggregate(", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "register_metric", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "def register_metric(metric: Metric):\n METRICS[metric.name] = metric\ndef get_metrics(names: list[str]) -> list[Metric]:\n return [METRICS[name] for name in names]\nclass MeanAggMetric(Metric[float, float]):\n def _aggregate(\n self, eval_result_list: EvalResultList, compute_results: list[float]\n ) -> float:\n return safe_mean(compute_results)\nclass BoardSizeMetric(MeanAggMetric, Metric[float, float]):", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "get_metrics", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "def get_metrics(names: list[str]) -> list[Metric]:\n return [METRICS[name] for name in names]\nclass MeanAggMetric(Metric[float, float]):\n def _aggregate(\n self, eval_result_list: EvalResultList, compute_results: list[float]\n ) -> float:\n return safe_mean(compute_results)\nclass BoardSizeMetric(MeanAggMetric, Metric[float, float]):\n def __init__(self):\n super().__init__(name=\"board_size\")", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "get_all_metrics", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "def get_all_metrics() -> list[Metric]:\n return list(METRICS.values())\ndef get_default_metrics() -> list[Metric]:\n return get_metrics([\"board_size\", \"correct\", \"correct_pixels\"])", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "get_default_metrics", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "def get_default_metrics() -> list[Metric]:\n return get_metrics([\"board_size\", \"correct\", \"correct_pixels\"])", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "C", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "C = TypeVar(\"C\")\nA = TypeVar(\"A\")\nclass MetricResult(pydantic.generics.GenericModel, Generic[C, A]):\n name: str\n compute_results: Optional[list[C]] = None\n aggregate_result: Optional[A] = None\nMetricResultDict = dict[str, MetricResult]\ndef min_over_tests(\n eval_result: EvalResult, get_value: Callable[[BoardPair, TopKList], float]\n) -> float:", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "A", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "A = TypeVar(\"A\")\nclass MetricResult(pydantic.generics.GenericModel, Generic[C, A]):\n name: str\n compute_results: Optional[list[C]] = None\n aggregate_result: Optional[A] = None\nMetricResultDict = dict[str, MetricResult]\ndef min_over_tests(\n eval_result: EvalResult, get_value: Callable[[BoardPair, TopKList], float]\n) -> float:\n values = [", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "MetricResultDict", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "MetricResultDict = dict[str, MetricResult]\ndef min_over_tests(\n eval_result: EvalResult, get_value: Callable[[BoardPair, TopKList], float]\n) -> float:\n values = [\n get_value(test, topk_list)\n for test, topk_list in zip(eval_result.riddle.test, eval_result.solution)\n ]\n if not values:\n raise ValueError(\"No values for min computation.\")", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "METRICS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "peekOfCode": "METRICS = {}\ndef register_metric(metric: Metric):\n METRICS[metric.name] = metric\ndef get_metrics(names: list[str]) -> list[Metric]:\n return [METRICS[name] for name in names]\nclass MeanAggMetric(Metric[float, float]):\n def _aggregate(\n self, eval_result_list: EvalResultList, compute_results: list[float]\n ) -> float:\n return safe_mean(compute_results)", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.metrics", "documentation": {} }, { "label": "Report", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.report", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.report", "peekOfCode": "class Report(pydantic.BaseModel):\n eval_results: EvalResultList\n metric_results: MetricResultDict = MetricResultDict()\n timestamp: datetime.datetime = pydantic.Field(default_factory=datetime.datetime.now)\n tags: list[str] = []\n subdirs: list[str] = []\n comment: str = \"\"\n def save_to_file(self, filename: os.PathLike):\n path = Path(filename)\n path.parent.mkdir(parents=True, exist_ok=True)", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.report", "documentation": {} }, { "label": "Settings", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.settings", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.settings", "peekOfCode": "class Settings(pydantic.BaseSettings):\n cache_path: str = os.path.expanduser(\"~/.arc/cache\")\n dataset_dir: Optional[str] = None\n cell_padding: int = 1\n board_gap: int = 5\n pair_gap: int = 1\n default_topk: int = 1\nsettings = Settings()", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.settings", "documentation": {} }, { "label": "settings", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.arc.settings", "description": "prolog.HIDEEEEED~.~HIDE~.arc.arc.settings", "peekOfCode": "settings = Settings()", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.arc.settings", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.arc.examples.cheating_agent", "description": "prolog.HIDEEEEED~.~HIDE~.arc.examples.cheating_agent", "peekOfCode": "def main():\n agent = CheatingAgent()\n metrics = [*get_default_metrics(), InverseRankOfCorrectMetric()]\n riddles = dataset.get_riddles(subdirs=[\"training\"])\n task_data = TaskData()\n report = evaluate_and_report(agent, riddles, task_data, metrics=metrics)\n print(report.fmt_txt())\nif __name__ == \"__main__\":\n main()", "detail": "prolog.HIDEEEEED~.~HIDE~.arc.examples.cheating_agent", "documentation": {} }, { "label": "bootstrap", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.build.get-pip", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.build.get-pip", "peekOfCode": "def bootstrap(tmpdir=None):\n # Import pip so we can use it to install pip and maybe setuptools too\n from pip._internal.cli.main import main as pip_entry_point\n from pip._internal.commands.install import InstallCommand\n from pip._internal.req.constructors import install_req_from_line\n # Wrapper to provide default certificate with the lowest priority\n # Due to pip._internal.commands.commands_dict structure, a monkeypatch\n # seems the simplest workaround.\n install_parse_args = InstallCommand.parse_args\n def cert_parse_args(self, args):", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.build.get-pip", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.build.get-pip", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.build.get-pip", "peekOfCode": "def main():\n tmpdir = None\n try:\n # Create a temporary working directory\n tmpdir = tempfile.mkdtemp()\n # Unpack the zipfile into the temporary directory\n pip_zip = os.path.join(tmpdir, \"pip.zip\")\n with open(pip_zip, \"wb\") as fp:\n fp.write(b85decode(DATA.replace(b\"\\n\", b\"\")))\n # Add the zipfile to sys.path so that we can import it", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.build.get-pip", "documentation": {} }, { "label": "PY2", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.build.get-pip", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.build.get-pip", "peekOfCode": "PY2 = sys.version_info[0] == 2\nPY3 = sys.version_info[0] == 3\nif PY3:\n iterbytes = iter\nelse:\n def iterbytes(buf):\n return (ord(byte) for byte in buf)\ntry:\n from base64 import b85decode\nexcept ImportError:", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.build.get-pip", "documentation": {} }, { "label": "PY3", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.build.get-pip", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.build.get-pip", "peekOfCode": "PY3 = sys.version_info[0] == 3\nif PY3:\n iterbytes = iter\nelse:\n def iterbytes(buf):\n return (ord(byte) for byte in buf)\ntry:\n from base64 import b85decode\nexcept ImportError:\n _b85alphabet = (b\"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\"", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.build.get-pip", "documentation": {} }, { "label": "DATA", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.build.get-pip", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.build.get-pip", "peekOfCode": "DATA = b\"\"\"\nP)h>@6aWAK2mlUeH&TV5jz=Q_0074U000jF003}la4%n9X>MtBUtcb8d2NtyOT#b_hu`N@9QB18%v5x\ns4kpO(&rrJ|`eKX`vh}(J+9c$zj(&U7jVi)I-sG3#xx1$bt^#koRK_v}t4mq4DM@nUjopH&ybBEPi}^\nxLULGf}>fj-c03mMwHi99FA7T--xk;ZT?)$>+`x#H%fIi^0Qu3eJ`dRH!XO;R4izux?rb=LBwVVdE^h5\n`i|scqS#v!TyE^NqzAHP)h>@6aWAK2mlUeH&SQ_4?Nfb0055z000jF003}la4%n9ZDDC{Utcb\n8d0kS$j+`(Iz4H~8<^WVIJLgqrr5<}-^;T6;8q5#@Ng9Wt^y_P9ptD;}#IfIdelLCWGbq(BX^E&5*g5\n!^K>s8^EeX~AToilV)A2_e6~zhOaP~KZvIOlqFiVW+60AOs)?J~q5l!-OgI;*jfY94W3Aib4Jnnk|YJ\n*Ng1Ga|{kpv)l&^K>8SV(XV+<$mHY8?a{!1#G)Y63H$85<@-{DTbUDCucxV6x07;%M+|!-MO9j<0Wi#", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.build.get-pip", "documentation": {} }, { "label": "MeTTa", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "class MeTTa:\n def __init__(self, space=None):\n self.space = GroundingSpace(\"&self\") if space is None else space\n self.tokenizer = Tokenizer()\n self._tokenizer()\n def _tokenizer(self):\n self.add_atom(r\"\\+\", addAtom)\n self.add_atom(r\"-\", subAtom)\n self.add_atom(r\"\\*\", mulAtom)\n self.add_atom(r\"/\", divAtom)", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "match_op", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "def match_op(space, pattern, templ_op):\n space = space.get_object().value\n # TODO: hack to make both quoted and unquoted expression work\n if (templ_op.get_type() == AtomKind.EXPR and\n templ_op.get_children()[0].get_type() == AtomKind.SYMBOL and\n templ_op.get_children()[0].get_name() == 'q'):\n quoted = templ_op.get_children()[1:]\n templ = E(*quoted)\n else:\n templ = templ_op", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "let_op", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "def let_op(pattern, atom, templ):\n space = GroundingSpace()\n space.add_atom(atom)\n return space.subst(pattern, templ)\ndef call_atom_op(atom, method_str, *args):\n obj = atom.get_object().value\n method = getattr(obj, method_str)\n result = method(*args)\n if result is None:\n return []", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "call_atom_op", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "def call_atom_op(atom, method_str, *args):\n obj = atom.get_object().value\n method = getattr(obj, method_str)\n result = method(*args)\n if result is None:\n return []\n # Fixme? getting results from call_atom raises some issues but convenient.\n # Running example is call:... &self (or another imported space)\n # However if we need to wrap the result into GroundedAtom, we don't know\n # its type. Also, if the method returns list, we can wrap it as whole or", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "print_op", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "def print_op(atom):\n print(atom)\n return []\n#E(S('->'), S('Number'), S('Number'), S('Number'))\nsubAtom = OperationAtom('-', lambda a, b: a - b, ['Number', 'Number', 'Number'])\nmulAtom = OperationAtom('*', lambda a, b: a * b, ['Number', 'Number', 'Number'])\naddAtom = OperationAtom('+', lambda a, b: a + b, ['Number', 'Number', 'Number'])\ndivAtom = OperationAtom('/', lambda a, b: a / b, ['Number', 'Number', 'Number'])\nequalAtom = OperationAtom('==', lambda a, b: a == b, ['Number', 'Number', 'Bool'])\ngreaterAtom = OperationAtom('>', lambda a, b: a > b, ['Number', 'Number', 'Bool'])", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "newCallAtom", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "def newCallAtom(token):\n # REM: we could use \"call\" as a plain symbol (insted of \"call:...\")\n # with the method name as the parameter of call_atom_op\n # (but this parameter should be unwrapped)\n # \"call:...\" is an interesting example of families of tokens for ops, though\n return OperationAtom(\n token,\n lambda obj, *args: call_atom_op(obj, token[5:], *args),\n unwrap=False)\ndef SpaceAtom(grounding_space, repr_name=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "SpaceAtom", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "def SpaceAtom(grounding_space, repr_name=None):\n # Overriding grounding_space.repr_name here\n # It will be changed in all occurences of this Space\n if repr_name is not None:\n grounding_space.repr_name = repr_name\n return ValueAtom(grounding_space, 'Space')\ndef import_op(metta, space, fname):\n # Check if space wasn't resolved\n if space.get_type() == AtomKind.SYMBOL:\n # Create new space", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "import_op", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "def import_op(metta, space, fname):\n # Check if space wasn't resolved\n if space.get_type() == AtomKind.SYMBOL:\n # Create new space\n name = space.get_name()\n space = GroundingSpace()\n # Register this space under name `name`\n metta.add_atom(name, SpaceAtom(space, name))\n else:\n space = space.get_object().value", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "newImportOp", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "def newImportOp(metta):\n # unwrap=False, because space name can remain\n # an unresolved symbol atom\n return OperationAtom(\n 'import!',\n lambda s, f: import_op(metta, s, f),\n unwrap=False)\ndef pragma_op(metta, key, *args):\n # TODO: add support for Grounded values when needed\n metta.settings[key.get_name()] = \\", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "pragma_op", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "def pragma_op(metta, key, *args):\n # TODO: add support for Grounded values when needed\n metta.settings[key.get_name()] = \\\n args[0].get_name() if len(args) == 1 else \\\n [arg.get_name() for arg in args]\n return []\ndef newPragmaOp(metta):\n return OperationAtom(\n 'pragma!',\n lambda key, *args: pragma_op(metta, key, *args),", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "newPragmaOp", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "def newPragmaOp(metta):\n return OperationAtom(\n 'pragma!',\n lambda key, *args: pragma_op(metta, key, *args),\n unwrap=False)\nclass MeTTa:\n def __init__(self, space=None):\n self.space = GroundingSpace(\"&self\") if space is None else space\n self.tokenizer = Tokenizer()\n self._tokenizer()", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "subAtom", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "subAtom = OperationAtom('-', lambda a, b: a - b, ['Number', 'Number', 'Number'])\nmulAtom = OperationAtom('*', lambda a, b: a * b, ['Number', 'Number', 'Number'])\naddAtom = OperationAtom('+', lambda a, b: a + b, ['Number', 'Number', 'Number'])\ndivAtom = OperationAtom('/', lambda a, b: a / b, ['Number', 'Number', 'Number'])\nequalAtom = OperationAtom('==', lambda a, b: a == b, ['Number', 'Number', 'Bool'])\ngreaterAtom = OperationAtom('>', lambda a, b: a > b, ['Number', 'Number', 'Bool'])\nlessAtom = OperationAtom('<', lambda a, b: a < b, ['Number', 'Number', 'Bool'])\norAtom = OperationAtom('or', lambda a, b: a or b, ['Bool', 'Bool', 'Bool'])\nandAtom = OperationAtom('and', lambda a, b: a and b, ['Bool', 'Bool', 'Bool'])\nnotAtom = OperationAtom('not', lambda a: not a, ['Bool', 'Bool'])", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "mulAtom", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "mulAtom = OperationAtom('*', lambda a, b: a * b, ['Number', 'Number', 'Number'])\naddAtom = OperationAtom('+', lambda a, b: a + b, ['Number', 'Number', 'Number'])\ndivAtom = OperationAtom('/', lambda a, b: a / b, ['Number', 'Number', 'Number'])\nequalAtom = OperationAtom('==', lambda a, b: a == b, ['Number', 'Number', 'Bool'])\ngreaterAtom = OperationAtom('>', lambda a, b: a > b, ['Number', 'Number', 'Bool'])\nlessAtom = OperationAtom('<', lambda a, b: a < b, ['Number', 'Number', 'Bool'])\norAtom = OperationAtom('or', lambda a, b: a or b, ['Bool', 'Bool', 'Bool'])\nandAtom = OperationAtom('and', lambda a, b: a and b, ['Bool', 'Bool', 'Bool'])\nnotAtom = OperationAtom('not', lambda a: not a, ['Bool', 'Bool'])\n# Any number of arguments for `nop` (including zero) due to *args", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "addAtom", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "addAtom = OperationAtom('+', lambda a, b: a + b, ['Number', 'Number', 'Number'])\ndivAtom = OperationAtom('/', lambda a, b: a / b, ['Number', 'Number', 'Number'])\nequalAtom = OperationAtom('==', lambda a, b: a == b, ['Number', 'Number', 'Bool'])\ngreaterAtom = OperationAtom('>', lambda a, b: a > b, ['Number', 'Number', 'Bool'])\nlessAtom = OperationAtom('<', lambda a, b: a < b, ['Number', 'Number', 'Bool'])\norAtom = OperationAtom('or', lambda a, b: a or b, ['Bool', 'Bool', 'Bool'])\nandAtom = OperationAtom('and', lambda a, b: a and b, ['Bool', 'Bool', 'Bool'])\nnotAtom = OperationAtom('not', lambda a: not a, ['Bool', 'Bool'])\n# Any number of arguments for `nop` (including zero) due to *args\nnopAtom = OperationAtom('nop', lambda *args: [], unwrap=False)", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "divAtom", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "divAtom = OperationAtom('/', lambda a, b: a / b, ['Number', 'Number', 'Number'])\nequalAtom = OperationAtom('==', lambda a, b: a == b, ['Number', 'Number', 'Bool'])\ngreaterAtom = OperationAtom('>', lambda a, b: a > b, ['Number', 'Number', 'Bool'])\nlessAtom = OperationAtom('<', lambda a, b: a < b, ['Number', 'Number', 'Bool'])\norAtom = OperationAtom('or', lambda a, b: a or b, ['Bool', 'Bool', 'Bool'])\nandAtom = OperationAtom('and', lambda a, b: a and b, ['Bool', 'Bool', 'Bool'])\nnotAtom = OperationAtom('not', lambda a: not a, ['Bool', 'Bool'])\n# Any number of arguments for `nop` (including zero) due to *args\nnopAtom = OperationAtom('nop', lambda *args: [], unwrap=False)\n# TODO: Any for the argument is necessary to make argument reductable.", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "equalAtom", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "equalAtom = OperationAtom('==', lambda a, b: a == b, ['Number', 'Number', 'Bool'])\ngreaterAtom = OperationAtom('>', lambda a, b: a > b, ['Number', 'Number', 'Bool'])\nlessAtom = OperationAtom('<', lambda a, b: a < b, ['Number', 'Number', 'Bool'])\norAtom = OperationAtom('or', lambda a, b: a or b, ['Bool', 'Bool', 'Bool'])\nandAtom = OperationAtom('and', lambda a, b: a and b, ['Bool', 'Bool', 'Bool'])\nnotAtom = OperationAtom('not', lambda a: not a, ['Bool', 'Bool'])\n# Any number of arguments for `nop` (including zero) due to *args\nnopAtom = OperationAtom('nop', lambda *args: [], unwrap=False)\n# TODO: Any for the argument is necessary to make argument reductable.\nletAtom = OperationAtom('let', let_op,", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "greaterAtom", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "greaterAtom = OperationAtom('>', lambda a, b: a > b, ['Number', 'Number', 'Bool'])\nlessAtom = OperationAtom('<', lambda a, b: a < b, ['Number', 'Number', 'Bool'])\norAtom = OperationAtom('or', lambda a, b: a or b, ['Bool', 'Bool', 'Bool'])\nandAtom = OperationAtom('and', lambda a, b: a and b, ['Bool', 'Bool', 'Bool'])\nnotAtom = OperationAtom('not', lambda a: not a, ['Bool', 'Bool'])\n# Any number of arguments for `nop` (including zero) due to *args\nnopAtom = OperationAtom('nop', lambda *args: [], unwrap=False)\n# TODO: Any for the argument is necessary to make argument reductable.\nletAtom = OperationAtom('let', let_op,\n type_names=[\"Variable\", \"Any\", \"Atom\", \"Atom\"], unwrap=False)", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "lessAtom", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "lessAtom = OperationAtom('<', lambda a, b: a < b, ['Number', 'Number', 'Bool'])\norAtom = OperationAtom('or', lambda a, b: a or b, ['Bool', 'Bool', 'Bool'])\nandAtom = OperationAtom('and', lambda a, b: a and b, ['Bool', 'Bool', 'Bool'])\nnotAtom = OperationAtom('not', lambda a: not a, ['Bool', 'Bool'])\n# Any number of arguments for `nop` (including zero) due to *args\nnopAtom = OperationAtom('nop', lambda *args: [], unwrap=False)\n# TODO: Any for the argument is necessary to make argument reductable.\nletAtom = OperationAtom('let', let_op,\n type_names=[\"Variable\", \"Any\", \"Atom\", \"Atom\"], unwrap=False)\nmatchAtom = OperationAtom('match', match_op,", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "orAtom", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "orAtom = OperationAtom('or', lambda a, b: a or b, ['Bool', 'Bool', 'Bool'])\nandAtom = OperationAtom('and', lambda a, b: a and b, ['Bool', 'Bool', 'Bool'])\nnotAtom = OperationAtom('not', lambda a: not a, ['Bool', 'Bool'])\n# Any number of arguments for `nop` (including zero) due to *args\nnopAtom = OperationAtom('nop', lambda *args: [], unwrap=False)\n# TODO: Any for the argument is necessary to make argument reductable.\nletAtom = OperationAtom('let', let_op,\n type_names=[\"Variable\", \"Any\", \"Atom\", \"Atom\"], unwrap=False)\nmatchAtom = OperationAtom('match', match_op,\n type_names=[\"Space\", \"Any\", \"Atom\", \"Any\"], unwrap=False)", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "andAtom", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "andAtom = OperationAtom('and', lambda a, b: a and b, ['Bool', 'Bool', 'Bool'])\nnotAtom = OperationAtom('not', lambda a: not a, ['Bool', 'Bool'])\n# Any number of arguments for `nop` (including zero) due to *args\nnopAtom = OperationAtom('nop', lambda *args: [], unwrap=False)\n# TODO: Any for the argument is necessary to make argument reductable.\nletAtom = OperationAtom('let', let_op,\n type_names=[\"Variable\", \"Any\", \"Atom\", \"Atom\"], unwrap=False)\nmatchAtom = OperationAtom('match', match_op,\n type_names=[\"Space\", \"Any\", \"Atom\", \"Any\"], unwrap=False)\nprintAtom = OperationAtom('println!', print_op, ['Any', 'IO'], unwrap=False)", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "notAtom", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "notAtom = OperationAtom('not', lambda a: not a, ['Bool', 'Bool'])\n# Any number of arguments for `nop` (including zero) due to *args\nnopAtom = OperationAtom('nop', lambda *args: [], unwrap=False)\n# TODO: Any for the argument is necessary to make argument reductable.\nletAtom = OperationAtom('let', let_op,\n type_names=[\"Variable\", \"Any\", \"Atom\", \"Atom\"], unwrap=False)\nmatchAtom = OperationAtom('match', match_op,\n type_names=[\"Space\", \"Any\", \"Atom\", \"Any\"], unwrap=False)\nprintAtom = OperationAtom('println!', print_op, ['Any', 'IO'], unwrap=False)\ndef newCallAtom(token):", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "nopAtom", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "nopAtom = OperationAtom('nop', lambda *args: [], unwrap=False)\n# TODO: Any for the argument is necessary to make argument reductable.\nletAtom = OperationAtom('let', let_op,\n type_names=[\"Variable\", \"Any\", \"Atom\", \"Atom\"], unwrap=False)\nmatchAtom = OperationAtom('match', match_op,\n type_names=[\"Space\", \"Any\", \"Atom\", \"Any\"], unwrap=False)\nprintAtom = OperationAtom('println!', print_op, ['Any', 'IO'], unwrap=False)\ndef newCallAtom(token):\n # REM: we could use \"call\" as a plain symbol (insted of \"call:...\")\n # with the method name as the parameter of call_atom_op", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "letAtom", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "letAtom = OperationAtom('let', let_op,\n type_names=[\"Variable\", \"Any\", \"Atom\", \"Atom\"], unwrap=False)\nmatchAtom = OperationAtom('match', match_op,\n type_names=[\"Space\", \"Any\", \"Atom\", \"Any\"], unwrap=False)\nprintAtom = OperationAtom('println!', print_op, ['Any', 'IO'], unwrap=False)\ndef newCallAtom(token):\n # REM: we could use \"call\" as a plain symbol (insted of \"call:...\")\n # with the method name as the parameter of call_atom_op\n # (but this parameter should be unwrapped)\n # \"call:...\" is an interesting example of families of tokens for ops, though", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "matchAtom", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "matchAtom = OperationAtom('match', match_op,\n type_names=[\"Space\", \"Any\", \"Atom\", \"Any\"], unwrap=False)\nprintAtom = OperationAtom('println!', print_op, ['Any', 'IO'], unwrap=False)\ndef newCallAtom(token):\n # REM: we could use \"call\" as a plain symbol (insted of \"call:...\")\n # with the method name as the parameter of call_atom_op\n # (but this parameter should be unwrapped)\n # \"call:...\" is an interesting example of families of tokens for ops, though\n return OperationAtom(\n token,", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "printAtom", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "peekOfCode": "printAtom = OperationAtom('println!', print_op, ['Any', 'IO'], unwrap=False)\ndef newCallAtom(token):\n # REM: we could use \"call\" as a plain symbol (insted of \"call:...\")\n # with the method name as the parameter of call_atom_op\n # (but this parameter should be unwrapped)\n # \"call:...\" is an interesting example of families of tokens for ops, though\n return OperationAtom(\n token,\n lambda obj, *args: call_atom_op(obj, token[5:], *args),\n unwrap=False)", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.common", "documentation": {} }, { "label": "AtomTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_atom", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_atom", "peekOfCode": "class AtomTest(unittest.TestCase):\n def test_symbol_equals(self):\n self.assertEqual(S(\"a\"), S(\"a\"))\n self.assertNotEqual(S(\"a\"), S(\"b\"))\n def test_symbol_str(self):\n self.assertEqual(str(S(\"a\")), \"a\")\n def test_symbol_type(self):\n self.assertEqual(S(\"a\").get_type(), AtomKind.SYMBOL)\n def test_symbol_get_symbol(self):\n self.assertEqual(S(\"a\").get_name(), \"a\")", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_atom", "documentation": {} }, { "label": "x2_op", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_atom", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_atom", "peekOfCode": "def x2_op(atom):\n return [ValueAtom(2 * atom.get_object().value)]\nx2Atom = OperationAtom('*2', x2_op, unwrap=False)", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_atom", "documentation": {} }, { "label": "x2Atom", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_atom", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_atom", "peekOfCode": "x2Atom = OperationAtom('*2', x2_op, unwrap=False)", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_atom", "documentation": {} }, { "label": "AtomTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_atom_type", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_atom_type", "peekOfCode": "class AtomTest(unittest.TestCase):\n def test_check_type(self):\n space = GroundingSpace()\n space.add_atom(E(S(\":\"), S(\"a\"), S(\"A\")))\n self.assertTrue(check_type(space, S(\"a\"), AtomType.undefined()))\n self.assertTrue(check_type(space, S(\"a\"), AtomType.specific(S(\"A\"))))\n self.assertFalse(check_type(space, S(\"a\"), AtomType.specific(S(\"B\"))))\n def test_validate_atom(self):\n space = GroundingSpace()\n space.add_atom(E(S(\":\"), S(\"a\"), S(\"A\")))", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_atom_type", "documentation": {} }, { "label": "ExamplesTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_examples", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_examples", "peekOfCode": "class ExamplesTest(unittest.TestCase):\n def test_show_all_color_names(self):\n metta = MeTTa()\n metta.add_parse('''\n (isa red color)\n (isa green color)\n (isa blue color)\n ''')\n result = metta.interpret('(match &self (isa $color color) $color)')\n self.assertEqual([S('red'), S('green'), S('blue')], result)", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_examples", "documentation": {} }, { "label": "SomeObject", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_examples", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_examples", "peekOfCode": "class SomeObject():\n def __init__(self):\n self.called = False\n def foo(self):\n self.called = True\n# New object example\ndef new_atom_op(klass, unwrap, *params):\n if unwrap:\n unwrapped = [param.get_object().value for param in params]\n return [ValueAtom(klass(*unwrapped))]", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_examples", "documentation": {} }, { "label": "Global", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_examples", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_examples", "peekOfCode": "class Global:\n def __init__(self, x):\n self.set(x)\n def set(self, x):\n self.x = x\n def get(self):\n return self.x\nclass Setter:\n def __init__(self, var, val):\n self.var = var", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_examples", "documentation": {} }, { "label": "Setter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_examples", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_examples", "peekOfCode": "class Setter:\n def __init__(self, var, val):\n self.var = var\n self.val = val\n def act(self):\n self.var.set(self.val)\n def let(self):\n self.var = self.val\n def latom(self):\n # if var/val are not unwrapped", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_examples", "documentation": {} }, { "label": "new_atom_op", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_examples", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_examples", "peekOfCode": "def new_atom_op(klass, unwrap, *params):\n if unwrap:\n unwrapped = [param.get_object().value for param in params]\n return [ValueAtom(klass(*unwrapped))]\n else:\n return [ValueAtom(klass(*params))]\ndef newNewAtom(token, klass, unwrap=True):\n return OperationAtom(\n token,\n lambda *params: new_atom_op(klass, unwrap, *params),", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_examples", "documentation": {} }, { "label": "newNewAtom", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_examples", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_examples", "peekOfCode": "def newNewAtom(token, klass, unwrap=True):\n return OperationAtom(\n token,\n lambda *params: new_atom_op(klass, unwrap, *params),\n unwrap=False)\nclass Global:\n def __init__(self, x):\n self.set(x)\n def set(self, x):\n self.x = x", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_examples", "documentation": {} }, { "label": "GroundedTypeTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_grounded_type", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_grounded_type", "peekOfCode": "class GroundedTypeTest(unittest.TestCase):\n def test_apply_type(self):\n metta = MeTTa()\n self.assertEqual(\n metta.parse_single(\"+\").get_grounded_type(),\n metta.parse_single(\"*\").get_grounded_type())\n self.assertEqual(\n metta.interpret(\"(+ (* 1 4) 2)\")[0].get_grounded_type(),\n metta.parse_single(\"0\").get_grounded_type())\n self.assertEqual(", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_grounded_type", "documentation": {} }, { "label": "GroundingSpaceTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_grounding_space", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_grounding_space", "peekOfCode": "class GroundingSpaceTest(unittest.TestCase):\n def test_add(self):\n kb = GroundingSpace()\n kb.add_atom(S(\"a\"))\n kb.add_atom(S(\"b\"))\n self.assertEqual(kb.get_atoms(), [S(\"a\"), S(\"b\")])\n def test_remove(self):\n kb = GroundingSpace()\n kb.add_atom(S(\"a\"))\n kb.add_atom(S(\"b\"))", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_grounding_space", "documentation": {} }, { "label": "MettaTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_metta", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_metta", "peekOfCode": "class MettaTest(unittest.TestCase):\n def test_adding_tokens_while_parsing(self):\n metta = MeTTa()\n atom = metta.parse_single('(A B)')\n self.assertEquals(atom, E(S('A'), S('B')))\n metta.add_atom('A', S('C'))\n atom = metta.parse_single('(A B)')\n self.assertEquals(atom, E(S('C'), S('B')))\n # REM: currently, adding another atom for the same token\n # doesn't change the previous binding", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_metta", "documentation": {} }, { "label": "MinecraftTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minecraft", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minecraft", "peekOfCode": "class MinecraftTest(unittest.TestCase):\n def test_minecraft_planning(self):\n metta = MeTTa()\n inventory = [S('inventory'), S('hands')]\n metta.add_token(\"in-inventory\", lambda _: newInInventory(inventory))\n metta.add_token(\"craft\", lambda _: newCraftOp(inventory))\n metta.add_token(\"mine\", lambda _: newMineOp(inventory))\n metta.add_parse('''\n (: if (-> Bool Atom Atom Atom))\n (= (if True $then $else) $then)", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minecraft", "documentation": {} }, { "label": "newInInventory", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minecraft", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minecraft", "peekOfCode": "def newInInventory(inventory):\n return OperationAtom(\n \"in-inventory\",\n lambda obj: [ValueAtom(obj in inventory)],\n unwrap=False)\ndef craft_op(inventory, obj, where, comp):\n print(str(obj) + \" crafted in \" + str(where) + \" from \" + str(comp))\n inventory.append(obj)\n return [obj]\ndef newCraftOp(inventory):", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minecraft", "documentation": {} }, { "label": "craft_op", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minecraft", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minecraft", "peekOfCode": "def craft_op(inventory, obj, where, comp):\n print(str(obj) + \" crafted in \" + str(where) + \" from \" + str(comp))\n inventory.append(obj)\n return [obj]\ndef newCraftOp(inventory):\n return OperationAtom(\n \"craft\",\n lambda obj, where, comp: craft_op(inventory, obj, where, comp),\n unwrap=False)\ndef mine_op(inventory, obj, tool):", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minecraft", "documentation": {} }, { "label": "newCraftOp", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minecraft", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minecraft", "peekOfCode": "def newCraftOp(inventory):\n return OperationAtom(\n \"craft\",\n lambda obj, where, comp: craft_op(inventory, obj, where, comp),\n unwrap=False)\ndef mine_op(inventory, obj, tool):\n print(str(obj) + \" mined by \" + str(tool))\n inventory.append(obj)\n return [obj]\ndef newMineOp(inventory):", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minecraft", "documentation": {} }, { "label": "mine_op", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minecraft", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minecraft", "peekOfCode": "def mine_op(inventory, obj, tool):\n print(str(obj) + \" mined by \" + str(tool))\n inventory.append(obj)\n return [obj]\ndef newMineOp(inventory):\n return OperationAtom(\n \"mine\",\n lambda obj, tool: mine_op(inventory, obj, tool),\n unwrap=False)\nclass MinecraftTest(unittest.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minecraft", "documentation": {} }, { "label": "newMineOp", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minecraft", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minecraft", "peekOfCode": "def newMineOp(inventory):\n return OperationAtom(\n \"mine\",\n lambda obj, tool: mine_op(inventory, obj, tool),\n unwrap=False)\nclass MinecraftTest(unittest.TestCase):\n def test_minecraft_planning(self):\n metta = MeTTa()\n inventory = [S('inventory'), S('hands')]\n metta.add_token(\"in-inventory\", lambda _: newInInventory(inventory))", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minecraft", "documentation": {} }, { "label": "MinelogyTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minelogy", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minelogy", "peekOfCode": "class MinelogyTest(unittest.TestCase):\n def test_minelogy(self):\n # A nearly direct reimplementation of minelogy as it\n # was in the minecraft demo. Not optimal representation -\n # just testing.\n mines = MeTTa()\n mines.add_parse('''\n (((: log type) (: $x variant))\n (: (stone_axe wooden_axe None) tools)\n ((: log type) (: $x variant))", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_minelogy", "documentation": {} }, { "label": "PLNTVTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_multiple_bindings", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_multiple_bindings", "peekOfCode": "class PLNTVTest(unittest.TestCase):\n def test_fuzzy_conjunction_oc(self):\n metta = MeTTa()\n # Reproduce examples/pln/conjunction from github.com/opencog/pln\n # in OpenCog Classic style... kind of\n # .tv serves as a special type of equality that requires\n # `get-tv` \"metarule\" based on `match` to run\n # FixMe? `(PA)` and `(PB)` are used because otherwise\n # substitution wasn't invoked (atm of test creation)\n metta.add_parse('''", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_multiple_bindings", "documentation": {} }, { "label": "PLNTVTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_pln_tv", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_pln_tv", "peekOfCode": "class PLNTVTest(unittest.TestCase):\n def test_fuzzy_conjunction_oc(self):\n metta = MeTTa()\n # Reproduce examples/pln/conjunction from github.com/opencog/pln\n # in OpenCog Classic style... kind of\n # .tv serves as a special type of equality that requires\n # `get-tv` \"metarule\" based on `match` to run\n # FixMe? `(PA)` and `(PB)` are used because otherwise\n # substitution wasn't invoked (atm of test creation)\n metta.add_parse('''", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_pln_tv", "documentation": {} }, { "label": "MeTTaTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_run_metta", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_run_metta", "peekOfCode": "class MeTTaTest(unittest.TestCase):\n def test_run_metta(self):\n # REM: this is the initial implementation, which can be\n # moved to MeTTa class later or changed\n program = '''\n (isa red color)\n (isa green color)\n (isa blue color)\n ;(isa comment color)\n !(match &self (isa $color color) $color)", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_run_metta", "documentation": {} }, { "label": "PLNTVTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_two_sided_unify", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_two_sided_unify", "peekOfCode": "class PLNTVTest(unittest.TestCase):\n def test_fuzzy_conjunction_oc(self):\n metta = MeTTa()\n # Reproduce examples/pln/conjunction from github.com/opencog/pln\n # in OpenCog Classic style... kind of\n # .tv serves as a special type of equality that requires\n # `get-tv` \"metarule\" based on `match` to run\n # FixMe? `(PA)` and `(PB)` are used because otherwise\n # substitution wasn't invoked (atm of test creation)\n metta.add_parse('''", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_two_sided_unify", "documentation": {} }, { "label": "UnificationTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_unification", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_unification", "peekOfCode": "class UnificationTest(unittest.TestCase):\n def test_factorial_via_unification(self):\n metta = MeTTa()\n metta.add_parse('''\n (: if (-> Bool Atom Atom Atom))\n (= (if True $then $else) $then)\n (= (if False $then $else) $else)\n (= (fact $n) (if (== $n 0) 1 (* (fact (- $n 1)) $n)))\n ''')\n result = metta.interpret('(fact 5)')", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.tests.test_unification", "documentation": {} }, { "label": "CoverageCommand", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.setup", "description": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.setup", "peekOfCode": "class CoverageCommand(Command):\n user_options = []\n def initialize_options(self):\n pass\n def finalize_options(self):\n pass\n def run(self):\n import sys, subprocess\n raise SystemExit(subprocess.run([ sys.executable, \"-m\", \"nose\",\n \"--with-coverage\", \"--cover-erase\", \"--cover-package=hyperon\",", "detail": "prolog.HIDEEEEED~.~HIDE~.hyperon-experimental.python.setup", "documentation": {} }, { "label": "extensions", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "extensions = ['sphinxcontrib.bibtex','sphinx.ext.autosectionlabel','sphinx.ext.mathjax']\n# Add any paths that contain templates here, relative to this directory.\ntemplates_path = ['_templates']\n# The suffix(es) of source filenames.\n# You can specify multiple suffix as a list of string:\n#\n# source_suffix = ['.rst', '.md']\nsource_suffix = '.rst'\n# The master toctree document.\nmaster_doc = 'index'", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "templates_path", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "templates_path = ['_templates']\n# The suffix(es) of source filenames.\n# You can specify multiple suffix as a list of string:\n#\n# source_suffix = ['.rst', '.md']\nsource_suffix = '.rst'\n# The master toctree document.\nmaster_doc = 'index'\n# General information about the project.\nproject = 'pascal'", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "source_suffix", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "source_suffix = '.rst'\n# The master toctree document.\nmaster_doc = 'index'\n# General information about the project.\nproject = 'pascal'\ncopyright = '2021, Riguzzi Fabrizio'\nauthor = 'Riguzzi Fabrizio'\n# The version info for the project you're documenting, acts as replacement for\n# |version| and |release|, also used in various other places throughout the\n# built documents.", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "master_doc", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "master_doc = 'index'\n# General information about the project.\nproject = 'pascal'\ncopyright = '2021, Riguzzi Fabrizio'\nauthor = 'Riguzzi Fabrizio'\n# The version info for the project you're documenting, acts as replacement for\n# |version| and |release|, also used in various other places throughout the\n# built documents.\n#\n# The short X.Y version.", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "project", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "project = 'pascal'\ncopyright = '2021, Riguzzi Fabrizio'\nauthor = 'Riguzzi Fabrizio'\n# The version info for the project you're documenting, acts as replacement for\n# |version| and |release|, also used in various other places throughout the\n# built documents.\n#\n# The short X.Y version.\nversion = '1.0'\n# The full version, including alpha/beta/rc tags.", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "copyright", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "copyright = '2021, Riguzzi Fabrizio'\nauthor = 'Riguzzi Fabrizio'\n# The version info for the project you're documenting, acts as replacement for\n# |version| and |release|, also used in various other places throughout the\n# built documents.\n#\n# The short X.Y version.\nversion = '1.0'\n# The full version, including alpha/beta/rc tags.\nrelease = '1.0'", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "author", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "author = 'Riguzzi Fabrizio'\n# The version info for the project you're documenting, acts as replacement for\n# |version| and |release|, also used in various other places throughout the\n# built documents.\n#\n# The short X.Y version.\nversion = '1.0'\n# The full version, including alpha/beta/rc tags.\nrelease = '1.0'\n# The language for content autogenerated by Sphinx. Refer to documentation", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "version", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "version = '1.0'\n# The full version, including alpha/beta/rc tags.\nrelease = '1.0'\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n#\n# This is also used if you do content translation via gettext catalogs.\n# Usually you set \"language\" from the command line for these cases.\nlanguage = None\n# List of patterns, relative to source directory, that match files and", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "release", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "release = '1.0'\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n#\n# This is also used if you do content translation via gettext catalogs.\n# Usually you set \"language\" from the command line for these cases.\nlanguage = None\n# List of patterns, relative to source directory, that match files and\n# directories to ignore when looking for source files.\n# This patterns also effect to html_static_path and html_extra_path", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "language", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "language = None\n# List of patterns, relative to source directory, that match files and\n# directories to ignore when looking for source files.\n# This patterns also effect to html_static_path and html_extra_path\nexclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']\n# The name of the Pygments (syntax highlighting) style to use.\npygments_style = 'sphinx'\n# If true, `todo` and `todoList` produce output, else they produce nothing.\ntodo_include_todos = False\n# -- Options for HTML output ----------------------------------------------", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "exclude_patterns", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']\n# The name of the Pygments (syntax highlighting) style to use.\npygments_style = 'sphinx'\n# If true, `todo` and `todoList` produce output, else they produce nothing.\ntodo_include_todos = False\n# -- Options for HTML output ----------------------------------------------\n# The theme to use for HTML and HTML Help pages. See the documentation for\n# a list of builtin themes.\n#\nhtml_theme = 'classic'", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "pygments_style", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "pygments_style = 'sphinx'\n# If true, `todo` and `todoList` produce output, else they produce nothing.\ntodo_include_todos = False\n# -- Options for HTML output ----------------------------------------------\n# The theme to use for HTML and HTML Help pages. See the documentation for\n# a list of builtin themes.\n#\nhtml_theme = 'classic'\n# Theme options are theme-specific and customize the look and feel of a theme\n# further. For a list of options available for each theme, see the", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "todo_include_todos", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "todo_include_todos = False\n# -- Options for HTML output ----------------------------------------------\n# The theme to use for HTML and HTML Help pages. See the documentation for\n# a list of builtin themes.\n#\nhtml_theme = 'classic'\n# Theme options are theme-specific and customize the look and feel of a theme\n# further. For a list of options available for each theme, see the\n# documentation.\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "html_theme", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "html_theme = 'classic'\n# Theme options are theme-specific and customize the look and feel of a theme\n# further. For a list of options available for each theme, see the\n# documentation.\n#\nhtml_theme_options = {\n 'stickysidebar': True\n}\n# favicon\nhtml_favicon = '_static/favicon.ico'", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "html_theme_options", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "html_theme_options = {\n 'stickysidebar': True\n}\n# favicon\nhtml_favicon = '_static/favicon.ico'\n# Add any paths that contain custom static files (such as style sheets) here,\n# relative to this directory. They are copied after the builtin static files,\n# so a file named \"default.css\" will overwrite the builtin \"default.css\".\nhtml_static_path = ['_static']\n# Custom sidebar templates, must be a dictionary that maps document names", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "html_favicon", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "html_favicon = '_static/favicon.ico'\n# Add any paths that contain custom static files (such as style sheets) here,\n# relative to this directory. They are copied after the builtin static files,\n# so a file named \"default.css\" will overwrite the builtin \"default.css\".\nhtml_static_path = ['_static']\n# Custom sidebar templates, must be a dictionary that maps document names\n# to template names.\n#\n# This is required for the alabaster theme\n# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "html_static_path", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "html_static_path = ['_static']\n# Custom sidebar templates, must be a dictionary that maps document names\n# to template names.\n#\n# This is required for the alabaster theme\n# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars\nhtml_sidebars = {\n '**': [\n # 'searchbox.html',\n 'localtoc.html',", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "html_sidebars", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "html_sidebars = {\n '**': [\n # 'searchbox.html',\n 'localtoc.html',\n # 'sourcelink.html', \n 'relations.html', # needs 'show_related': True theme option to display\n ]\n}\n# -- Options for HTMLHelp output ------------------------------------------\n# Output file base name for HTML help builder.", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "htmlhelp_basename", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "htmlhelp_basename = 'pascaldoc'\n# -- Options for LaTeX output ---------------------------------------------\nlatex_elements = {\n # The paper size ('letterpaper' or 'a4paper').\n #\n # 'papersize': 'letterpaper',\n # The font size ('10pt', '11pt' or '12pt').\n #\n # 'pointsize': '10pt',\n # Additional stuff for the LaTeX preamble.", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "latex_elements", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "latex_elements = {\n # The paper size ('letterpaper' or 'a4paper').\n #\n # 'papersize': 'letterpaper',\n # The font size ('10pt', '11pt' or '12pt').\n #\n # 'pointsize': '10pt',\n # Additional stuff for the LaTeX preamble.\n #\n # 'preamble': '',", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "latex_documents", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "latex_documents = [\n (master_doc, 'pascal.tex', 'Pascal Documentation',\n 'Riguzzi Fabrizio', 'manual'),\n]\n# -- Options for manual page output ---------------------------------------\n# One entry per manual page. List of tuples\n# (source start file, name, description, authors, manual section).\nman_pages = [\n (master_doc, 'pascal', 'pascal Documentation',\n [author], 1)", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "man_pages", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "man_pages = [\n (master_doc, 'pascal', 'pascal Documentation',\n [author], 1)\n]\n# -- Options for Texinfo output -------------------------------------------\n# Grouping the document tree into Texinfo files. List of tuples\n# (source start file, target name, title, author,\n# dir menu entry, description, category)\ntexinfo_documents = [\n (master_doc, 'pascal', 'Pascal Documentation',", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "texinfo_documents", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "description": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "peekOfCode": "texinfo_documents = [\n (master_doc, 'pascal', 'Pascal Documentation',\n author, 'pascal', 'Probabilistic inductive constraint logic',\n 'Miscellaneous'),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.pascal.docs.conf", "documentation": {} }, { "label": "build_time_vars", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.build.lib.linux-x86_64-3.10._sysconfigdata__linux_x86_64-linux-gnu", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.build.lib.linux-x86_64-3.10._sysconfigdata__linux_x86_64-linux-gnu", "peekOfCode": "build_time_vars = {'ABIFLAGS': '',\n 'AC_APPLE_UNIVERSAL_BUILD': 0,\n 'AIX_BUILDDATE': 0,\n 'AIX_GENUINE_CPLUSPLUS': 0,\n 'ALIGNOF_LONG': 8,\n 'ALIGNOF_SIZE_T': 8,\n 'ALT_SOABI': 0,\n 'ANDROID_API_LEVEL': 0,\n 'AR': 'ar',\n 'ARFLAGS': 'rcs',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.build.lib.linux-x86_64-3.10._sysconfigdata__linux_x86_64-linux-gnu", "documentation": {} }, { "label": "adapt_datetime", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_datetime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_datetime", "peekOfCode": "def adapt_datetime(ts):\n return time.mktime(ts.timetuple())\nsqlite3.register_adapter(datetime.datetime, adapt_datetime)\ncon = sqlite3.connect(\":memory:\")\ncur = con.cursor()\nnow = datetime.datetime.now()\ncur.execute(\"select ?\", (now,))\nprint(cur.fetchone()[0])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_datetime", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_datetime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_datetime", "peekOfCode": "con = sqlite3.connect(\":memory:\")\ncur = con.cursor()\nnow = datetime.datetime.now()\ncur.execute(\"select ?\", (now,))\nprint(cur.fetchone()[0])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_datetime", "documentation": {} }, { "label": "cur", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_datetime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_datetime", "peekOfCode": "cur = con.cursor()\nnow = datetime.datetime.now()\ncur.execute(\"select ?\", (now,))\nprint(cur.fetchone()[0])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_datetime", "documentation": {} }, { "label": "now", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_datetime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_datetime", "peekOfCode": "now = datetime.datetime.now()\ncur.execute(\"select ?\", (now,))\nprint(cur.fetchone()[0])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_datetime", "documentation": {} }, { "label": "Point", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_1", "peekOfCode": "class Point:\n def __init__(self, x, y):\n self.x, self.y = x, y\n def __conform__(self, protocol):\n if protocol is sqlite3.PrepareProtocol:\n return \"%f;%f\" % (self.x, self.y)\ncon = sqlite3.connect(\":memory:\")\ncur = con.cursor()\np = Point(4.0, -3.2)\ncur.execute(\"select ?\", (p,))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_1", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_1", "peekOfCode": "con = sqlite3.connect(\":memory:\")\ncur = con.cursor()\np = Point(4.0, -3.2)\ncur.execute(\"select ?\", (p,))\nprint(cur.fetchone()[0])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_1", "documentation": {} }, { "label": "cur", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_1", "peekOfCode": "cur = con.cursor()\np = Point(4.0, -3.2)\ncur.execute(\"select ?\", (p,))\nprint(cur.fetchone()[0])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_1", "documentation": {} }, { "label": "p", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_1", "peekOfCode": "p = Point(4.0, -3.2)\ncur.execute(\"select ?\", (p,))\nprint(cur.fetchone()[0])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_1", "documentation": {} }, { "label": "Point", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_2", "peekOfCode": "class Point:\n def __init__(self, x, y):\n self.x, self.y = x, y\ndef adapt_point(point):\n return \"%f;%f\" % (point.x, point.y)\nsqlite3.register_adapter(Point, adapt_point)\ncon = sqlite3.connect(\":memory:\")\ncur = con.cursor()\np = Point(4.0, -3.2)\ncur.execute(\"select ?\", (p,))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_2", "documentation": {} }, { "label": "adapt_point", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_2", "peekOfCode": "def adapt_point(point):\n return \"%f;%f\" % (point.x, point.y)\nsqlite3.register_adapter(Point, adapt_point)\ncon = sqlite3.connect(\":memory:\")\ncur = con.cursor()\np = Point(4.0, -3.2)\ncur.execute(\"select ?\", (p,))\nprint(cur.fetchone()[0])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_2", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_2", "peekOfCode": "con = sqlite3.connect(\":memory:\")\ncur = con.cursor()\np = Point(4.0, -3.2)\ncur.execute(\"select ?\", (p,))\nprint(cur.fetchone()[0])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_2", "documentation": {} }, { "label": "cur", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_2", "peekOfCode": "cur = con.cursor()\np = Point(4.0, -3.2)\ncur.execute(\"select ?\", (p,))\nprint(cur.fetchone()[0])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_2", "documentation": {} }, { "label": "p", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_2", "peekOfCode": "p = Point(4.0, -3.2)\ncur.execute(\"select ?\", (p,))\nprint(cur.fetchone()[0])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.adapter_point_2", "documentation": {} }, { "label": "collate_reverse", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.collation_reverse", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.collation_reverse", "peekOfCode": "def collate_reverse(string1, string2):\n if string1 == string2:\n return 0\n elif string1 < string2:\n return 1\n else:\n return -1\ncon = sqlite3.connect(\":memory:\")\ncon.create_collation(\"reverse\", collate_reverse)\ncur = con.cursor()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.collation_reverse", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.collation_reverse", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.collation_reverse", "peekOfCode": "con = sqlite3.connect(\":memory:\")\ncon.create_collation(\"reverse\", collate_reverse)\ncur = con.cursor()\ncur.execute(\"create table test(x)\")\ncur.executemany(\"insert into test(x) values (?)\", [(\"a\",), (\"b\",)])\ncur.execute(\"select x from test order by x collate reverse\")\nfor row in cur:\n print(row)\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.collation_reverse", "documentation": {} }, { "label": "cur", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.collation_reverse", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.collation_reverse", "peekOfCode": "cur = con.cursor()\ncur.execute(\"create table test(x)\")\ncur.executemany(\"insert into test(x) values (?)\", [(\"a\",), (\"b\",)])\ncur.execute(\"select x from test order by x collate reverse\")\nfor row in cur:\n print(row)\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.collation_reverse", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.complete_statement", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.complete_statement", "peekOfCode": "con = sqlite3.connect(\":memory:\")\ncon.isolation_level = None\ncur = con.cursor()\nbuffer = \"\"\nprint(\"Enter your SQL commands to execute in sqlite3.\")\nprint(\"Enter a blank line to exit.\")\nwhile True:\n line = input()\n if line == \"\":\n break", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.complete_statement", "documentation": {} }, { "label": "con.isolation_level", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.complete_statement", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.complete_statement", "peekOfCode": "con.isolation_level = None\ncur = con.cursor()\nbuffer = \"\"\nprint(\"Enter your SQL commands to execute in sqlite3.\")\nprint(\"Enter a blank line to exit.\")\nwhile True:\n line = input()\n if line == \"\":\n break\n buffer += line", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.complete_statement", "documentation": {} }, { "label": "cur", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.complete_statement", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.complete_statement", "peekOfCode": "cur = con.cursor()\nbuffer = \"\"\nprint(\"Enter your SQL commands to execute in sqlite3.\")\nprint(\"Enter a blank line to exit.\")\nwhile True:\n line = input()\n if line == \"\":\n break\n buffer += line\n if sqlite3.complete_statement(buffer):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.complete_statement", "documentation": {} }, { "label": "buffer", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.complete_statement", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.complete_statement", "peekOfCode": "buffer = \"\"\nprint(\"Enter your SQL commands to execute in sqlite3.\")\nprint(\"Enter a blank line to exit.\")\nwhile True:\n line = input()\n if line == \"\":\n break\n buffer += line\n if sqlite3.complete_statement(buffer):\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.complete_statement", "documentation": {} }, { "label": "Point", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "peekOfCode": "class Point:\n def __init__(self, x, y):\n self.x, self.y = x, y\n def __repr__(self):\n return \"(%f;%f)\" % (self.x, self.y)\ndef adapt_point(point):\n return (\"%f;%f\" % (point.x, point.y)).encode('ascii')\ndef convert_point(s):\n x, y = list(map(float, s.split(b\";\")))\n return Point(x, y)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "documentation": {} }, { "label": "adapt_point", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "peekOfCode": "def adapt_point(point):\n return (\"%f;%f\" % (point.x, point.y)).encode('ascii')\ndef convert_point(s):\n x, y = list(map(float, s.split(b\";\")))\n return Point(x, y)\n# Register the adapter\nsqlite3.register_adapter(Point, adapt_point)\n# Register the converter\nsqlite3.register_converter(\"point\", convert_point)\np = Point(4.0, -3.2)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "documentation": {} }, { "label": "convert_point", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "peekOfCode": "def convert_point(s):\n x, y = list(map(float, s.split(b\";\")))\n return Point(x, y)\n# Register the adapter\nsqlite3.register_adapter(Point, adapt_point)\n# Register the converter\nsqlite3.register_converter(\"point\", convert_point)\np = Point(4.0, -3.2)\n#########################\n# 1) Using declared types", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "documentation": {} }, { "label": "p", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "peekOfCode": "p = Point(4.0, -3.2)\n#########################\n# 1) Using declared types\ncon = sqlite3.connect(\":memory:\", detect_types=sqlite3.PARSE_DECLTYPES)\ncur = con.cursor()\ncur.execute(\"create table test(p point)\")\ncur.execute(\"insert into test(p) values (?)\", (p,))\ncur.execute(\"select p from test\")\nprint(\"with declared types:\", cur.fetchone()[0])\ncur.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "peekOfCode": "con = sqlite3.connect(\":memory:\", detect_types=sqlite3.PARSE_DECLTYPES)\ncur = con.cursor()\ncur.execute(\"create table test(p point)\")\ncur.execute(\"insert into test(p) values (?)\", (p,))\ncur.execute(\"select p from test\")\nprint(\"with declared types:\", cur.fetchone()[0])\ncur.close()\ncon.close()\n#######################\n# 1) Using column names", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "documentation": {} }, { "label": "cur", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "peekOfCode": "cur = con.cursor()\ncur.execute(\"create table test(p point)\")\ncur.execute(\"insert into test(p) values (?)\", (p,))\ncur.execute(\"select p from test\")\nprint(\"with declared types:\", cur.fetchone()[0])\ncur.close()\ncon.close()\n#######################\n# 1) Using column names\ncon = sqlite3.connect(\":memory:\", detect_types=sqlite3.PARSE_COLNAMES)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "peekOfCode": "con = sqlite3.connect(\":memory:\", detect_types=sqlite3.PARSE_COLNAMES)\ncur = con.cursor()\ncur.execute(\"create table test(p)\")\ncur.execute(\"insert into test(p) values (?)\", (p,))\ncur.execute('select p as \"p [point]\" from test')\nprint(\"with column names:\", cur.fetchone()[0])\ncur.close()\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "documentation": {} }, { "label": "cur", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "peekOfCode": "cur = con.cursor()\ncur.execute(\"create table test(p)\")\ncur.execute(\"insert into test(p) values (?)\", (p,))\ncur.execute('select p as \"p [point]\" from test')\nprint(\"with column names:\", cur.fetchone()[0])\ncur.close()\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.converter_point", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.ctx_manager", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.ctx_manager", "peekOfCode": "con = sqlite3.connect(\":memory:\")\ncon.execute(\"create table lang (id integer primary key, name varchar unique)\")\n# Successful, con.commit() is called automatically afterwards\nwith con:\n con.execute(\"insert into lang(name) values (?)\", (\"Python\",))\n# con.rollback() is called after the with block finishes with an exception, the\n# exception is still raised and must be caught\ntry:\n with con:\n con.execute(\"insert into lang(name) values (?)\", (\"Python\",))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.ctx_manager", "documentation": {} }, { "label": "IterChars", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_1", "peekOfCode": "class IterChars:\n def __init__(self):\n self.count = ord('a')\n def __iter__(self):\n return self\n def __next__(self):\n if self.count > ord('z'):\n raise StopIteration\n self.count += 1\n return (chr(self.count - 1),) # this is a 1-tuple", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_1", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_1", "peekOfCode": "con = sqlite3.connect(\":memory:\")\ncur = con.cursor()\ncur.execute(\"create table characters(c)\")\ntheIter = IterChars()\ncur.executemany(\"insert into characters(c) values (?)\", theIter)\ncur.execute(\"select c from characters\")\nprint(cur.fetchall())\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_1", "documentation": {} }, { "label": "cur", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_1", "peekOfCode": "cur = con.cursor()\ncur.execute(\"create table characters(c)\")\ntheIter = IterChars()\ncur.executemany(\"insert into characters(c) values (?)\", theIter)\ncur.execute(\"select c from characters\")\nprint(cur.fetchall())\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_1", "documentation": {} }, { "label": "theIter", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_1", "peekOfCode": "theIter = IterChars()\ncur.executemany(\"insert into characters(c) values (?)\", theIter)\ncur.execute(\"select c from characters\")\nprint(cur.fetchall())\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_1", "documentation": {} }, { "label": "char_generator", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_2", "peekOfCode": "def char_generator():\n for c in string.ascii_lowercase:\n yield (c,)\ncon = sqlite3.connect(\":memory:\")\ncur = con.cursor()\ncur.execute(\"create table characters(c)\")\ncur.executemany(\"insert into characters(c) values (?)\", char_generator())\ncur.execute(\"select c from characters\")\nprint(cur.fetchall())\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_2", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_2", "peekOfCode": "con = sqlite3.connect(\":memory:\")\ncur = con.cursor()\ncur.execute(\"create table characters(c)\")\ncur.executemany(\"insert into characters(c) values (?)\", char_generator())\ncur.execute(\"select c from characters\")\nprint(cur.fetchall())\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_2", "documentation": {} }, { "label": "cur", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_2", "peekOfCode": "cur = con.cursor()\ncur.execute(\"create table characters(c)\")\ncur.executemany(\"insert into characters(c) values (?)\", char_generator())\ncur.execute(\"select c from characters\")\nprint(cur.fetchall())\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executemany_2", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executescript", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executescript", "peekOfCode": "con = sqlite3.connect(\":memory:\")\ncur = con.cursor()\ncur.executescript(\"\"\"\n create table person(\n firstname,\n lastname,\n age\n );\n create table book(\n title,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executescript", "documentation": {} }, { "label": "cur", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executescript", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executescript", "peekOfCode": "cur = con.cursor()\ncur.executescript(\"\"\"\n create table person(\n firstname,\n lastname,\n age\n );\n create table book(\n title,\n author,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.executescript", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.execute_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.execute_1", "peekOfCode": "con = sqlite3.connect(\":memory:\")\ncur = con.cursor()\ncur.execute(\"create table lang (name, first_appeared)\")\n# This is the qmark style:\ncur.execute(\"insert into lang values (?, ?)\", (\"C\", 1972))\n# The qmark style used with executemany():\nlang_list = [\n (\"Fortran\", 1957),\n (\"Python\", 1991),\n (\"Go\", 2009),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.execute_1", "documentation": {} }, { "label": "cur", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.execute_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.execute_1", "peekOfCode": "cur = con.cursor()\ncur.execute(\"create table lang (name, first_appeared)\")\n# This is the qmark style:\ncur.execute(\"insert into lang values (?, ?)\", (\"C\", 1972))\n# The qmark style used with executemany():\nlang_list = [\n (\"Fortran\", 1957),\n (\"Python\", 1991),\n (\"Go\", 2009),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.execute_1", "documentation": {} }, { "label": "lang_list", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.execute_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.execute_1", "peekOfCode": "lang_list = [\n (\"Fortran\", 1957),\n (\"Python\", 1991),\n (\"Go\", 2009),\n]\ncur.executemany(\"insert into lang values (?, ?)\", lang_list)\n# And this is the named style:\ncur.execute(\"select * from lang where first_appeared=:year\", {\"year\": 1972})\nprint(cur.fetchall())\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.execute_1", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.load_extension", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.load_extension", "peekOfCode": "con = sqlite3.connect(\":memory:\")\n# enable extension loading\ncon.enable_load_extension(True)\n# Load the fulltext search extension\ncon.execute(\"select load_extension('./fts3.so')\")\n# alternatively you can load the extension using an API call:\n# con.load_extension(\"./fts3.so\")\n# disable extension loading again\ncon.enable_load_extension(False)\n# example from SQLite wiki", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.load_extension", "documentation": {} }, { "label": "md5sum", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.md5func", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.md5func", "peekOfCode": "def md5sum(t):\n return hashlib.md5(t).hexdigest()\ncon = sqlite3.connect(\":memory:\")\ncon.create_function(\"md5\", 1, md5sum)\ncur = con.cursor()\ncur.execute(\"select md5(?)\", (b\"foo\",))\nprint(cur.fetchone()[0])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.md5func", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.md5func", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.md5func", "peekOfCode": "con = sqlite3.connect(\":memory:\")\ncon.create_function(\"md5\", 1, md5sum)\ncur = con.cursor()\ncur.execute(\"select md5(?)\", (b\"foo\",))\nprint(cur.fetchone()[0])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.md5func", "documentation": {} }, { "label": "cur", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.md5func", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.md5func", "peekOfCode": "cur = con.cursor()\ncur.execute(\"select md5(?)\", (b\"foo\",))\nprint(cur.fetchone()[0])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.md5func", "documentation": {} }, { "label": "MySum", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.mysumaggr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.mysumaggr", "peekOfCode": "class MySum:\n def __init__(self):\n self.count = 0\n def step(self, value):\n self.count += value\n def finalize(self):\n return self.count\ncon = sqlite3.connect(\":memory:\")\ncon.create_aggregate(\"mysum\", 1, MySum)\ncur = con.cursor()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.mysumaggr", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.mysumaggr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.mysumaggr", "peekOfCode": "con = sqlite3.connect(\":memory:\")\ncon.create_aggregate(\"mysum\", 1, MySum)\ncur = con.cursor()\ncur.execute(\"create table test(i)\")\ncur.execute(\"insert into test(i) values (1)\")\ncur.execute(\"insert into test(i) values (2)\")\ncur.execute(\"select mysum(i) from test\")\nprint(cur.fetchone()[0])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.mysumaggr", "documentation": {} }, { "label": "cur", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.mysumaggr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.mysumaggr", "peekOfCode": "cur = con.cursor()\ncur.execute(\"create table test(i)\")\ncur.execute(\"insert into test(i) values (1)\")\ncur.execute(\"insert into test(i) values (2)\")\ncur.execute(\"select mysum(i) from test\")\nprint(cur.fetchone()[0])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.mysumaggr", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.pysqlite_datetime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.pysqlite_datetime", "peekOfCode": "con = sqlite3.connect(\":memory:\", detect_types=sqlite3.PARSE_DECLTYPES|sqlite3.PARSE_COLNAMES)\ncur = con.cursor()\ncur.execute(\"create table test(d date, ts timestamp)\")\ntoday = datetime.date.today()\nnow = datetime.datetime.now()\ncur.execute(\"insert into test(d, ts) values (?, ?)\", (today, now))\ncur.execute(\"select d, ts from test\")\nrow = cur.fetchone()\nprint(today, \"=>\", row[0], type(row[0]))\nprint(now, \"=>\", row[1], type(row[1]))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.pysqlite_datetime", "documentation": {} }, { "label": "cur", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.pysqlite_datetime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.pysqlite_datetime", "peekOfCode": "cur = con.cursor()\ncur.execute(\"create table test(d date, ts timestamp)\")\ntoday = datetime.date.today()\nnow = datetime.datetime.now()\ncur.execute(\"insert into test(d, ts) values (?, ?)\", (today, now))\ncur.execute(\"select d, ts from test\")\nrow = cur.fetchone()\nprint(today, \"=>\", row[0], type(row[0]))\nprint(now, \"=>\", row[1], type(row[1]))\ncur.execute('select current_date as \"d [date]\", current_timestamp as \"ts [timestamp]\"')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.pysqlite_datetime", "documentation": {} }, { "label": "today", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.pysqlite_datetime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.pysqlite_datetime", "peekOfCode": "today = datetime.date.today()\nnow = datetime.datetime.now()\ncur.execute(\"insert into test(d, ts) values (?, ?)\", (today, now))\ncur.execute(\"select d, ts from test\")\nrow = cur.fetchone()\nprint(today, \"=>\", row[0], type(row[0]))\nprint(now, \"=>\", row[1], type(row[1]))\ncur.execute('select current_date as \"d [date]\", current_timestamp as \"ts [timestamp]\"')\nrow = cur.fetchone()\nprint(\"current_date\", row[0], type(row[0]))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.pysqlite_datetime", "documentation": {} }, { "label": "now", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.pysqlite_datetime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.pysqlite_datetime", "peekOfCode": "now = datetime.datetime.now()\ncur.execute(\"insert into test(d, ts) values (?, ?)\", (today, now))\ncur.execute(\"select d, ts from test\")\nrow = cur.fetchone()\nprint(today, \"=>\", row[0], type(row[0]))\nprint(now, \"=>\", row[1], type(row[1]))\ncur.execute('select current_date as \"d [date]\", current_timestamp as \"ts [timestamp]\"')\nrow = cur.fetchone()\nprint(\"current_date\", row[0], type(row[0]))\nprint(\"current_timestamp\", row[1], type(row[1]))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.pysqlite_datetime", "documentation": {} }, { "label": "row", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.pysqlite_datetime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.pysqlite_datetime", "peekOfCode": "row = cur.fetchone()\nprint(today, \"=>\", row[0], type(row[0]))\nprint(now, \"=>\", row[1], type(row[1]))\ncur.execute('select current_date as \"d [date]\", current_timestamp as \"ts [timestamp]\"')\nrow = cur.fetchone()\nprint(\"current_date\", row[0], type(row[0]))\nprint(\"current_timestamp\", row[1], type(row[1]))\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.pysqlite_datetime", "documentation": {} }, { "label": "row", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.pysqlite_datetime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.pysqlite_datetime", "peekOfCode": "row = cur.fetchone()\nprint(\"current_date\", row[0], type(row[0]))\nprint(\"current_timestamp\", row[1], type(row[1]))\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.pysqlite_datetime", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.rowclass", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.rowclass", "peekOfCode": "con = sqlite3.connect(\":memory:\")\ncon.row_factory = sqlite3.Row\ncur = con.cursor()\ncur.execute(\"select 'John' as name, 42 as age\")\nfor row in cur:\n assert row[0] == row[\"name\"]\n assert row[\"name\"] == row[\"nAmE\"]\n assert row[1] == row[\"age\"]\n assert row[1] == row[\"AgE\"]\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.rowclass", "documentation": {} }, { "label": "con.row_factory", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.rowclass", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.rowclass", "peekOfCode": "con.row_factory = sqlite3.Row\ncur = con.cursor()\ncur.execute(\"select 'John' as name, 42 as age\")\nfor row in cur:\n assert row[0] == row[\"name\"]\n assert row[\"name\"] == row[\"nAmE\"]\n assert row[1] == row[\"age\"]\n assert row[1] == row[\"AgE\"]\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.rowclass", "documentation": {} }, { "label": "cur", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.rowclass", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.rowclass", "peekOfCode": "cur = con.cursor()\ncur.execute(\"select 'John' as name, 42 as age\")\nfor row in cur:\n assert row[0] == row[\"name\"]\n assert row[\"name\"] == row[\"nAmE\"]\n assert row[1] == row[\"age\"]\n assert row[1] == row[\"AgE\"]\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.rowclass", "documentation": {} }, { "label": "dict_factory", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.row_factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.row_factory", "peekOfCode": "def dict_factory(cursor, row):\n d = {}\n for idx, col in enumerate(cursor.description):\n d[col[0]] = row[idx]\n return d\ncon = sqlite3.connect(\":memory:\")\ncon.row_factory = dict_factory\ncur = con.cursor()\ncur.execute(\"select 1 as a\")\nprint(cur.fetchone()[\"a\"])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.row_factory", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.row_factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.row_factory", "peekOfCode": "con = sqlite3.connect(\":memory:\")\ncon.row_factory = dict_factory\ncur = con.cursor()\ncur.execute(\"select 1 as a\")\nprint(cur.fetchone()[\"a\"])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.row_factory", "documentation": {} }, { "label": "con.row_factory", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.row_factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.row_factory", "peekOfCode": "con.row_factory = dict_factory\ncur = con.cursor()\ncur.execute(\"select 1 as a\")\nprint(cur.fetchone()[\"a\"])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.row_factory", "documentation": {} }, { "label": "cur", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.row_factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.row_factory", "peekOfCode": "cur = con.cursor()\ncur.execute(\"select 1 as a\")\nprint(cur.fetchone()[\"a\"])\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.row_factory", "documentation": {} }, { "label": "langs", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.shortcut_methods", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.shortcut_methods", "peekOfCode": "langs = [\n (\"C++\", 1985),\n (\"Objective-C\", 1984),\n]\ncon = sqlite3.connect(\":memory:\")\n# Create the table\ncon.execute(\"create table lang(name, first_appeared)\")\n# Fill the table\ncon.executemany(\"insert into lang(name, first_appeared) values (?, ?)\", langs)\n# Print the table contents", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.shortcut_methods", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.shortcut_methods", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.shortcut_methods", "peekOfCode": "con = sqlite3.connect(\":memory:\")\n# Create the table\ncon.execute(\"create table lang(name, first_appeared)\")\n# Fill the table\ncon.executemany(\"insert into lang(name, first_appeared) values (?, ?)\", langs)\n# Print the table contents\nfor row in con.execute(\"select name, first_appeared from lang\"):\n print(row)\nprint(\"I just deleted\", con.execute(\"delete from lang\").rowcount, \"rows\")\n# close is not a shortcut method and it's not called automatically,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.shortcut_methods", "documentation": {} }, { "label": "con", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "peekOfCode": "con = sqlite3.connect(\":memory:\")\ncur = con.cursor()\nAUSTRIA = \"Österreich\"\n# by default, rows are returned as str\ncur.execute(\"select ?\", (AUSTRIA,))\nrow = cur.fetchone()\nassert row[0] == AUSTRIA\n# but we can make sqlite3 always return bytestrings ...\ncon.text_factory = bytes\ncur.execute(\"select ?\", (AUSTRIA,))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "documentation": {} }, { "label": "cur", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "peekOfCode": "cur = con.cursor()\nAUSTRIA = \"Österreich\"\n# by default, rows are returned as str\ncur.execute(\"select ?\", (AUSTRIA,))\nrow = cur.fetchone()\nassert row[0] == AUSTRIA\n# but we can make sqlite3 always return bytestrings ...\ncon.text_factory = bytes\ncur.execute(\"select ?\", (AUSTRIA,))\nrow = cur.fetchone()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "documentation": {} }, { "label": "AUSTRIA", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "peekOfCode": "AUSTRIA = \"Österreich\"\n# by default, rows are returned as str\ncur.execute(\"select ?\", (AUSTRIA,))\nrow = cur.fetchone()\nassert row[0] == AUSTRIA\n# but we can make sqlite3 always return bytestrings ...\ncon.text_factory = bytes\ncur.execute(\"select ?\", (AUSTRIA,))\nrow = cur.fetchone()\nassert type(row[0]) is bytes", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "documentation": {} }, { "label": "row", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "peekOfCode": "row = cur.fetchone()\nassert row[0] == AUSTRIA\n# but we can make sqlite3 always return bytestrings ...\ncon.text_factory = bytes\ncur.execute(\"select ?\", (AUSTRIA,))\nrow = cur.fetchone()\nassert type(row[0]) is bytes\n# the bytestrings will be encoded in UTF-8, unless you stored garbage in the\n# database ...\nassert row[0] == AUSTRIA.encode(\"utf-8\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "documentation": {} }, { "label": "con.text_factory", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "peekOfCode": "con.text_factory = bytes\ncur.execute(\"select ?\", (AUSTRIA,))\nrow = cur.fetchone()\nassert type(row[0]) is bytes\n# the bytestrings will be encoded in UTF-8, unless you stored garbage in the\n# database ...\nassert row[0] == AUSTRIA.encode(\"utf-8\")\n# we can also implement a custom text_factory ...\n# here we implement one that appends \"foo\" to all strings\ncon.text_factory = lambda x: x.decode(\"utf-8\") + \"foo\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "documentation": {} }, { "label": "row", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "peekOfCode": "row = cur.fetchone()\nassert type(row[0]) is bytes\n# the bytestrings will be encoded in UTF-8, unless you stored garbage in the\n# database ...\nassert row[0] == AUSTRIA.encode(\"utf-8\")\n# we can also implement a custom text_factory ...\n# here we implement one that appends \"foo\" to all strings\ncon.text_factory = lambda x: x.decode(\"utf-8\") + \"foo\"\ncur.execute(\"select ?\", (\"bar\",))\nrow = cur.fetchone()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "documentation": {} }, { "label": "con.text_factory", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "peekOfCode": "con.text_factory = lambda x: x.decode(\"utf-8\") + \"foo\"\ncur.execute(\"select ?\", (\"bar\",))\nrow = cur.fetchone()\nassert row[0] == \"barfoo\"\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "documentation": {} }, { "label": "row", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "peekOfCode": "row = cur.fetchone()\nassert row[0] == \"barfoo\"\ncon.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.sqlite3.text_factory", "documentation": {} }, { "label": "DBPickler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.dbpickle", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.dbpickle", "peekOfCode": "class DBPickler(pickle.Pickler):\n def persistent_id(self, obj):\n # Instead of pickling MemoRecord as a regular class instance, we emit a\n # persistent ID.\n if isinstance(obj, MemoRecord):\n # Here, our persistent ID is simply a tuple, containing a tag and a\n # key, which refers to a specific record in the database.\n return (\"MemoRecord\", obj.key)\n else:\n # If obj does not have a persistent ID, return None. This means obj", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.dbpickle", "documentation": {} }, { "label": "DBUnpickler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.dbpickle", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.dbpickle", "peekOfCode": "class DBUnpickler(pickle.Unpickler):\n def __init__(self, file, connection):\n super().__init__(file)\n self.connection = connection\n def persistent_load(self, pid):\n # This method is invoked whenever a persistent ID is encountered.\n # Here, pid is the tuple returned by DBPickler.\n cursor = self.connection.cursor()\n type_tag, key_id = pid\n if type_tag == \"MemoRecord\":", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.dbpickle", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.dbpickle", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.dbpickle", "peekOfCode": "def main():\n import io\n import pprint\n # Initialize and populate our database.\n conn = sqlite3.connect(\":memory:\")\n cursor = conn.cursor()\n cursor.execute(\"CREATE TABLE memos(key INTEGER PRIMARY KEY, task TEXT)\")\n tasks = (\n 'give food to fish',\n 'prepare group meeting',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.dbpickle", "documentation": {} }, { "label": "MemoRecord", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.dbpickle", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.dbpickle", "peekOfCode": "MemoRecord = namedtuple(\"MemoRecord\", \"key, task\")\nclass DBPickler(pickle.Pickler):\n def persistent_id(self, obj):\n # Instead of pickling MemoRecord as a regular class instance, we emit a\n # persistent ID.\n if isinstance(obj, MemoRecord):\n # Here, our persistent ID is simply a tuple, containing a tag and a\n # key, which refers to a specific record in the database.\n return (\"MemoRecord\", obj.key)\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.dbpickle", "documentation": {} }, { "label": "msg", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-alternative", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-alternative", "peekOfCode": "msg = EmailMessage()\nmsg['Subject'] = \"Ayons asperges pour le déjeuner\"\nmsg['From'] = Address(\"Pepé Le Pew\", \"pepe\", \"example.com\")\nmsg['To'] = (Address(\"Penelope Pussycat\", \"penelope\", \"example.com\"),\n Address(\"Fabrette Pussycat\", \"fabrette\", \"example.com\"))\nmsg.set_content(\"\"\"\\\nSalut!\nCela ressemble à un excellent recipie[1] déjeuner.\n[1] http://www.yummly.com/recipe/Roasted-Asparagus-Epicurious-203718\n--Pepé", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-alternative", "documentation": {} }, { "label": "msg['Subject']", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-alternative", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-alternative", "peekOfCode": "msg['Subject'] = \"Ayons asperges pour le déjeuner\"\nmsg['From'] = Address(\"Pepé Le Pew\", \"pepe\", \"example.com\")\nmsg['To'] = (Address(\"Penelope Pussycat\", \"penelope\", \"example.com\"),\n Address(\"Fabrette Pussycat\", \"fabrette\", \"example.com\"))\nmsg.set_content(\"\"\"\\\nSalut!\nCela ressemble à un excellent recipie[1] déjeuner.\n[1] http://www.yummly.com/recipe/Roasted-Asparagus-Epicurious-203718\n--Pepé\n\"\"\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-alternative", "documentation": {} }, { "label": "msg['From']", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-alternative", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-alternative", "peekOfCode": "msg['From'] = Address(\"Pepé Le Pew\", \"pepe\", \"example.com\")\nmsg['To'] = (Address(\"Penelope Pussycat\", \"penelope\", \"example.com\"),\n Address(\"Fabrette Pussycat\", \"fabrette\", \"example.com\"))\nmsg.set_content(\"\"\"\\\nSalut!\nCela ressemble à un excellent recipie[1] déjeuner.\n[1] http://www.yummly.com/recipe/Roasted-Asparagus-Epicurious-203718\n--Pepé\n\"\"\")\n# Add the html version. This converts the message into a multipart/alternative", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-alternative", "documentation": {} }, { "label": "msg['To']", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-alternative", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-alternative", "peekOfCode": "msg['To'] = (Address(\"Penelope Pussycat\", \"penelope\", \"example.com\"),\n Address(\"Fabrette Pussycat\", \"fabrette\", \"example.com\"))\nmsg.set_content(\"\"\"\\\nSalut!\nCela ressemble à un excellent recipie[1] déjeuner.\n[1] http://www.yummly.com/recipe/Roasted-Asparagus-Epicurious-203718\n--Pepé\n\"\"\")\n# Add the html version. This converts the message into a multipart/alternative\n# container, with the original text message as the first part and the new html", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-alternative", "documentation": {} }, { "label": "asparagus_cid", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-alternative", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-alternative", "peekOfCode": "asparagus_cid = make_msgid()\nmsg.add_alternative(\"\"\"\\\n\n \n \n

Salut!

\n

Cela ressemble à un excellent\n \n recipie\n déjeuner.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-alternative", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-dir", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-dir", "peekOfCode": "def main():\n parser = ArgumentParser(description=\"\"\"\\\nSend the contents of a directory as a MIME message.\nUnless the -o option is given, the email is sent by forwarding to your local\nSMTP server, which then does the normal delivery process. Your local machine\nmust be running an SMTP server.\n\"\"\")\n parser.add_argument('-d', '--directory',\n help=\"\"\"Mail the contents of the specified directory,\n otherwise use the current directory. Only the regular", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-dir", "documentation": {} }, { "label": "headers", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-headers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-headers", "peekOfCode": "headers = Parser(policy=default).parsestr(\n 'From: Foo Bar \\n'\n 'To: \\n'\n 'Subject: Test message\\n'\n '\\n'\n 'Body would go here\\n')\n# Now the header items can be accessed as a dictionary:\nprint('To: {}'.format(headers['to']))\nprint('From: {}'.format(headers['from']))\nprint('Subject: {}'.format(headers['subject']))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-headers", "documentation": {} }, { "label": "msg", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-mime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-mime", "peekOfCode": "msg = EmailMessage()\nmsg['Subject'] = 'Our family reunion'\n# me == the sender's email address\n# family = the list of all recipients' email addresses\nmsg['From'] = me\nmsg['To'] = ', '.join(family)\nmsg.preamble = 'You will not see this in a MIME-aware mail reader.\\n'\n# Open the files in binary mode. Use imghdr to figure out the\n# MIME subtype for each specific image.\nfor file in pngfiles:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-mime", "documentation": {} }, { "label": "msg['Subject']", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-mime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-mime", "peekOfCode": "msg['Subject'] = 'Our family reunion'\n# me == the sender's email address\n# family = the list of all recipients' email addresses\nmsg['From'] = me\nmsg['To'] = ', '.join(family)\nmsg.preamble = 'You will not see this in a MIME-aware mail reader.\\n'\n# Open the files in binary mode. Use imghdr to figure out the\n# MIME subtype for each specific image.\nfor file in pngfiles:\n with open(file, 'rb') as fp:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-mime", "documentation": {} }, { "label": "msg['From']", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-mime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-mime", "peekOfCode": "msg['From'] = me\nmsg['To'] = ', '.join(family)\nmsg.preamble = 'You will not see this in a MIME-aware mail reader.\\n'\n# Open the files in binary mode. Use imghdr to figure out the\n# MIME subtype for each specific image.\nfor file in pngfiles:\n with open(file, 'rb') as fp:\n img_data = fp.read()\n msg.add_attachment(img_data, maintype='image',\n subtype=imghdr.what(None, img_data))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-mime", "documentation": {} }, { "label": "msg['To']", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-mime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-mime", "peekOfCode": "msg['To'] = ', '.join(family)\nmsg.preamble = 'You will not see this in a MIME-aware mail reader.\\n'\n# Open the files in binary mode. Use imghdr to figure out the\n# MIME subtype for each specific image.\nfor file in pngfiles:\n with open(file, 'rb') as fp:\n img_data = fp.read()\n msg.add_attachment(img_data, maintype='image',\n subtype=imghdr.what(None, img_data))\n# Send the email via our own SMTP server.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-mime", "documentation": {} }, { "label": "msg.preamble", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-mime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-mime", "peekOfCode": "msg.preamble = 'You will not see this in a MIME-aware mail reader.\\n'\n# Open the files in binary mode. Use imghdr to figure out the\n# MIME subtype for each specific image.\nfor file in pngfiles:\n with open(file, 'rb') as fp:\n img_data = fp.read()\n msg.add_attachment(img_data, maintype='image',\n subtype=imghdr.what(None, img_data))\n# Send the email via our own SMTP server.\nwith smtplib.SMTP('localhost') as s:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-mime", "documentation": {} }, { "label": "simplest", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-read-alternative", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-read-alternative", "peekOfCode": "simplest = msg.get_body(preferencelist=('plain', 'html'))\nprint()\nprint(''.join(simplest.get_content().splitlines(keepends=True)[:3]))\nans = input(\"View full message?\")\nif ans.lower()[0] == 'n':\n sys.exit()\n# We can extract the richest alternative in order to display it:\nrichest = msg.get_body()\npartfiles = {}\nif richest['content-type'].maintype == 'text':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-read-alternative", "documentation": {} }, { "label": "ans", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-read-alternative", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-read-alternative", "peekOfCode": "ans = input(\"View full message?\")\nif ans.lower()[0] == 'n':\n sys.exit()\n# We can extract the richest alternative in order to display it:\nrichest = msg.get_body()\npartfiles = {}\nif richest['content-type'].maintype == 'text':\n if richest['content-type'].subtype == 'plain':\n for line in richest.get_content().splitlines():\n print(line)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-read-alternative", "documentation": {} }, { "label": "richest", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-read-alternative", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-read-alternative", "peekOfCode": "richest = msg.get_body()\npartfiles = {}\nif richest['content-type'].maintype == 'text':\n if richest['content-type'].subtype == 'plain':\n for line in richest.get_content().splitlines():\n print(line)\n sys.exit()\n elif richest['content-type'].subtype == 'html':\n body = richest\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-read-alternative", "documentation": {} }, { "label": "partfiles", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-read-alternative", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-read-alternative", "peekOfCode": "partfiles = {}\nif richest['content-type'].maintype == 'text':\n if richest['content-type'].subtype == 'plain':\n for line in richest.get_content().splitlines():\n print(line)\n sys.exit()\n elif richest['content-type'].subtype == 'html':\n body = richest\n else:\n print(\"Don't know how to display {}\".format(richest.get_content_type()))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-read-alternative", "documentation": {} }, { "label": "msg['Subject']", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-simple", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-simple", "peekOfCode": "msg['Subject'] = f'The contents of {textfile}'\nmsg['From'] = me\nmsg['To'] = you\n# Send the message via our own SMTP server.\ns = smtplib.SMTP('localhost')\ns.send_message(msg)\ns.quit()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-simple", "documentation": {} }, { "label": "msg['From']", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-simple", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-simple", "peekOfCode": "msg['From'] = me\nmsg['To'] = you\n# Send the message via our own SMTP server.\ns = smtplib.SMTP('localhost')\ns.send_message(msg)\ns.quit()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-simple", "documentation": {} }, { "label": "msg['To']", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-simple", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-simple", "peekOfCode": "msg['To'] = you\n# Send the message via our own SMTP server.\ns = smtplib.SMTP('localhost')\ns.send_message(msg)\ns.quit()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-simple", "documentation": {} }, { "label": "s", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-simple", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-simple", "peekOfCode": "s = smtplib.SMTP('localhost')\ns.send_message(msg)\ns.quit()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-simple", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-unpack", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-unpack", "peekOfCode": "def main():\n parser = ArgumentParser(description=\"\"\"\\\nUnpack a MIME message into a directory of files.\n\"\"\")\n parser.add_argument('-d', '--directory', required=True,\n help=\"\"\"Unpack the MIME message into the named\n directory, which will be created if it doesn't already\n exist.\"\"\")\n parser.add_argument('msgfile')\n args = parser.parse_args()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.email-unpack", "documentation": {} }, { "label": "getText", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "peekOfCode": "def getText(nodelist):\n rc = []\n for node in nodelist:\n if node.nodeType == node.TEXT_NODE:\n rc.append(node.data)\n return ''.join(rc)\ndef handleSlideshow(slideshow):\n print(\"\")\n handleSlideshowTitle(slideshow.getElementsByTagName(\"title\")[0])\n slides = slideshow.getElementsByTagName(\"slide\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "documentation": {} }, { "label": "handleSlideshow", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "peekOfCode": "def handleSlideshow(slideshow):\n print(\"\")\n handleSlideshowTitle(slideshow.getElementsByTagName(\"title\")[0])\n slides = slideshow.getElementsByTagName(\"slide\")\n handleToc(slides)\n handleSlides(slides)\n print(\"\")\ndef handleSlides(slides):\n for slide in slides:\n handleSlide(slide)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "documentation": {} }, { "label": "handleSlides", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "peekOfCode": "def handleSlides(slides):\n for slide in slides:\n handleSlide(slide)\ndef handleSlide(slide):\n handleSlideTitle(slide.getElementsByTagName(\"title\")[0])\n handlePoints(slide.getElementsByTagName(\"point\"))\ndef handleSlideshowTitle(title):\n print(\"%s\" % getText(title.childNodes))\ndef handleSlideTitle(title):\n print(\"

%s

\" % getText(title.childNodes))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "documentation": {} }, { "label": "handleSlide", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "peekOfCode": "def handleSlide(slide):\n handleSlideTitle(slide.getElementsByTagName(\"title\")[0])\n handlePoints(slide.getElementsByTagName(\"point\"))\ndef handleSlideshowTitle(title):\n print(\"%s\" % getText(title.childNodes))\ndef handleSlideTitle(title):\n print(\"

%s

\" % getText(title.childNodes))\ndef handlePoints(points):\n print(\"
    \")\n for point in points:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "documentation": {} }, { "label": "handleSlideshowTitle", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "peekOfCode": "def handleSlideshowTitle(title):\n print(\"%s\" % getText(title.childNodes))\ndef handleSlideTitle(title):\n print(\"

    %s

    \" % getText(title.childNodes))\ndef handlePoints(points):\n print(\"
      \")\n for point in points:\n handlePoint(point)\n print(\"
    \")\ndef handlePoint(point):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "documentation": {} }, { "label": "handleSlideTitle", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "peekOfCode": "def handleSlideTitle(title):\n print(\"

    %s

    \" % getText(title.childNodes))\ndef handlePoints(points):\n print(\"
      \")\n for point in points:\n handlePoint(point)\n print(\"
    \")\ndef handlePoint(point):\n print(\"
  • %s
  • \" % getText(point.childNodes))\ndef handleToc(slides):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "documentation": {} }, { "label": "handlePoints", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "peekOfCode": "def handlePoints(points):\n print(\"
      \")\n for point in points:\n handlePoint(point)\n print(\"
    \")\ndef handlePoint(point):\n print(\"
  • %s
  • \" % getText(point.childNodes))\ndef handleToc(slides):\n for slide in slides:\n title = slide.getElementsByTagName(\"title\")[0]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "documentation": {} }, { "label": "handlePoint", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "peekOfCode": "def handlePoint(point):\n print(\"
  • %s
  • \" % getText(point.childNodes))\ndef handleToc(slides):\n for slide in slides:\n title = slide.getElementsByTagName(\"title\")[0]\n print(\"

    %s

    \" % getText(title.childNodes))\nhandleSlideshow(dom)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "documentation": {} }, { "label": "handleToc", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "peekOfCode": "def handleToc(slides):\n for slide in slides:\n title = slide.getElementsByTagName(\"title\")[0]\n print(\"

    %s

    \" % getText(title.childNodes))\nhandleSlideshow(dom)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "documentation": {} }, { "label": "document", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "peekOfCode": "document = \"\"\"\\\n\nDemo slideshow\nSlide title\nThis is a demo\nOf a program for processing slides\n\nAnother demo slide\nIt is important\nTo have more than", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "documentation": {} }, { "label": "dom", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "peekOfCode": "dom = xml.dom.minidom.parseString(document)\ndef getText(nodelist):\n rc = []\n for node in nodelist:\n if node.nodeType == node.TEXT_NODE:\n rc.append(node.data)\n return ''.join(rc)\ndef handleSlideshow(slideshow):\n print(\"\")\n handleSlideshowTitle(slideshow.getElementsByTagName(\"title\")[0])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.minidom-example", "documentation": {} }, { "label": "Foo", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_newtype", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_newtype", "peekOfCode": "class Foo:\n def f(self):\n print('you called Foo.f()')\n def g(self):\n print('you called Foo.g()')\n def _h(self):\n print('you called Foo._h()')\n# A simple generator function\ndef baz():\n for i in range(10):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_newtype", "documentation": {} }, { "label": "GeneratorProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_newtype", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_newtype", "peekOfCode": "class GeneratorProxy(BaseProxy):\n _exposed_ = ['__next__']\n def __iter__(self):\n return self\n def __next__(self):\n return self._callmethod('__next__')\n# Function to return the operator module\ndef get_operator_module():\n return operator\n##", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_newtype", "documentation": {} }, { "label": "MyManager", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_newtype", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_newtype", "peekOfCode": "class MyManager(BaseManager):\n pass\n# register the Foo class; make `f()` and `g()` accessible via proxy\nMyManager.register('Foo1', Foo)\n# register the Foo class; make `g()` and `_h()` accessible via proxy\nMyManager.register('Foo2', Foo, exposed=('g', '_h'))\n# register the generator function baz; use `GeneratorProxy` to make proxies\nMyManager.register('baz', baz, proxytype=GeneratorProxy)\n# register get_operator_module(); make public functions accessible via proxy\nMyManager.register('operator', get_operator_module)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_newtype", "documentation": {} }, { "label": "baz", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_newtype", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_newtype", "peekOfCode": "def baz():\n for i in range(10):\n yield i*i\n# Proxy type for generator objects\nclass GeneratorProxy(BaseProxy):\n _exposed_ = ['__next__']\n def __iter__(self):\n return self\n def __next__(self):\n return self._callmethod('__next__')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_newtype", "documentation": {} }, { "label": "get_operator_module", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_newtype", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_newtype", "peekOfCode": "def get_operator_module():\n return operator\n##\nclass MyManager(BaseManager):\n pass\n# register the Foo class; make `f()` and `g()` accessible via proxy\nMyManager.register('Foo1', Foo)\n# register the Foo class; make `g()` and `_h()` accessible via proxy\nMyManager.register('Foo2', Foo, exposed=('g', '_h'))\n# register the generator function baz; use `GeneratorProxy` to make proxies", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_newtype", "documentation": {} }, { "label": "test", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_newtype", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_newtype", "peekOfCode": "def test():\n manager = MyManager()\n manager.start()\n print('-' * 20)\n f1 = manager.Foo1()\n f1.f()\n f1.g()\n assert not hasattr(f1, '_h')\n assert sorted(f1._exposed_) == sorted(['f', 'g'])\n print('-' * 20)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_newtype", "documentation": {} }, { "label": "calculate", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "peekOfCode": "def calculate(func, args):\n result = func(*args)\n return '%s says that %s%s = %s' % (\n multiprocessing.current_process().name,\n func.__name__, args, result\n )\ndef calculatestar(args):\n return calculate(*args)\ndef mul(a, b):\n time.sleep(0.5 * random.random())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "documentation": {} }, { "label": "calculatestar", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "peekOfCode": "def calculatestar(args):\n return calculate(*args)\ndef mul(a, b):\n time.sleep(0.5 * random.random())\n return a * b\ndef plus(a, b):\n time.sleep(0.5 * random.random())\n return a + b\ndef f(x):\n return 1.0 / (x - 5.0)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "documentation": {} }, { "label": "mul", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "peekOfCode": "def mul(a, b):\n time.sleep(0.5 * random.random())\n return a * b\ndef plus(a, b):\n time.sleep(0.5 * random.random())\n return a + b\ndef f(x):\n return 1.0 / (x - 5.0)\ndef pow3(x):\n return x ** 3", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "documentation": {} }, { "label": "plus", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "peekOfCode": "def plus(a, b):\n time.sleep(0.5 * random.random())\n return a + b\ndef f(x):\n return 1.0 / (x - 5.0)\ndef pow3(x):\n return x ** 3\ndef noop(x):\n pass\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "documentation": {} }, { "label": "f", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "peekOfCode": "def f(x):\n return 1.0 / (x - 5.0)\ndef pow3(x):\n return x ** 3\ndef noop(x):\n pass\n#\n# Test code\n#\ndef test():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "documentation": {} }, { "label": "pow3", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "peekOfCode": "def pow3(x):\n return x ** 3\ndef noop(x):\n pass\n#\n# Test code\n#\ndef test():\n PROCESSES = 4\n print('Creating pool with %d processes\\n' % PROCESSES)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "documentation": {} }, { "label": "noop", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "peekOfCode": "def noop(x):\n pass\n#\n# Test code\n#\ndef test():\n PROCESSES = 4\n print('Creating pool with %d processes\\n' % PROCESSES)\n with multiprocessing.Pool(PROCESSES) as pool:\n #", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "documentation": {} }, { "label": "test", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "peekOfCode": "def test():\n PROCESSES = 4\n print('Creating pool with %d processes\\n' % PROCESSES)\n with multiprocessing.Pool(PROCESSES) as pool:\n #\n # Tests\n #\n TASKS = [(mul, (i, 7)) for i in range(10)] + \\\n [(plus, (i, 8)) for i in range(10)]\n results = [pool.apply_async(calculate, t) for t in TASKS]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_pool", "documentation": {} }, { "label": "worker", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_workers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_workers", "peekOfCode": "def worker(input, output):\n for func, args in iter(input.get, 'STOP'):\n result = calculate(func, args)\n output.put(result)\n#\n# Function used to calculate result\n#\ndef calculate(func, args):\n result = func(*args)\n return '%s says that %s%s = %s' % \\", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_workers", "documentation": {} }, { "label": "calculate", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_workers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_workers", "peekOfCode": "def calculate(func, args):\n result = func(*args)\n return '%s says that %s%s = %s' % \\\n (current_process().name, func.__name__, args, result)\n#\n# Functions referenced by tasks\n#\ndef mul(a, b):\n time.sleep(0.5*random.random())\n return a * b", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_workers", "documentation": {} }, { "label": "mul", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_workers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_workers", "peekOfCode": "def mul(a, b):\n time.sleep(0.5*random.random())\n return a * b\ndef plus(a, b):\n time.sleep(0.5*random.random())\n return a + b\n#\n#\n#\ndef test():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_workers", "documentation": {} }, { "label": "plus", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_workers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_workers", "peekOfCode": "def plus(a, b):\n time.sleep(0.5*random.random())\n return a + b\n#\n#\n#\ndef test():\n NUMBER_OF_PROCESSES = 4\n TASKS1 = [(mul, (i, 7)) for i in range(20)]\n TASKS2 = [(plus, (i, 8)) for i in range(10)]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_workers", "documentation": {} }, { "label": "test", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_workers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_workers", "peekOfCode": "def test():\n NUMBER_OF_PROCESSES = 4\n TASKS1 = [(mul, (i, 7)) for i in range(20)]\n TASKS2 = [(plus, (i, 8)) for i in range(10)]\n # Create queues\n task_queue = Queue()\n done_queue = Queue()\n # Submit tasks\n for task in TASKS1:\n task_queue.put(task)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.mp_workers", "documentation": {} }, { "label": "PLAT_SPEC", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.test", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.test", "peekOfCode": "PLAT_SPEC = \"%s-%d.%d\" % (get_platform(), *sys.version_info[:2])\nsrc = os.path.join(\"build\", \"lib.%s\" % PLAT_SPEC)\nsys.path.append(src)\nif __name__ == \"__main__\":\n import doctest, __main__\n doctest.testmod(__main__)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.test", "documentation": {} }, { "label": "src", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.test", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.test", "peekOfCode": "src = os.path.join(\"build\", \"lib.%s\" % PLAT_SPEC)\nsys.path.append(src)\nif __name__ == \"__main__\":\n import doctest, __main__\n doctest.testmod(__main__)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.test", "documentation": {} }, { "label": "LocalTimezone", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "peekOfCode": "class LocalTimezone(tzinfo):\n def fromutc(self, dt):\n assert dt.tzinfo is self\n stamp = (dt - datetime(1970, 1, 1, tzinfo=self)) // SECOND\n args = _time.localtime(stamp)[:6]\n dst_diff = DSTDIFF // SECOND\n # Detect fold\n fold = (args == _time.localtime(stamp - dst_diff))\n return datetime(*args, microsecond=dt.microsecond,\n tzinfo=self, fold=fold)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "documentation": {} }, { "label": "USTimeZone", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "peekOfCode": "class USTimeZone(tzinfo):\n def __init__(self, hours, reprname, stdname, dstname):\n self.stdoffset = timedelta(hours=hours)\n self.reprname = reprname\n self.stdname = stdname\n self.dstname = dstname\n def __repr__(self):\n return self.reprname\n def tzname(self, dt):\n if self.dst(dt):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "documentation": {} }, { "label": "first_sunday_on_or_after", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "peekOfCode": "def first_sunday_on_or_after(dt):\n days_to_go = 6 - dt.weekday()\n if days_to_go:\n dt += timedelta(days_to_go)\n return dt\n# US DST Rules\n#\n# This is a simplified (i.e., wrong for a few cases) set of rules for US\n# DST start and end times. For a complete and up-to-date set of DST rules\n# and timezone definitions, visit the Olson Database (or try pytz):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "documentation": {} }, { "label": "us_dst_range", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "peekOfCode": "def us_dst_range(year):\n # Find start and end times for US DST. For years before 1967, return\n # start = end for no DST.\n if 2006 < year:\n dststart, dstend = DSTSTART_2007, DSTEND_2007\n elif 1986 < year < 2007:\n dststart, dstend = DSTSTART_1987_2006, DSTEND_1987_2006\n elif 1966 < year < 1987:\n dststart, dstend = DSTSTART_1967_1986, DSTEND_1967_1986\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "documentation": {} }, { "label": "ZERO", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "peekOfCode": "ZERO = timedelta(0)\nHOUR = timedelta(hours=1)\nSECOND = timedelta(seconds=1)\n# A class capturing the platform's idea of local time.\n# (May result in wrong values on historical times in\n# timezones where UTC offset and/or the DST rules had\n# changed in the past.)\nimport time as _time\nSTDOFFSET = timedelta(seconds = -_time.timezone)\nif _time.daylight:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "documentation": {} }, { "label": "HOUR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "peekOfCode": "HOUR = timedelta(hours=1)\nSECOND = timedelta(seconds=1)\n# A class capturing the platform's idea of local time.\n# (May result in wrong values on historical times in\n# timezones where UTC offset and/or the DST rules had\n# changed in the past.)\nimport time as _time\nSTDOFFSET = timedelta(seconds = -_time.timezone)\nif _time.daylight:\n DSTOFFSET = timedelta(seconds = -_time.altzone)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "documentation": {} }, { "label": "SECOND", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "peekOfCode": "SECOND = timedelta(seconds=1)\n# A class capturing the platform's idea of local time.\n# (May result in wrong values on historical times in\n# timezones where UTC offset and/or the DST rules had\n# changed in the past.)\nimport time as _time\nSTDOFFSET = timedelta(seconds = -_time.timezone)\nif _time.daylight:\n DSTOFFSET = timedelta(seconds = -_time.altzone)\nelse:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "documentation": {} }, { "label": "STDOFFSET", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "peekOfCode": "STDOFFSET = timedelta(seconds = -_time.timezone)\nif _time.daylight:\n DSTOFFSET = timedelta(seconds = -_time.altzone)\nelse:\n DSTOFFSET = STDOFFSET\nDSTDIFF = DSTOFFSET - STDOFFSET\nclass LocalTimezone(tzinfo):\n def fromutc(self, dt):\n assert dt.tzinfo is self\n stamp = (dt - datetime(1970, 1, 1, tzinfo=self)) // SECOND", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "documentation": {} }, { "label": "DSTDIFF", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "peekOfCode": "DSTDIFF = DSTOFFSET - STDOFFSET\nclass LocalTimezone(tzinfo):\n def fromutc(self, dt):\n assert dt.tzinfo is self\n stamp = (dt - datetime(1970, 1, 1, tzinfo=self)) // SECOND\n args = _time.localtime(stamp)[:6]\n dst_diff = DSTDIFF // SECOND\n # Detect fold\n fold = (args == _time.localtime(stamp - dst_diff))\n return datetime(*args, microsecond=dt.microsecond,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "documentation": {} }, { "label": "Local", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "peekOfCode": "Local = LocalTimezone()\n# A complete implementation of current DST rules for major US time zones.\ndef first_sunday_on_or_after(dt):\n days_to_go = 6 - dt.weekday()\n if days_to_go:\n dt += timedelta(days_to_go)\n return dt\n# US DST Rules\n#\n# This is a simplified (i.e., wrong for a few cases) set of rules for US", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "documentation": {} }, { "label": "DSTSTART_2007", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "peekOfCode": "DSTSTART_2007 = datetime(1, 3, 8, 2)\n# and ends at 2am (DST time) on the first Sunday of Nov.\nDSTEND_2007 = datetime(1, 11, 1, 2)\n# From 1987 to 2006, DST used to start at 2am (standard time) on the first\n# Sunday in April and to end at 2am (DST time) on the last\n# Sunday of October, which is the first Sunday on or after Oct 25.\nDSTSTART_1987_2006 = datetime(1, 4, 1, 2)\nDSTEND_1987_2006 = datetime(1, 10, 25, 2)\n# From 1967 to 1986, DST used to start at 2am (standard time) on the last\n# Sunday in April (the one on or after April 24) and to end at 2am (DST time)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "documentation": {} }, { "label": "DSTEND_2007", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "peekOfCode": "DSTEND_2007 = datetime(1, 11, 1, 2)\n# From 1987 to 2006, DST used to start at 2am (standard time) on the first\n# Sunday in April and to end at 2am (DST time) on the last\n# Sunday of October, which is the first Sunday on or after Oct 25.\nDSTSTART_1987_2006 = datetime(1, 4, 1, 2)\nDSTEND_1987_2006 = datetime(1, 10, 25, 2)\n# From 1967 to 1986, DST used to start at 2am (standard time) on the last\n# Sunday in April (the one on or after April 24) and to end at 2am (DST time)\n# on the last Sunday of October, which is the first Sunday\n# on or after Oct 25.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "documentation": {} }, { "label": "DSTSTART_1987_2006", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "peekOfCode": "DSTSTART_1987_2006 = datetime(1, 4, 1, 2)\nDSTEND_1987_2006 = datetime(1, 10, 25, 2)\n# From 1967 to 1986, DST used to start at 2am (standard time) on the last\n# Sunday in April (the one on or after April 24) and to end at 2am (DST time)\n# on the last Sunday of October, which is the first Sunday\n# on or after Oct 25.\nDSTSTART_1967_1986 = datetime(1, 4, 24, 2)\nDSTEND_1967_1986 = DSTEND_1987_2006\ndef us_dst_range(year):\n # Find start and end times for US DST. For years before 1967, return", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "documentation": {} }, { "label": "DSTEND_1987_2006", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "peekOfCode": "DSTEND_1987_2006 = datetime(1, 10, 25, 2)\n# From 1967 to 1986, DST used to start at 2am (standard time) on the last\n# Sunday in April (the one on or after April 24) and to end at 2am (DST time)\n# on the last Sunday of October, which is the first Sunday\n# on or after Oct 25.\nDSTSTART_1967_1986 = datetime(1, 4, 24, 2)\nDSTEND_1967_1986 = DSTEND_1987_2006\ndef us_dst_range(year):\n # Find start and end times for US DST. For years before 1967, return\n # start = end for no DST.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "documentation": {} }, { "label": "DSTSTART_1967_1986", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "peekOfCode": "DSTSTART_1967_1986 = datetime(1, 4, 24, 2)\nDSTEND_1967_1986 = DSTEND_1987_2006\ndef us_dst_range(year):\n # Find start and end times for US DST. For years before 1967, return\n # start = end for no DST.\n if 2006 < year:\n dststart, dstend = DSTSTART_2007, DSTEND_2007\n elif 1986 < year < 2007:\n dststart, dstend = DSTSTART_1987_2006, DSTEND_1987_2006\n elif 1966 < year < 1987:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "documentation": {} }, { "label": "DSTEND_1967_1986", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "peekOfCode": "DSTEND_1967_1986 = DSTEND_1987_2006\ndef us_dst_range(year):\n # Find start and end times for US DST. For years before 1967, return\n # start = end for no DST.\n if 2006 < year:\n dststart, dstend = DSTSTART_2007, DSTEND_2007\n elif 1986 < year < 2007:\n dststart, dstend = DSTSTART_1987_2006, DSTEND_1987_2006\n elif 1966 < year < 1987:\n dststart, dstend = DSTSTART_1967_1986, DSTEND_1967_1986", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "documentation": {} }, { "label": "Mountain", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "peekOfCode": "Mountain = USTimeZone(-7, \"Mountain\", \"MST\", \"MDT\")\nPacific = USTimeZone(-8, \"Pacific\", \"PST\", \"PDT\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.includes.tzinfo_examples", "documentation": {} }, { "label": "ASDLLexer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.asdl_highlight", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.asdl_highlight", "peekOfCode": "class ASDLLexer(RegexLexer):\n name = \"ASDL\"\n aliases = [\"asdl\"]\n filenames = [\"*.asdl\"]\n _name = r\"([^\\W\\d]\\w*)\"\n _text_ws = r\"(\\s*)\"\n tokens = {\n \"ws\": [\n (r\"\\n\", Text),\n (r\"\\s+\", Text),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.asdl_highlight", "documentation": {} }, { "label": "setup", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.asdl_highlight", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.asdl_highlight", "peekOfCode": "def setup(app):\n lexers[\"asdl\"] = ASDLLexer()\n return {'version': '1.0', 'parallel_read_safe': True}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.asdl_highlight", "documentation": {} }, { "label": "CPYTHON_ROOT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.asdl_highlight", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.asdl_highlight", "peekOfCode": "CPYTHON_ROOT = Path(__file__).resolve().parent.parent.parent.parent\nsys.path.append(str(CPYTHON_ROOT / \"Parser\"))\nfrom pygments.lexer import RegexLexer, bygroups, include, words\nfrom pygments.token import (Comment, Generic, Keyword, Name, Operator,\n Punctuation, Text)\nfrom asdl import builtin_types\nfrom sphinx.highlighting import lexers\nclass ASDLLexer(RegexLexer):\n name = \"ASDL\"\n aliases = [\"asdl\"]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.asdl_highlight", "documentation": {} }, { "label": "RCEntry", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.c_annotations", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.c_annotations", "peekOfCode": "class RCEntry:\n def __init__(self, name):\n self.name = name\n self.args = []\n self.result_type = ''\n self.result_refs = None\nclass Annotations:\n def __init__(self, refcount_filename, stable_abi_file):\n self.refcount_data = {}\n with open(refcount_filename, 'r') as fp:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.c_annotations", "documentation": {} }, { "label": "Annotations", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.c_annotations", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.c_annotations", "peekOfCode": "class Annotations:\n def __init__(self, refcount_filename, stable_abi_file):\n self.refcount_data = {}\n with open(refcount_filename, 'r') as fp:\n for line in fp:\n line = line.strip()\n if line[:1] in (\"\", \"#\"):\n # blank lines and comments\n continue\n parts = line.split(\":\", 4)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.c_annotations", "documentation": {} }, { "label": "init_annotations", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.c_annotations", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.c_annotations", "peekOfCode": "def init_annotations(app):\n annotations = Annotations(\n path.join(app.srcdir, app.config.refcount_file),\n path.join(app.srcdir, app.config.stable_abi_file),\n )\n app.connect('doctree-read', annotations.add_annotations)\n class LimitedAPIList(Directive):\n has_content = False\n required_arguments = 0\n optional_arguments = 0", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.c_annotations", "documentation": {} }, { "label": "setup", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.c_annotations", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.c_annotations", "peekOfCode": "def setup(app):\n app.add_config_value('refcount_file', '', True)\n app.add_config_value('stable_abi_file', '', True)\n app.connect('builder-inited', init_annotations)\n # monkey-patch C object...\n CObject.option_spec = {\n 'noindex': directives.flag,\n 'stableabi': directives.flag,\n }\n old_handle_signature = CObject.handle_signature", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.c_annotations", "documentation": {} }, { "label": "REST_ROLE_MAP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.c_annotations", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.c_annotations", "peekOfCode": "REST_ROLE_MAP = {\n 'function': 'func',\n 'var': 'data',\n 'type': 'type',\n 'macro': 'macro',\n 'type': 'type',\n}\nclass RCEntry:\n def __init__(self, name):\n self.name = name", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.c_annotations", "documentation": {} }, { "label": "escape_for_chm", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.escape4chm", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.escape4chm", "peekOfCode": "def escape_for_chm(app, pagename, templatename, context, doctree):\n # only works for .chm output\n if getattr(app.builder, 'name', '') != 'htmlhelp':\n return\n # escape the `body` part to 7-bit ASCII\n body = context.get('body')\n if body is not None:\n context['body'] = _process(body)\ndef fixup_keywords(app, exception):\n # only works for .chm output", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.escape4chm", "documentation": {} }, { "label": "fixup_keywords", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.escape4chm", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.escape4chm", "peekOfCode": "def fixup_keywords(app, exception):\n # only works for .chm output\n if getattr(app.builder, 'name', '') != 'htmlhelp' or exception:\n return\n getLogger(__name__).info('fixing HTML escapes in keywords file...')\n outdir = pathlib.Path(app.builder.outdir)\n outname = app.builder.config.htmlhelp_basename\n with open(outdir / (outname + '.hhk'), 'rb') as f:\n index = f.read()\n with open(outdir / (outname + '.hhk'), 'wb') as f:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.escape4chm", "documentation": {} }, { "label": "setup", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.escape4chm", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.escape4chm", "peekOfCode": "def setup(app):\n # `html-page-context` event emitted when the HTML builder has\n # created a context dictionary to render a template with.\n app.connect('html-page-context', escape_for_chm)\n # `build-finished` event emitted when all the files have been\n # output.\n app.connect('build-finished', fixup_keywords)\n return {'version': '1.0', 'parallel_read_safe': True}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.escape4chm", "documentation": {} }, { "label": "process_glossary_nodes", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.glossary_search", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.glossary_search", "peekOfCode": "def process_glossary_nodes(app, doctree, fromdocname):\n if app.builder.format != 'html':\n return\n terms = {}\n for node in doctree.traverse(glossary):\n for glossary_item in node.traverse(definition_list_item):\n term = glossary_item[0].astext().lower()\n definition = glossary_item[1]\n rendered = app.builder.render_partial(definition)\n terms[term] = {", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.glossary_search", "documentation": {} }, { "label": "on_build_finish", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.glossary_search", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.glossary_search", "peekOfCode": "def on_build_finish(app, exc):\n if not hasattr(app.env, 'glossary_terms'):\n return\n if not app.env.glossary_terms:\n return\n logger.info(f'Writing {JSON}', color='green')\n dest_dir = os.path.join(app.outdir, STATIC_DIR)\n os.makedirs(dest_dir, exist_ok=True)\n with open(os.path.join(dest_dir, JSON), 'w') as f:\n json.dump(app.env.glossary_terms, f)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.glossary_search", "documentation": {} }, { "label": "setup", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.glossary_search", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.glossary_search", "peekOfCode": "def setup(app):\n app.connect('doctree-resolved', process_glossary_nodes)\n app.connect('build-finished', on_build_finish)\n return {'version': '0.1', 'parallel_read_safe': True}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.glossary_search", "documentation": {} }, { "label": "logger", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.glossary_search", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.glossary_search", "peekOfCode": "logger = logging.getLogger(__name__)\nSTATIC_DIR = '_static'\nJSON = 'glossary.json'\ndef process_glossary_nodes(app, doctree, fromdocname):\n if app.builder.format != 'html':\n return\n terms = {}\n for node in doctree.traverse(glossary):\n for glossary_item in node.traverse(definition_list_item):\n term = glossary_item[0].astext().lower()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.glossary_search", "documentation": {} }, { "label": "STATIC_DIR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.glossary_search", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.glossary_search", "peekOfCode": "STATIC_DIR = '_static'\nJSON = 'glossary.json'\ndef process_glossary_nodes(app, doctree, fromdocname):\n if app.builder.format != 'html':\n return\n terms = {}\n for node in doctree.traverse(glossary):\n for glossary_item in node.traverse(definition_list_item):\n term = glossary_item[0].astext().lower()\n definition = glossary_item[1]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.glossary_search", "documentation": {} }, { "label": "JSON", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.glossary_search", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.glossary_search", "peekOfCode": "JSON = 'glossary.json'\ndef process_glossary_nodes(app, doctree, fromdocname):\n if app.builder.format != 'html':\n return\n terms = {}\n for node in doctree.traverse(glossary):\n for glossary_item in node.traverse(definition_list_item):\n term = glossary_item[0].astext().lower()\n definition = glossary_item[1]\n rendered = app.builder.render_partial(definition)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.glossary_search", "documentation": {} }, { "label": "get_header_version_info", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.patchlevel", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.patchlevel", "peekOfCode": "def get_header_version_info(srcdir):\n patchlevel_h = os.path.join(srcdir, '..', 'Include', 'patchlevel.h')\n # This won't pick out all #defines, but it will pick up the ones we\n # care about.\n rx = re.compile(r'\\s*#define\\s+([a-zA-Z][a-zA-Z_0-9]*)\\s+([a-zA-Z_0-9]+)')\n d = {}\n with open(patchlevel_h) as f:\n for line in f:\n m = rx.match(line)\n if m is not None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.patchlevel", "documentation": {} }, { "label": "get_sys_version_info", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.patchlevel", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.patchlevel", "peekOfCode": "def get_sys_version_info():\n major, minor, micro, level, serial = sys.version_info\n release = version = '%s.%s' % (major, minor)\n release += '.%s' % micro\n if level != 'final':\n release += '%s%s' % (level[0], serial)\n return version, release\ndef get_version_info():\n try:\n return get_header_version_info('.')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.patchlevel", "documentation": {} }, { "label": "get_version_info", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.patchlevel", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.patchlevel", "peekOfCode": "def get_version_info():\n try:\n return get_header_version_info('.')\n except (IOError, OSError):\n version, release = get_sys_version_info()\n print('Can\\'t get version info from Include/patchlevel.h, ' \\\n 'using version of this interpreter (%s).' % release, file=sys.stderr)\n return version, release\nif __name__ == '__main__':\n print(get_header_version_info('.')[1])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.patchlevel", "documentation": {} }, { "label": "PEGLexer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.peg_highlight", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.peg_highlight", "peekOfCode": "class PEGLexer(RegexLexer):\n \"\"\"Pygments Lexer for PEG grammar (.gram) files\n This lexer strips the following elements from the grammar:\n - Meta-tags\n - Variable assignments\n - Actions\n - Lookaheads\n - Rule types\n - Rule options\n - Rules named `invalid_*` or `incorrect_*`", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.peg_highlight", "documentation": {} }, { "label": "setup", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.peg_highlight", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.peg_highlight", "peekOfCode": "def setup(app):\n lexers[\"peg\"] = PEGLexer()\n return {\"version\": \"1.0\", \"parallel_read_safe\": True}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.peg_highlight", "documentation": {} }, { "label": "ImplementationDetail", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "class ImplementationDetail(Directive):\n has_content = True\n required_arguments = 0\n optional_arguments = 1\n final_argument_whitespace = True\n # This text is copied to templates/dummy.html\n label_text = 'CPython implementation detail:'\n def run(self):\n pnode = nodes.compound(classes=['impl-detail'])\n label = translators['sphinx'].gettext(self.label_text)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "Availability", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "class Availability(Directive):\n has_content = False\n required_arguments = 1\n optional_arguments = 0\n final_argument_whitespace = True\n def run(self):\n availability_ref = ':ref:`Availability `: '\n pnode = nodes.paragraph(availability_ref + self.arguments[0],\n classes=[\"availability\"],)\n n, m = self.state.inline_text(availability_ref, self.lineno)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "AuditEvent", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "class AuditEvent(Directive):\n has_content = True\n required_arguments = 1\n optional_arguments = 2\n final_argument_whitespace = True\n _label = [\n \"Raises an :ref:`auditing event ` {name} with no arguments.\",\n \"Raises an :ref:`auditing event ` {name} with argument {args}.\",\n \"Raises an :ref:`auditing event ` {name} with arguments {args}.\",\n ]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "audit_event_list", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "class audit_event_list(nodes.General, nodes.Element):\n pass\nclass AuditEventListDirective(Directive):\n def run(self):\n return [audit_event_list('')]\n# Support for documenting decorators\nclass PyDecoratorMixin(object):\n def handle_signature(self, sig, signode):\n ret = super(PyDecoratorMixin, self).handle_signature(sig, signode)\n signode.insert(0, addnodes.desc_addname('@', '@'))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "AuditEventListDirective", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "class AuditEventListDirective(Directive):\n def run(self):\n return [audit_event_list('')]\n# Support for documenting decorators\nclass PyDecoratorMixin(object):\n def handle_signature(self, sig, signode):\n ret = super(PyDecoratorMixin, self).handle_signature(sig, signode)\n signode.insert(0, addnodes.desc_addname('@', '@'))\n return ret\n def needs_arglist(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "PyDecoratorMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "class PyDecoratorMixin(object):\n def handle_signature(self, sig, signode):\n ret = super(PyDecoratorMixin, self).handle_signature(sig, signode)\n signode.insert(0, addnodes.desc_addname('@', '@'))\n return ret\n def needs_arglist(self):\n return False\nclass PyDecoratorFunction(PyDecoratorMixin, PyFunction):\n def run(self):\n # a decorator function is a function after all", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "PyDecoratorFunction", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "class PyDecoratorFunction(PyDecoratorMixin, PyFunction):\n def run(self):\n # a decorator function is a function after all\n self.name = 'py:function'\n return PyFunction.run(self)\n# TODO: Use sphinx.domains.python.PyDecoratorMethod when possible\nclass PyDecoratorMethod(PyDecoratorMixin, PyMethod):\n def run(self):\n self.name = 'py:method'\n return PyMethod.run(self)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "PyDecoratorMethod", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "class PyDecoratorMethod(PyDecoratorMixin, PyMethod):\n def run(self):\n self.name = 'py:method'\n return PyMethod.run(self)\nclass PyCoroutineMixin(object):\n def handle_signature(self, sig, signode):\n ret = super(PyCoroutineMixin, self).handle_signature(sig, signode)\n signode.insert(0, addnodes.desc_annotation('coroutine ', 'coroutine '))\n return ret\nclass PyAwaitableMixin(object):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "PyCoroutineMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "class PyCoroutineMixin(object):\n def handle_signature(self, sig, signode):\n ret = super(PyCoroutineMixin, self).handle_signature(sig, signode)\n signode.insert(0, addnodes.desc_annotation('coroutine ', 'coroutine '))\n return ret\nclass PyAwaitableMixin(object):\n def handle_signature(self, sig, signode):\n ret = super(PyAwaitableMixin, self).handle_signature(sig, signode)\n signode.insert(0, addnodes.desc_annotation('awaitable ', 'awaitable '))\n return ret", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "PyAwaitableMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "class PyAwaitableMixin(object):\n def handle_signature(self, sig, signode):\n ret = super(PyAwaitableMixin, self).handle_signature(sig, signode)\n signode.insert(0, addnodes.desc_annotation('awaitable ', 'awaitable '))\n return ret\nclass PyCoroutineFunction(PyCoroutineMixin, PyFunction):\n def run(self):\n self.name = 'py:function'\n return PyFunction.run(self)\nclass PyCoroutineMethod(PyCoroutineMixin, PyMethod):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "PyCoroutineFunction", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "class PyCoroutineFunction(PyCoroutineMixin, PyFunction):\n def run(self):\n self.name = 'py:function'\n return PyFunction.run(self)\nclass PyCoroutineMethod(PyCoroutineMixin, PyMethod):\n def run(self):\n self.name = 'py:method'\n return PyMethod.run(self)\nclass PyAwaitableFunction(PyAwaitableMixin, PyFunction):\n def run(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "PyCoroutineMethod", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "class PyCoroutineMethod(PyCoroutineMixin, PyMethod):\n def run(self):\n self.name = 'py:method'\n return PyMethod.run(self)\nclass PyAwaitableFunction(PyAwaitableMixin, PyFunction):\n def run(self):\n self.name = 'py:function'\n return PyFunction.run(self)\nclass PyAwaitableMethod(PyAwaitableMixin, PyMethod):\n def run(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "PyAwaitableFunction", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "class PyAwaitableFunction(PyAwaitableMixin, PyFunction):\n def run(self):\n self.name = 'py:function'\n return PyFunction.run(self)\nclass PyAwaitableMethod(PyAwaitableMixin, PyMethod):\n def run(self):\n self.name = 'py:method'\n return PyMethod.run(self)\nclass PyAbstractMethod(PyMethod):\n def handle_signature(self, sig, signode):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "PyAwaitableMethod", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "class PyAwaitableMethod(PyAwaitableMixin, PyMethod):\n def run(self):\n self.name = 'py:method'\n return PyMethod.run(self)\nclass PyAbstractMethod(PyMethod):\n def handle_signature(self, sig, signode):\n ret = super(PyAbstractMethod, self).handle_signature(sig, signode)\n signode.insert(0, addnodes.desc_annotation('abstractmethod ',\n 'abstractmethod '))\n return ret", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "PyAbstractMethod", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "class PyAbstractMethod(PyMethod):\n def handle_signature(self, sig, signode):\n ret = super(PyAbstractMethod, self).handle_signature(sig, signode)\n signode.insert(0, addnodes.desc_annotation('abstractmethod ',\n 'abstractmethod '))\n return ret\n def run(self):\n self.name = 'py:method'\n return PyMethod.run(self)\n# Support for documenting version of removal in deprecations", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "DeprecatedRemoved", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "class DeprecatedRemoved(Directive):\n has_content = True\n required_arguments = 2\n optional_arguments = 1\n final_argument_whitespace = True\n option_spec = {}\n _deprecated_label = 'Deprecated since version {deprecated}, will be removed in version {removed}'\n _removed_label = 'Deprecated since version {deprecated}, removed in version {removed}'\n def run(self):\n node = addnodes.versionmodified()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "MiscNews", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "class MiscNews(Directive):\n has_content = False\n required_arguments = 1\n optional_arguments = 0\n final_argument_whitespace = False\n option_spec = {}\n def run(self):\n fname = self.arguments[0]\n source = self.state_machine.input_lines.source(\n self.lineno - self.state_machine.input_offset - 1)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "PydocTopicsBuilder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "class PydocTopicsBuilder(Builder):\n name = 'pydoc-topics'\n default_translator_class = TextTranslator\n def init(self):\n self.topics = {}\n self.secnumbers = {}\n def get_outdated_docs(self):\n return 'all pydoc topics'\n def get_target_uri(self, docname, typ=None):\n return '' # no URIs", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "issue_role", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "def issue_role(typ, rawtext, text, lineno, inliner, options={}, content=[]):\n issue = utils.unescape(text)\n text = 'bpo-' + issue\n refnode = nodes.reference(text, text, refuri=ISSUE_URI % issue)\n return [refnode], []\n# Support for linking to Python source files easily\ndef source_role(typ, rawtext, text, lineno, inliner, options={}, content=[]):\n has_t, title, target = split_explicit_title(text)\n title = utils.unescape(title)\n target = utils.unescape(target)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "source_role", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "def source_role(typ, rawtext, text, lineno, inliner, options={}, content=[]):\n has_t, title, target = split_explicit_title(text)\n title = utils.unescape(title)\n target = utils.unescape(target)\n refnode = nodes.reference(title, title, refuri=SOURCE_URI % target)\n return [refnode], []\n# Support for marking up implementation details\nclass ImplementationDetail(Directive):\n has_content = True\n required_arguments = 0", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "audit_events_purge", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "def audit_events_purge(app, env, docname):\n \"\"\"This is to remove from env.all_audit_events old traces of removed\n documents.\n \"\"\"\n if not hasattr(env, 'all_audit_events'):\n return\n fresh_all_audit_events = {}\n for name, event in env.all_audit_events.items():\n event[\"source\"] = [(d, t) for d, t in event[\"source\"] if d != docname]\n if event[\"source\"]:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "audit_events_merge", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "def audit_events_merge(app, env, docnames, other):\n \"\"\"In Sphinx parallel builds, this merges env.all_audit_events from\n subprocesses.\n all_audit_events is a dict of names, with values like:\n {'source': [(docname, target), ...], 'args': args}\n \"\"\"\n if not hasattr(other, 'all_audit_events'):\n return\n if not hasattr(env, 'all_audit_events'):\n env.all_audit_events = {}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "parse_opcode_signature", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "def parse_opcode_signature(env, sig, signode):\n \"\"\"Transform an opcode signature into RST nodes.\"\"\"\n m = opcode_sig_re.match(sig)\n if m is None:\n raise ValueError\n opname, arglist = m.groups()\n signode += addnodes.desc_name(opname, opname)\n if arglist is not None:\n paramlist = addnodes.desc_parameterlist()\n signode += paramlist", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "parse_pdb_command", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "def parse_pdb_command(env, sig, signode):\n \"\"\"Transform a pdb command signature into RST nodes.\"\"\"\n m = pdbcmd_sig_re.match(sig)\n if m is None:\n raise ValueError\n name, args = m.groups()\n fullname = name.replace('(', '').replace(')', '')\n signode += addnodes.desc_name(name, name)\n if args:\n signode += addnodes.desc_addname(' '+args, ' '+args)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "process_audit_events", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "def process_audit_events(app, doctree, fromdocname):\n for node in doctree.traverse(audit_event_list):\n break\n else:\n return\n env = app.builder.env\n table = nodes.table(cols=3)\n group = nodes.tgroup(\n '',\n nodes.colspec(colwidth=30),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "setup", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "def setup(app):\n app.add_role('issue', issue_role)\n app.add_role('source', source_role)\n app.add_directive('impl-detail', ImplementationDetail)\n app.add_directive('availability', Availability)\n app.add_directive('audit-event', AuditEvent)\n app.add_directive('audit-event-table', AuditEventListDirective)\n app.add_directive('deprecated-removed', DeprecatedRemoved)\n app.add_builder(PydocTopicsBuilder)\n app.add_builder(suspicious.CheckSuspiciousMarkupBuilder)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "ISSUE_URI", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "ISSUE_URI = 'https://bugs.python.org/issue%s'\nSOURCE_URI = 'https://github.com/python/cpython/tree/3.10/%s'\n# monkey-patch reST parser to disable alphabetic and roman enumerated lists\nfrom docutils.parsers.rst.states import Body\nBody.enum.converters['loweralpha'] = \\\n Body.enum.converters['upperalpha'] = \\\n Body.enum.converters['lowerroman'] = \\\n Body.enum.converters['upperroman'] = lambda x: None\n# Support for marking up and linking to bugs.python.org issues\ndef issue_role(typ, rawtext, text, lineno, inliner, options={}, content=[]):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "SOURCE_URI", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "SOURCE_URI = 'https://github.com/python/cpython/tree/3.10/%s'\n# monkey-patch reST parser to disable alphabetic and roman enumerated lists\nfrom docutils.parsers.rst.states import Body\nBody.enum.converters['loweralpha'] = \\\n Body.enum.converters['upperalpha'] = \\\n Body.enum.converters['lowerroman'] = \\\n Body.enum.converters['upperroman'] = lambda x: None\n# Support for marking up and linking to bugs.python.org issues\ndef issue_role(typ, rawtext, text, lineno, inliner, options={}, content=[]):\n issue = utils.unescape(text)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "Body.enum.converters['loweralpha']", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "Body.enum.converters['loweralpha'] = \\\n Body.enum.converters['upperalpha'] = \\\n Body.enum.converters['lowerroman'] = \\\n Body.enum.converters['upperroman'] = lambda x: None\n# Support for marking up and linking to bugs.python.org issues\ndef issue_role(typ, rawtext, text, lineno, inliner, options={}, content=[]):\n issue = utils.unescape(text)\n text = 'bpo-' + issue\n refnode = nodes.reference(text, text, refuri=ISSUE_URI % issue)\n return [refnode], []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "issue_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "issue_re = re.compile('(?:[Ii]ssue #|bpo-)([0-9]+)')\nwhatsnew_re = re.compile(r\"(?im)^what's new in (.*?)\\??$\")\nclass MiscNews(Directive):\n has_content = False\n required_arguments = 1\n optional_arguments = 0\n final_argument_whitespace = False\n option_spec = {}\n def run(self):\n fname = self.arguments[0]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "whatsnew_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "whatsnew_re = re.compile(r\"(?im)^what's new in (.*?)\\??$\")\nclass MiscNews(Directive):\n has_content = False\n required_arguments = 1\n optional_arguments = 0\n final_argument_whitespace = False\n option_spec = {}\n def run(self):\n fname = self.arguments[0]\n source = self.state_machine.input_lines.source(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "pydoc_topic_labels", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "pydoc_topic_labels = [\n 'assert', 'assignment', 'async', 'atom-identifiers', 'atom-literals',\n 'attribute-access', 'attribute-references', 'augassign', 'await',\n 'binary', 'bitwise', 'bltin-code-objects', 'bltin-ellipsis-object',\n 'bltin-null-object', 'bltin-type-objects', 'booleans',\n 'break', 'callable-types', 'calls', 'class', 'comparisons', 'compound',\n 'context-managers', 'continue', 'conversions', 'customization', 'debugger',\n 'del', 'dict', 'dynamic-features', 'else', 'exceptions', 'execmodel',\n 'exprlists', 'floating', 'for', 'formatstrings', 'function', 'global',\n 'id-classes', 'identifiers', 'if', 'imaginary', 'import', 'in', 'integers',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "opcode_sig_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "opcode_sig_re = re.compile(r'(\\w+(?:\\+\\d)?)(?:\\s*\\((.*)\\))?')\ndef parse_opcode_signature(env, sig, signode):\n \"\"\"Transform an opcode signature into RST nodes.\"\"\"\n m = opcode_sig_re.match(sig)\n if m is None:\n raise ValueError\n opname, arglist = m.groups()\n signode += addnodes.desc_name(opname, opname)\n if arglist is not None:\n paramlist = addnodes.desc_parameterlist()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "pdbcmd_sig_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "peekOfCode": "pdbcmd_sig_re = re.compile(r'([a-z()!]+)\\s*(.*)')\n# later...\n# pdbargs_tokens_re = re.compile(r'''[a-zA-Z]+ | # identifiers\n# [.,:]+ | # punctuation\n# [\\[\\]()] | # parens\n# \\s+ # whitespace\n# ''', re.X)\ndef parse_pdb_command(env, sig, signode):\n \"\"\"Transform a pdb command signature into RST nodes.\"\"\"\n m = pdbcmd_sig_re.match(sig)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.pyspecific", "documentation": {} }, { "label": "Rule", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "peekOfCode": "class Rule:\n def __init__(self, docname, lineno, issue, line):\n \"\"\"A rule for ignoring issues\"\"\"\n self.docname = docname # document to which this rule applies\n self.lineno = lineno # line number in the original source;\n # this rule matches only near that.\n # None -> don't care\n self.issue = issue # the markup fragment that triggered this rule\n self.line = line # text of the container element (single line only)\n self.used = False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "documentation": {} }, { "label": "dialect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "peekOfCode": "class dialect(csv.excel):\n \"\"\"Our dialect: uses only linefeed as newline.\"\"\"\n lineterminator = '\\n'\nclass CheckSuspiciousMarkupBuilder(Builder):\n \"\"\"\n Checks for possibly invalid markup that may leak into the output.\n \"\"\"\n name = 'suspicious'\n logger = sphinx.util.logging.getLogger(\"CheckSuspiciousMarkupBuilder\")\n def init(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "documentation": {} }, { "label": "CheckSuspiciousMarkupBuilder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "peekOfCode": "class CheckSuspiciousMarkupBuilder(Builder):\n \"\"\"\n Checks for possibly invalid markup that may leak into the output.\n \"\"\"\n name = 'suspicious'\n logger = sphinx.util.logging.getLogger(\"CheckSuspiciousMarkupBuilder\")\n def init(self):\n # create output file\n self.log_file_name = os.path.join(self.outdir, 'suspicious.csv')\n open(self.log_file_name, 'w').close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "documentation": {} }, { "label": "SuspiciousVisitor", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "peekOfCode": "class SuspiciousVisitor(nodes.GenericNodeVisitor):\n lastlineno = 0\n def __init__(self, document, builder):\n nodes.GenericNodeVisitor.__init__(self, document)\n self.builder = builder\n def default_visit(self, node):\n if isinstance(node, (nodes.Text, nodes.image)): # direct text containers\n text = node.astext()\n # lineno seems to go backwards sometimes (?)\n self.lastlineno = lineno = max(get_lineno(node) or 0, self.lastlineno)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "documentation": {} }, { "label": "get_lineno", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "peekOfCode": "def get_lineno(node):\n \"\"\"Obtain line number information for a node.\"\"\"\n lineno = None\n while lineno is None and node:\n node = node.parent\n lineno = node.line\n return lineno\ndef extract_line(text, index):\n \"\"\"text may be a multiline string; extract\n only the line containing the given character index.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "documentation": {} }, { "label": "extract_line", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "peekOfCode": "def extract_line(text, index):\n \"\"\"text may be a multiline string; extract\n only the line containing the given character index.\n >>> extract_line(\"abc\\ndefgh\\ni\", 6)\n >>> 'defgh'\n >>> for i in (0, 2, 3, 4, 10):\n ... print extract_line(\"abc\\ndefgh\\ni\", i)\n abc\n abc\n abc", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "documentation": {} }, { "label": "detect_all", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "peekOfCode": "detect_all = re.compile(r'''\n ::(?=[^=])| # two :: (but NOT ::=)\n :[a-zA-Z][a-zA-Z0-9]+| # :foo\n `| # ` (seldom used by itself)\n (?= (3, 0)\nclass Rule:\n def __init__(self, docname, lineno, issue, line):\n \"\"\"A rule for ignoring issues\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "documentation": {} }, { "label": "py3", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "peekOfCode": "py3 = sys.version_info >= (3, 0)\nclass Rule:\n def __init__(self, docname, lineno, issue, line):\n \"\"\"A rule for ignoring issues\"\"\"\n self.docname = docname # document to which this rule applies\n self.lineno = lineno # line number in the original source;\n # this rule matches only near that.\n # None -> don't care\n self.issue = issue # the markup fragment that triggered this rule\n self.line = line # text of the container element (single line only)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.extensions.suspicious", "documentation": {} }, { "label": "checker", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "peekOfCode": "def checker(*suffixes, **kwds):\n \"\"\"Decorator to register a function as a checker.\"\"\"\n def deco(func):\n for suffix in suffixes:\n checkers.setdefault(suffix, []).append(func)\n for prop in checker_props:\n setattr(func, prop, kwds.get(prop, checker_props[prop]))\n return func\n return deco\n@checker('.py', severity=4)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "documentation": {} }, { "label": "check_syntax", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "peekOfCode": "def check_syntax(fn, lines):\n \"\"\"Check Python examples for valid syntax.\"\"\"\n code = ''.join(lines)\n if '\\r' in code:\n if os.name != 'nt':\n yield 0, '\\\\r in code file'\n code = code.replace('\\r', '')\n try:\n compile(code, fn, 'exec')\n except SyntaxError as err:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "documentation": {} }, { "label": "check_suspicious_constructs", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "peekOfCode": "def check_suspicious_constructs(fn, lines):\n \"\"\"Check for suspicious reST constructs.\"\"\"\n inprod = False\n for lno, line in enumerate(lines):\n if seems_directive_re.search(line):\n yield lno+1, 'comment seems to be intended as a directive'\n if '.. productionlist::' in line:\n inprod = True\n elif not inprod and default_role_re.search(line):\n yield lno+1, 'default role used'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "documentation": {} }, { "label": "check_whitespace", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "peekOfCode": "def check_whitespace(fn, lines):\n \"\"\"Check for whitespace and line length issues.\"\"\"\n for lno, line in enumerate(lines):\n if '\\r' in line:\n yield lno+1, '\\\\r in line'\n if '\\t' in line:\n yield lno+1, 'OMG TABS!!!1'\n if line[:-1].rstrip(' \\t') != line[:-1]:\n yield lno+1, 'trailing whitespace'\n@checker('.rst', severity=0)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "documentation": {} }, { "label": "check_line_length", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "peekOfCode": "def check_line_length(fn, lines):\n \"\"\"Check for line length; this checker is not run by default.\"\"\"\n for lno, line in enumerate(lines):\n if len(line) > 81:\n # don't complain about tables, links and function signatures\n if line.lstrip()[0] not in '+|' and \\\n 'http://' not in line and \\\n not line.lstrip().startswith(('.. function',\n '.. method',\n '.. cfunction')):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "documentation": {} }, { "label": "check_leaked_markup", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "peekOfCode": "def check_leaked_markup(fn, lines):\n \"\"\"Check HTML files for leaked reST markup; this only works if\n the HTML files have been built.\n \"\"\"\n for lno, line in enumerate(lines):\n if leaked_markup_re.search(line):\n yield lno+1, 'possibly leaked markup: %r' % line\ndef hide_literal_blocks(lines):\n \"\"\"Tool to remove literal blocks from given lines.\n It yields empty lines in place of blocks, so line numbers are", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "documentation": {} }, { "label": "hide_literal_blocks", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "peekOfCode": "def hide_literal_blocks(lines):\n \"\"\"Tool to remove literal blocks from given lines.\n It yields empty lines in place of blocks, so line numbers are\n still meaningful.\n \"\"\"\n in_block = False\n for line in lines:\n if line.endswith(\"::\\n\"):\n in_block = True\n elif in_block:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "documentation": {} }, { "label": "type_of_explicit_markup", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "peekOfCode": "def type_of_explicit_markup(line):\n if re.match(fr'\\.\\. {all_directives}::', line):\n return 'directive'\n if re.match(r'\\.\\. \\[[0-9]+\\] ', line):\n return 'footnote'\n if re.match(r'\\.\\. \\[[^\\]]+\\] ', line):\n return 'citation'\n if re.match(r'\\.\\. _.*[^_]: ', line):\n return 'target'\n if re.match(r'\\.\\. \\|[^\\|]*\\| ', line):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "documentation": {} }, { "label": "hide_comments", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "peekOfCode": "def hide_comments(lines):\n \"\"\"Tool to remove comments from given lines.\n It yields empty lines in place of comments, so line numbers are\n still meaningful.\n \"\"\"\n in_multiline_comment = False\n for line in lines:\n if line == \"..\\n\":\n in_multiline_comment = True\n elif in_multiline_comment:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "documentation": {} }, { "label": "check_missing_surrogate_space_on_plural", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "peekOfCode": "def check_missing_surrogate_space_on_plural(fn, lines):\n r\"\"\"Check for missing 'backslash-space' between a code sample a letter.\n Good: ``Point``\\ s\n Bad: ``Point``s\n \"\"\"\n in_code_sample = False\n check_next_one = False\n for lno, line in enumerate(hide_comments(hide_literal_blocks(lines))):\n tokens = line.split(\"``\")\n for token_no, token in enumerate(tokens):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "peekOfCode": "def main(argv):\n usage = '''\\\nUsage: %s [-v] [-f] [-s sev] [-i path]* [path]\nOptions: -v verbose (print all checked file names)\n -f enable checkers that yield many false positives\n -s sev only show problems with severity >= sev\n -i path ignore subdir or file path\n''' % argv[0]\n try:\n gopts, args = getopt.getopt(argv[1:], 'vfs:i:')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "documentation": {} }, { "label": "directives", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "peekOfCode": "directives = [\n # standard docutils ones\n 'admonition', 'attention', 'caution', 'class', 'compound', 'container',\n 'contents', 'csv-table', 'danger', 'date', 'default-role', 'epigraph',\n 'error', 'figure', 'footer', 'header', 'highlights', 'hint', 'image',\n 'important', 'include', 'line-block', 'list-table', 'meta', 'note',\n 'parsed-literal', 'pull-quote', 'raw', 'replace',\n 'restructuredtext-test-directive', 'role', 'rubric', 'sectnum', 'sidebar',\n 'table', 'target-notes', 'tip', 'title', 'topic', 'unicode', 'warning',\n # Sphinx and Python docs custom ones", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "documentation": {} }, { "label": "all_directives", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.tools.rstlint", "peekOfCode": "all_directives = '(' + '|'.join(directives) + ')'\nseems_directive_re = re.compile(r'(?= 2.0\nmaster_doc = 'contents'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "venvdir", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "venvdir = os.getenv('VENVDIR')\nif venvdir is not None:\n exclude_patterns.append(venvdir + '/*')\n# Disable Docutils smartquotes for several translations\nsmartquotes_excludes = {\n 'languages': ['ja', 'fr', 'zh_TW', 'zh_CN'], 'builders': ['man', 'text'],\n}\n# Avoid a warning with Sphinx >= 2.0\nmaster_doc = 'contents'\n# Options for HTML output", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "smartquotes_excludes", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "smartquotes_excludes = {\n 'languages': ['ja', 'fr', 'zh_TW', 'zh_CN'], 'builders': ['man', 'text'],\n}\n# Avoid a warning with Sphinx >= 2.0\nmaster_doc = 'contents'\n# Options for HTML output\n# -----------------------\n# Use our custom theme.\nhtml_theme = 'python_docs_theme'\nhtml_theme_path = ['tools']", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "master_doc", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "master_doc = 'contents'\n# Options for HTML output\n# -----------------------\n# Use our custom theme.\nhtml_theme = 'python_docs_theme'\nhtml_theme_path = ['tools']\nhtml_theme_options = {\n 'collapsiblesidebar': True,\n 'issues_url': '/bugs.html',\n 'license_url': '/license.html',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "html_theme", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "html_theme = 'python_docs_theme'\nhtml_theme_path = ['tools']\nhtml_theme_options = {\n 'collapsiblesidebar': True,\n 'issues_url': '/bugs.html',\n 'license_url': '/license.html',\n 'root_include_title': False # We use the version switcher instead.\n}\n# Short title used e.g. for HTML tags.\nhtml_short_title = '%s Documentation' % release", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "html_theme_path", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "html_theme_path = ['tools']\nhtml_theme_options = {\n 'collapsiblesidebar': True,\n 'issues_url': '/bugs.html',\n 'license_url': '/license.html',\n 'root_include_title': False # We use the version switcher instead.\n}\n# Short title used e.g. for <title> HTML tags.\nhtml_short_title = '%s Documentation' % release\n# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "html_theme_options", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "html_theme_options = {\n 'collapsiblesidebar': True,\n 'issues_url': '/bugs.html',\n 'license_url': '/license.html',\n 'root_include_title': False # We use the version switcher instead.\n}\n# Short title used e.g. for <title> HTML tags.\nhtml_short_title = '%s Documentation' % release\n# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,\n# using the given strftime format.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "html_short_title", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "html_short_title = '%s Documentation' % release\n# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,\n# using the given strftime format.\nhtml_last_updated_fmt = '%b %d, %Y'\n# Path to find HTML templates.\ntemplates_path = ['tools/templates']\n# Custom sidebar templates, filenames relative to this file.\nhtml_sidebars = {\n # Defaults taken from https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_sidebars\n # Removes the quick search block", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "html_last_updated_fmt", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "html_last_updated_fmt = '%b %d, %Y'\n# Path to find HTML templates.\ntemplates_path = ['tools/templates']\n# Custom sidebar templates, filenames relative to this file.\nhtml_sidebars = {\n # Defaults taken from https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_sidebars\n # Removes the quick search block\n '**': ['localtoc.html', 'relations.html', 'customsourcelink.html'],\n 'index': ['indexsidebar.html'],\n}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "templates_path", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "templates_path = ['tools/templates']\n# Custom sidebar templates, filenames relative to this file.\nhtml_sidebars = {\n # Defaults taken from https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_sidebars\n # Removes the quick search block\n '**': ['localtoc.html', 'relations.html', 'customsourcelink.html'],\n 'index': ['indexsidebar.html'],\n}\n# Additional templates that should be rendered to pages.\nhtml_additional_pages = {", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "html_sidebars", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "html_sidebars = {\n # Defaults taken from https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_sidebars\n # Removes the quick search block\n '**': ['localtoc.html', 'relations.html', 'customsourcelink.html'],\n 'index': ['indexsidebar.html'],\n}\n# Additional templates that should be rendered to pages.\nhtml_additional_pages = {\n 'download': 'download.html',\n 'index': 'indexcontent.html',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "html_additional_pages", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "html_additional_pages = {\n 'download': 'download.html',\n 'index': 'indexcontent.html',\n}\n# Output an OpenSearch description file.\nhtml_use_opensearch = 'https://docs.python.org/' + version\n# Additional static files.\nhtml_static_path = ['tools/static']\n# Output file base name for HTML help builder.\nhtmlhelp_basename = 'python' + release.replace('.', '')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "html_use_opensearch", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "html_use_opensearch = 'https://docs.python.org/' + version\n# Additional static files.\nhtml_static_path = ['tools/static']\n# Output file base name for HTML help builder.\nhtmlhelp_basename = 'python' + release.replace('.', '')\n# Split the index\nhtml_split_index = True\n# Options for LaTeX output\n# ------------------------\nlatex_engine = 'xelatex'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "html_static_path", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "html_static_path = ['tools/static']\n# Output file base name for HTML help builder.\nhtmlhelp_basename = 'python' + release.replace('.', '')\n# Split the index\nhtml_split_index = True\n# Options for LaTeX output\n# ------------------------\nlatex_engine = 'xelatex'\n# Get LaTeX to handle Unicode correctly\nlatex_elements = {", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "htmlhelp_basename", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "htmlhelp_basename = 'python' + release.replace('.', '')\n# Split the index\nhtml_split_index = True\n# Options for LaTeX output\n# ------------------------\nlatex_engine = 'xelatex'\n# Get LaTeX to handle Unicode correctly\nlatex_elements = {\n}\n# Additional stuff for the LaTeX preamble.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "html_split_index", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "html_split_index = True\n# Options for LaTeX output\n# ------------------------\nlatex_engine = 'xelatex'\n# Get LaTeX to handle Unicode correctly\nlatex_elements = {\n}\n# Additional stuff for the LaTeX preamble.\nlatex_elements['preamble'] = r'''\n\\authoraddress{", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "latex_engine", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "latex_engine = 'xelatex'\n# Get LaTeX to handle Unicode correctly\nlatex_elements = {\n}\n# Additional stuff for the LaTeX preamble.\nlatex_elements['preamble'] = r'''\n\\authoraddress{\n \\sphinxstrong{Python Software Foundation}\\\\\n Email: \\sphinxemail{docs@python.org}\n}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "latex_elements", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "latex_elements = {\n}\n# Additional stuff for the LaTeX preamble.\nlatex_elements['preamble'] = r'''\n\\authoraddress{\n \\sphinxstrong{Python Software Foundation}\\\\\n Email: \\sphinxemail{docs@python.org}\n}\n\\let\\Verbatim=\\OriginalVerbatim\n\\let\\endVerbatim=\\endOriginalVerbatim", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "latex_elements['preamble']", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "latex_elements['preamble'] = r'''\n\\authoraddress{\n \\sphinxstrong{Python Software Foundation}\\\\\n Email: \\sphinxemail{docs@python.org}\n}\n\\let\\Verbatim=\\OriginalVerbatim\n\\let\\endVerbatim=\\endOriginalVerbatim\n\\setcounter{tocdepth}{2}\n'''\n# The paper size ('letter' or 'a4').", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "latex_elements['papersize']", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "latex_elements['papersize'] = 'a4'\n# The font size ('10pt', '11pt' or '12pt').\nlatex_elements['pointsize'] = '10pt'\n# Grouping the document tree into LaTeX files. List of tuples\n# (source start file, target name, title, author, document class [howto/manual]).\n_stdauthor = r'Guido van Rossum\\\\and the Python development team'\nlatex_documents = [\n ('c-api/index', 'c-api.tex',\n 'The Python/C API', _stdauthor, 'manual'),\n ('distributing/index', 'distributing.tex',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "latex_elements['pointsize']", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "latex_elements['pointsize'] = '10pt'\n# Grouping the document tree into LaTeX files. List of tuples\n# (source start file, target name, title, author, document class [howto/manual]).\n_stdauthor = r'Guido van Rossum\\\\and the Python development team'\nlatex_documents = [\n ('c-api/index', 'c-api.tex',\n 'The Python/C API', _stdauthor, 'manual'),\n ('distributing/index', 'distributing.tex',\n 'Distributing Python Modules', _stdauthor, 'manual'),\n ('extending/index', 'extending.tex',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "_stdauthor", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "_stdauthor = r'Guido van Rossum\\\\and the Python development team'\nlatex_documents = [\n ('c-api/index', 'c-api.tex',\n 'The Python/C API', _stdauthor, 'manual'),\n ('distributing/index', 'distributing.tex',\n 'Distributing Python Modules', _stdauthor, 'manual'),\n ('extending/index', 'extending.tex',\n 'Extending and Embedding Python', _stdauthor, 'manual'),\n ('installing/index', 'installing.tex',\n 'Installing Python Modules', _stdauthor, 'manual'),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "latex_documents", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "latex_documents = [\n ('c-api/index', 'c-api.tex',\n 'The Python/C API', _stdauthor, 'manual'),\n ('distributing/index', 'distributing.tex',\n 'Distributing Python Modules', _stdauthor, 'manual'),\n ('extending/index', 'extending.tex',\n 'Extending and Embedding Python', _stdauthor, 'manual'),\n ('installing/index', 'installing.tex',\n 'Installing Python Modules', _stdauthor, 'manual'),\n ('library/index', 'library.tex',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "latex_appendices", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "latex_appendices = ['glossary', 'about', 'license', 'copyright']\n# Options for Epub output\n# -----------------------\nepub_author = 'Python Documentation Authors'\nepub_publisher = 'Python Software Foundation'\n# Options for the coverage checker\n# --------------------------------\n# The coverage checker will ignore all modules/functions/classes whose names\n# match any of the following regexes (using re.match).\ncoverage_ignore_modules = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "epub_author", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "epub_author = 'Python Documentation Authors'\nepub_publisher = 'Python Software Foundation'\n# Options for the coverage checker\n# --------------------------------\n# The coverage checker will ignore all modules/functions/classes whose names\n# match any of the following regexes (using re.match).\ncoverage_ignore_modules = [\n r'[T|t][k|K]',\n r'Tix',\n r'distutils.*',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "epub_publisher", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "epub_publisher = 'Python Software Foundation'\n# Options for the coverage checker\n# --------------------------------\n# The coverage checker will ignore all modules/functions/classes whose names\n# match any of the following regexes (using re.match).\ncoverage_ignore_modules = [\n r'[T|t][k|K]',\n r'Tix',\n r'distutils.*',\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "coverage_ignore_modules", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "coverage_ignore_modules = [\n r'[T|t][k|K]',\n r'Tix',\n r'distutils.*',\n]\ncoverage_ignore_functions = [\n 'test($|_)',\n]\ncoverage_ignore_classes = [\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "coverage_ignore_functions", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "coverage_ignore_functions = [\n 'test($|_)',\n]\ncoverage_ignore_classes = [\n]\n# Glob patterns for C source files for C API coverage, relative to this directory.\ncoverage_c_path = [\n '../Include/*.h',\n]\n# Regexes to find C items in the source files.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "coverage_ignore_classes", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "coverage_ignore_classes = [\n]\n# Glob patterns for C source files for C API coverage, relative to this directory.\ncoverage_c_path = [\n '../Include/*.h',\n]\n# Regexes to find C items in the source files.\ncoverage_c_regexes = {\n 'cfunction': (r'^PyAPI_FUNC\\(.*\\)\\s+([^_][\\w_]+)'),\n 'data': (r'^PyAPI_DATA\\(.*\\)\\s+([^_][\\w_]+)'),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "coverage_c_path", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "coverage_c_path = [\n '../Include/*.h',\n]\n# Regexes to find C items in the source files.\ncoverage_c_regexes = {\n 'cfunction': (r'^PyAPI_FUNC\\(.*\\)\\s+([^_][\\w_]+)'),\n 'data': (r'^PyAPI_DATA\\(.*\\)\\s+([^_][\\w_]+)'),\n 'macro': (r'^#define ([^_][\\w_]+)\\(.*\\)[\\s|\\\\]'),\n}\n# The coverage checker will ignore all C items whose names match these regexes", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "coverage_c_regexes", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "coverage_c_regexes = {\n 'cfunction': (r'^PyAPI_FUNC\\(.*\\)\\s+([^_][\\w_]+)'),\n 'data': (r'^PyAPI_DATA\\(.*\\)\\s+([^_][\\w_]+)'),\n 'macro': (r'^#define ([^_][\\w_]+)\\(.*\\)[\\s|\\\\]'),\n}\n# The coverage checker will ignore all C items whose names match these regexes\n# (using re.match) -- the keys must be the same as in coverage_c_regexes.\ncoverage_ignore_c_items = {\n# 'cfunction': [...]\n}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "coverage_ignore_c_items", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "coverage_ignore_c_items = {\n# 'cfunction': [...]\n}\n# Options for the link checker\n# ----------------------------\n# Ignore certain URLs.\nlinkcheck_ignore = [r'https://bugs.python.org/(issue)?\\d+',\n # Ignore PEPs for now, they all have permanent redirects.\n r'http://www.python.org/dev/peps/pep-\\d+']\n# Options for extensions", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "linkcheck_ignore", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "linkcheck_ignore = [r'https://bugs.python.org/(issue)?\\d+',\n # Ignore PEPs for now, they all have permanent redirects.\n r'http://www.python.org/dev/peps/pep-\\d+']\n# Options for extensions\n# ----------------------\n# Relative filename of the data files\nrefcount_file = 'data/refcounts.dat'\nstable_abi_file = 'data/stable_abi.dat'\n# Sphinx 2 and Sphinx 3 compatibility\n# -----------------------------------", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "refcount_file", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "refcount_file = 'data/refcounts.dat'\nstable_abi_file = 'data/stable_abi.dat'\n# Sphinx 2 and Sphinx 3 compatibility\n# -----------------------------------\n# bpo-40204: Allow Sphinx 2 syntax in the C domain\nc_allow_pre_v3 = True\n# bpo-40204: Disable warnings on Sphinx 2 syntax of the C domain since the\n# documentation is built with -W (warnings treated as errors).\nc_warn_on_allowed_pre_v3 = False\nstrip_signature_backslash = True", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "stable_abi_file", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "stable_abi_file = 'data/stable_abi.dat'\n# Sphinx 2 and Sphinx 3 compatibility\n# -----------------------------------\n# bpo-40204: Allow Sphinx 2 syntax in the C domain\nc_allow_pre_v3 = True\n# bpo-40204: Disable warnings on Sphinx 2 syntax of the C domain since the\n# documentation is built with -W (warnings treated as errors).\nc_warn_on_allowed_pre_v3 = False\nstrip_signature_backslash = True", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "c_allow_pre_v3", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "c_allow_pre_v3 = True\n# bpo-40204: Disable warnings on Sphinx 2 syntax of the C domain since the\n# documentation is built with -W (warnings treated as errors).\nc_warn_on_allowed_pre_v3 = False\nstrip_signature_backslash = True", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "c_warn_on_allowed_pre_v3", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "c_warn_on_allowed_pre_v3 = False\nstrip_signature_backslash = True", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "strip_signature_backslash", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "peekOfCode": "strip_signature_backslash = True", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Doc.conf", "documentation": {} }, { "label": "_SendfileFallbackProtocol", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "peekOfCode": "class _SendfileFallbackProtocol(protocols.Protocol):\n def __init__(self, transp):\n if not isinstance(transp, transports._FlowControlMixin):\n raise TypeError(\"transport should be _FlowControlMixin instance\")\n self._transport = transp\n self._proto = transp.get_protocol()\n self._should_resume_reading = transp.is_reading()\n self._should_resume_writing = transp._protocol_paused\n transp.pause_reading()\n transp.set_protocol(self)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "documentation": {} }, { "label": "Server", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "peekOfCode": "class Server(events.AbstractServer):\n def __init__(self, loop, sockets, protocol_factory, ssl_context, backlog,\n ssl_handshake_timeout):\n self._loop = loop\n self._sockets = sockets\n self._active_count = 0\n self._waiters = []\n self._protocol_factory = protocol_factory\n self._backlog = backlog\n self._ssl_context = ssl_context", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "documentation": {} }, { "label": "BaseEventLoop", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "peekOfCode": "class BaseEventLoop(events.AbstractEventLoop):\n def __init__(self):\n self._timer_cancelled_count = 0\n self._closed = False\n self._stopping = False\n self._ready = collections.deque()\n self._scheduled = []\n self._default_executor = None\n self._internal_fds = 0\n # Identifier of the thread running the event loop, or None if the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "peekOfCode": "__all__ = 'BaseEventLoop','Server',\n# Minimum number of _scheduled timer handles before cleanup of\n# cancelled handles is performed.\n_MIN_SCHEDULED_TIMER_HANDLES = 100\n# Minimum fraction of _scheduled timer handles that are cancelled\n# before cleanup of cancelled handles is performed.\n_MIN_CANCELLED_TIMER_HANDLES_FRACTION = 0.5\n_HAS_IPv6 = hasattr(socket, 'AF_INET6')\n# Maximum timeout passed to select to avoid OS limitations\nMAXIMUM_SELECT_TIMEOUT = 24 * 3600", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "documentation": {} }, { "label": "_MIN_SCHEDULED_TIMER_HANDLES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "peekOfCode": "_MIN_SCHEDULED_TIMER_HANDLES = 100\n# Minimum fraction of _scheduled timer handles that are cancelled\n# before cleanup of cancelled handles is performed.\n_MIN_CANCELLED_TIMER_HANDLES_FRACTION = 0.5\n_HAS_IPv6 = hasattr(socket, 'AF_INET6')\n# Maximum timeout passed to select to avoid OS limitations\nMAXIMUM_SELECT_TIMEOUT = 24 * 3600\n# Used for deprecation and removal of `loop.create_datagram_endpoint()`'s\n# *reuse_address* parameter\n_unset = object()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "documentation": {} }, { "label": "_MIN_CANCELLED_TIMER_HANDLES_FRACTION", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "peekOfCode": "_MIN_CANCELLED_TIMER_HANDLES_FRACTION = 0.5\n_HAS_IPv6 = hasattr(socket, 'AF_INET6')\n# Maximum timeout passed to select to avoid OS limitations\nMAXIMUM_SELECT_TIMEOUT = 24 * 3600\n# Used for deprecation and removal of `loop.create_datagram_endpoint()`'s\n# *reuse_address* parameter\n_unset = object()\ndef _format_handle(handle):\n cb = handle._callback\n if isinstance(getattr(cb, '__self__', None), tasks.Task):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "documentation": {} }, { "label": "_HAS_IPv6", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "peekOfCode": "_HAS_IPv6 = hasattr(socket, 'AF_INET6')\n# Maximum timeout passed to select to avoid OS limitations\nMAXIMUM_SELECT_TIMEOUT = 24 * 3600\n# Used for deprecation and removal of `loop.create_datagram_endpoint()`'s\n# *reuse_address* parameter\n_unset = object()\ndef _format_handle(handle):\n cb = handle._callback\n if isinstance(getattr(cb, '__self__', None), tasks.Task):\n # format the task", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "documentation": {} }, { "label": "MAXIMUM_SELECT_TIMEOUT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "peekOfCode": "MAXIMUM_SELECT_TIMEOUT = 24 * 3600\n# Used for deprecation and removal of `loop.create_datagram_endpoint()`'s\n# *reuse_address* parameter\n_unset = object()\ndef _format_handle(handle):\n cb = handle._callback\n if isinstance(getattr(cb, '__self__', None), tasks.Task):\n # format the task\n return repr(cb.__self__)\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "documentation": {} }, { "label": "_unset", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "peekOfCode": "_unset = object()\ndef _format_handle(handle):\n cb = handle._callback\n if isinstance(getattr(cb, '__self__', None), tasks.Task):\n # format the task\n return repr(cb.__self__)\n else:\n return str(handle)\ndef _format_pipe(fd):\n if fd == subprocess.PIPE:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_events", "documentation": {} }, { "label": "isfuture", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_futures", "peekOfCode": "def isfuture(obj):\n \"\"\"Check for a Future.\n This returns True when obj is a Future instance or is advertising\n itself as duck-type compatible by setting _asyncio_future_blocking.\n See comment in Future for more details.\n \"\"\"\n return (hasattr(obj.__class__, '_asyncio_future_blocking') and\n obj._asyncio_future_blocking is not None)\ndef _format_callbacks(cb):\n \"\"\"helper function for Future.__repr__\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_futures", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_futures", "peekOfCode": "__all__ = ()\nimport reprlib\nfrom _thread import get_ident\nfrom . import format_helpers\n# States for Future.\n_PENDING = 'PENDING'\n_CANCELLED = 'CANCELLED'\n_FINISHED = 'FINISHED'\ndef isfuture(obj):\n \"\"\"Check for a Future.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_futures", "documentation": {} }, { "label": "_PENDING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_futures", "peekOfCode": "_PENDING = 'PENDING'\n_CANCELLED = 'CANCELLED'\n_FINISHED = 'FINISHED'\ndef isfuture(obj):\n \"\"\"Check for a Future.\n This returns True when obj is a Future instance or is advertising\n itself as duck-type compatible by setting _asyncio_future_blocking.\n See comment in Future for more details.\n \"\"\"\n return (hasattr(obj.__class__, '_asyncio_future_blocking') and", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_futures", "documentation": {} }, { "label": "_CANCELLED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_futures", "peekOfCode": "_CANCELLED = 'CANCELLED'\n_FINISHED = 'FINISHED'\ndef isfuture(obj):\n \"\"\"Check for a Future.\n This returns True when obj is a Future instance or is advertising\n itself as duck-type compatible by setting _asyncio_future_blocking.\n See comment in Future for more details.\n \"\"\"\n return (hasattr(obj.__class__, '_asyncio_future_blocking') and\n obj._asyncio_future_blocking is not None)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_futures", "documentation": {} }, { "label": "_FINISHED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_futures", "peekOfCode": "_FINISHED = 'FINISHED'\ndef isfuture(obj):\n \"\"\"Check for a Future.\n This returns True when obj is a Future instance or is advertising\n itself as duck-type compatible by setting _asyncio_future_blocking.\n See comment in Future for more details.\n \"\"\"\n return (hasattr(obj.__class__, '_asyncio_future_blocking') and\n obj._asyncio_future_blocking is not None)\ndef _format_callbacks(cb):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_futures", "documentation": {} }, { "label": "_repr_running", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_futures", "peekOfCode": "_repr_running = set()\ndef _future_repr_info(future):\n # (Future) -> str\n \"\"\"helper function for Future.__repr__\"\"\"\n info = [future._state.lower()]\n if future._state == _FINISHED:\n if future._exception is not None:\n info.append(f'exception={future._exception!r}')\n else:\n key = id(future), get_ident()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_futures", "documentation": {} }, { "label": "BaseSubprocessTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_subprocess", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_subprocess", "peekOfCode": "class BaseSubprocessTransport(transports.SubprocessTransport):\n def __init__(self, loop, protocol, args, shell,\n stdin, stdout, stderr, bufsize,\n waiter=None, extra=None, **kwargs):\n super().__init__(extra)\n self._closed = False\n self._protocol = protocol\n self._loop = loop\n self._proc = None\n self._pid = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_subprocess", "documentation": {} }, { "label": "WriteSubprocessPipeProto", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_subprocess", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_subprocess", "peekOfCode": "class WriteSubprocessPipeProto(protocols.BaseProtocol):\n def __init__(self, proc, fd):\n self.proc = proc\n self.fd = fd\n self.pipe = None\n self.disconnected = False\n def connection_made(self, transport):\n self.pipe = transport\n def __repr__(self):\n return f'<{self.__class__.__name__} fd={self.fd} pipe={self.pipe!r}>'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_subprocess", "documentation": {} }, { "label": "ReadSubprocessPipeProto", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_subprocess", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_subprocess", "peekOfCode": "class ReadSubprocessPipeProto(WriteSubprocessPipeProto,\n protocols.Protocol):\n def data_received(self, data):\n self.proc._pipe_data_received(self.fd, data)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.base_subprocess", "documentation": {} }, { "label": "_SendfileMode", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.constants", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.constants", "peekOfCode": "class _SendfileMode(enum.Enum):\n UNSUPPORTED = enum.auto()\n TRY_NATIVE = enum.auto()\n FALLBACK = enum.auto()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.constants", "documentation": {} }, { "label": "LOG_THRESHOLD_FOR_CONNLOST_WRITES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.constants", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.constants", "peekOfCode": "LOG_THRESHOLD_FOR_CONNLOST_WRITES = 5\n# Seconds to wait before retrying accept().\nACCEPT_RETRY_DELAY = 1\n# Number of stack entries to capture in debug mode.\n# The larger the number, the slower the operation in debug mode\n# (see extract_stack() in format_helpers.py).\nDEBUG_STACK_DEPTH = 10\n# Number of seconds to wait for SSL handshake to complete\n# The default timeout matches that of Nginx.\nSSL_HANDSHAKE_TIMEOUT = 60.0", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.constants", "documentation": {} }, { "label": "ACCEPT_RETRY_DELAY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.constants", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.constants", "peekOfCode": "ACCEPT_RETRY_DELAY = 1\n# Number of stack entries to capture in debug mode.\n# The larger the number, the slower the operation in debug mode\n# (see extract_stack() in format_helpers.py).\nDEBUG_STACK_DEPTH = 10\n# Number of seconds to wait for SSL handshake to complete\n# The default timeout matches that of Nginx.\nSSL_HANDSHAKE_TIMEOUT = 60.0\n# Used in sendfile fallback code. We use fallback for platforms\n# that don't support sendfile, or for TLS connections.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.constants", "documentation": {} }, { "label": "DEBUG_STACK_DEPTH", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.constants", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.constants", "peekOfCode": "DEBUG_STACK_DEPTH = 10\n# Number of seconds to wait for SSL handshake to complete\n# The default timeout matches that of Nginx.\nSSL_HANDSHAKE_TIMEOUT = 60.0\n# Used in sendfile fallback code. We use fallback for platforms\n# that don't support sendfile, or for TLS connections.\nSENDFILE_FALLBACK_READBUFFER_SIZE = 1024 * 256\n# The enum should be here to break circular dependencies between\n# base_events and sslproto\nclass _SendfileMode(enum.Enum):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.constants", "documentation": {} }, { "label": "SSL_HANDSHAKE_TIMEOUT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.constants", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.constants", "peekOfCode": "SSL_HANDSHAKE_TIMEOUT = 60.0\n# Used in sendfile fallback code. We use fallback for platforms\n# that don't support sendfile, or for TLS connections.\nSENDFILE_FALLBACK_READBUFFER_SIZE = 1024 * 256\n# The enum should be here to break circular dependencies between\n# base_events and sslproto\nclass _SendfileMode(enum.Enum):\n UNSUPPORTED = enum.auto()\n TRY_NATIVE = enum.auto()\n FALLBACK = enum.auto()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.constants", "documentation": {} }, { "label": "SENDFILE_FALLBACK_READBUFFER_SIZE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.constants", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.constants", "peekOfCode": "SENDFILE_FALLBACK_READBUFFER_SIZE = 1024 * 256\n# The enum should be here to break circular dependencies between\n# base_events and sslproto\nclass _SendfileMode(enum.Enum):\n UNSUPPORTED = enum.auto()\n TRY_NATIVE = enum.auto()\n FALLBACK = enum.auto()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.constants", "documentation": {} }, { "label": "CoroWrapper", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "peekOfCode": "class CoroWrapper:\n # Wrapper for coroutine object in _DEBUG mode.\n def __init__(self, gen, func=None):\n assert inspect.isgenerator(gen) or inspect.iscoroutine(gen), gen\n self.gen = gen\n self.func = func # Used to unwrap @coroutine decorator\n self._source_traceback = format_helpers.extract_stack(sys._getframe(1))\n self.__name__ = getattr(gen, '__name__', None)\n self.__qualname__ = getattr(gen, '__qualname__', None)\n def __repr__(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "documentation": {} }, { "label": "coroutine", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "peekOfCode": "def coroutine(func):\n \"\"\"Decorator to mark coroutines.\n If the coroutine is not yielded from before it is destroyed,\n an error message is logged.\n \"\"\"\n warnings.warn('\"@coroutine\" decorator is deprecated since Python 3.8, use \"async def\" instead',\n DeprecationWarning,\n stacklevel=2)\n if inspect.iscoroutinefunction(func):\n # In Python 3.5 that's all we need to do for coroutines", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "documentation": {} }, { "label": "iscoroutinefunction", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "peekOfCode": "def iscoroutinefunction(func):\n \"\"\"Return True if func is a decorated coroutine function.\"\"\"\n return (inspect.iscoroutinefunction(func) or\n getattr(func, '_is_coroutine', None) is _is_coroutine)\n# Prioritize native coroutine check to speed-up\n# asyncio.iscoroutine.\n_COROUTINE_TYPES = (types.CoroutineType, types.GeneratorType,\n collections.abc.Coroutine, CoroWrapper)\n_iscoroutine_typecache = set()\ndef iscoroutine(obj):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "documentation": {} }, { "label": "iscoroutine", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "peekOfCode": "def iscoroutine(obj):\n \"\"\"Return True if obj is a coroutine object.\"\"\"\n if type(obj) in _iscoroutine_typecache:\n return True\n if isinstance(obj, _COROUTINE_TYPES):\n # Just in case we don't want to cache more than 100\n # positive types. That shouldn't ever happen, unless\n # someone stressing the system on purpose.\n if len(_iscoroutine_typecache) < 100:\n _iscoroutine_typecache.add(type(obj))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "peekOfCode": "__all__ = 'coroutine', 'iscoroutinefunction', 'iscoroutine'\nimport collections.abc\nimport functools\nimport inspect\nimport os\nimport sys\nimport traceback\nimport types\nimport warnings\nfrom . import base_futures", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "documentation": {} }, { "label": "_DEBUG", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "peekOfCode": "_DEBUG = _is_debug_mode()\nclass CoroWrapper:\n # Wrapper for coroutine object in _DEBUG mode.\n def __init__(self, gen, func=None):\n assert inspect.isgenerator(gen) or inspect.iscoroutine(gen), gen\n self.gen = gen\n self.func = func # Used to unwrap @coroutine decorator\n self._source_traceback = format_helpers.extract_stack(sys._getframe(1))\n self.__name__ = getattr(gen, '__name__', None)\n self.__qualname__ = getattr(gen, '__qualname__', None)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "documentation": {} }, { "label": "_is_coroutine", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "peekOfCode": "_is_coroutine = object()\ndef iscoroutinefunction(func):\n \"\"\"Return True if func is a decorated coroutine function.\"\"\"\n return (inspect.iscoroutinefunction(func) or\n getattr(func, '_is_coroutine', None) is _is_coroutine)\n# Prioritize native coroutine check to speed-up\n# asyncio.iscoroutine.\n_COROUTINE_TYPES = (types.CoroutineType, types.GeneratorType,\n collections.abc.Coroutine, CoroWrapper)\n_iscoroutine_typecache = set()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "documentation": {} }, { "label": "_COROUTINE_TYPES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "peekOfCode": "_COROUTINE_TYPES = (types.CoroutineType, types.GeneratorType,\n collections.abc.Coroutine, CoroWrapper)\n_iscoroutine_typecache = set()\ndef iscoroutine(obj):\n \"\"\"Return True if obj is a coroutine object.\"\"\"\n if type(obj) in _iscoroutine_typecache:\n return True\n if isinstance(obj, _COROUTINE_TYPES):\n # Just in case we don't want to cache more than 100\n # positive types. That shouldn't ever happen, unless", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "documentation": {} }, { "label": "_iscoroutine_typecache", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "peekOfCode": "_iscoroutine_typecache = set()\ndef iscoroutine(obj):\n \"\"\"Return True if obj is a coroutine object.\"\"\"\n if type(obj) in _iscoroutine_typecache:\n return True\n if isinstance(obj, _COROUTINE_TYPES):\n # Just in case we don't want to cache more than 100\n # positive types. That shouldn't ever happen, unless\n # someone stressing the system on purpose.\n if len(_iscoroutine_typecache) < 100:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.coroutines", "documentation": {} }, { "label": "Handle", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "class Handle:\n \"\"\"Object returned by callback registration methods.\"\"\"\n __slots__ = ('_callback', '_args', '_cancelled', '_loop',\n '_source_traceback', '_repr', '__weakref__',\n '_context')\n def __init__(self, callback, args, loop, context=None):\n if context is None:\n context = contextvars.copy_context()\n self._context = context\n self._loop = loop", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "TimerHandle", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "class TimerHandle(Handle):\n \"\"\"Object returned by timed callback registration methods.\"\"\"\n __slots__ = ['_scheduled', '_when']\n def __init__(self, when, callback, args, loop, context=None):\n assert when is not None\n super().__init__(callback, args, loop, context)\n if self._source_traceback:\n del self._source_traceback[-1]\n self._when = when\n self._scheduled = False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "AbstractServer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "class AbstractServer:\n \"\"\"Abstract server returned by create_server().\"\"\"\n def close(self):\n \"\"\"Stop serving. This leaves existing connections open.\"\"\"\n raise NotImplementedError\n def get_loop(self):\n \"\"\"Get the event loop the Server object is attached to.\"\"\"\n raise NotImplementedError\n def is_serving(self):\n \"\"\"Return True if the server is accepting connections.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "AbstractEventLoop", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "class AbstractEventLoop:\n \"\"\"Abstract event loop.\"\"\"\n # Running and stopping the event loop.\n def run_forever(self):\n \"\"\"Run the event loop until stop() is called.\"\"\"\n raise NotImplementedError\n def run_until_complete(self, future):\n \"\"\"Run the event loop until a Future is done.\n Return the Future's result, or raise its exception.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "AbstractEventLoopPolicy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "class AbstractEventLoopPolicy:\n \"\"\"Abstract policy for accessing the event loop.\"\"\"\n def get_event_loop(self):\n \"\"\"Get the event loop for the current context.\n Returns an event loop object implementing the BaseEventLoop interface,\n or raises an exception in case no event loop has been set for the\n current context and the current policy does not specify to create one.\n It should never return None.\"\"\"\n raise NotImplementedError\n def set_event_loop(self, loop):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "BaseDefaultEventLoopPolicy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "class BaseDefaultEventLoopPolicy(AbstractEventLoopPolicy):\n \"\"\"Default policy implementation for accessing the event loop.\n In this policy, each thread has its own event loop. However, we\n only automatically create an event loop by default for the main\n thread; other threads by default have no event loop.\n Other policies may have different rules (e.g. a single global\n event loop, or automatically creating an event loop per thread, or\n using some other notion of context to which an event loop is\n associated).\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "_RunningLoop", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "class _RunningLoop(threading.local):\n loop_pid = (None, None)\n_running_loop = _RunningLoop()\ndef get_running_loop():\n \"\"\"Return the running event loop. Raise a RuntimeError if there is none.\n This function is thread-specific.\n \"\"\"\n # NOTE: this function is implemented in C (see _asynciomodule.c)\n loop = _get_running_loop()\n if loop is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "get_running_loop", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "def get_running_loop():\n \"\"\"Return the running event loop. Raise a RuntimeError if there is none.\n This function is thread-specific.\n \"\"\"\n # NOTE: this function is implemented in C (see _asynciomodule.c)\n loop = _get_running_loop()\n if loop is None:\n raise RuntimeError('no running event loop')\n return loop\ndef _get_running_loop():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "get_event_loop_policy", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "def get_event_loop_policy():\n \"\"\"Get the current event loop policy.\"\"\"\n if _event_loop_policy is None:\n _init_event_loop_policy()\n return _event_loop_policy\ndef set_event_loop_policy(policy):\n \"\"\"Set the current event loop policy.\n If policy is None, the default policy is restored.\"\"\"\n global _event_loop_policy\n assert policy is None or isinstance(policy, AbstractEventLoopPolicy)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "set_event_loop_policy", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "def set_event_loop_policy(policy):\n \"\"\"Set the current event loop policy.\n If policy is None, the default policy is restored.\"\"\"\n global _event_loop_policy\n assert policy is None or isinstance(policy, AbstractEventLoopPolicy)\n _event_loop_policy = policy\ndef get_event_loop():\n \"\"\"Return an asyncio event loop.\n When called from a coroutine or a callback (e.g. scheduled with call_soon\n or similar API), this function will always return the running event loop.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "get_event_loop", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "def get_event_loop():\n \"\"\"Return an asyncio event loop.\n When called from a coroutine or a callback (e.g. scheduled with call_soon\n or similar API), this function will always return the running event loop.\n If there is no running event loop set, the function will return\n the result of `get_event_loop_policy().get_event_loop()` call.\n \"\"\"\n # NOTE: this function is implemented in C (see _asynciomodule.c)\n return _py__get_event_loop()\ndef _get_event_loop(stacklevel=3):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "set_event_loop", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "def set_event_loop(loop):\n \"\"\"Equivalent to calling get_event_loop_policy().set_event_loop(loop).\"\"\"\n get_event_loop_policy().set_event_loop(loop)\ndef new_event_loop():\n \"\"\"Equivalent to calling get_event_loop_policy().new_event_loop().\"\"\"\n return get_event_loop_policy().new_event_loop()\ndef get_child_watcher():\n \"\"\"Equivalent to calling get_event_loop_policy().get_child_watcher().\"\"\"\n return get_event_loop_policy().get_child_watcher()\ndef set_child_watcher(watcher):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "new_event_loop", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "def new_event_loop():\n \"\"\"Equivalent to calling get_event_loop_policy().new_event_loop().\"\"\"\n return get_event_loop_policy().new_event_loop()\ndef get_child_watcher():\n \"\"\"Equivalent to calling get_event_loop_policy().get_child_watcher().\"\"\"\n return get_event_loop_policy().get_child_watcher()\ndef set_child_watcher(watcher):\n \"\"\"Equivalent to calling\n get_event_loop_policy().set_child_watcher(watcher).\"\"\"\n return get_event_loop_policy().set_child_watcher(watcher)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "get_child_watcher", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "def get_child_watcher():\n \"\"\"Equivalent to calling get_event_loop_policy().get_child_watcher().\"\"\"\n return get_event_loop_policy().get_child_watcher()\ndef set_child_watcher(watcher):\n \"\"\"Equivalent to calling\n get_event_loop_policy().set_child_watcher(watcher).\"\"\"\n return get_event_loop_policy().set_child_watcher(watcher)\n# Alias pure-Python implementations for testing purposes.\n_py__get_running_loop = _get_running_loop\n_py__set_running_loop = _set_running_loop", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "set_child_watcher", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "def set_child_watcher(watcher):\n \"\"\"Equivalent to calling\n get_event_loop_policy().set_child_watcher(watcher).\"\"\"\n return get_event_loop_policy().set_child_watcher(watcher)\n# Alias pure-Python implementations for testing purposes.\n_py__get_running_loop = _get_running_loop\n_py__set_running_loop = _set_running_loop\n_py_get_running_loop = get_running_loop\n_py_get_event_loop = get_event_loop\n_py__get_event_loop = _get_event_loop", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "__all__ = (\n 'AbstractEventLoopPolicy',\n 'AbstractEventLoop', 'AbstractServer',\n 'Handle', 'TimerHandle',\n 'get_event_loop_policy', 'set_event_loop_policy',\n 'get_event_loop', 'set_event_loop', 'new_event_loop',\n 'get_child_watcher', 'set_child_watcher',\n '_set_running_loop', 'get_running_loop',\n '_get_running_loop',\n)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "_event_loop_policy", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "_event_loop_policy = None\n# Lock for protecting the on-the-fly creation of the event loop policy.\n_lock = threading.Lock()\n# A TLS for the running event loop, used by _get_running_loop.\nclass _RunningLoop(threading.local):\n loop_pid = (None, None)\n_running_loop = _RunningLoop()\ndef get_running_loop():\n \"\"\"Return the running event loop. Raise a RuntimeError if there is none.\n This function is thread-specific.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "_lock", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "_lock = threading.Lock()\n# A TLS for the running event loop, used by _get_running_loop.\nclass _RunningLoop(threading.local):\n loop_pid = (None, None)\n_running_loop = _RunningLoop()\ndef get_running_loop():\n \"\"\"Return the running event loop. Raise a RuntimeError if there is none.\n This function is thread-specific.\n \"\"\"\n # NOTE: this function is implemented in C (see _asynciomodule.c)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "_running_loop", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "_running_loop = _RunningLoop()\ndef get_running_loop():\n \"\"\"Return the running event loop. Raise a RuntimeError if there is none.\n This function is thread-specific.\n \"\"\"\n # NOTE: this function is implemented in C (see _asynciomodule.c)\n loop = _get_running_loop()\n if loop is None:\n raise RuntimeError('no running event loop')\n return loop", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "_py__get_running_loop", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "_py__get_running_loop = _get_running_loop\n_py__set_running_loop = _set_running_loop\n_py_get_running_loop = get_running_loop\n_py_get_event_loop = get_event_loop\n_py__get_event_loop = _get_event_loop\ntry:\n # get_event_loop() is one of the most frequently called\n # functions in asyncio. Pure Python implementation is\n # about 4 times slower than C-accelerated.\n from _asyncio import (_get_running_loop, _set_running_loop,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "_py__set_running_loop", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "_py__set_running_loop = _set_running_loop\n_py_get_running_loop = get_running_loop\n_py_get_event_loop = get_event_loop\n_py__get_event_loop = _get_event_loop\ntry:\n # get_event_loop() is one of the most frequently called\n # functions in asyncio. Pure Python implementation is\n # about 4 times slower than C-accelerated.\n from _asyncio import (_get_running_loop, _set_running_loop,\n get_running_loop, get_event_loop, _get_event_loop)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "_py_get_running_loop", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "_py_get_running_loop = get_running_loop\n_py_get_event_loop = get_event_loop\n_py__get_event_loop = _get_event_loop\ntry:\n # get_event_loop() is one of the most frequently called\n # functions in asyncio. Pure Python implementation is\n # about 4 times slower than C-accelerated.\n from _asyncio import (_get_running_loop, _set_running_loop,\n get_running_loop, get_event_loop, _get_event_loop)\nexcept ImportError:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "_py_get_event_loop", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "_py_get_event_loop = get_event_loop\n_py__get_event_loop = _get_event_loop\ntry:\n # get_event_loop() is one of the most frequently called\n # functions in asyncio. Pure Python implementation is\n # about 4 times slower than C-accelerated.\n from _asyncio import (_get_running_loop, _set_running_loop,\n get_running_loop, get_event_loop, _get_event_loop)\nexcept ImportError:\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "_py__get_event_loop", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "peekOfCode": "_py__get_event_loop = _get_event_loop\ntry:\n # get_event_loop() is one of the most frequently called\n # functions in asyncio. Pure Python implementation is\n # about 4 times slower than C-accelerated.\n from _asyncio import (_get_running_loop, _set_running_loop,\n get_running_loop, get_event_loop, _get_event_loop)\nexcept ImportError:\n pass\nelse:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.events", "documentation": {} }, { "label": "CancelledError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "peekOfCode": "class CancelledError(BaseException):\n \"\"\"The Future or Task was cancelled.\"\"\"\nclass TimeoutError(Exception):\n \"\"\"The operation exceeded the given deadline.\"\"\"\nclass InvalidStateError(Exception):\n \"\"\"The operation is not allowed in this state.\"\"\"\nclass SendfileNotAvailableError(RuntimeError):\n \"\"\"Sendfile syscall is not available.\n Raised if OS does not support sendfile syscall for given socket or\n file type.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "documentation": {} }, { "label": "TimeoutError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "peekOfCode": "class TimeoutError(Exception):\n \"\"\"The operation exceeded the given deadline.\"\"\"\nclass InvalidStateError(Exception):\n \"\"\"The operation is not allowed in this state.\"\"\"\nclass SendfileNotAvailableError(RuntimeError):\n \"\"\"Sendfile syscall is not available.\n Raised if OS does not support sendfile syscall for given socket or\n file type.\n \"\"\"\nclass IncompleteReadError(EOFError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "documentation": {} }, { "label": "InvalidStateError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "peekOfCode": "class InvalidStateError(Exception):\n \"\"\"The operation is not allowed in this state.\"\"\"\nclass SendfileNotAvailableError(RuntimeError):\n \"\"\"Sendfile syscall is not available.\n Raised if OS does not support sendfile syscall for given socket or\n file type.\n \"\"\"\nclass IncompleteReadError(EOFError):\n \"\"\"\n Incomplete read error. Attributes:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "documentation": {} }, { "label": "SendfileNotAvailableError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "peekOfCode": "class SendfileNotAvailableError(RuntimeError):\n \"\"\"Sendfile syscall is not available.\n Raised if OS does not support sendfile syscall for given socket or\n file type.\n \"\"\"\nclass IncompleteReadError(EOFError):\n \"\"\"\n Incomplete read error. Attributes:\n - partial: read bytes string before the end of stream was reached\n - expected: total number of expected bytes (or None if unknown)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "documentation": {} }, { "label": "IncompleteReadError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "peekOfCode": "class IncompleteReadError(EOFError):\n \"\"\"\n Incomplete read error. Attributes:\n - partial: read bytes string before the end of stream was reached\n - expected: total number of expected bytes (or None if unknown)\n \"\"\"\n def __init__(self, partial, expected):\n r_expected = 'undefined' if expected is None else repr(expected)\n super().__init__(f'{len(partial)} bytes read on a total of '\n f'{r_expected} expected bytes')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "documentation": {} }, { "label": "LimitOverrunError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "peekOfCode": "class LimitOverrunError(Exception):\n \"\"\"Reached the buffer limit while looking for a separator.\n Attributes:\n - consumed: total number of to be consumed bytes.\n \"\"\"\n def __init__(self, message, consumed):\n super().__init__(message)\n self.consumed = consumed\n def __reduce__(self):\n return type(self), (self.args[0], self.consumed)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "peekOfCode": "__all__ = ('CancelledError', 'InvalidStateError', 'TimeoutError',\n 'IncompleteReadError', 'LimitOverrunError',\n 'SendfileNotAvailableError')\nclass CancelledError(BaseException):\n \"\"\"The Future or Task was cancelled.\"\"\"\nclass TimeoutError(Exception):\n \"\"\"The operation exceeded the given deadline.\"\"\"\nclass InvalidStateError(Exception):\n \"\"\"The operation is not allowed in this state.\"\"\"\nclass SendfileNotAvailableError(RuntimeError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.exceptions", "documentation": {} }, { "label": "extract_stack", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.format_helpers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.format_helpers", "peekOfCode": "def extract_stack(f=None, limit=None):\n \"\"\"Replacement for traceback.extract_stack() that only does the\n necessary work for asyncio debug mode.\n \"\"\"\n if f is None:\n f = sys._getframe().f_back\n if limit is None:\n # Limit the amount of work to a reasonable amount, as extract_stack()\n # can be called for each coroutine and future in debug mode.\n limit = constants.DEBUG_STACK_DEPTH", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.format_helpers", "documentation": {} }, { "label": "Future", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "peekOfCode": "class Future:\n \"\"\"This class is *almost* compatible with concurrent.futures.Future.\n Differences:\n - This class is not thread-safe.\n - result() and exception() do not take a timeout argument and\n raise an exception when the future isn't done yet.\n - Callbacks registered with add_done_callback() are always called\n via the event loop's call_soon().\n - This class is not compatible with the wait() and as_completed()\n methods in the concurrent.futures package.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "documentation": {} }, { "label": "wrap_future", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "peekOfCode": "def wrap_future(future, *, loop=None):\n \"\"\"Wrap concurrent.futures.Future object.\"\"\"\n if isfuture(future):\n return future\n assert isinstance(future, concurrent.futures.Future), \\\n f'concurrent.futures.Future is expected, got {future!r}'\n if loop is None:\n loop = events._get_event_loop()\n new_future = loop.create_future()\n _chain_future(future, new_future)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "peekOfCode": "__all__ = (\n 'Future', 'wrap_future', 'isfuture',\n)\nimport concurrent.futures\nimport contextvars\nimport logging\nimport sys\nfrom types import GenericAlias\nfrom . import base_futures\nfrom . import events", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "documentation": {} }, { "label": "isfuture", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "peekOfCode": "isfuture = base_futures.isfuture\n_PENDING = base_futures._PENDING\n_CANCELLED = base_futures._CANCELLED\n_FINISHED = base_futures._FINISHED\nSTACK_DEBUG = logging.DEBUG - 1 # heavy-duty debugging\nclass Future:\n \"\"\"This class is *almost* compatible with concurrent.futures.Future.\n Differences:\n - This class is not thread-safe.\n - result() and exception() do not take a timeout argument and", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "documentation": {} }, { "label": "_PENDING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "peekOfCode": "_PENDING = base_futures._PENDING\n_CANCELLED = base_futures._CANCELLED\n_FINISHED = base_futures._FINISHED\nSTACK_DEBUG = logging.DEBUG - 1 # heavy-duty debugging\nclass Future:\n \"\"\"This class is *almost* compatible with concurrent.futures.Future.\n Differences:\n - This class is not thread-safe.\n - result() and exception() do not take a timeout argument and\n raise an exception when the future isn't done yet.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "documentation": {} }, { "label": "_CANCELLED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "peekOfCode": "_CANCELLED = base_futures._CANCELLED\n_FINISHED = base_futures._FINISHED\nSTACK_DEBUG = logging.DEBUG - 1 # heavy-duty debugging\nclass Future:\n \"\"\"This class is *almost* compatible with concurrent.futures.Future.\n Differences:\n - This class is not thread-safe.\n - result() and exception() do not take a timeout argument and\n raise an exception when the future isn't done yet.\n - Callbacks registered with add_done_callback() are always called", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "documentation": {} }, { "label": "_FINISHED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "peekOfCode": "_FINISHED = base_futures._FINISHED\nSTACK_DEBUG = logging.DEBUG - 1 # heavy-duty debugging\nclass Future:\n \"\"\"This class is *almost* compatible with concurrent.futures.Future.\n Differences:\n - This class is not thread-safe.\n - result() and exception() do not take a timeout argument and\n raise an exception when the future isn't done yet.\n - Callbacks registered with add_done_callback() are always called\n via the event loop's call_soon().", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "documentation": {} }, { "label": "STACK_DEBUG", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "peekOfCode": "STACK_DEBUG = logging.DEBUG - 1 # heavy-duty debugging\nclass Future:\n \"\"\"This class is *almost* compatible with concurrent.futures.Future.\n Differences:\n - This class is not thread-safe.\n - result() and exception() do not take a timeout argument and\n raise an exception when the future isn't done yet.\n - Callbacks registered with add_done_callback() are always called\n via the event loop's call_soon().\n - This class is not compatible with the wait() and as_completed()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "documentation": {} }, { "label": "_PyFuture", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "peekOfCode": "_PyFuture = Future\ndef _get_loop(fut):\n # Tries to call Future.get_loop() if it's available.\n # Otherwise fallbacks to using the old '_loop' property.\n try:\n get_loop = fut.get_loop\n except AttributeError:\n pass\n else:\n return get_loop()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.futures", "documentation": {} }, { "label": "_ContextManagerMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "peekOfCode": "class _ContextManagerMixin:\n async def __aenter__(self):\n await self.acquire()\n # We have no use for the \"as ...\" clause in the with\n # statement for locks.\n return None\n async def __aexit__(self, exc_type, exc, tb):\n self.release()\nclass Lock(_ContextManagerMixin, mixins._LoopBoundMixin):\n \"\"\"Primitive lock objects.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "documentation": {} }, { "label": "Lock", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "peekOfCode": "class Lock(_ContextManagerMixin, mixins._LoopBoundMixin):\n \"\"\"Primitive lock objects.\n A primitive lock is a synchronization primitive that is not owned\n by a particular coroutine when locked. A primitive lock is in one\n of two states, 'locked' or 'unlocked'.\n It is created in the unlocked state. It has two basic methods,\n acquire() and release(). When the state is unlocked, acquire()\n changes the state to locked and returns immediately. When the\n state is locked, acquire() blocks until a call to release() in\n another coroutine changes it to unlocked, then the acquire() call", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "documentation": {} }, { "label": "Event", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "peekOfCode": "class Event(mixins._LoopBoundMixin):\n \"\"\"Asynchronous equivalent to threading.Event.\n Class implementing event objects. An event manages a flag that can be set\n to true with the set() method and reset to false with the clear() method.\n The wait() method blocks until the flag is true. The flag is initially\n false.\n \"\"\"\n def __init__(self, *, loop=mixins._marker):\n super().__init__(loop=loop)\n self._waiters = collections.deque()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "documentation": {} }, { "label": "Condition", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "peekOfCode": "class Condition(_ContextManagerMixin, mixins._LoopBoundMixin):\n \"\"\"Asynchronous equivalent to threading.Condition.\n This class implements condition variable objects. A condition variable\n allows one or more coroutines to wait until they are notified by another\n coroutine.\n A new Lock object is created and used as the underlying lock.\n \"\"\"\n def __init__(self, lock=None, *, loop=mixins._marker):\n super().__init__(loop=loop)\n if lock is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "documentation": {} }, { "label": "Semaphore", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "peekOfCode": "class Semaphore(_ContextManagerMixin, mixins._LoopBoundMixin):\n \"\"\"A Semaphore implementation.\n A semaphore manages an internal counter which is decremented by each\n acquire() call and incremented by each release() call. The counter\n can never go below zero; when acquire() finds that it is zero, it blocks,\n waiting until some other thread calls release().\n Semaphores also support the context management protocol.\n The optional argument gives the initial value for the internal\n counter; it defaults to 1. If the value given is less than 0,\n ValueError is raised.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "documentation": {} }, { "label": "BoundedSemaphore", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "peekOfCode": "class BoundedSemaphore(Semaphore):\n \"\"\"A bounded semaphore implementation.\n This raises ValueError in release() if it would increase the value\n above the initial value.\n \"\"\"\n def __init__(self, value=1, *, loop=mixins._marker):\n self._bound_value = value\n super().__init__(value, loop=loop)\n def release(self):\n if self._value >= self._bound_value:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "peekOfCode": "__all__ = ('Lock', 'Event', 'Condition', 'Semaphore', 'BoundedSemaphore')\nimport collections\nfrom . import exceptions\nfrom . import mixins\nfrom . import tasks\nclass _ContextManagerMixin:\n async def __aenter__(self):\n await self.acquire()\n # We have no use for the \"as ...\" clause in the with\n # statement for locks.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.locks", "documentation": {} }, { "label": "logger", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.log", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.log", "peekOfCode": "logger = logging.getLogger(__package__)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.log", "documentation": {} }, { "label": "_LoopBoundMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.mixins", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.mixins", "peekOfCode": "class _LoopBoundMixin:\n _loop = None\n def __init__(self, *, loop=_marker):\n if loop is not _marker:\n raise TypeError(\n f'As of 3.10, the *loop* parameter was removed from '\n f'{type(self).__name__}() since it is no longer necessary'\n )\n def _get_loop(self):\n loop = events._get_running_loop()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.mixins", "documentation": {} }, { "label": "_global_lock", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.mixins", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.mixins", "peekOfCode": "_global_lock = threading.Lock()\n# Used as a sentinel for loop parameter\n_marker = object()\nclass _LoopBoundMixin:\n _loop = None\n def __init__(self, *, loop=_marker):\n if loop is not _marker:\n raise TypeError(\n f'As of 3.10, the *loop* parameter was removed from '\n f'{type(self).__name__}() since it is no longer necessary'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.mixins", "documentation": {} }, { "label": "_marker", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.mixins", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.mixins", "peekOfCode": "_marker = object()\nclass _LoopBoundMixin:\n _loop = None\n def __init__(self, *, loop=_marker):\n if loop is not _marker:\n raise TypeError(\n f'As of 3.10, the *loop* parameter was removed from '\n f'{type(self).__name__}() since it is no longer necessary'\n )\n def _get_loop(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.mixins", "documentation": {} }, { "label": "_ProactorBasePipeTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "peekOfCode": "class _ProactorBasePipeTransport(transports._FlowControlMixin,\n transports.BaseTransport):\n \"\"\"Base class for pipe and socket transports.\"\"\"\n def __init__(self, loop, sock, protocol, waiter=None,\n extra=None, server=None):\n super().__init__(extra, loop)\n self._set_extra(sock)\n self._sock = sock\n self.set_protocol(protocol)\n self._server = server", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "documentation": {} }, { "label": "_ProactorReadPipeTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "peekOfCode": "class _ProactorReadPipeTransport(_ProactorBasePipeTransport,\n transports.ReadTransport):\n \"\"\"Transport for read pipes.\"\"\"\n def __init__(self, loop, sock, protocol, waiter=None,\n extra=None, server=None, buffer_size=65536):\n self._pending_data_length = -1\n self._paused = True\n super().__init__(loop, sock, protocol, waiter, extra, server)\n self._data = bytearray(buffer_size)\n self._loop.call_soon(self._loop_reading)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "documentation": {} }, { "label": "_ProactorBaseWritePipeTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "peekOfCode": "class _ProactorBaseWritePipeTransport(_ProactorBasePipeTransport,\n transports.WriteTransport):\n \"\"\"Transport for write pipes.\"\"\"\n _start_tls_compatible = True\n def __init__(self, *args, **kw):\n super().__init__(*args, **kw)\n self._empty_waiter = None\n def write(self, data):\n if not isinstance(data, (bytes, bytearray, memoryview)):\n raise TypeError(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "documentation": {} }, { "label": "_ProactorWritePipeTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "peekOfCode": "class _ProactorWritePipeTransport(_ProactorBaseWritePipeTransport):\n def __init__(self, *args, **kw):\n super().__init__(*args, **kw)\n self._read_fut = self._loop._proactor.recv(self._sock, 16)\n self._read_fut.add_done_callback(self._pipe_closed)\n def _pipe_closed(self, fut):\n if fut.cancelled():\n # the transport has been closed\n return\n assert fut.result() == b''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "documentation": {} }, { "label": "_ProactorDatagramTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "peekOfCode": "class _ProactorDatagramTransport(_ProactorBasePipeTransport,\n transports.DatagramTransport):\n max_size = 256 * 1024\n def __init__(self, loop, sock, protocol, address=None,\n waiter=None, extra=None):\n self._address = address\n self._empty_waiter = None\n # We don't need to call _protocol.connection_made() since our base\n # constructor does it for us.\n super().__init__(loop, sock, protocol, waiter=waiter, extra=extra)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "documentation": {} }, { "label": "_ProactorDuplexPipeTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "peekOfCode": "class _ProactorDuplexPipeTransport(_ProactorReadPipeTransport,\n _ProactorBaseWritePipeTransport,\n transports.Transport):\n \"\"\"Transport for duplex pipes.\"\"\"\n def can_write_eof(self):\n return False\n def write_eof(self):\n raise NotImplementedError\nclass _ProactorSocketTransport(_ProactorReadPipeTransport,\n _ProactorBaseWritePipeTransport,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "documentation": {} }, { "label": "_ProactorSocketTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "peekOfCode": "class _ProactorSocketTransport(_ProactorReadPipeTransport,\n _ProactorBaseWritePipeTransport,\n transports.Transport):\n \"\"\"Transport for connected sockets.\"\"\"\n _sendfile_compatible = constants._SendfileMode.TRY_NATIVE\n def __init__(self, loop, sock, protocol, waiter=None,\n extra=None, server=None):\n super().__init__(loop, sock, protocol, waiter, extra, server)\n base_events._set_nodelay(sock)\n def _set_extra(self, sock):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "documentation": {} }, { "label": "BaseProactorEventLoop", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "peekOfCode": "class BaseProactorEventLoop(base_events.BaseEventLoop):\n def __init__(self, proactor):\n super().__init__()\n logger.debug('Using proactor: %s', proactor.__class__.__name__)\n self._proactor = proactor\n self._selector = proactor # convenient alias\n self._self_reading_future = None\n self._accept_futures = {} # socket file descriptor => Future\n proactor.set_loop(self)\n self._make_self_pipe()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "peekOfCode": "__all__ = 'BaseProactorEventLoop',\nimport io\nimport os\nimport socket\nimport warnings\nimport signal\nimport threading\nimport collections\nfrom . import base_events\nfrom . import constants", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.proactor_events", "documentation": {} }, { "label": "BaseProtocol", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.protocols", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.protocols", "peekOfCode": "class BaseProtocol:\n \"\"\"Common base class for protocol interfaces.\n Usually user implements protocols that derived from BaseProtocol\n like Protocol or ProcessProtocol.\n The only case when BaseProtocol should be implemented directly is\n write-only transport like write pipe\n \"\"\"\n __slots__ = ()\n def connection_made(self, transport):\n \"\"\"Called when a connection is made.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.protocols", "documentation": {} }, { "label": "Protocol", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.protocols", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.protocols", "peekOfCode": "class Protocol(BaseProtocol):\n \"\"\"Interface for stream protocol.\n The user should implement this interface. They can inherit from\n this class but don't need to. The implementations here do\n nothing (they don't raise exceptions).\n When the user wants to requests a transport, they pass a protocol\n factory to a utility function (e.g., EventLoop.create_connection()).\n When the connection is made successfully, connection_made() is\n called with a suitable transport object. Then data_received()\n will be called 0 or more times with data (bytes) received from the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.protocols", "documentation": {} }, { "label": "BufferedProtocol", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.protocols", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.protocols", "peekOfCode": "class BufferedProtocol(BaseProtocol):\n \"\"\"Interface for stream protocol with manual buffer control.\n Event methods, such as `create_server` and `create_connection`,\n accept factories that return protocols that implement this interface.\n The idea of BufferedProtocol is that it allows to manually allocate\n and control the receive buffer. Event loops can then use the buffer\n provided by the protocol to avoid unnecessary data copies. This\n can result in noticeable performance improvement for protocols that\n receive big amounts of data. Sophisticated protocols can allocate\n the buffer only once at creation time.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.protocols", "documentation": {} }, { "label": "DatagramProtocol", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.protocols", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.protocols", "peekOfCode": "class DatagramProtocol(BaseProtocol):\n \"\"\"Interface for datagram protocol.\"\"\"\n __slots__ = ()\n def datagram_received(self, data, addr):\n \"\"\"Called when some datagram is received.\"\"\"\n def error_received(self, exc):\n \"\"\"Called when a send or receive operation raises an OSError.\n (Other than BlockingIOError or InterruptedError.)\n \"\"\"\nclass SubprocessProtocol(BaseProtocol):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.protocols", "documentation": {} }, { "label": "SubprocessProtocol", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.protocols", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.protocols", "peekOfCode": "class SubprocessProtocol(BaseProtocol):\n \"\"\"Interface for protocol for subprocess calls.\"\"\"\n __slots__ = ()\n def pipe_data_received(self, fd, data):\n \"\"\"Called when the subprocess writes data into stdout/stderr pipe.\n fd is int file descriptor.\n data is bytes object.\n \"\"\"\n def pipe_connection_lost(self, fd, exc):\n \"\"\"Called when a file descriptor associated with the child process is", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.protocols", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.protocols", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.protocols", "peekOfCode": "__all__ = (\n 'BaseProtocol', 'Protocol', 'DatagramProtocol',\n 'SubprocessProtocol', 'BufferedProtocol',\n)\nclass BaseProtocol:\n \"\"\"Common base class for protocol interfaces.\n Usually user implements protocols that derived from BaseProtocol\n like Protocol or ProcessProtocol.\n The only case when BaseProtocol should be implemented directly is\n write-only transport like write pipe", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.protocols", "documentation": {} }, { "label": "QueueEmpty", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.queues", "peekOfCode": "class QueueEmpty(Exception):\n \"\"\"Raised when Queue.get_nowait() is called on an empty Queue.\"\"\"\n pass\nclass QueueFull(Exception):\n \"\"\"Raised when the Queue.put_nowait() method is called on a full Queue.\"\"\"\n pass\nclass Queue(mixins._LoopBoundMixin):\n \"\"\"A queue, useful for coordinating producer and consumer coroutines.\n If maxsize is less than or equal to zero, the queue size is infinite. If it\n is an integer greater than 0, then \"await put()\" will block when the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.queues", "documentation": {} }, { "label": "QueueFull", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.queues", "peekOfCode": "class QueueFull(Exception):\n \"\"\"Raised when the Queue.put_nowait() method is called on a full Queue.\"\"\"\n pass\nclass Queue(mixins._LoopBoundMixin):\n \"\"\"A queue, useful for coordinating producer and consumer coroutines.\n If maxsize is less than or equal to zero, the queue size is infinite. If it\n is an integer greater than 0, then \"await put()\" will block when the\n queue reaches maxsize, until an item is removed by get().\n Unlike the standard library Queue, you can reliably know this Queue's size\n with qsize(), since your single-threaded asyncio application won't be", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.queues", "documentation": {} }, { "label": "Queue", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.queues", "peekOfCode": "class Queue(mixins._LoopBoundMixin):\n \"\"\"A queue, useful for coordinating producer and consumer coroutines.\n If maxsize is less than or equal to zero, the queue size is infinite. If it\n is an integer greater than 0, then \"await put()\" will block when the\n queue reaches maxsize, until an item is removed by get().\n Unlike the standard library Queue, you can reliably know this Queue's size\n with qsize(), since your single-threaded asyncio application won't be\n interrupted between calling qsize() and doing an operation on the Queue.\n \"\"\"\n def __init__(self, maxsize=0, *, loop=mixins._marker):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.queues", "documentation": {} }, { "label": "PriorityQueue", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.queues", "peekOfCode": "class PriorityQueue(Queue):\n \"\"\"A subclass of Queue; retrieves entries in priority order (lowest first).\n Entries are typically tuples of the form: (priority number, data).\n \"\"\"\n def _init(self, maxsize):\n self._queue = []\n def _put(self, item, heappush=heapq.heappush):\n heappush(self._queue, item)\n def _get(self, heappop=heapq.heappop):\n return heappop(self._queue)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.queues", "documentation": {} }, { "label": "LifoQueue", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.queues", "peekOfCode": "class LifoQueue(Queue):\n \"\"\"A subclass of Queue that retrieves most recently added entries first.\"\"\"\n def _init(self, maxsize):\n self._queue = []\n def _put(self, item):\n self._queue.append(item)\n def _get(self):\n return self._queue.pop()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.queues", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.queues", "peekOfCode": "__all__ = ('Queue', 'PriorityQueue', 'LifoQueue', 'QueueFull', 'QueueEmpty')\nimport collections\nimport heapq\nfrom types import GenericAlias\nfrom . import locks\nfrom . import mixins\nclass QueueEmpty(Exception):\n \"\"\"Raised when Queue.get_nowait() is called on an empty Queue.\"\"\"\n pass\nclass QueueFull(Exception):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.queues", "documentation": {} }, { "label": "run", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.runners", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.runners", "peekOfCode": "def run(main, *, debug=None):\n \"\"\"Execute the coroutine and return the result.\n This function runs the passed coroutine, taking care of\n managing the asyncio event loop and finalizing asynchronous\n generators.\n This function cannot be called when another asyncio event loop is\n running in the same thread.\n If debug is True, the event loop will be run in debug mode.\n This function always creates a new event loop and closes it at the end.\n It should be used as a main entry point for asyncio programs, and should", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.runners", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.runners", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.runners", "peekOfCode": "__all__ = 'run',\nfrom . import coroutines\nfrom . import events\nfrom . import tasks\ndef run(main, *, debug=None):\n \"\"\"Execute the coroutine and return the result.\n This function runs the passed coroutine, taking care of\n managing the asyncio event loop and finalizing asynchronous\n generators.\n This function cannot be called when another asyncio event loop is", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.runners", "documentation": {} }, { "label": "BaseSelectorEventLoop", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.selector_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.selector_events", "peekOfCode": "class BaseSelectorEventLoop(base_events.BaseEventLoop):\n \"\"\"Selector event loop.\n See events.EventLoop for API specification.\n \"\"\"\n def __init__(self, selector=None):\n super().__init__()\n if selector is None:\n selector = selectors.DefaultSelector()\n logger.debug('Using selector: %s', selector.__class__.__name__)\n self._selector = selector", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.selector_events", "documentation": {} }, { "label": "_SelectorTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.selector_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.selector_events", "peekOfCode": "class _SelectorTransport(transports._FlowControlMixin,\n transports.Transport):\n max_size = 256 * 1024 # Buffer size passed to recv().\n _buffer_factory = bytearray # Constructs initial value for self._buffer.\n # Attribute used in the destructor: it must be set even if the constructor\n # is not called (see _SelectorSslTransport which may start by raising an\n # exception)\n _sock = None\n def __init__(self, loop, sock, protocol, extra=None, server=None):\n super().__init__(extra, loop)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.selector_events", "documentation": {} }, { "label": "_SelectorSocketTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.selector_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.selector_events", "peekOfCode": "class _SelectorSocketTransport(_SelectorTransport):\n _start_tls_compatible = True\n _sendfile_compatible = constants._SendfileMode.TRY_NATIVE\n def __init__(self, loop, sock, protocol, waiter=None,\n extra=None, server=None):\n self._read_ready_cb = None\n super().__init__(loop, sock, protocol, extra, server)\n self._eof = False\n self._paused = False\n self._empty_waiter = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.selector_events", "documentation": {} }, { "label": "_SelectorDatagramTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.selector_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.selector_events", "peekOfCode": "class _SelectorDatagramTransport(_SelectorTransport):\n _buffer_factory = collections.deque\n def __init__(self, loop, sock, protocol, address=None,\n waiter=None, extra=None):\n super().__init__(loop, sock, protocol, extra)\n self._address = address\n self._loop.call_soon(self._protocol.connection_made, self)\n # only start reading when connection_made() has been called\n self._loop.call_soon(self._add_reader,\n self._sock_fd, self._read_ready)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.selector_events", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.selector_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.selector_events", "peekOfCode": "__all__ = 'BaseSelectorEventLoop',\nimport collections\nimport errno\nimport functools\nimport selectors\nimport socket\nimport warnings\nimport weakref\ntry:\n import ssl", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.selector_events", "documentation": {} }, { "label": "_SSLPipe", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "peekOfCode": "class _SSLPipe(object):\n \"\"\"An SSL \"Pipe\".\n An SSL pipe allows you to communicate with an SSL/TLS protocol instance\n through memory buffers. It can be used to implement a security layer for an\n existing connection where you don't have access to the connection's file\n descriptor, or for some reason you don't want to use it.\n An SSL pipe can be in \"wrapped\" and \"unwrapped\" mode. In unwrapped mode,\n data is passed through untransformed. In wrapped mode, application level\n data is encrypted to SSL record level data and vice versa. The SSL record\n level is the lowest level in the SSL protocol suite and is what travels", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "documentation": {} }, { "label": "_SSLProtocolTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "peekOfCode": "class _SSLProtocolTransport(transports._FlowControlMixin,\n transports.Transport):\n _sendfile_compatible = constants._SendfileMode.FALLBACK\n def __init__(self, loop, ssl_protocol):\n self._loop = loop\n # SSLProtocol instance\n self._ssl_protocol = ssl_protocol\n self._closed = False\n def get_extra_info(self, name, default=None):\n \"\"\"Get optional transport information.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "documentation": {} }, { "label": "SSLProtocol", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "peekOfCode": "class SSLProtocol(protocols.Protocol):\n \"\"\"SSL protocol.\n Implementation of SSL on top of a socket using incoming and outgoing\n buffers which are ssl.MemoryBIO objects.\n \"\"\"\n def __init__(self, loop, app_protocol, sslcontext, waiter,\n server_side=False, server_hostname=None,\n call_connection_made=True,\n ssl_handshake_timeout=None):\n if ssl is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "documentation": {} }, { "label": "_UNWRAPPED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "peekOfCode": "_UNWRAPPED = \"UNWRAPPED\"\n_DO_HANDSHAKE = \"DO_HANDSHAKE\"\n_WRAPPED = \"WRAPPED\"\n_SHUTDOWN = \"SHUTDOWN\"\nclass _SSLPipe(object):\n \"\"\"An SSL \"Pipe\".\n An SSL pipe allows you to communicate with an SSL/TLS protocol instance\n through memory buffers. It can be used to implement a security layer for an\n existing connection where you don't have access to the connection's file\n descriptor, or for some reason you don't want to use it.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "documentation": {} }, { "label": "_DO_HANDSHAKE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "peekOfCode": "_DO_HANDSHAKE = \"DO_HANDSHAKE\"\n_WRAPPED = \"WRAPPED\"\n_SHUTDOWN = \"SHUTDOWN\"\nclass _SSLPipe(object):\n \"\"\"An SSL \"Pipe\".\n An SSL pipe allows you to communicate with an SSL/TLS protocol instance\n through memory buffers. It can be used to implement a security layer for an\n existing connection where you don't have access to the connection's file\n descriptor, or for some reason you don't want to use it.\n An SSL pipe can be in \"wrapped\" and \"unwrapped\" mode. In unwrapped mode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "documentation": {} }, { "label": "_WRAPPED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "peekOfCode": "_WRAPPED = \"WRAPPED\"\n_SHUTDOWN = \"SHUTDOWN\"\nclass _SSLPipe(object):\n \"\"\"An SSL \"Pipe\".\n An SSL pipe allows you to communicate with an SSL/TLS protocol instance\n through memory buffers. It can be used to implement a security layer for an\n existing connection where you don't have access to the connection's file\n descriptor, or for some reason you don't want to use it.\n An SSL pipe can be in \"wrapped\" and \"unwrapped\" mode. In unwrapped mode,\n data is passed through untransformed. In wrapped mode, application level", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "documentation": {} }, { "label": "_SHUTDOWN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "peekOfCode": "_SHUTDOWN = \"SHUTDOWN\"\nclass _SSLPipe(object):\n \"\"\"An SSL \"Pipe\".\n An SSL pipe allows you to communicate with an SSL/TLS protocol instance\n through memory buffers. It can be used to implement a security layer for an\n existing connection where you don't have access to the connection's file\n descriptor, or for some reason you don't want to use it.\n An SSL pipe can be in \"wrapped\" and \"unwrapped\" mode. In unwrapped mode,\n data is passed through untransformed. In wrapped mode, application level\n data is encrypted to SSL record level data and vice versa. The SSL record", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.sslproto", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.staggered", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.staggered", "peekOfCode": "__all__ = 'staggered_race',\nimport contextlib\nimport typing\nfrom . import events\nfrom . import exceptions as exceptions_mod\nfrom . import locks\nfrom . import tasks\nasync def staggered_race(\n coro_fns: typing.Iterable[typing.Callable[[], typing.Awaitable]],\n delay: typing.Optional[float],", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.staggered", "documentation": {} }, { "label": "FlowControlMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.streams", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.streams", "peekOfCode": "class FlowControlMixin(protocols.Protocol):\n \"\"\"Reusable flow control logic for StreamWriter.drain().\n This implements the protocol methods pause_writing(),\n resume_writing() and connection_lost(). If the subclass overrides\n these it must call the super methods.\n StreamWriter.drain() must wait for _drain_helper() coroutine.\n \"\"\"\n def __init__(self, loop=None):\n if loop is None:\n self._loop = events._get_event_loop(stacklevel=4)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.streams", "documentation": {} }, { "label": "StreamReaderProtocol", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.streams", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.streams", "peekOfCode": "class StreamReaderProtocol(FlowControlMixin, protocols.Protocol):\n \"\"\"Helper class to adapt between Protocol and StreamReader.\n (This is a helper class instead of making StreamReader itself a\n Protocol subclass, because the StreamReader has other potential\n uses, and to prevent the user of the StreamReader to accidentally\n call inappropriate methods of the protocol.)\n \"\"\"\n _source_traceback = None\n def __init__(self, stream_reader, client_connected_cb=None, loop=None):\n super().__init__(loop=loop)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.streams", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.streams", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.streams", "peekOfCode": "class StreamWriter:\n \"\"\"Wraps a Transport.\n This exposes write(), writelines(), [can_]write_eof(),\n get_extra_info() and close(). It adds drain() which returns an\n optional Future on which you can wait for flow control. It also\n adds a transport property which references the Transport\n directly.\n \"\"\"\n def __init__(self, transport, protocol, reader, loop):\n self._transport = transport", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.streams", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.streams", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.streams", "peekOfCode": "class StreamReader:\n _source_traceback = None\n def __init__(self, limit=_DEFAULT_LIMIT, loop=None):\n # The line length limit is a security feature;\n # it also doubles as half the buffer limit.\n if limit <= 0:\n raise ValueError('Limit cannot be <= 0')\n self._limit = limit\n if loop is None:\n self._loop = events._get_event_loop()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.streams", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.streams", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.streams", "peekOfCode": "__all__ = (\n 'StreamReader', 'StreamWriter', 'StreamReaderProtocol',\n 'open_connection', 'start_server')\nimport socket\nimport sys\nimport warnings\nimport weakref\nif hasattr(socket, 'AF_UNIX'):\n __all__ += ('open_unix_connection', 'start_unix_server')\nfrom . import coroutines", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.streams", "documentation": {} }, { "label": "_DEFAULT_LIMIT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.streams", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.streams", "peekOfCode": "_DEFAULT_LIMIT = 2 ** 16 # 64 KiB\nasync def open_connection(host=None, port=None, *,\n limit=_DEFAULT_LIMIT, **kwds):\n \"\"\"A wrapper for create_connection() returning a (reader, writer) pair.\n The reader returned is a StreamReader instance; the writer is a\n StreamWriter instance.\n The arguments are all the usual arguments to create_connection()\n except protocol_factory; most common are positional host and port,\n with various optional keyword arguments following.\n Additional optional keyword arguments are loop (to set the event loop", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.streams", "documentation": {} }, { "label": "SubprocessStreamProtocol", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.subprocess", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.subprocess", "peekOfCode": "class SubprocessStreamProtocol(streams.FlowControlMixin,\n protocols.SubprocessProtocol):\n \"\"\"Like StreamReaderProtocol, but for a subprocess.\"\"\"\n def __init__(self, limit, loop):\n super().__init__(loop=loop)\n self._limit = limit\n self.stdin = self.stdout = self.stderr = None\n self._transport = None\n self._process_exited = False\n self._pipe_fds = []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.subprocess", "documentation": {} }, { "label": "Process", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.subprocess", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.subprocess", "peekOfCode": "class Process:\n def __init__(self, transport, protocol, loop):\n self._transport = transport\n self._protocol = protocol\n self._loop = loop\n self.stdin = protocol.stdin\n self.stdout = protocol.stdout\n self.stderr = protocol.stderr\n self.pid = transport.get_pid()\n def __repr__(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.subprocess", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.subprocess", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.subprocess", "peekOfCode": "__all__ = 'create_subprocess_exec', 'create_subprocess_shell'\nimport subprocess\nfrom . import events\nfrom . import protocols\nfrom . import streams\nfrom . import tasks\nfrom .log import logger\nPIPE = subprocess.PIPE\nSTDOUT = subprocess.STDOUT\nDEVNULL = subprocess.DEVNULL", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.subprocess", "documentation": {} }, { "label": "PIPE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.subprocess", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.subprocess", "peekOfCode": "PIPE = subprocess.PIPE\nSTDOUT = subprocess.STDOUT\nDEVNULL = subprocess.DEVNULL\nclass SubprocessStreamProtocol(streams.FlowControlMixin,\n protocols.SubprocessProtocol):\n \"\"\"Like StreamReaderProtocol, but for a subprocess.\"\"\"\n def __init__(self, limit, loop):\n super().__init__(loop=loop)\n self._limit = limit\n self.stdin = self.stdout = self.stderr = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.subprocess", "documentation": {} }, { "label": "STDOUT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.subprocess", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.subprocess", "peekOfCode": "STDOUT = subprocess.STDOUT\nDEVNULL = subprocess.DEVNULL\nclass SubprocessStreamProtocol(streams.FlowControlMixin,\n protocols.SubprocessProtocol):\n \"\"\"Like StreamReaderProtocol, but for a subprocess.\"\"\"\n def __init__(self, limit, loop):\n super().__init__(loop=loop)\n self._limit = limit\n self.stdin = self.stdout = self.stderr = None\n self._transport = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.subprocess", "documentation": {} }, { "label": "DEVNULL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.subprocess", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.subprocess", "peekOfCode": "DEVNULL = subprocess.DEVNULL\nclass SubprocessStreamProtocol(streams.FlowControlMixin,\n protocols.SubprocessProtocol):\n \"\"\"Like StreamReaderProtocol, but for a subprocess.\"\"\"\n def __init__(self, limit, loop):\n super().__init__(loop=loop)\n self._limit = limit\n self.stdin = self.stdout = self.stderr = None\n self._transport = None\n self._process_exited = False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.subprocess", "documentation": {} }, { "label": "Task", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "class Task(futures._PyFuture): # Inherit Python Task implementation\n # from a Python Future implementation.\n \"\"\"A coroutine wrapped in a Future.\"\"\"\n # An important invariant maintained while a Task not done:\n #\n # - Either _fut_waiter is None, and _step() is scheduled;\n # - or _fut_waiter is some Future, and _step() is *not* scheduled.\n #\n # The only transition from the latter to the former is through\n # _wakeup(). When _fut_waiter is not None, one of its callbacks", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "_GatheringFuture", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "class _GatheringFuture(futures.Future):\n \"\"\"Helper for gather().\n This overrides cancel() to cancel all the children and act more\n like Task.cancel(), which doesn't immediately mark itself as\n cancelled.\n \"\"\"\n def __init__(self, children, *, loop):\n assert loop is not None\n super().__init__(loop=loop)\n self._children = children", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "current_task", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "def current_task(loop=None):\n \"\"\"Return a currently executed task.\"\"\"\n if loop is None:\n loop = events.get_running_loop()\n return _current_tasks.get(loop)\ndef all_tasks(loop=None):\n \"\"\"Return a set of all tasks for the loop.\"\"\"\n if loop is None:\n loop = events.get_running_loop()\n # Looping over a WeakSet (_all_tasks) isn't safe as it can be updated from another", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "all_tasks", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "def all_tasks(loop=None):\n \"\"\"Return a set of all tasks for the loop.\"\"\"\n if loop is None:\n loop = events.get_running_loop()\n # Looping over a WeakSet (_all_tasks) isn't safe as it can be updated from another\n # thread while we do so. Therefore we cast it to list prior to filtering. The list\n # cast itself requires iteration, so we repeat it several times ignoring\n # RuntimeErrors (which are not very likely to occur). See issues 34970 and 36607 for\n # details.\n i = 0", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "create_task", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "def create_task(coro, *, name=None):\n \"\"\"Schedule the execution of a coroutine object in a spawn task.\n Return a Task object.\n \"\"\"\n loop = events.get_running_loop()\n task = loop.create_task(coro)\n _set_task_name(task, name)\n return task\n# wait() and as_completed() similar to those in PEP 3148.\nFIRST_COMPLETED = concurrent.futures.FIRST_COMPLETED", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "as_completed", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "def as_completed(fs, *, timeout=None):\n \"\"\"Return an iterator whose values are coroutines.\n When waiting for the yielded coroutines you'll get the results (or\n exceptions!) of the original Futures (or coroutines), in the order\n in which and as soon as they complete.\n This differs from PEP 3148; the proper way to use this is:\n for f in as_completed(fs):\n result = await f # The 'await' may raise.\n # Use result.\n If a timeout is specified, the 'await' will raise", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "ensure_future", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "def ensure_future(coro_or_future, *, loop=None):\n \"\"\"Wrap a coroutine or an awaitable in a future.\n If the argument is a Future, it is returned directly.\n \"\"\"\n return _ensure_future(coro_or_future, loop=loop)\ndef _ensure_future(coro_or_future, *, loop=None):\n if futures.isfuture(coro_or_future):\n if loop is not None and loop is not futures._get_loop(coro_or_future):\n raise ValueError('The future belongs to a different loop than '\n 'the one specified as the loop argument')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "gather", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "def gather(*coros_or_futures, return_exceptions=False):\n \"\"\"Return a future aggregating results from the given coroutines/futures.\n Coroutines will be wrapped in a future and scheduled in the event\n loop. They will not necessarily be scheduled in the same order as\n passed in.\n All futures must share the same event loop. If all the tasks are\n done successfully, the returned future's result is the list of\n results (in the order of the original sequence, not necessarily\n the order of results arrival). If *return_exceptions* is True,\n exceptions in the tasks are treated the same as successful", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "shield", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "def shield(arg):\n \"\"\"Wait for a future, shielding it from cancellation.\n The statement\n res = await shield(something())\n is exactly equivalent to the statement\n res = await something()\n *except* that if the coroutine containing it is cancelled, the\n task running in something() is not cancelled. From the POV of\n something(), the cancellation did not happen. But its caller is\n still cancelled, so the yield-from expression still raises", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "run_coroutine_threadsafe", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "def run_coroutine_threadsafe(coro, loop):\n \"\"\"Submit a coroutine object to a given event loop.\n Return a concurrent.futures.Future to access the result.\n \"\"\"\n if not coroutines.iscoroutine(coro):\n raise TypeError('A coroutine object is required')\n future = concurrent.futures.Future()\n def callback():\n try:\n futures._chain_future(ensure_future(coro, loop=loop), future)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "__all__ = (\n 'Task', 'create_task',\n 'FIRST_COMPLETED', 'FIRST_EXCEPTION', 'ALL_COMPLETED',\n 'wait', 'wait_for', 'as_completed', 'sleep',\n 'gather', 'shield', 'ensure_future', 'run_coroutine_threadsafe',\n 'current_task', 'all_tasks',\n '_register_task', '_unregister_task', '_enter_task', '_leave_task',\n)\nimport concurrent.futures\nimport contextvars", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "_task_name_counter", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "_task_name_counter = itertools.count(1).__next__\ndef current_task(loop=None):\n \"\"\"Return a currently executed task.\"\"\"\n if loop is None:\n loop = events.get_running_loop()\n return _current_tasks.get(loop)\ndef all_tasks(loop=None):\n \"\"\"Return a set of all tasks for the loop.\"\"\"\n if loop is None:\n loop = events.get_running_loop()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "_PyTask", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "_PyTask = Task\ntry:\n import _asyncio\nexcept ImportError:\n pass\nelse:\n # _CTask is needed for tests.\n Task = _CTask = _asyncio.Task\ndef create_task(coro, *, name=None):\n \"\"\"Schedule the execution of a coroutine object in a spawn task.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "FIRST_COMPLETED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "FIRST_COMPLETED = concurrent.futures.FIRST_COMPLETED\nFIRST_EXCEPTION = concurrent.futures.FIRST_EXCEPTION\nALL_COMPLETED = concurrent.futures.ALL_COMPLETED\nasync def wait(fs, *, timeout=None, return_when=ALL_COMPLETED):\n \"\"\"Wait for the Futures and coroutines given by fs to complete.\n The fs iterable must not be empty.\n Coroutines will be wrapped in Tasks.\n Returns two sets of Future: (done, pending).\n Usage:\n done, pending = await asyncio.wait(fs)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "FIRST_EXCEPTION", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "FIRST_EXCEPTION = concurrent.futures.FIRST_EXCEPTION\nALL_COMPLETED = concurrent.futures.ALL_COMPLETED\nasync def wait(fs, *, timeout=None, return_when=ALL_COMPLETED):\n \"\"\"Wait for the Futures and coroutines given by fs to complete.\n The fs iterable must not be empty.\n Coroutines will be wrapped in Tasks.\n Returns two sets of Future: (done, pending).\n Usage:\n done, pending = await asyncio.wait(fs)\n Note: This does not raise TimeoutError! Futures that aren't done", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "ALL_COMPLETED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "ALL_COMPLETED = concurrent.futures.ALL_COMPLETED\nasync def wait(fs, *, timeout=None, return_when=ALL_COMPLETED):\n \"\"\"Wait for the Futures and coroutines given by fs to complete.\n The fs iterable must not be empty.\n Coroutines will be wrapped in Tasks.\n Returns two sets of Future: (done, pending).\n Usage:\n done, pending = await asyncio.wait(fs)\n Note: This does not raise TimeoutError! Futures that aren't done\n when the timeout occurs are returned in the second set.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "_wrap_awaitable._is_coroutine", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "_wrap_awaitable._is_coroutine = _is_coroutine\nclass _GatheringFuture(futures.Future):\n \"\"\"Helper for gather().\n This overrides cancel() to cancel all the children and act more\n like Task.cancel(), which doesn't immediately mark itself as\n cancelled.\n \"\"\"\n def __init__(self, children, *, loop):\n assert loop is not None\n super().__init__(loop=loop)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "_all_tasks", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "_all_tasks = weakref.WeakSet()\n# Dictionary containing tasks that are currently active in\n# all running event loops. {EventLoop: Task}\n_current_tasks = {}\ndef _register_task(task):\n \"\"\"Register a new task in asyncio as executed by loop.\"\"\"\n _all_tasks.add(task)\ndef _enter_task(loop, task):\n current_task = _current_tasks.get(loop)\n if current_task is not None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "_current_tasks", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "_current_tasks = {}\ndef _register_task(task):\n \"\"\"Register a new task in asyncio as executed by loop.\"\"\"\n _all_tasks.add(task)\ndef _enter_task(loop, task):\n current_task = _current_tasks.get(loop)\n if current_task is not None:\n raise RuntimeError(f\"Cannot enter into task {task!r} while another \"\n f\"task {current_task!r} is being executed.\")\n _current_tasks[loop] = task", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "_py_register_task", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "_py_register_task = _register_task\n_py_unregister_task = _unregister_task\n_py_enter_task = _enter_task\n_py_leave_task = _leave_task\ntry:\n from _asyncio import (_register_task, _unregister_task,\n _enter_task, _leave_task,\n _all_tasks, _current_tasks)\nexcept ImportError:\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "_py_unregister_task", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "_py_unregister_task = _unregister_task\n_py_enter_task = _enter_task\n_py_leave_task = _leave_task\ntry:\n from _asyncio import (_register_task, _unregister_task,\n _enter_task, _leave_task,\n _all_tasks, _current_tasks)\nexcept ImportError:\n pass\nelse:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "_py_enter_task", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "_py_enter_task = _enter_task\n_py_leave_task = _leave_task\ntry:\n from _asyncio import (_register_task, _unregister_task,\n _enter_task, _leave_task,\n _all_tasks, _current_tasks)\nexcept ImportError:\n pass\nelse:\n _c_register_task = _register_task", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "_py_leave_task", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "peekOfCode": "_py_leave_task = _leave_task\ntry:\n from _asyncio import (_register_task, _unregister_task,\n _enter_task, _leave_task,\n _all_tasks, _current_tasks)\nexcept ImportError:\n pass\nelse:\n _c_register_task = _register_task\n _c_unregister_task = _unregister_task", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.tasks", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.threads", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.threads", "peekOfCode": "__all__ = \"to_thread\",\nasync def to_thread(func, /, *args, **kwargs):\n \"\"\"Asynchronously run function *func* in a separate thread.\n Any *args and **kwargs supplied for this function are directly passed\n to *func*. Also, the current :class:`contextvars.Context` is propagated,\n allowing context variables from the main thread to be accessed in the\n separate thread.\n Return a coroutine that can be awaited to get the eventual result of *func*.\n \"\"\"\n loop = events.get_running_loop()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.threads", "documentation": {} }, { "label": "BaseTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "peekOfCode": "class BaseTransport:\n \"\"\"Base class for transports.\"\"\"\n __slots__ = ('_extra',)\n def __init__(self, extra=None):\n if extra is None:\n extra = {}\n self._extra = extra\n def get_extra_info(self, name, default=None):\n \"\"\"Get optional transport information.\"\"\"\n return self._extra.get(name, default)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "documentation": {} }, { "label": "ReadTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "peekOfCode": "class ReadTransport(BaseTransport):\n \"\"\"Interface for read-only transports.\"\"\"\n __slots__ = ()\n def is_reading(self):\n \"\"\"Return True if the transport is receiving.\"\"\"\n raise NotImplementedError\n def pause_reading(self):\n \"\"\"Pause the receiving end.\n No data will be passed to the protocol's data_received()\n method until resume_reading() is called.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "documentation": {} }, { "label": "WriteTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "peekOfCode": "class WriteTransport(BaseTransport):\n \"\"\"Interface for write-only transports.\"\"\"\n __slots__ = ()\n def set_write_buffer_limits(self, high=None, low=None):\n \"\"\"Set the high- and low-water limits for write flow control.\n These two values control when to call the protocol's\n pause_writing() and resume_writing() methods. If specified,\n the low-water limit must be less than or equal to the\n high-water limit. Neither value can be negative.\n The defaults are implementation-specific. If only the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "documentation": {} }, { "label": "Transport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "peekOfCode": "class Transport(ReadTransport, WriteTransport):\n \"\"\"Interface representing a bidirectional transport.\n There may be several implementations, but typically, the user does\n not implement new transports; rather, the platform provides some\n useful transports that are implemented using the platform's best\n practices.\n The user never instantiates a transport directly; they call a\n utility function, passing it a protocol factory and other\n information necessary to create the transport and protocol. (E.g.\n EventLoop.create_connection() or EventLoop.create_server().)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "documentation": {} }, { "label": "DatagramTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "peekOfCode": "class DatagramTransport(BaseTransport):\n \"\"\"Interface for datagram (UDP) transports.\"\"\"\n __slots__ = ()\n def sendto(self, data, addr=None):\n \"\"\"Send data to the transport.\n This does not block; it buffers the data and arranges for it\n to be sent out asynchronously.\n addr is target socket address.\n If addr is None use target address pointed on transport creation.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "documentation": {} }, { "label": "SubprocessTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "peekOfCode": "class SubprocessTransport(BaseTransport):\n __slots__ = ()\n def get_pid(self):\n \"\"\"Get subprocess id.\"\"\"\n raise NotImplementedError\n def get_returncode(self):\n \"\"\"Get subprocess returncode.\n See also\n http://docs.python.org/3/library/subprocess#subprocess.Popen.returncode\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "documentation": {} }, { "label": "_FlowControlMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "peekOfCode": "class _FlowControlMixin(Transport):\n \"\"\"All the logic for (write) flow control in a mix-in base class.\n The subclass must implement get_write_buffer_size(). It must call\n _maybe_pause_protocol() whenever the write buffer size increases,\n and _maybe_resume_protocol() whenever it decreases. It may also\n override set_write_buffer_limits() (e.g. to specify different\n defaults).\n The subclass constructor must call super().__init__(extra). This\n will call set_write_buffer_limits().\n The user may call set_write_buffer_limits() and", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "peekOfCode": "__all__ = (\n 'BaseTransport', 'ReadTransport', 'WriteTransport',\n 'Transport', 'DatagramTransport', 'SubprocessTransport',\n)\nclass BaseTransport:\n \"\"\"Base class for transports.\"\"\"\n __slots__ = ('_extra',)\n def __init__(self, extra=None):\n if extra is None:\n extra = {}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.transports", "documentation": {} }, { "label": "TransportSocket", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.trsock", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.trsock", "peekOfCode": "class TransportSocket:\n \"\"\"A socket-like wrapper for exposing real transport sockets.\n These objects can be safely returned by APIs like\n `transport.get_extra_info('socket')`. All potentially disruptive\n operations (like \"socket.close()\") are banned.\n \"\"\"\n __slots__ = ('_sock',)\n def __init__(self, sock: socket.socket):\n self._sock = sock\n def _na(self, what):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.trsock", "documentation": {} }, { "label": "_UnixSelectorEventLoop", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "peekOfCode": "class _UnixSelectorEventLoop(selector_events.BaseSelectorEventLoop):\n \"\"\"Unix event loop.\n Adds signal handling and UNIX Domain Socket support to SelectorEventLoop.\n \"\"\"\n def __init__(self, selector=None):\n super().__init__(selector)\n self._signal_handlers = {}\n def close(self):\n super().close()\n if not sys.is_finalizing():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "documentation": {} }, { "label": "_UnixReadPipeTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "peekOfCode": "class _UnixReadPipeTransport(transports.ReadTransport):\n max_size = 256 * 1024 # max bytes we read in one event loop iteration\n def __init__(self, loop, pipe, protocol, waiter=None, extra=None):\n super().__init__(extra)\n self._extra['pipe'] = pipe\n self._loop = loop\n self._pipe = pipe\n self._fileno = pipe.fileno()\n self._protocol = protocol\n self._closing = False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "documentation": {} }, { "label": "_UnixWritePipeTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "peekOfCode": "class _UnixWritePipeTransport(transports._FlowControlMixin,\n transports.WriteTransport):\n def __init__(self, loop, pipe, protocol, waiter=None, extra=None):\n super().__init__(extra, loop)\n self._extra['pipe'] = pipe\n self._pipe = pipe\n self._fileno = pipe.fileno()\n self._protocol = protocol\n self._buffer = bytearray()\n self._conn_lost = 0", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "documentation": {} }, { "label": "_UnixSubprocessTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "peekOfCode": "class _UnixSubprocessTransport(base_subprocess.BaseSubprocessTransport):\n def _start(self, args, shell, stdin, stdout, stderr, bufsize, **kwargs):\n stdin_w = None\n if stdin == subprocess.PIPE:\n # Use a socket pair for stdin, since not all platforms\n # support selecting read events on the write end of a\n # socket (which we use in order to detect closing of the\n # other end). Notably this is needed on AIX, and works\n # just fine on other platforms.\n stdin, stdin_w = socket.socketpair()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "documentation": {} }, { "label": "AbstractChildWatcher", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "peekOfCode": "class AbstractChildWatcher:\n \"\"\"Abstract base class for monitoring child processes.\n Objects derived from this class monitor a collection of subprocesses and\n report their termination or interruption by a signal.\n New callbacks are registered with .add_child_handler(). Starting a new\n process must be done within a 'with' block to allow the watcher to suspend\n its activity until the new process if fully registered (this is needed to\n prevent a race condition in some implementations).\n Example:\n with watcher:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "documentation": {} }, { "label": "PidfdChildWatcher", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "peekOfCode": "class PidfdChildWatcher(AbstractChildWatcher):\n \"\"\"Child watcher implementation using Linux's pid file descriptors.\n This child watcher polls process file descriptors (pidfds) to await child\n process termination. In some respects, PidfdChildWatcher is a \"Goldilocks\"\n child watcher implementation. It doesn't require signals or threads, doesn't\n interfere with any processes launched outside the event loop, and scales\n linearly with the number of subprocesses launched by the event loop. The\n main disadvantage is that pidfds are specific to Linux, and only work on\n recent (5.3+) kernels.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "documentation": {} }, { "label": "BaseChildWatcher", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "peekOfCode": "class BaseChildWatcher(AbstractChildWatcher):\n def __init__(self):\n self._loop = None\n self._callbacks = {}\n def close(self):\n self.attach_loop(None)\n def is_active(self):\n return self._loop is not None and self._loop.is_running()\n def _do_waitpid(self, expected_pid):\n raise NotImplementedError()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "documentation": {} }, { "label": "SafeChildWatcher", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "peekOfCode": "class SafeChildWatcher(BaseChildWatcher):\n \"\"\"'Safe' child watcher implementation.\n This implementation avoids disrupting other code spawning processes by\n polling explicitly each process in the SIGCHLD handler instead of calling\n os.waitpid(-1).\n This is a safe solution but it has a significant overhead when handling a\n big number of children (O(n) each time SIGCHLD is raised)\n \"\"\"\n def close(self):\n self._callbacks.clear()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "documentation": {} }, { "label": "FastChildWatcher", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "peekOfCode": "class FastChildWatcher(BaseChildWatcher):\n \"\"\"'Fast' child watcher implementation.\n This implementation reaps every terminated processes by calling\n os.waitpid(-1) directly, possibly breaking other code spawning processes\n and waiting for their termination.\n There is no noticeable overhead when handling a big number of children\n (O(1) each time a child terminates).\n \"\"\"\n def __init__(self):\n super().__init__()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "documentation": {} }, { "label": "MultiLoopChildWatcher", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "peekOfCode": "class MultiLoopChildWatcher(AbstractChildWatcher):\n \"\"\"A watcher that doesn't require running loop in the main thread.\n This implementation registers a SIGCHLD signal handler on\n instantiation (which may conflict with other code that\n install own handler for this signal).\n The solution is safe but it has a significant overhead when\n handling a big number of processes (*O(n)* each time a\n SIGCHLD is received).\n \"\"\"\n # Implementation note:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "documentation": {} }, { "label": "ThreadedChildWatcher", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "peekOfCode": "class ThreadedChildWatcher(AbstractChildWatcher):\n \"\"\"Threaded child watcher implementation.\n The watcher uses a thread per process\n for waiting for the process finish.\n It doesn't require subscription on POSIX signal\n but a thread creation is not free.\n The watcher has O(1) complexity, its performance doesn't depend\n on amount of spawn processes.\n \"\"\"\n def __init__(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "documentation": {} }, { "label": "_UnixDefaultEventLoopPolicy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "peekOfCode": "class _UnixDefaultEventLoopPolicy(events.BaseDefaultEventLoopPolicy):\n \"\"\"UNIX event loop policy with a watcher for child processes.\"\"\"\n _loop_factory = _UnixSelectorEventLoop\n def __init__(self):\n super().__init__()\n self._watcher = None\n def _init_watcher(self):\n with events._lock:\n if self._watcher is None: # pragma: no branch\n self._watcher = ThreadedChildWatcher()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "documentation": {} }, { "label": "waitstatus_to_exitcode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "peekOfCode": "def waitstatus_to_exitcode(status):\n try:\n return os.waitstatus_to_exitcode(status)\n except ValueError:\n # The child exited, but we don't understand its status.\n # This shouldn't happen, but if it does, let's just\n # return that status; perhaps that helps debug it.\n return status\nclass _UnixSelectorEventLoop(selector_events.BaseSelectorEventLoop):\n \"\"\"Unix event loop.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "peekOfCode": "__all__ = (\n 'SelectorEventLoop',\n 'AbstractChildWatcher', 'SafeChildWatcher',\n 'FastChildWatcher', 'PidfdChildWatcher',\n 'MultiLoopChildWatcher', 'ThreadedChildWatcher',\n 'DefaultEventLoopPolicy',\n)\nif sys.platform == 'win32': # pragma: no cover\n raise ImportError('Signals are not really supported on Windows')\ndef _sighandler_noop(signum, frame):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "documentation": {} }, { "label": "SelectorEventLoop", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "peekOfCode": "SelectorEventLoop = _UnixSelectorEventLoop\nDefaultEventLoopPolicy = _UnixDefaultEventLoopPolicy", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "documentation": {} }, { "label": "DefaultEventLoopPolicy", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "peekOfCode": "DefaultEventLoopPolicy = _UnixDefaultEventLoopPolicy", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.unix_events", "documentation": {} }, { "label": "_OverlappedFuture", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "class _OverlappedFuture(futures.Future):\n \"\"\"Subclass of Future which represents an overlapped operation.\n Cancelling it will immediately cancel the overlapped operation.\n \"\"\"\n def __init__(self, ov, *, loop=None):\n super().__init__(loop=loop)\n if self._source_traceback:\n del self._source_traceback[-1]\n self._ov = ov\n def _repr_info(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "_BaseWaitHandleFuture", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "class _BaseWaitHandleFuture(futures.Future):\n \"\"\"Subclass of Future which represents a wait handle.\"\"\"\n def __init__(self, ov, handle, wait_handle, *, loop=None):\n super().__init__(loop=loop)\n if self._source_traceback:\n del self._source_traceback[-1]\n # Keep a reference to the Overlapped object to keep it alive until the\n # wait is unregistered\n self._ov = ov\n self._handle = handle", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "_WaitCancelFuture", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "class _WaitCancelFuture(_BaseWaitHandleFuture):\n \"\"\"Subclass of Future which represents a wait for the cancellation of a\n _WaitHandleFuture using an event.\n \"\"\"\n def __init__(self, ov, event, wait_handle, *, loop=None):\n super().__init__(ov, event, wait_handle, loop=loop)\n self._done_callback = None\n def cancel(self):\n raise RuntimeError(\"_WaitCancelFuture must not be cancelled\")\n def set_result(self, result):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "_WaitHandleFuture", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "class _WaitHandleFuture(_BaseWaitHandleFuture):\n def __init__(self, ov, handle, wait_handle, proactor, *, loop=None):\n super().__init__(ov, handle, wait_handle, loop=loop)\n self._proactor = proactor\n self._unregister_proactor = True\n self._event = _overlapped.CreateEvent(None, True, False, None)\n self._event_fut = None\n def _unregister_wait_cb(self, fut):\n if self._event is not None:\n _winapi.CloseHandle(self._event)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "PipeServer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "class PipeServer(object):\n \"\"\"Class representing a pipe server.\n This is much like a bound, listening socket.\n \"\"\"\n def __init__(self, address):\n self._address = address\n self._free_instances = weakref.WeakSet()\n # initialize the pipe attribute before calling _server_pipe_handle()\n # because this function can raise an exception and the destructor calls\n # the close() method", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "_WindowsSelectorEventLoop", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "class _WindowsSelectorEventLoop(selector_events.BaseSelectorEventLoop):\n \"\"\"Windows version of selector event loop.\"\"\"\nclass ProactorEventLoop(proactor_events.BaseProactorEventLoop):\n \"\"\"Windows version of proactor event loop using IOCP.\"\"\"\n def __init__(self, proactor=None):\n if proactor is None:\n proactor = IocpProactor()\n super().__init__(proactor)\n def run_forever(self):\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "ProactorEventLoop", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "class ProactorEventLoop(proactor_events.BaseProactorEventLoop):\n \"\"\"Windows version of proactor event loop using IOCP.\"\"\"\n def __init__(self, proactor=None):\n if proactor is None:\n proactor = IocpProactor()\n super().__init__(proactor)\n def run_forever(self):\n try:\n assert self._self_reading_future is None\n self.call_soon(self._loop_self_reading)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "IocpProactor", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "class IocpProactor:\n \"\"\"Proactor implementation using IOCP.\"\"\"\n def __init__(self, concurrency=0xffffffff):\n self._loop = None\n self._results = []\n self._iocp = _overlapped.CreateIoCompletionPort(\n _overlapped.INVALID_HANDLE_VALUE, NULL, 0, concurrency)\n self._cache = {}\n self._registered = weakref.WeakSet()\n self._unregistered = []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "_WindowsSubprocessTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "class _WindowsSubprocessTransport(base_subprocess.BaseSubprocessTransport):\n def _start(self, args, shell, stdin, stdout, stderr, bufsize, **kwargs):\n self._proc = windows_utils.Popen(\n args, shell=shell, stdin=stdin, stdout=stdout, stderr=stderr,\n bufsize=bufsize, **kwargs)\n def callback(f):\n returncode = self._proc.poll()\n self._process_exited(returncode)\n f = self._loop._proactor.wait_for_handle(int(self._proc._handle))\n f.add_done_callback(callback)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "WindowsSelectorEventLoopPolicy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "class WindowsSelectorEventLoopPolicy(events.BaseDefaultEventLoopPolicy):\n _loop_factory = SelectorEventLoop\nclass WindowsProactorEventLoopPolicy(events.BaseDefaultEventLoopPolicy):\n _loop_factory = ProactorEventLoop\nDefaultEventLoopPolicy = WindowsProactorEventLoopPolicy", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "WindowsProactorEventLoopPolicy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "class WindowsProactorEventLoopPolicy(events.BaseDefaultEventLoopPolicy):\n _loop_factory = ProactorEventLoop\nDefaultEventLoopPolicy = WindowsProactorEventLoopPolicy", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "__all__ = (\n 'SelectorEventLoop', 'ProactorEventLoop', 'IocpProactor',\n 'DefaultEventLoopPolicy', 'WindowsSelectorEventLoopPolicy',\n 'WindowsProactorEventLoopPolicy',\n)\nNULL = 0\nINFINITE = 0xffffffff\nERROR_CONNECTION_REFUSED = 1225\nERROR_CONNECTION_ABORTED = 1236\n# Initial delay in seconds for connect_pipe() before retrying to connect", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "NULL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "NULL = 0\nINFINITE = 0xffffffff\nERROR_CONNECTION_REFUSED = 1225\nERROR_CONNECTION_ABORTED = 1236\n# Initial delay in seconds for connect_pipe() before retrying to connect\nCONNECT_PIPE_INIT_DELAY = 0.001\n# Maximum delay in seconds for connect_pipe() before retrying to connect\nCONNECT_PIPE_MAX_DELAY = 0.100\nclass _OverlappedFuture(futures.Future):\n \"\"\"Subclass of Future which represents an overlapped operation.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "INFINITE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "INFINITE = 0xffffffff\nERROR_CONNECTION_REFUSED = 1225\nERROR_CONNECTION_ABORTED = 1236\n# Initial delay in seconds for connect_pipe() before retrying to connect\nCONNECT_PIPE_INIT_DELAY = 0.001\n# Maximum delay in seconds for connect_pipe() before retrying to connect\nCONNECT_PIPE_MAX_DELAY = 0.100\nclass _OverlappedFuture(futures.Future):\n \"\"\"Subclass of Future which represents an overlapped operation.\n Cancelling it will immediately cancel the overlapped operation.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "ERROR_CONNECTION_REFUSED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "ERROR_CONNECTION_REFUSED = 1225\nERROR_CONNECTION_ABORTED = 1236\n# Initial delay in seconds for connect_pipe() before retrying to connect\nCONNECT_PIPE_INIT_DELAY = 0.001\n# Maximum delay in seconds for connect_pipe() before retrying to connect\nCONNECT_PIPE_MAX_DELAY = 0.100\nclass _OverlappedFuture(futures.Future):\n \"\"\"Subclass of Future which represents an overlapped operation.\n Cancelling it will immediately cancel the overlapped operation.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "ERROR_CONNECTION_ABORTED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "ERROR_CONNECTION_ABORTED = 1236\n# Initial delay in seconds for connect_pipe() before retrying to connect\nCONNECT_PIPE_INIT_DELAY = 0.001\n# Maximum delay in seconds for connect_pipe() before retrying to connect\nCONNECT_PIPE_MAX_DELAY = 0.100\nclass _OverlappedFuture(futures.Future):\n \"\"\"Subclass of Future which represents an overlapped operation.\n Cancelling it will immediately cancel the overlapped operation.\n \"\"\"\n def __init__(self, ov, *, loop=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "CONNECT_PIPE_INIT_DELAY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "CONNECT_PIPE_INIT_DELAY = 0.001\n# Maximum delay in seconds for connect_pipe() before retrying to connect\nCONNECT_PIPE_MAX_DELAY = 0.100\nclass _OverlappedFuture(futures.Future):\n \"\"\"Subclass of Future which represents an overlapped operation.\n Cancelling it will immediately cancel the overlapped operation.\n \"\"\"\n def __init__(self, ov, *, loop=None):\n super().__init__(loop=loop)\n if self._source_traceback:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "CONNECT_PIPE_MAX_DELAY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "CONNECT_PIPE_MAX_DELAY = 0.100\nclass _OverlappedFuture(futures.Future):\n \"\"\"Subclass of Future which represents an overlapped operation.\n Cancelling it will immediately cancel the overlapped operation.\n \"\"\"\n def __init__(self, ov, *, loop=None):\n super().__init__(loop=loop)\n if self._source_traceback:\n del self._source_traceback[-1]\n self._ov = ov", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "SelectorEventLoop", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "SelectorEventLoop = _WindowsSelectorEventLoop\nclass WindowsSelectorEventLoopPolicy(events.BaseDefaultEventLoopPolicy):\n _loop_factory = SelectorEventLoop\nclass WindowsProactorEventLoopPolicy(events.BaseDefaultEventLoopPolicy):\n _loop_factory = ProactorEventLoop\nDefaultEventLoopPolicy = WindowsProactorEventLoopPolicy", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "DefaultEventLoopPolicy", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "peekOfCode": "DefaultEventLoopPolicy = WindowsProactorEventLoopPolicy", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_events", "documentation": {} }, { "label": "PipeHandle", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "peekOfCode": "class PipeHandle:\n \"\"\"Wrapper for an overlapped pipe handle which is vaguely file-object like.\n The IOCP event loop can use these instead of socket objects.\n \"\"\"\n def __init__(self, handle):\n self._handle = handle\n def __repr__(self):\n if self._handle is not None:\n handle = f'handle={self._handle!r}'\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "documentation": {} }, { "label": "Popen", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "peekOfCode": "class Popen(subprocess.Popen):\n \"\"\"Replacement for subprocess.Popen using overlapped pipe handles.\n The stdin, stdout, stderr are None or instances of PipeHandle.\n \"\"\"\n def __init__(self, args, stdin=None, stdout=None, stderr=None, **kwds):\n assert not kwds.get('universal_newlines')\n assert kwds.get('bufsize', 0) == 0\n stdin_rfd = stdout_wfd = stderr_wfd = None\n stdin_wh = stdout_rh = stderr_rh = None\n if stdin == PIPE:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "documentation": {} }, { "label": "pipe", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "peekOfCode": "def pipe(*, duplex=False, overlapped=(True, True), bufsize=BUFSIZE):\n \"\"\"Like os.pipe() but with overlapped support and using handles not fds.\"\"\"\n address = tempfile.mktemp(\n prefix=r'\\\\.\\pipe\\python-pipe-{:d}-{:d}-'.format(\n os.getpid(), next(_mmap_counter)))\n if duplex:\n openmode = _winapi.PIPE_ACCESS_DUPLEX\n access = _winapi.GENERIC_READ | _winapi.GENERIC_WRITE\n obsize, ibsize = bufsize, bufsize\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "peekOfCode": "__all__ = 'pipe', 'Popen', 'PIPE', 'PipeHandle'\n# Constants/globals\nBUFSIZE = 8192\nPIPE = subprocess.PIPE\nSTDOUT = subprocess.STDOUT\n_mmap_counter = itertools.count()\n# Replacement for os.pipe() using handles instead of fds\ndef pipe(*, duplex=False, overlapped=(True, True), bufsize=BUFSIZE):\n \"\"\"Like os.pipe() but with overlapped support and using handles not fds.\"\"\"\n address = tempfile.mktemp(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "documentation": {} }, { "label": "BUFSIZE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "peekOfCode": "BUFSIZE = 8192\nPIPE = subprocess.PIPE\nSTDOUT = subprocess.STDOUT\n_mmap_counter = itertools.count()\n# Replacement for os.pipe() using handles instead of fds\ndef pipe(*, duplex=False, overlapped=(True, True), bufsize=BUFSIZE):\n \"\"\"Like os.pipe() but with overlapped support and using handles not fds.\"\"\"\n address = tempfile.mktemp(\n prefix=r'\\\\.\\pipe\\python-pipe-{:d}-{:d}-'.format(\n os.getpid(), next(_mmap_counter)))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "documentation": {} }, { "label": "PIPE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "peekOfCode": "PIPE = subprocess.PIPE\nSTDOUT = subprocess.STDOUT\n_mmap_counter = itertools.count()\n# Replacement for os.pipe() using handles instead of fds\ndef pipe(*, duplex=False, overlapped=(True, True), bufsize=BUFSIZE):\n \"\"\"Like os.pipe() but with overlapped support and using handles not fds.\"\"\"\n address = tempfile.mktemp(\n prefix=r'\\\\.\\pipe\\python-pipe-{:d}-{:d}-'.format(\n os.getpid(), next(_mmap_counter)))\n if duplex:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "documentation": {} }, { "label": "STDOUT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "peekOfCode": "STDOUT = subprocess.STDOUT\n_mmap_counter = itertools.count()\n# Replacement for os.pipe() using handles instead of fds\ndef pipe(*, duplex=False, overlapped=(True, True), bufsize=BUFSIZE):\n \"\"\"Like os.pipe() but with overlapped support and using handles not fds.\"\"\"\n address = tempfile.mktemp(\n prefix=r'\\\\.\\pipe\\python-pipe-{:d}-{:d}-'.format(\n os.getpid(), next(_mmap_counter)))\n if duplex:\n openmode = _winapi.PIPE_ACCESS_DUPLEX", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "documentation": {} }, { "label": "_mmap_counter", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "peekOfCode": "_mmap_counter = itertools.count()\n# Replacement for os.pipe() using handles instead of fds\ndef pipe(*, duplex=False, overlapped=(True, True), bufsize=BUFSIZE):\n \"\"\"Like os.pipe() but with overlapped support and using handles not fds.\"\"\"\n address = tempfile.mktemp(\n prefix=r'\\\\.\\pipe\\python-pipe-{:d}-{:d}-'.format(\n os.getpid(), next(_mmap_counter)))\n if duplex:\n openmode = _winapi.PIPE_ACCESS_DUPLEX\n access = _winapi.GENERIC_READ | _winapi.GENERIC_WRITE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.asyncio.windows_utils", "documentation": {} }, { "label": "_ThreadWakeup", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "peekOfCode": "class _ThreadWakeup:\n def __init__(self):\n self._closed = False\n self._reader, self._writer = mp.Pipe(duplex=False)\n def close(self):\n if not self._closed:\n self._closed = True\n self._writer.close()\n self._reader.close()\n def wakeup(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "documentation": {} }, { "label": "_RemoteTraceback", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "peekOfCode": "class _RemoteTraceback(Exception):\n def __init__(self, tb):\n self.tb = tb\n def __str__(self):\n return self.tb\nclass _ExceptionWithTraceback:\n def __init__(self, exc, tb):\n tb = traceback.format_exception(type(exc), exc, tb)\n tb = ''.join(tb)\n self.exc = exc", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "documentation": {} }, { "label": "_ExceptionWithTraceback", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "peekOfCode": "class _ExceptionWithTraceback:\n def __init__(self, exc, tb):\n tb = traceback.format_exception(type(exc), exc, tb)\n tb = ''.join(tb)\n self.exc = exc\n self.tb = '\\n\"\"\"\\n%s\"\"\"' % tb\n def __reduce__(self):\n return _rebuild_exc, (self.exc, self.tb)\ndef _rebuild_exc(exc, tb):\n exc.__cause__ = _RemoteTraceback(tb)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "documentation": {} }, { "label": "_WorkItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "peekOfCode": "class _WorkItem(object):\n def __init__(self, future, fn, args, kwargs):\n self.future = future\n self.fn = fn\n self.args = args\n self.kwargs = kwargs\nclass _ResultItem(object):\n def __init__(self, work_id, exception=None, result=None):\n self.work_id = work_id\n self.exception = exception", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "documentation": {} }, { "label": "_ResultItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "peekOfCode": "class _ResultItem(object):\n def __init__(self, work_id, exception=None, result=None):\n self.work_id = work_id\n self.exception = exception\n self.result = result\nclass _CallItem(object):\n def __init__(self, work_id, fn, args, kwargs):\n self.work_id = work_id\n self.fn = fn\n self.args = args", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "documentation": {} }, { "label": "_CallItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "peekOfCode": "class _CallItem(object):\n def __init__(self, work_id, fn, args, kwargs):\n self.work_id = work_id\n self.fn = fn\n self.args = args\n self.kwargs = kwargs\nclass _SafeQueue(Queue):\n \"\"\"Safe Queue set exception to the future object linked to a job\"\"\"\n def __init__(self, max_size=0, *, ctx, pending_work_items, shutdown_lock,\n thread_wakeup):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "documentation": {} }, { "label": "_SafeQueue", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "peekOfCode": "class _SafeQueue(Queue):\n \"\"\"Safe Queue set exception to the future object linked to a job\"\"\"\n def __init__(self, max_size=0, *, ctx, pending_work_items, shutdown_lock,\n thread_wakeup):\n self.pending_work_items = pending_work_items\n self.shutdown_lock = shutdown_lock\n self.thread_wakeup = thread_wakeup\n super().__init__(max_size, ctx=ctx)\n def _on_queue_feeder_error(self, e, obj):\n if isinstance(obj, _CallItem):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "documentation": {} }, { "label": "_ExecutorManagerThread", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "peekOfCode": "class _ExecutorManagerThread(threading.Thread):\n \"\"\"Manages the communication between this process and the worker processes.\n The manager is run in a local thread.\n Args:\n executor: A reference to the ProcessPoolExecutor that owns\n this thread. A weakref will be own by the manager as well as\n references to internal objects used to introspect the state of\n the executor.\n \"\"\"\n def __init__(self, executor):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "documentation": {} }, { "label": "BrokenProcessPool", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "peekOfCode": "class BrokenProcessPool(_base.BrokenExecutor):\n \"\"\"\n Raised when a process in a ProcessPoolExecutor terminated abruptly\n while a future was in the running state.\n \"\"\"\nclass ProcessPoolExecutor(_base.Executor):\n def __init__(self, max_workers=None, mp_context=None,\n initializer=None, initargs=()):\n \"\"\"Initializes a new ProcessPoolExecutor instance.\n Args:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "documentation": {} }, { "label": "ProcessPoolExecutor", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "peekOfCode": "class ProcessPoolExecutor(_base.Executor):\n def __init__(self, max_workers=None, mp_context=None,\n initializer=None, initargs=()):\n \"\"\"Initializes a new ProcessPoolExecutor instance.\n Args:\n max_workers: The maximum number of processes that can be used to\n execute the given calls. If None or not given then as many\n worker processes will be created as the machine has processors.\n mp_context: A multiprocessing context to launch the workers. This\n object should provide SimpleQueue, Queue and Process.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "documentation": {} }, { "label": "__author__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "peekOfCode": "__author__ = 'Brian Quinlan (brian@sweetapp.com)'\nimport os\nfrom concurrent.futures import _base\nimport queue\nimport multiprocessing as mp\nimport multiprocessing.connection\nfrom multiprocessing.queues import Queue\nimport threading\nimport weakref\nfrom functools import partial", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "documentation": {} }, { "label": "_threads_wakeups", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "peekOfCode": "_threads_wakeups = weakref.WeakKeyDictionary()\n_global_shutdown = False\nclass _ThreadWakeup:\n def __init__(self):\n self._closed = False\n self._reader, self._writer = mp.Pipe(duplex=False)\n def close(self):\n if not self._closed:\n self._closed = True\n self._writer.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "documentation": {} }, { "label": "_global_shutdown", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "peekOfCode": "_global_shutdown = False\nclass _ThreadWakeup:\n def __init__(self):\n self._closed = False\n self._reader, self._writer = mp.Pipe(duplex=False)\n def close(self):\n if not self._closed:\n self._closed = True\n self._writer.close()\n self._reader.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "documentation": {} }, { "label": "EXTRA_QUEUED_CALLS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "peekOfCode": "EXTRA_QUEUED_CALLS = 1\n# On Windows, WaitForMultipleObjects is used to wait for processes to finish.\n# It can wait on, at most, 63 objects. There is an overhead of two objects:\n# - the result queue reader\n# - the thread wakeup reader\n_MAX_WINDOWS_WORKERS = 63 - 2\n# Hack to embed stringification of remote traceback in local traceback\nclass _RemoteTraceback(Exception):\n def __init__(self, tb):\n self.tb = tb", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "documentation": {} }, { "label": "_MAX_WINDOWS_WORKERS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "peekOfCode": "_MAX_WINDOWS_WORKERS = 63 - 2\n# Hack to embed stringification of remote traceback in local traceback\nclass _RemoteTraceback(Exception):\n def __init__(self, tb):\n self.tb = tb\n def __str__(self):\n return self.tb\nclass _ExceptionWithTraceback:\n def __init__(self, exc, tb):\n tb = traceback.format_exception(type(exc), exc, tb)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "documentation": {} }, { "label": "_system_limits_checked", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "peekOfCode": "_system_limits_checked = False\n_system_limited = None\ndef _check_system_limits():\n global _system_limits_checked, _system_limited\n if _system_limits_checked:\n if _system_limited:\n raise NotImplementedError(_system_limited)\n _system_limits_checked = True\n try:\n import multiprocessing.synchronize", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "documentation": {} }, { "label": "_system_limited", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "peekOfCode": "_system_limited = None\ndef _check_system_limits():\n global _system_limits_checked, _system_limited\n if _system_limits_checked:\n if _system_limited:\n raise NotImplementedError(_system_limited)\n _system_limits_checked = True\n try:\n import multiprocessing.synchronize\n except ImportError:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.process", "documentation": {} }, { "label": "_WorkItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "peekOfCode": "class _WorkItem(object):\n def __init__(self, future, fn, args, kwargs):\n self.future = future\n self.fn = fn\n self.args = args\n self.kwargs = kwargs\n def run(self):\n if not self.future.set_running_or_notify_cancel():\n return\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "documentation": {} }, { "label": "BrokenThreadPool", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "peekOfCode": "class BrokenThreadPool(_base.BrokenExecutor):\n \"\"\"\n Raised when a worker thread in a ThreadPoolExecutor failed initializing.\n \"\"\"\nclass ThreadPoolExecutor(_base.Executor):\n # Used to assign unique thread names when thread_name_prefix is not supplied.\n _counter = itertools.count().__next__\n def __init__(self, max_workers=None, thread_name_prefix='',\n initializer=None, initargs=()):\n \"\"\"Initializes a new ThreadPoolExecutor instance.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "documentation": {} }, { "label": "ThreadPoolExecutor", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "peekOfCode": "class ThreadPoolExecutor(_base.Executor):\n # Used to assign unique thread names when thread_name_prefix is not supplied.\n _counter = itertools.count().__next__\n def __init__(self, max_workers=None, thread_name_prefix='',\n initializer=None, initargs=()):\n \"\"\"Initializes a new ThreadPoolExecutor instance.\n Args:\n max_workers: The maximum number of threads that can be used to\n execute the given calls.\n thread_name_prefix: An optional name prefix to give our threads.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "documentation": {} }, { "label": "__author__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "peekOfCode": "__author__ = 'Brian Quinlan (brian@sweetapp.com)'\nfrom concurrent.futures import _base\nimport itertools\nimport queue\nimport threading\nimport types\nimport weakref\nimport os\n_threads_queues = weakref.WeakKeyDictionary()\n_shutdown = False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "documentation": {} }, { "label": "_threads_queues", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "peekOfCode": "_threads_queues = weakref.WeakKeyDictionary()\n_shutdown = False\n# Lock that ensures that new workers are not created while the interpreter is\n# shutting down. Must be held while mutating _threads_queues and _shutdown.\n_global_shutdown_lock = threading.Lock()\ndef _python_exit():\n global _shutdown\n with _global_shutdown_lock:\n _shutdown = True\n items = list(_threads_queues.items())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "documentation": {} }, { "label": "_shutdown", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "peekOfCode": "_shutdown = False\n# Lock that ensures that new workers are not created while the interpreter is\n# shutting down. Must be held while mutating _threads_queues and _shutdown.\n_global_shutdown_lock = threading.Lock()\ndef _python_exit():\n global _shutdown\n with _global_shutdown_lock:\n _shutdown = True\n items = list(_threads_queues.items())\n for t, q in items:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "documentation": {} }, { "label": "_global_shutdown_lock", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "peekOfCode": "_global_shutdown_lock = threading.Lock()\ndef _python_exit():\n global _shutdown\n with _global_shutdown_lock:\n _shutdown = True\n items = list(_threads_queues.items())\n for t, q in items:\n q.put(None)\n for t, q in items:\n t.join()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures.thread", "documentation": {} }, { "label": "Error", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "class Error(Exception):\n \"\"\"Base class for all future-related exceptions.\"\"\"\n pass\nclass CancelledError(Error):\n \"\"\"The Future was cancelled.\"\"\"\n pass\nclass TimeoutError(Error):\n \"\"\"The operation exceeded the given deadline.\"\"\"\n pass\nclass InvalidStateError(Error):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "CancelledError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "class CancelledError(Error):\n \"\"\"The Future was cancelled.\"\"\"\n pass\nclass TimeoutError(Error):\n \"\"\"The operation exceeded the given deadline.\"\"\"\n pass\nclass InvalidStateError(Error):\n \"\"\"The operation is not allowed in this state.\"\"\"\n pass\nclass _Waiter(object):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "TimeoutError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "class TimeoutError(Error):\n \"\"\"The operation exceeded the given deadline.\"\"\"\n pass\nclass InvalidStateError(Error):\n \"\"\"The operation is not allowed in this state.\"\"\"\n pass\nclass _Waiter(object):\n \"\"\"Provides the event that wait() and as_completed() block on.\"\"\"\n def __init__(self):\n self.event = threading.Event()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "InvalidStateError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "class InvalidStateError(Error):\n \"\"\"The operation is not allowed in this state.\"\"\"\n pass\nclass _Waiter(object):\n \"\"\"Provides the event that wait() and as_completed() block on.\"\"\"\n def __init__(self):\n self.event = threading.Event()\n self.finished_futures = []\n def add_result(self, future):\n self.finished_futures.append(future)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "_Waiter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "class _Waiter(object):\n \"\"\"Provides the event that wait() and as_completed() block on.\"\"\"\n def __init__(self):\n self.event = threading.Event()\n self.finished_futures = []\n def add_result(self, future):\n self.finished_futures.append(future)\n def add_exception(self, future):\n self.finished_futures.append(future)\n def add_cancelled(self, future):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "_AsCompletedWaiter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "class _AsCompletedWaiter(_Waiter):\n \"\"\"Used by as_completed().\"\"\"\n def __init__(self):\n super(_AsCompletedWaiter, self).__init__()\n self.lock = threading.Lock()\n def add_result(self, future):\n with self.lock:\n super(_AsCompletedWaiter, self).add_result(future)\n self.event.set()\n def add_exception(self, future):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "_FirstCompletedWaiter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "class _FirstCompletedWaiter(_Waiter):\n \"\"\"Used by wait(return_when=FIRST_COMPLETED).\"\"\"\n def add_result(self, future):\n super().add_result(future)\n self.event.set()\n def add_exception(self, future):\n super().add_exception(future)\n self.event.set()\n def add_cancelled(self, future):\n super().add_cancelled(future)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "_AllCompletedWaiter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "class _AllCompletedWaiter(_Waiter):\n \"\"\"Used by wait(return_when=FIRST_EXCEPTION and ALL_COMPLETED).\"\"\"\n def __init__(self, num_pending_calls, stop_on_exception):\n self.num_pending_calls = num_pending_calls\n self.stop_on_exception = stop_on_exception\n self.lock = threading.Lock()\n super().__init__()\n def _decrement_pending_calls(self):\n with self.lock:\n self.num_pending_calls -= 1", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "_AcquireFutures", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "class _AcquireFutures(object):\n \"\"\"A context manager that does an ordered acquire of Future conditions.\"\"\"\n def __init__(self, futures):\n self.futures = sorted(futures, key=id)\n def __enter__(self):\n for future in self.futures:\n future._condition.acquire()\n def __exit__(self, *args):\n for future in self.futures:\n future._condition.release()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "Future", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "class Future(object):\n \"\"\"Represents the result of an asynchronous computation.\"\"\"\n def __init__(self):\n \"\"\"Initializes the future. Should not be called by clients.\"\"\"\n self._condition = threading.Condition()\n self._state = PENDING\n self._result = None\n self._exception = None\n self._waiters = []\n self._done_callbacks = []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "Executor", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "class Executor(object):\n \"\"\"This is an abstract base class for concrete asynchronous executors.\"\"\"\n def submit(self, fn, /, *args, **kwargs):\n \"\"\"Submits a callable to be executed with the given arguments.\n Schedules the callable to be executed as fn(*args, **kwargs) and returns\n a Future instance representing the execution of the callable.\n Returns:\n A Future representing the given call.\n \"\"\"\n raise NotImplementedError()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "BrokenExecutor", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "class BrokenExecutor(RuntimeError):\n \"\"\"\n Raised when a executor has become non-functional after a severe failure.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "as_completed", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "def as_completed(fs, timeout=None):\n \"\"\"An iterator over the given futures that yields each as it completes.\n Args:\n fs: The sequence of Futures (possibly created by different Executors) to\n iterate over.\n timeout: The maximum number of seconds to wait. If None, then there\n is no limit on the wait time.\n Returns:\n An iterator that yields the given Futures as they complete (finished or\n cancelled). If any given Futures are duplicated, they will be returned", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "wait", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "def wait(fs, timeout=None, return_when=ALL_COMPLETED):\n \"\"\"Wait for the futures in the given sequence to complete.\n Args:\n fs: The sequence of Futures (possibly created by different Executors) to\n wait upon.\n timeout: The maximum number of seconds to wait. If None, then there\n is no limit on the wait time.\n return_when: Indicates when this function should return. The options\n are:\n FIRST_COMPLETED - Return when any future finishes or is", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "__author__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "__author__ = 'Brian Quinlan (brian@sweetapp.com)'\nimport collections\nimport logging\nimport threading\nimport time\nimport types\nFIRST_COMPLETED = 'FIRST_COMPLETED'\nFIRST_EXCEPTION = 'FIRST_EXCEPTION'\nALL_COMPLETED = 'ALL_COMPLETED'\n_AS_COMPLETED = '_AS_COMPLETED'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "FIRST_COMPLETED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "FIRST_COMPLETED = 'FIRST_COMPLETED'\nFIRST_EXCEPTION = 'FIRST_EXCEPTION'\nALL_COMPLETED = 'ALL_COMPLETED'\n_AS_COMPLETED = '_AS_COMPLETED'\n# Possible future states (for internal use by the futures package).\nPENDING = 'PENDING'\nRUNNING = 'RUNNING'\n# The future was cancelled by the user...\nCANCELLED = 'CANCELLED'\n# ...and _Waiter.add_cancelled() was called by a worker.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "FIRST_EXCEPTION", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "FIRST_EXCEPTION = 'FIRST_EXCEPTION'\nALL_COMPLETED = 'ALL_COMPLETED'\n_AS_COMPLETED = '_AS_COMPLETED'\n# Possible future states (for internal use by the futures package).\nPENDING = 'PENDING'\nRUNNING = 'RUNNING'\n# The future was cancelled by the user...\nCANCELLED = 'CANCELLED'\n# ...and _Waiter.add_cancelled() was called by a worker.\nCANCELLED_AND_NOTIFIED = 'CANCELLED_AND_NOTIFIED'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "ALL_COMPLETED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "ALL_COMPLETED = 'ALL_COMPLETED'\n_AS_COMPLETED = '_AS_COMPLETED'\n# Possible future states (for internal use by the futures package).\nPENDING = 'PENDING'\nRUNNING = 'RUNNING'\n# The future was cancelled by the user...\nCANCELLED = 'CANCELLED'\n# ...and _Waiter.add_cancelled() was called by a worker.\nCANCELLED_AND_NOTIFIED = 'CANCELLED_AND_NOTIFIED'\nFINISHED = 'FINISHED'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "_AS_COMPLETED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "_AS_COMPLETED = '_AS_COMPLETED'\n# Possible future states (for internal use by the futures package).\nPENDING = 'PENDING'\nRUNNING = 'RUNNING'\n# The future was cancelled by the user...\nCANCELLED = 'CANCELLED'\n# ...and _Waiter.add_cancelled() was called by a worker.\nCANCELLED_AND_NOTIFIED = 'CANCELLED_AND_NOTIFIED'\nFINISHED = 'FINISHED'\n_FUTURE_STATES = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "PENDING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "PENDING = 'PENDING'\nRUNNING = 'RUNNING'\n# The future was cancelled by the user...\nCANCELLED = 'CANCELLED'\n# ...and _Waiter.add_cancelled() was called by a worker.\nCANCELLED_AND_NOTIFIED = 'CANCELLED_AND_NOTIFIED'\nFINISHED = 'FINISHED'\n_FUTURE_STATES = [\n PENDING,\n RUNNING,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "RUNNING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "RUNNING = 'RUNNING'\n# The future was cancelled by the user...\nCANCELLED = 'CANCELLED'\n# ...and _Waiter.add_cancelled() was called by a worker.\nCANCELLED_AND_NOTIFIED = 'CANCELLED_AND_NOTIFIED'\nFINISHED = 'FINISHED'\n_FUTURE_STATES = [\n PENDING,\n RUNNING,\n CANCELLED,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "CANCELLED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "CANCELLED = 'CANCELLED'\n# ...and _Waiter.add_cancelled() was called by a worker.\nCANCELLED_AND_NOTIFIED = 'CANCELLED_AND_NOTIFIED'\nFINISHED = 'FINISHED'\n_FUTURE_STATES = [\n PENDING,\n RUNNING,\n CANCELLED,\n CANCELLED_AND_NOTIFIED,\n FINISHED", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "CANCELLED_AND_NOTIFIED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "CANCELLED_AND_NOTIFIED = 'CANCELLED_AND_NOTIFIED'\nFINISHED = 'FINISHED'\n_FUTURE_STATES = [\n PENDING,\n RUNNING,\n CANCELLED,\n CANCELLED_AND_NOTIFIED,\n FINISHED\n]\n_STATE_TO_DESCRIPTION_MAP = {", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "FINISHED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "FINISHED = 'FINISHED'\n_FUTURE_STATES = [\n PENDING,\n RUNNING,\n CANCELLED,\n CANCELLED_AND_NOTIFIED,\n FINISHED\n]\n_STATE_TO_DESCRIPTION_MAP = {\n PENDING: \"pending\",", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "_FUTURE_STATES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "_FUTURE_STATES = [\n PENDING,\n RUNNING,\n CANCELLED,\n CANCELLED_AND_NOTIFIED,\n FINISHED\n]\n_STATE_TO_DESCRIPTION_MAP = {\n PENDING: \"pending\",\n RUNNING: \"running\",", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "_STATE_TO_DESCRIPTION_MAP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "_STATE_TO_DESCRIPTION_MAP = {\n PENDING: \"pending\",\n RUNNING: \"running\",\n CANCELLED: \"cancelled\",\n CANCELLED_AND_NOTIFIED: \"cancelled\",\n FINISHED: \"finished\"\n}\n# Logger for internal use by the futures package.\nLOGGER = logging.getLogger(\"concurrent.futures\")\nclass Error(Exception):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "LOGGER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "LOGGER = logging.getLogger(\"concurrent.futures\")\nclass Error(Exception):\n \"\"\"Base class for all future-related exceptions.\"\"\"\n pass\nclass CancelledError(Error):\n \"\"\"The Future was cancelled.\"\"\"\n pass\nclass TimeoutError(Error):\n \"\"\"The operation exceeded the given deadline.\"\"\"\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "DoneAndNotDoneFutures", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "peekOfCode": "DoneAndNotDoneFutures = collections.namedtuple(\n 'DoneAndNotDoneFutures', 'done not_done')\ndef wait(fs, timeout=None, return_when=ALL_COMPLETED):\n \"\"\"Wait for the futures in the given sequence to complete.\n Args:\n fs: The sequence of Futures (possibly created by different Executors) to\n wait upon.\n timeout: The maximum number of seconds to wait. If None, then there\n is no limit on the wait time.\n return_when: Indicates when this function should return. The options", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.concurrent.futures._base", "documentation": {} }, { "label": "dyld_env", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "peekOfCode": "def dyld_env(env, var):\n if env is None:\n env = os.environ\n rval = env.get(var)\n if rval is None:\n return []\n return rval.split(':')\ndef dyld_image_suffix(env=None):\n if env is None:\n env = os.environ", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "documentation": {} }, { "label": "dyld_image_suffix", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "peekOfCode": "def dyld_image_suffix(env=None):\n if env is None:\n env = os.environ\n return env.get('DYLD_IMAGE_SUFFIX')\ndef dyld_framework_path(env=None):\n return dyld_env(env, 'DYLD_FRAMEWORK_PATH')\ndef dyld_library_path(env=None):\n return dyld_env(env, 'DYLD_LIBRARY_PATH')\ndef dyld_fallback_framework_path(env=None):\n return dyld_env(env, 'DYLD_FALLBACK_FRAMEWORK_PATH')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "documentation": {} }, { "label": "dyld_framework_path", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "peekOfCode": "def dyld_framework_path(env=None):\n return dyld_env(env, 'DYLD_FRAMEWORK_PATH')\ndef dyld_library_path(env=None):\n return dyld_env(env, 'DYLD_LIBRARY_PATH')\ndef dyld_fallback_framework_path(env=None):\n return dyld_env(env, 'DYLD_FALLBACK_FRAMEWORK_PATH')\ndef dyld_fallback_library_path(env=None):\n return dyld_env(env, 'DYLD_FALLBACK_LIBRARY_PATH')\ndef dyld_image_suffix_search(iterator, env=None):\n \"\"\"For a potential path iterator, add DYLD_IMAGE_SUFFIX semantics\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "documentation": {} }, { "label": "dyld_library_path", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "peekOfCode": "def dyld_library_path(env=None):\n return dyld_env(env, 'DYLD_LIBRARY_PATH')\ndef dyld_fallback_framework_path(env=None):\n return dyld_env(env, 'DYLD_FALLBACK_FRAMEWORK_PATH')\ndef dyld_fallback_library_path(env=None):\n return dyld_env(env, 'DYLD_FALLBACK_LIBRARY_PATH')\ndef dyld_image_suffix_search(iterator, env=None):\n \"\"\"For a potential path iterator, add DYLD_IMAGE_SUFFIX semantics\"\"\"\n suffix = dyld_image_suffix(env)\n if suffix is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "documentation": {} }, { "label": "dyld_fallback_framework_path", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "peekOfCode": "def dyld_fallback_framework_path(env=None):\n return dyld_env(env, 'DYLD_FALLBACK_FRAMEWORK_PATH')\ndef dyld_fallback_library_path(env=None):\n return dyld_env(env, 'DYLD_FALLBACK_LIBRARY_PATH')\ndef dyld_image_suffix_search(iterator, env=None):\n \"\"\"For a potential path iterator, add DYLD_IMAGE_SUFFIX semantics\"\"\"\n suffix = dyld_image_suffix(env)\n if suffix is None:\n return iterator\n def _inject(iterator=iterator, suffix=suffix):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "documentation": {} }, { "label": "dyld_fallback_library_path", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "peekOfCode": "def dyld_fallback_library_path(env=None):\n return dyld_env(env, 'DYLD_FALLBACK_LIBRARY_PATH')\ndef dyld_image_suffix_search(iterator, env=None):\n \"\"\"For a potential path iterator, add DYLD_IMAGE_SUFFIX semantics\"\"\"\n suffix = dyld_image_suffix(env)\n if suffix is None:\n return iterator\n def _inject(iterator=iterator, suffix=suffix):\n for path in iterator:\n if path.endswith('.dylib'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "documentation": {} }, { "label": "dyld_image_suffix_search", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "peekOfCode": "def dyld_image_suffix_search(iterator, env=None):\n \"\"\"For a potential path iterator, add DYLD_IMAGE_SUFFIX semantics\"\"\"\n suffix = dyld_image_suffix(env)\n if suffix is None:\n return iterator\n def _inject(iterator=iterator, suffix=suffix):\n for path in iterator:\n if path.endswith('.dylib'):\n yield path[:-len('.dylib')] + suffix + '.dylib'\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "documentation": {} }, { "label": "dyld_override_search", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "peekOfCode": "def dyld_override_search(name, env=None):\n # If DYLD_FRAMEWORK_PATH is set and this dylib_name is a\n # framework name, use the first file that exists in the framework\n # path if any. If there is none go on to search the DYLD_LIBRARY_PATH\n # if any.\n framework = framework_info(name)\n if framework is not None:\n for path in dyld_framework_path(env):\n yield os.path.join(path, framework['name'])\n # If DYLD_LIBRARY_PATH is set then use the first file that exists", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "documentation": {} }, { "label": "dyld_executable_path_search", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "peekOfCode": "def dyld_executable_path_search(name, executable_path=None):\n # If we haven't done any searching and found a library and the\n # dylib_name starts with \"@executable_path/\" then construct the\n # library name.\n if name.startswith('@executable_path/') and executable_path is not None:\n yield os.path.join(executable_path, name[len('@executable_path/'):])\ndef dyld_default_search(name, env=None):\n yield name\n framework = framework_info(name)\n if framework is not None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "documentation": {} }, { "label": "dyld_default_search", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "peekOfCode": "def dyld_default_search(name, env=None):\n yield name\n framework = framework_info(name)\n if framework is not None:\n fallback_framework_path = dyld_fallback_framework_path(env)\n for path in fallback_framework_path:\n yield os.path.join(path, framework['name'])\n fallback_library_path = dyld_fallback_library_path(env)\n for path in fallback_library_path:\n yield os.path.join(path, os.path.basename(name))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "documentation": {} }, { "label": "dyld_find", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "peekOfCode": "def dyld_find(name, executable_path=None, env=None):\n \"\"\"\n Find a library or framework using dyld semantics\n \"\"\"\n for path in dyld_image_suffix_search(chain(\n dyld_override_search(name, env),\n dyld_executable_path_search(name, executable_path),\n dyld_default_search(name, env),\n ), env):\n if os.path.isfile(path):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "documentation": {} }, { "label": "framework_find", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "peekOfCode": "def framework_find(fn, executable_path=None, env=None):\n \"\"\"\n Find a framework using dyld semantics in a very loose manner.\n Will take input such as:\n Python\n Python.framework\n Python.framework/Versions/Current\n \"\"\"\n error = None\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "documentation": {} }, { "label": "test_dyld_find", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "peekOfCode": "def test_dyld_find():\n env = {}\n assert dyld_find('libSystem.dylib') == '/usr/lib/libSystem.dylib'\n assert dyld_find('System.framework/System') == '/System/Library/Frameworks/System.framework/System'\nif __name__ == '__main__':\n test_dyld_find()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "peekOfCode": "__all__ = [\n 'dyld_find', 'framework_find',\n 'framework_info', 'dylib_info',\n]\n# These are the defaults as per man dyld(1)\n#\nDEFAULT_FRAMEWORK_FALLBACK = [\n os.path.expanduser(\"~/Library/Frameworks\"),\n \"/Library/Frameworks\",\n \"/Network/Library/Frameworks\",", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "documentation": {} }, { "label": "DEFAULT_FRAMEWORK_FALLBACK", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "peekOfCode": "DEFAULT_FRAMEWORK_FALLBACK = [\n os.path.expanduser(\"~/Library/Frameworks\"),\n \"/Library/Frameworks\",\n \"/Network/Library/Frameworks\",\n \"/System/Library/Frameworks\",\n]\nDEFAULT_LIBRARY_FALLBACK = [\n os.path.expanduser(\"~/lib\"),\n \"/usr/local/lib\",\n \"/lib\",", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "documentation": {} }, { "label": "DEFAULT_LIBRARY_FALLBACK", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "peekOfCode": "DEFAULT_LIBRARY_FALLBACK = [\n os.path.expanduser(\"~/lib\"),\n \"/usr/local/lib\",\n \"/lib\",\n \"/usr/lib\",\n]\ndef dyld_env(env, var):\n if env is None:\n env = os.environ\n rval = env.get(var)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dyld", "documentation": {} }, { "label": "dylib_info", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dylib", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dylib", "peekOfCode": "def dylib_info(filename):\n \"\"\"\n A dylib name can take one of the following four forms:\n Location/Name.SomeVersion_Suffix.dylib\n Location/Name.SomeVersion.dylib\n Location/Name_Suffix.dylib\n Location/Name.dylib\n returns None if not found or a mapping equivalent to:\n dict(\n location='Location',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dylib", "documentation": {} }, { "label": "test_dylib_info", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dylib", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dylib", "peekOfCode": "def test_dylib_info():\n def d(location=None, name=None, shortname=None, version=None, suffix=None):\n return dict(\n location=location,\n name=name,\n shortname=shortname,\n version=version,\n suffix=suffix\n )\n assert dylib_info('completely/invalid') is None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dylib", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dylib", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dylib", "peekOfCode": "__all__ = ['dylib_info']\nDYLIB_RE = re.compile(r\"\"\"(?x)\n(?P<location>^.*)(?:^|/)\n(?P<name>\n (?P<shortname>\\w+?)\n (?:\\.(?P<version>[^._]+))?\n (?:_(?P<suffix>[^._]+))?\n \\.dylib$\n)\n\"\"\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dylib", "documentation": {} }, { "label": "DYLIB_RE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dylib", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dylib", "peekOfCode": "DYLIB_RE = re.compile(r\"\"\"(?x)\n(?P<location>^.*)(?:^|/)\n(?P<name>\n (?P<shortname>\\w+?)\n (?:\\.(?P<version>[^._]+))?\n (?:_(?P<suffix>[^._]+))?\n \\.dylib$\n)\n\"\"\")\ndef dylib_info(filename):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.dylib", "documentation": {} }, { "label": "framework_info", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.framework", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.framework", "peekOfCode": "def framework_info(filename):\n \"\"\"\n A framework name can take one of the following four forms:\n Location/Name.framework/Versions/SomeVersion/Name_Suffix\n Location/Name.framework/Versions/SomeVersion/Name\n Location/Name.framework/Name_Suffix\n Location/Name.framework/Name\n returns None if not found, or a mapping equivalent to:\n dict(\n location='Location',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.framework", "documentation": {} }, { "label": "test_framework_info", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.framework", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.framework", "peekOfCode": "def test_framework_info():\n def d(location=None, name=None, shortname=None, version=None, suffix=None):\n return dict(\n location=location,\n name=name,\n shortname=shortname,\n version=version,\n suffix=suffix\n )\n assert framework_info('completely/invalid') is None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.framework", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.framework", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.framework", "peekOfCode": "__all__ = ['framework_info']\nSTRICT_FRAMEWORK_RE = re.compile(r\"\"\"(?x)\n(?P<location>^.*)(?:^|/)\n(?P<name>\n (?P<shortname>\\w+).framework/\n (?:Versions/(?P<version>[^/]+)/)?\n (?P=shortname)\n (?:_(?P<suffix>[^_]+))?\n)$\n\"\"\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.framework", "documentation": {} }, { "label": "STRICT_FRAMEWORK_RE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.framework", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.framework", "peekOfCode": "STRICT_FRAMEWORK_RE = re.compile(r\"\"\"(?x)\n(?P<location>^.*)(?:^|/)\n(?P<name>\n (?P<shortname>\\w+).framework/\n (?:Versions/(?P<version>[^/]+)/)?\n (?P=shortname)\n (?:_(?P<suffix>[^_]+))?\n)$\n\"\"\")\ndef framework_info(filename):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.macholib.framework", "documentation": {} }, { "label": "AnonTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_anon", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_anon", "peekOfCode": "class AnonTest(unittest.TestCase):\n def test_anon(self):\n class ANON(Union):\n _fields_ = [(\"a\", c_int),\n (\"b\", c_int)]\n class Y(Structure):\n _fields_ = [(\"x\", c_int),\n (\"_\", ANON),\n (\"y\", c_int)]\n _anonymous_ = [\"_\"]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_anon", "documentation": {} }, { "label": "ArrayTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_arrays", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_arrays", "peekOfCode": "class ArrayTestCase(unittest.TestCase):\n def test_simple(self):\n # create classes holding simple numeric types, and check\n # various properties.\n init = list(range(15, 25))\n for fmt in formats:\n alen = len(init)\n int_array = ARRAY(fmt, alen)\n ia = int_array(*init)\n # length of instance ok?", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_arrays", "documentation": {} }, { "label": "formats", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_arrays", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_arrays", "peekOfCode": "formats = \"bBhHiIlLqQfd\"\nformats = c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint, \\\n c_long, c_ulonglong, c_float, c_double, c_longdouble\nclass ArrayTestCase(unittest.TestCase):\n def test_simple(self):\n # create classes holding simple numeric types, and check\n # various properties.\n init = list(range(15, 25))\n for fmt in formats:\n alen = len(init)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_arrays", "documentation": {} }, { "label": "formats", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_arrays", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_arrays", "peekOfCode": "formats = c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint, \\\n c_long, c_ulonglong, c_float, c_double, c_longdouble\nclass ArrayTestCase(unittest.TestCase):\n def test_simple(self):\n # create classes holding simple numeric types, and check\n # various properties.\n init = list(range(15, 25))\n for fmt in formats:\n alen = len(init)\n int_array = ARRAY(fmt, alen)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_arrays", "documentation": {} }, { "label": "Value", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_array_in_pointer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_array_in_pointer", "peekOfCode": "class Value(Structure):\n _fields_ = [(\"val\", c_byte)]\nclass Container(Structure):\n _fields_ = [(\"pvalues\", POINTER(Value))]\nclass Test(unittest.TestCase):\n def test(self):\n # create an array of 4 values\n val_array = (Value * 4)()\n # create a container, which holds a pointer to the pvalues array.\n c = Container()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_array_in_pointer", "documentation": {} }, { "label": "Container", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_array_in_pointer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_array_in_pointer", "peekOfCode": "class Container(Structure):\n _fields_ = [(\"pvalues\", POINTER(Value))]\nclass Test(unittest.TestCase):\n def test(self):\n # create an array of 4 values\n val_array = (Value * 4)()\n # create a container, which holds a pointer to the pvalues array.\n c = Container()\n c.pvalues = val_array\n # memory contains 4 NUL bytes now, that's correct", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_array_in_pointer", "documentation": {} }, { "label": "Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_array_in_pointer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_array_in_pointer", "peekOfCode": "class Test(unittest.TestCase):\n def test(self):\n # create an array of 4 values\n val_array = (Value * 4)()\n # create a container, which holds a pointer to the pvalues array.\n c = Container()\n c.pvalues = val_array\n # memory contains 4 NUL bytes now, that's correct\n self.assertEqual(\"00-00-00-00\", dump(val_array))\n # set the values of the array through the pointer:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_array_in_pointer", "documentation": {} }, { "label": "dump", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_array_in_pointer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_array_in_pointer", "peekOfCode": "def dump(obj):\n # helper function to dump memory contents in hex, with a hyphen\n # between the bytes.\n h = hexlify(memoryview(obj)).decode()\n return re.sub(r\"(..)\", r\"\\1-\", h)[:-1]\nclass Value(Structure):\n _fields_ = [(\"val\", c_byte)]\nclass Container(Structure):\n _fields_ = [(\"pvalues\", POINTER(Value))]\nclass Test(unittest.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_array_in_pointer", "documentation": {} }, { "label": "POINT", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "peekOfCode": "class POINT(Structure):\n _fields_ = [(\"x\", c_int), (\"y\", c_int)]\nclass BasicWrapTestCase(unittest.TestCase):\n def wrap(self, param):\n return param\n @need_symbol('c_wchar')\n def test_wchar_parm(self):\n f = dll._testfunc_i_bhilfd\n f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]\n result = f(self.wrap(1), self.wrap(\"x\"), self.wrap(3), self.wrap(4), self.wrap(5.0), self.wrap(6.0))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "documentation": {} }, { "label": "BasicWrapTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "peekOfCode": "class BasicWrapTestCase(unittest.TestCase):\n def wrap(self, param):\n return param\n @need_symbol('c_wchar')\n def test_wchar_parm(self):\n f = dll._testfunc_i_bhilfd\n f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]\n result = f(self.wrap(1), self.wrap(\"x\"), self.wrap(3), self.wrap(4), self.wrap(5.0), self.wrap(6.0))\n self.assertEqual(result, 139)\n self.assertIs(type(result), int)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "documentation": {} }, { "label": "AsParamWrapper", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "peekOfCode": "class AsParamWrapper(object):\n def __init__(self, param):\n self._as_parameter_ = param\nclass AsParamWrapperTestCase(BasicWrapTestCase):\n wrap = AsParamWrapper\n#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nclass AsParamPropertyWrapper(object):\n def __init__(self, param):\n self._param = param\n def getParameter(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "documentation": {} }, { "label": "AsParamWrapperTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "peekOfCode": "class AsParamWrapperTestCase(BasicWrapTestCase):\n wrap = AsParamWrapper\n#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nclass AsParamPropertyWrapper(object):\n def __init__(self, param):\n self._param = param\n def getParameter(self):\n return self._param\n _as_parameter_ = property(getParameter)\nclass AsParamPropertyWrapperTestCase(BasicWrapTestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "documentation": {} }, { "label": "AsParamPropertyWrapper", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "peekOfCode": "class AsParamPropertyWrapper(object):\n def __init__(self, param):\n self._param = param\n def getParameter(self):\n return self._param\n _as_parameter_ = property(getParameter)\nclass AsParamPropertyWrapperTestCase(BasicWrapTestCase):\n wrap = AsParamPropertyWrapper\n#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nif __name__ == '__main__':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "documentation": {} }, { "label": "AsParamPropertyWrapperTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "peekOfCode": "class AsParamPropertyWrapperTestCase(BasicWrapTestCase):\n wrap = AsParamPropertyWrapper\n#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "documentation": {} }, { "label": "dll", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "peekOfCode": "dll = CDLL(_ctypes_test.__file__)\ntry:\n CALLBACK_FUNCTYPE = WINFUNCTYPE\nexcept NameError:\n # fake to enable this test on Linux\n CALLBACK_FUNCTYPE = CFUNCTYPE\nclass POINT(Structure):\n _fields_ = [(\"x\", c_int), (\"y\", c_int)]\nclass BasicWrapTestCase(unittest.TestCase):\n def wrap(self, param):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_as_parameter", "documentation": {} }, { "label": "BITS", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "peekOfCode": "class BITS(Structure):\n _fields_ = [(\"A\", c_int, 1),\n (\"B\", c_int, 2),\n (\"C\", c_int, 3),\n (\"D\", c_int, 4),\n (\"E\", c_int, 5),\n (\"F\", c_int, 6),\n (\"G\", c_int, 7),\n (\"H\", c_int, 8),\n (\"I\", c_int, 9),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "documentation": {} }, { "label": "C_Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "peekOfCode": "class C_Test(unittest.TestCase):\n def test_ints(self):\n for i in range(512):\n for name in \"ABCDEFGHI\":\n b = BITS()\n setattr(b, name, i)\n self.assertEqual(getattr(b, name), func(byref(b), name.encode('ascii')))\n # bpo-46913: _ctypes/cfield.c h_get() has an undefined behavior\n @support.skip_if_sanitizer(ub=True)\n def test_shorts(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "documentation": {} }, { "label": "BitFieldTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "peekOfCode": "class BitFieldTest(unittest.TestCase):\n def test_longlong(self):\n class X(Structure):\n _fields_ = [(\"a\", c_longlong, 1),\n (\"b\", c_longlong, 62),\n (\"c\", c_longlong, 1)]\n self.assertEqual(sizeof(X), sizeof(c_longlong))\n x = X()\n x.a, x.b, x.c = -1, 7, -1\n self.assertEqual((x.a, x.b, x.c), (-1, 7, -1))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "documentation": {} }, { "label": "func", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "peekOfCode": "func = CDLL(_ctypes_test.__file__).unpack_bitfields\nfunc.argtypes = POINTER(BITS), c_char\n##for n in \"ABCDEFGHIMNOPQRS\":\n## print n, hex(getattr(BITS, n).size), getattr(BITS, n).offset\nclass C_Test(unittest.TestCase):\n def test_ints(self):\n for i in range(512):\n for name in \"ABCDEFGHI\":\n b = BITS()\n setattr(b, name, i)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "documentation": {} }, { "label": "func.argtypes", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "peekOfCode": "func.argtypes = POINTER(BITS), c_char\n##for n in \"ABCDEFGHIMNOPQRS\":\n## print n, hex(getattr(BITS, n).size), getattr(BITS, n).offset\nclass C_Test(unittest.TestCase):\n def test_ints(self):\n for i in range(512):\n for name in \"ABCDEFGHI\":\n b = BITS()\n setattr(b, name, i)\n self.assertEqual(getattr(b, name), func(byref(b), name.encode('ascii')))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "documentation": {} }, { "label": "signed_int_types", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "peekOfCode": "signed_int_types = (c_byte, c_short, c_int, c_long, c_longlong)\nunsigned_int_types = (c_ubyte, c_ushort, c_uint, c_ulong, c_ulonglong)\nint_types = unsigned_int_types + signed_int_types\nclass BitFieldTest(unittest.TestCase):\n def test_longlong(self):\n class X(Structure):\n _fields_ = [(\"a\", c_longlong, 1),\n (\"b\", c_longlong, 62),\n (\"c\", c_longlong, 1)]\n self.assertEqual(sizeof(X), sizeof(c_longlong))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "documentation": {} }, { "label": "unsigned_int_types", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "peekOfCode": "unsigned_int_types = (c_ubyte, c_ushort, c_uint, c_ulong, c_ulonglong)\nint_types = unsigned_int_types + signed_int_types\nclass BitFieldTest(unittest.TestCase):\n def test_longlong(self):\n class X(Structure):\n _fields_ = [(\"a\", c_longlong, 1),\n (\"b\", c_longlong, 62),\n (\"c\", c_longlong, 1)]\n self.assertEqual(sizeof(X), sizeof(c_longlong))\n x = X()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "documentation": {} }, { "label": "int_types", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "peekOfCode": "int_types = unsigned_int_types + signed_int_types\nclass BitFieldTest(unittest.TestCase):\n def test_longlong(self):\n class X(Structure):\n _fields_ = [(\"a\", c_longlong, 1),\n (\"b\", c_longlong, 62),\n (\"c\", c_longlong, 1)]\n self.assertEqual(sizeof(X), sizeof(c_longlong))\n x = X()\n x.a, x.b, x.c = -1, 7, -1", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bitfields", "documentation": {} }, { "label": "StringBufferTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_buffers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_buffers", "peekOfCode": "class StringBufferTestCase(unittest.TestCase):\n def test_buffer(self):\n b = create_string_buffer(32)\n self.assertEqual(len(b), 32)\n self.assertEqual(sizeof(b), 32 * sizeof(c_char))\n self.assertIs(type(b[0]), bytes)\n b = create_string_buffer(b\"abc\")\n self.assertEqual(len(b), 4) # trailing nul char\n self.assertEqual(sizeof(b), 4 * sizeof(c_char))\n self.assertIs(type(b[0]), bytes)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_buffers", "documentation": {} }, { "label": "BytesTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bytes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bytes", "peekOfCode": "class BytesTest(unittest.TestCase):\n def test_c_char(self):\n x = c_char(b\"x\")\n self.assertRaises(TypeError, c_char, \"x\")\n x.value = b\"y\"\n with self.assertRaises(TypeError):\n x.value = \"y\"\n c_char.from_param(b\"x\")\n self.assertRaises(TypeError, c_char.from_param, \"x\")\n self.assertIn('xbd', repr(c_char.from_param(b\"\\xbd\")))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_bytes", "documentation": {} }, { "label": "Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_byteswap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_byteswap", "peekOfCode": "class Test(unittest.TestCase):\n @unittest.skip('test disabled')\n def test_X(self):\n print(sys.byteorder, file=sys.stderr)\n for i in range(32):\n bits = BITS()\n setattr(bits, \"i%s\" % i, 1)\n dump(bits)\n def test_slots(self):\n class BigPoint(BigEndianStructure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_byteswap", "documentation": {} }, { "label": "bin", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_byteswap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_byteswap", "peekOfCode": "def bin(s):\n return hexlify(memoryview(s)).decode().upper()\n# Each *simple* type that supports different byte orders has an\n# __ctype_be__ attribute that specifies the same type in BIG ENDIAN\n# byte order, and a __ctype_le__ attribute that is the same type in\n# LITTLE ENDIAN byte order.\n#\n# For Structures and Unions, these types are created on demand.\nclass Test(unittest.TestCase):\n @unittest.skip('test disabled')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_byteswap", "documentation": {} }, { "label": "Callbacks", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_callbacks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_callbacks", "peekOfCode": "class Callbacks(unittest.TestCase):\n functype = CFUNCTYPE\n## def tearDown(self):\n## import gc\n## gc.collect()\n def callback(self, *args):\n self.got_args = args\n return args[-1]\n def check_type(self, typ, arg):\n PROTO = self.functype.__func__(typ, typ)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_callbacks", "documentation": {} }, { "label": "StdcallCallbacks", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_callbacks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_callbacks", "peekOfCode": "class StdcallCallbacks(Callbacks):\n try:\n functype = WINFUNCTYPE\n except NameError:\n pass\n################################################################\nclass SampleCallbacksTestCase(unittest.TestCase):\n def test_integrate(self):\n # Derived from some then non-working code, posted by David Foster\n dll = CDLL(_ctypes_test.__file__)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_callbacks", "documentation": {} }, { "label": "SampleCallbacksTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_callbacks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_callbacks", "peekOfCode": "class SampleCallbacksTestCase(unittest.TestCase):\n def test_integrate(self):\n # Derived from some then non-working code, posted by David Foster\n dll = CDLL(_ctypes_test.__file__)\n # The function prototype called by 'integrate': double func(double);\n CALLBACK = CFUNCTYPE(c_double, c_double)\n # The integrate function itself, exposed from the _ctypes_test dll\n integrate = dll.integrate\n integrate.argtypes = (c_double, c_double, CALLBACK, c_long)\n integrate.restype = c_double", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_callbacks", "documentation": {} }, { "label": "Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_cast", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_cast", "peekOfCode": "class Test(unittest.TestCase):\n def test_array2pointer(self):\n array = (c_int * 3)(42, 17, 2)\n # casting an array to a pointer works.\n ptr = cast(array, POINTER(c_int))\n self.assertEqual([ptr[i] for i in range(3)], [42, 17, 2])\n if 2*sizeof(c_short) == sizeof(c_int):\n ptr = cast(array, POINTER(c_short))\n if sys.byteorder == \"little\":\n self.assertEqual([ptr[i] for i in range(6)],", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_cast", "documentation": {} }, { "label": "CFunctions", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_cfuncs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_cfuncs", "peekOfCode": "class CFunctions(unittest.TestCase):\n _dll = CDLL(_ctypes_test.__file__)\n def S(self):\n return c_longlong.in_dll(self._dll, \"last_tf_arg_s\").value\n def U(self):\n return c_ulonglong.in_dll(self._dll, \"last_tf_arg_u\").value\n def test_byte(self):\n self._dll.tf_b.restype = c_byte\n self._dll.tf_b.argtypes = (c_byte,)\n self.assertEqual(self._dll.tf_b(-126), -42)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_cfuncs", "documentation": {} }, { "label": "stdcallCFunctions", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_cfuncs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_cfuncs", "peekOfCode": "class stdcallCFunctions(CFunctions):\n _dll = stdcall_dll(_ctypes_test.__file__)\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_cfuncs", "documentation": {} }, { "label": "CHECKED", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_checkretval", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_checkretval", "peekOfCode": "class CHECKED(c_int):\n def _check_retval_(value):\n # Receives a CHECKED instance.\n return str(value.value)\n _check_retval_ = staticmethod(_check_retval_)\nclass Test(unittest.TestCase):\n def test_checkretval(self):\n import _ctypes_test\n dll = CDLL(_ctypes_test.__file__)\n self.assertEqual(42, dll._testfunc_p_p(42))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_checkretval", "documentation": {} }, { "label": "Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_checkretval", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_checkretval", "peekOfCode": "class Test(unittest.TestCase):\n def test_checkretval(self):\n import _ctypes_test\n dll = CDLL(_ctypes_test.__file__)\n self.assertEqual(42, dll._testfunc_p_p(42))\n dll._testfunc_p_p.restype = CHECKED\n self.assertEqual(\"42\", dll._testfunc_p_p(42))\n dll._testfunc_p_p.restype = None\n self.assertEqual(None, dll._testfunc_p_p(42))\n del dll._testfunc_p_p.restype", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_checkretval", "documentation": {} }, { "label": "X", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_delattr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_delattr", "peekOfCode": "class X(Structure):\n _fields_ = [(\"foo\", c_int)]\nclass TestCase(unittest.TestCase):\n def test_simple(self):\n self.assertRaises(TypeError,\n delattr, c_int(42), \"value\")\n def test_chararray(self):\n self.assertRaises(TypeError,\n delattr, (c_char * 5)(), \"value\")\n def test_struct(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_delattr", "documentation": {} }, { "label": "TestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_delattr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_delattr", "peekOfCode": "class TestCase(unittest.TestCase):\n def test_simple(self):\n self.assertRaises(TypeError,\n delattr, c_int(42), \"value\")\n def test_chararray(self):\n self.assertRaises(TypeError,\n delattr, (c_char * 5)(), \"value\")\n def test_struct(self):\n self.assertRaises(TypeError,\n delattr, X(), \"foo\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_delattr", "documentation": {} }, { "label": "Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_errno", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_errno", "peekOfCode": "class Test(unittest.TestCase):\n def test_open(self):\n libc_name = find_library(\"c\")\n if libc_name is None:\n raise unittest.SkipTest(\"Unable to find C library\")\n libc = CDLL(libc_name, use_errno=True)\n if os.name == \"nt\":\n libc_open = libc._open\n else:\n libc_open = libc.open", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_errno", "documentation": {} }, { "label": "Test_OpenGL_libs", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_find", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_find", "peekOfCode": "class Test_OpenGL_libs(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n lib_gl = lib_glu = lib_gle = None\n if sys.platform == \"win32\":\n lib_gl = find_library(\"OpenGL32\")\n lib_glu = find_library(\"Glu32\")\n elif sys.platform == \"darwin\":\n lib_gl = lib_glu = find_library(\"OpenGL\")\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_find", "documentation": {} }, { "label": "FindLibraryLinux", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_find", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_find", "peekOfCode": "class FindLibraryLinux(unittest.TestCase):\n def test_find_on_libpath(self):\n import subprocess\n import tempfile\n try:\n p = subprocess.Popen(['gcc', '--version'], stdout=subprocess.PIPE,\n stderr=subprocess.DEVNULL)\n out, _ = p.communicate()\n except OSError:\n raise unittest.SkipTest('gcc, needed for test, not available')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_find", "documentation": {} }, { "label": "X", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_frombuffer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_frombuffer", "peekOfCode": "class X(Structure):\n _fields_ = [(\"c_int\", c_int)]\n init_called = False\n def __init__(self):\n self._init_called = True\nclass Test(unittest.TestCase):\n def test_from_buffer(self):\n a = array.array(\"i\", range(16))\n x = (c_int * 16).from_buffer(a)\n y = X.from_buffer(a)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_frombuffer", "documentation": {} }, { "label": "Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_frombuffer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_frombuffer", "peekOfCode": "class Test(unittest.TestCase):\n def test_from_buffer(self):\n a = array.array(\"i\", range(16))\n x = (c_int * 16).from_buffer(a)\n y = X.from_buffer(a)\n self.assertEqual(y.c_int, a[0])\n self.assertFalse(y.init_called)\n self.assertEqual(x[:], a.tolist())\n a[0], a[-1] = 200, -200\n self.assertEqual(x[:], a.tolist())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_frombuffer", "documentation": {} }, { "label": "CFuncPtrTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_funcptr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_funcptr", "peekOfCode": "class CFuncPtrTestCase(unittest.TestCase):\n def test_basic(self):\n X = WINFUNCTYPE(c_int, c_int, c_int)\n def func(*args):\n return len(args)\n x = X(func)\n self.assertEqual(x.restype, c_int)\n self.assertEqual(x.argtypes, (c_int, c_int))\n self.assertEqual(sizeof(x), sizeof(c_voidp))\n self.assertEqual(sizeof(X), sizeof(c_voidp))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_funcptr", "documentation": {} }, { "label": "lib", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_funcptr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_funcptr", "peekOfCode": "lib = CDLL(_ctypes_test.__file__)\nclass CFuncPtrTestCase(unittest.TestCase):\n def test_basic(self):\n X = WINFUNCTYPE(c_int, c_int, c_int)\n def func(*args):\n return len(args)\n x = X(func)\n self.assertEqual(x.restype, c_int)\n self.assertEqual(x.argtypes, (c_int, c_int))\n self.assertEqual(sizeof(x), sizeof(c_voidp))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_funcptr", "documentation": {} }, { "label": "POINT", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_functions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_functions", "peekOfCode": "class POINT(Structure):\n _fields_ = [(\"x\", c_int), (\"y\", c_int)]\nclass RECT(Structure):\n _fields_ = [(\"left\", c_int), (\"top\", c_int),\n (\"right\", c_int), (\"bottom\", c_int)]\nclass FunctionTestCase(unittest.TestCase):\n def test_mro(self):\n # in Python 2.3, this raises TypeError: MRO conflict among bases classes,\n # in Python 2.2 it works.\n #", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_functions", "documentation": {} }, { "label": "RECT", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_functions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_functions", "peekOfCode": "class RECT(Structure):\n _fields_ = [(\"left\", c_int), (\"top\", c_int),\n (\"right\", c_int), (\"bottom\", c_int)]\nclass FunctionTestCase(unittest.TestCase):\n def test_mro(self):\n # in Python 2.3, this raises TypeError: MRO conflict among bases classes,\n # in Python 2.2 it works.\n #\n # But in early versions of _ctypes.c, the result of tp_new\n # wasn't checked, and it even crashed Python.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_functions", "documentation": {} }, { "label": "FunctionTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_functions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_functions", "peekOfCode": "class FunctionTestCase(unittest.TestCase):\n def test_mro(self):\n # in Python 2.3, this raises TypeError: MRO conflict among bases classes,\n # in Python 2.2 it works.\n #\n # But in early versions of _ctypes.c, the result of tp_new\n # wasn't checked, and it even crashed Python.\n # Found by Greg Chapman.\n with self.assertRaises(TypeError):\n class X(object, Array):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_functions", "documentation": {} }, { "label": "dll", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_functions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_functions", "peekOfCode": "dll = CDLL(_ctypes_test.__file__)\nif sys.platform == \"win32\":\n windll = WinDLL(_ctypes_test.__file__)\nclass POINT(Structure):\n _fields_ = [(\"x\", c_int), (\"y\", c_int)]\nclass RECT(Structure):\n _fields_ = [(\"left\", c_int), (\"top\", c_int),\n (\"right\", c_int), (\"bottom\", c_int)]\nclass FunctionTestCase(unittest.TestCase):\n def test_mro(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_functions", "documentation": {} }, { "label": "MyTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_incomplete", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_incomplete", "peekOfCode": "class MyTestCase(unittest.TestCase):\n def test_incomplete_example(self):\n lpcell = POINTER(\"cell\")\n class cell(Structure):\n _fields_ = [(\"name\", c_char_p),\n (\"next\", lpcell)]\n SetPointerType(lpcell, cell)\n c1 = cell()\n c1.name = b\"foo\"\n c2 = cell()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_incomplete", "documentation": {} }, { "label": "X", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_init", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_init", "peekOfCode": "class X(Structure):\n _fields_ = [(\"a\", c_int),\n (\"b\", c_int)]\n new_was_called = False\n def __new__(cls):\n result = super().__new__(cls)\n result.new_was_called = True\n return result\n def __init__(self):\n self.a = 9", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_init", "documentation": {} }, { "label": "Y", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_init", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_init", "peekOfCode": "class Y(Structure):\n _fields_ = [(\"x\", X)]\nclass InitTest(unittest.TestCase):\n def test_get(self):\n # make sure the only accessing a nested structure\n # doesn't call the structure's __new__ and __init__\n y = Y()\n self.assertEqual((y.x.a, y.x.b), (0, 0))\n self.assertEqual(y.x.new_was_called, False)\n # But explicitly creating an X structure calls __new__ and __init__, of course.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_init", "documentation": {} }, { "label": "InitTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_init", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_init", "peekOfCode": "class InitTest(unittest.TestCase):\n def test_get(self):\n # make sure the only accessing a nested structure\n # doesn't call the structure's __new__ and __init__\n y = Y()\n self.assertEqual((y.x.a, y.x.b), (0, 0))\n self.assertEqual(y.x.new_was_called, False)\n # But explicitly creating an X structure calls __new__ and __init__, of course.\n x = X()\n self.assertEqual((x.a, x.b), (9, 12))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_init", "documentation": {} }, { "label": "ObjectsTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_internals", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_internals", "peekOfCode": "class ObjectsTestCase(unittest.TestCase):\n def assertSame(self, a, b):\n self.assertEqual(id(a), id(b))\n def test_ints(self):\n i = 42000123\n refcnt = grc(i)\n ci = c_int(i)\n self.assertEqual(refcnt, grc(i))\n self.assertEqual(ci._objects, None)\n def test_c_char_p(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_internals", "documentation": {} }, { "label": "SimpleTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_keeprefs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_keeprefs", "peekOfCode": "class SimpleTestCase(unittest.TestCase):\n def test_cint(self):\n x = c_int()\n self.assertEqual(x._objects, None)\n x.value = 42\n self.assertEqual(x._objects, None)\n x = c_int(99)\n self.assertEqual(x._objects, None)\n def test_ccharp(self):\n x = c_char_p()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_keeprefs", "documentation": {} }, { "label": "StructureTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_keeprefs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_keeprefs", "peekOfCode": "class StructureTestCase(unittest.TestCase):\n def test_cint_struct(self):\n class X(Structure):\n _fields_ = [(\"a\", c_int),\n (\"b\", c_int)]\n x = X()\n self.assertEqual(x._objects, None)\n x.a = 42\n x.b = 99\n self.assertEqual(x._objects, None)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_keeprefs", "documentation": {} }, { "label": "ArrayTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_keeprefs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_keeprefs", "peekOfCode": "class ArrayTestCase(unittest.TestCase):\n def test_cint_array(self):\n INTARR = c_int * 3\n ia = INTARR()\n self.assertEqual(ia._objects, None)\n ia[0] = 1\n ia[1] = 2\n ia[2] = 3\n self.assertEqual(ia._objects, None)\n class X(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_keeprefs", "documentation": {} }, { "label": "PointerTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_keeprefs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_keeprefs", "peekOfCode": "class PointerTestCase(unittest.TestCase):\n def test_p_cint(self):\n i = c_int(42)\n x = pointer(i)\n self.assertEqual(x._objects, {'1': i})\nclass DeletePointerTestCase(unittest.TestCase):\n @unittest.skip('test disabled')\n def test_X(self):\n class X(Structure):\n _fields_ = [(\"p\", POINTER(c_char_p))]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_keeprefs", "documentation": {} }, { "label": "DeletePointerTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_keeprefs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_keeprefs", "peekOfCode": "class DeletePointerTestCase(unittest.TestCase):\n @unittest.skip('test disabled')\n def test_X(self):\n class X(Structure):\n _fields_ = [(\"p\", POINTER(c_char_p))]\n x = X()\n i = c_char_p(\"abc def\")\n from sys import getrefcount as grc\n print(\"2?\", grc(i))\n x.p = pointer(i)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_keeprefs", "documentation": {} }, { "label": "PointerToStructure", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_keeprefs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_keeprefs", "peekOfCode": "class PointerToStructure(unittest.TestCase):\n def test(self):\n class POINT(Structure):\n _fields_ = [(\"x\", c_int), (\"y\", c_int)]\n class RECT(Structure):\n _fields_ = [(\"a\", POINTER(POINT)),\n (\"b\", POINTER(POINT))]\n r = RECT()\n p1 = POINT(1, 2)\n r.a = pointer(p1)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_keeprefs", "documentation": {} }, { "label": "LibTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_libc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_libc", "peekOfCode": "class LibTest(unittest.TestCase):\n def test_sqrt(self):\n lib.my_sqrt.argtypes = c_double,\n lib.my_sqrt.restype = c_double\n self.assertEqual(lib.my_sqrt(4.0), 2.0)\n import math\n self.assertEqual(lib.my_sqrt(2.0), math.sqrt(2.0))\n def test_qsort(self):\n comparefunc = CFUNCTYPE(c_int, POINTER(c_char), POINTER(c_char))\n lib.my_qsort.argtypes = c_void_p, c_size_t, c_size_t, comparefunc", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_libc", "documentation": {} }, { "label": "three_way_cmp", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_libc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_libc", "peekOfCode": "def three_way_cmp(x, y):\n \"\"\"Return -1 if x < y, 0 if x == y and 1 if x > y\"\"\"\n return (x > y) - (x < y)\nclass LibTest(unittest.TestCase):\n def test_sqrt(self):\n lib.my_sqrt.argtypes = c_double,\n lib.my_sqrt.restype = c_double\n self.assertEqual(lib.my_sqrt(4.0), 2.0)\n import math\n self.assertEqual(lib.my_sqrt(2.0), math.sqrt(2.0))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_libc", "documentation": {} }, { "label": "lib", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_libc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_libc", "peekOfCode": "lib = CDLL(_ctypes_test.__file__)\ndef three_way_cmp(x, y):\n \"\"\"Return -1 if x < y, 0 if x == y and 1 if x > y\"\"\"\n return (x > y) - (x < y)\nclass LibTest(unittest.TestCase):\n def test_sqrt(self):\n lib.my_sqrt.argtypes = c_double,\n lib.my_sqrt.restype = c_double\n self.assertEqual(lib.my_sqrt(4.0), 2.0)\n import math", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_libc", "documentation": {} }, { "label": "LoaderTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_loading", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_loading", "peekOfCode": "class LoaderTest(unittest.TestCase):\n unknowndll = \"xxrandomnamexx\"\n def test_load(self):\n if libc_name is None:\n self.skipTest('could not find libc')\n CDLL(libc_name)\n CDLL(os.path.basename(libc_name))\n self.assertRaises(OSError, CDLL, self.unknowndll)\n def test_load_version(self):\n if libc_name is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_loading", "documentation": {} }, { "label": "setUpModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_loading", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_loading", "peekOfCode": "def setUpModule():\n global libc_name\n if os.name == \"nt\":\n libc_name = find_library(\"c\")\n elif sys.platform == \"cygwin\":\n libc_name = \"cygwin1.dll\"\n else:\n libc_name = find_library(\"c\")\n if test.support.verbose:\n print(\"libc_name is\", libc_name)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_loading", "documentation": {} }, { "label": "libc_name", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_loading", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_loading", "peekOfCode": "libc_name = None\ndef setUpModule():\n global libc_name\n if os.name == \"nt\":\n libc_name = find_library(\"c\")\n elif sys.platform == \"cygwin\":\n libc_name = \"cygwin1.dll\"\n else:\n libc_name = find_library(\"c\")\n if test.support.verbose:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_loading", "documentation": {} }, { "label": "MachOTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_macholib", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_macholib", "peekOfCode": "class MachOTest(unittest.TestCase):\n @unittest.skipUnless(sys.platform == \"darwin\", 'OSX-specific test')\n def test_find(self):\n # On Mac OS 11, system dylibs are only present in the shared cache,\n # so symlinks like libpthread.dylib -> libSystem.B.dylib will not\n # be resolved by dyld_find\n self.assertIn(find_lib('pthread'),\n ('/usr/lib/libSystem.B.dylib', '/usr/lib/libpthread.dylib'))\n result = find_lib('z')\n # Issue #21093: dyld default search path includes $HOME/lib and", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_macholib", "documentation": {} }, { "label": "find_lib", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_macholib", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_macholib", "peekOfCode": "def find_lib(name):\n possible = ['lib'+name+'.dylib', name+'.dylib', name+'.framework/'+name]\n for dylib in possible:\n try:\n return os.path.realpath(dyld_find(dylib))\n except ValueError:\n pass\n raise ValueError(\"%s not found\" % (name,))\nclass MachOTest(unittest.TestCase):\n @unittest.skipUnless(sys.platform == \"darwin\", 'OSX-specific test')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_macholib", "documentation": {} }, { "label": "MemFunctionsTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_memfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_memfunctions", "peekOfCode": "class MemFunctionsTest(unittest.TestCase):\n @unittest.skip('test disabled')\n def test_overflow(self):\n # string_at and wstring_at must use the Python calling\n # convention (which acquires the GIL and checks the Python\n # error flag). Provoke an error and catch it; see also issue\n # #3554: <http://bugs.python.org/issue3554>\n self.assertRaises((OverflowError, MemoryError, SystemError),\n lambda: wstring_at(u\"foo\", sys.maxint - 1))\n self.assertRaises((OverflowError, MemoryError, SystemError),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_memfunctions", "documentation": {} }, { "label": "NumberTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "peekOfCode": "class NumberTestCase(unittest.TestCase):\n def test_default_init(self):\n # default values are set to zero\n for t in signed_types + unsigned_types + float_types:\n self.assertEqual(t().value, 0)\n def test_unsigned_values(self):\n # the value given to the constructor is available\n # as the 'value' attribute\n for t, (l, h) in zip(unsigned_types, unsigned_ranges):\n self.assertEqual(t(l).value, l)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "documentation": {} }, { "label": "c_int_S", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "peekOfCode": "class c_int_S(_SimpleCData):\n _type_ = \"i\"\n __slots__ = []\ndef run_test(rep, msg, func, arg=None):\n## items = [None] * rep\n items = range(rep)\n from time import perf_counter as clock\n if arg is not None:\n start = clock()\n for i in items:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "documentation": {} }, { "label": "valid_ranges", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "peekOfCode": "def valid_ranges(*types):\n # given a sequence of numeric types, collect their _type_\n # attribute, which is a single format character compatible with\n # the struct module, use the struct module to calculate the\n # minimum and maximum value allowed for this format.\n # Returns a list of (min, max) values.\n result = []\n for t in types:\n fmt = t._type_\n size = struct.calcsize(fmt)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "documentation": {} }, { "label": "run_test", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "peekOfCode": "def run_test(rep, msg, func, arg=None):\n## items = [None] * rep\n items = range(rep)\n from time import perf_counter as clock\n if arg is not None:\n start = clock()\n for i in items:\n func(arg); func(arg); func(arg); func(arg); func(arg)\n stop = clock()\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "documentation": {} }, { "label": "check_perf", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "peekOfCode": "def check_perf():\n # Construct 5 objects\n from ctypes import c_int\n REP = 200000\n run_test(REP, \"int()\", int)\n run_test(REP, \"int(999)\", int)\n run_test(REP, \"c_int()\", c_int)\n run_test(REP, \"c_int(999)\", c_int)\n run_test(REP, \"c_int_S()\", c_int_S)\n run_test(REP, \"c_int_S(999)\", c_int_S)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "documentation": {} }, { "label": "ArgType", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "peekOfCode": "ArgType = type(byref(c_int(0)))\nunsigned_types = [c_ubyte, c_ushort, c_uint, c_ulong]\nsigned_types = [c_byte, c_short, c_int, c_long, c_longlong]\nbool_types = []\nfloat_types = [c_double, c_float]\ntry:\n c_ulonglong\n c_longlong\nexcept NameError:\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "documentation": {} }, { "label": "unsigned_types", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "peekOfCode": "unsigned_types = [c_ubyte, c_ushort, c_uint, c_ulong]\nsigned_types = [c_byte, c_short, c_int, c_long, c_longlong]\nbool_types = []\nfloat_types = [c_double, c_float]\ntry:\n c_ulonglong\n c_longlong\nexcept NameError:\n pass\nelse:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "documentation": {} }, { "label": "signed_types", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "peekOfCode": "signed_types = [c_byte, c_short, c_int, c_long, c_longlong]\nbool_types = []\nfloat_types = [c_double, c_float]\ntry:\n c_ulonglong\n c_longlong\nexcept NameError:\n pass\nelse:\n unsigned_types.append(c_ulonglong)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "documentation": {} }, { "label": "bool_types", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "peekOfCode": "bool_types = []\nfloat_types = [c_double, c_float]\ntry:\n c_ulonglong\n c_longlong\nexcept NameError:\n pass\nelse:\n unsigned_types.append(c_ulonglong)\n signed_types.append(c_longlong)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "documentation": {} }, { "label": "float_types", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "peekOfCode": "float_types = [c_double, c_float]\ntry:\n c_ulonglong\n c_longlong\nexcept NameError:\n pass\nelse:\n unsigned_types.append(c_ulonglong)\n signed_types.append(c_longlong)\ntry:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "documentation": {} }, { "label": "unsigned_ranges", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "peekOfCode": "unsigned_ranges = valid_ranges(*unsigned_types)\nsigned_ranges = valid_ranges(*signed_types)\nbool_values = [True, False, 0, 1, -1, 5000, 'test', [], [1]]\n################################################################\nclass NumberTestCase(unittest.TestCase):\n def test_default_init(self):\n # default values are set to zero\n for t in signed_types + unsigned_types + float_types:\n self.assertEqual(t().value, 0)\n def test_unsigned_values(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "documentation": {} }, { "label": "signed_ranges", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "peekOfCode": "signed_ranges = valid_ranges(*signed_types)\nbool_values = [True, False, 0, 1, -1, 5000, 'test', [], [1]]\n################################################################\nclass NumberTestCase(unittest.TestCase):\n def test_default_init(self):\n # default values are set to zero\n for t in signed_types + unsigned_types + float_types:\n self.assertEqual(t().value, 0)\n def test_unsigned_values(self):\n # the value given to the constructor is available", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "documentation": {} }, { "label": "bool_values", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "peekOfCode": "bool_values = [True, False, 0, 1, -1, 5000, 'test', [], [1]]\n################################################################\nclass NumberTestCase(unittest.TestCase):\n def test_default_init(self):\n # default values are set to zero\n for t in signed_types + unsigned_types + float_types:\n self.assertEqual(t().value, 0)\n def test_unsigned_values(self):\n # the value given to the constructor is available\n # as the 'value' attribute", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_numbers", "documentation": {} }, { "label": "TestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_objects", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_objects", "peekOfCode": "class TestCase(unittest.TestCase):\n def test(self):\n failures, tests = doctest.testmod(ctypes.test.test_objects)\n self.assertFalse(failures, 'doctests failed, see output above')\nif __name__ == '__main__':\n doctest.testmod(ctypes.test.test_objects)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_objects", "documentation": {} }, { "label": "SimpleTypesTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_parameters", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_parameters", "peekOfCode": "class SimpleTypesTestCase(unittest.TestCase):\n def setUp(self):\n import ctypes\n try:\n from _ctypes import set_conversion_mode\n except ImportError:\n pass\n else:\n self.prev_conv_mode = set_conversion_mode(\"ascii\", \"strict\")\n def tearDown(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_parameters", "documentation": {} }, { "label": "Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "class Test(unittest.TestCase):\n def test_native_types(self):\n for tp, fmt, shape, itemtp in native_types:\n ob = tp()\n v = memoryview(ob)\n try:\n self.assertEqual(normalize(v.format), normalize(fmt))\n if shape:\n self.assertEqual(len(v), shape[0])\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "Point", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "class Point(Structure):\n _fields_ = [(\"x\", c_long), (\"y\", c_long)]\nclass PackedPoint(Structure):\n _pack_ = 2\n _fields_ = [(\"x\", c_long), (\"y\", c_long)]\nclass Point2(Structure):\n pass\nPoint2._fields_ = [(\"x\", c_long), (\"y\", c_long)]\nclass EmptyStruct(Structure):\n _fields_ = []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "PackedPoint", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "class PackedPoint(Structure):\n _pack_ = 2\n _fields_ = [(\"x\", c_long), (\"y\", c_long)]\nclass Point2(Structure):\n pass\nPoint2._fields_ = [(\"x\", c_long), (\"y\", c_long)]\nclass EmptyStruct(Structure):\n _fields_ = []\nclass aUnion(Union):\n _fields_ = [(\"a\", c_int)]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "Point2", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "class Point2(Structure):\n pass\nPoint2._fields_ = [(\"x\", c_long), (\"y\", c_long)]\nclass EmptyStruct(Structure):\n _fields_ = []\nclass aUnion(Union):\n _fields_ = [(\"a\", c_int)]\nclass StructWithArrays(Structure):\n _fields_ = [(\"x\", c_long * 3 * 2), (\"y\", Point * 4)]\nclass Incomplete(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "EmptyStruct", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "class EmptyStruct(Structure):\n _fields_ = []\nclass aUnion(Union):\n _fields_ = [(\"a\", c_int)]\nclass StructWithArrays(Structure):\n _fields_ = [(\"x\", c_long * 3 * 2), (\"y\", Point * 4)]\nclass Incomplete(Structure):\n pass\nclass Complete(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "aUnion", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "class aUnion(Union):\n _fields_ = [(\"a\", c_int)]\nclass StructWithArrays(Structure):\n _fields_ = [(\"x\", c_long * 3 * 2), (\"y\", Point * 4)]\nclass Incomplete(Structure):\n pass\nclass Complete(Structure):\n pass\nPComplete = POINTER(Complete)\nComplete._fields_ = [(\"a\", c_long)]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "StructWithArrays", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "class StructWithArrays(Structure):\n _fields_ = [(\"x\", c_long * 3 * 2), (\"y\", Point * 4)]\nclass Incomplete(Structure):\n pass\nclass Complete(Structure):\n pass\nPComplete = POINTER(Complete)\nComplete._fields_ = [(\"a\", c_long)]\n################################################################\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "Incomplete", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "class Incomplete(Structure):\n pass\nclass Complete(Structure):\n pass\nPComplete = POINTER(Complete)\nComplete._fields_ = [(\"a\", c_long)]\n################################################################\n#\n# This table contains format strings as they look on little endian\n# machines. The test replaces '<' with '>' on big endian machines.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "Complete", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "class Complete(Structure):\n pass\nPComplete = POINTER(Complete)\nComplete._fields_ = [(\"a\", c_long)]\n################################################################\n#\n# This table contains format strings as they look on little endian\n# machines. The test replaces '<' with '>' on big endian machines.\n#\n# Platform-specific type codes", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "BEPoint", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "class BEPoint(BigEndianStructure):\n _fields_ = [(\"x\", c_long), (\"y\", c_long)]\nclass LEPoint(LittleEndianStructure):\n _fields_ = [(\"x\", c_long), (\"y\", c_long)]\n################################################################\n#\n# This table contains format strings as they really look, on both big\n# and little endian machines.\n#\nendian_types = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "LEPoint", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "class LEPoint(LittleEndianStructure):\n _fields_ = [(\"x\", c_long), (\"y\", c_long)]\n################################################################\n#\n# This table contains format strings as they really look, on both big\n# and little endian machines.\n#\nendian_types = [\n (BEPoint, \"T{>l:x:>l:y:}\".replace('l', s_long), (), BEPoint),\n (LEPoint, \"T{<l:x:<l:y:}\".replace('l', s_long), (), LEPoint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "normalize", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "def normalize(format):\n # Remove current endian specifier and white space from a format\n # string\n if format is None:\n return \"\"\n format = format.replace(OTHER_ENDIAN, THIS_ENDIAN)\n return re.sub(r\"\\s\", \"\", format)\nclass Test(unittest.TestCase):\n def test_native_types(self):\n for tp, fmt, shape, itemtp in native_types:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "Point2._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "Point2._fields_ = [(\"x\", c_long), (\"y\", c_long)]\nclass EmptyStruct(Structure):\n _fields_ = []\nclass aUnion(Union):\n _fields_ = [(\"a\", c_int)]\nclass StructWithArrays(Structure):\n _fields_ = [(\"x\", c_long * 3 * 2), (\"y\", Point * 4)]\nclass Incomplete(Structure):\n pass\nclass Complete(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "PComplete", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "PComplete = POINTER(Complete)\nComplete._fields_ = [(\"a\", c_long)]\n################################################################\n#\n# This table contains format strings as they look on little endian\n# machines. The test replaces '<' with '>' on big endian machines.\n#\n# Platform-specific type codes\ns_bool = {1: '?', 2: 'H', 4: 'L', 8: 'Q'}[sizeof(c_bool)]\ns_short = {2: 'h', 4: 'l', 8: 'q'}[sizeof(c_short)]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "Complete._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "Complete._fields_ = [(\"a\", c_long)]\n################################################################\n#\n# This table contains format strings as they look on little endian\n# machines. The test replaces '<' with '>' on big endian machines.\n#\n# Platform-specific type codes\ns_bool = {1: '?', 2: 'H', 4: 'L', 8: 'Q'}[sizeof(c_bool)]\ns_short = {2: 'h', 4: 'l', 8: 'q'}[sizeof(c_short)]\ns_ushort = {2: 'H', 4: 'L', 8: 'Q'}[sizeof(c_ushort)]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "s_bool", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "s_bool = {1: '?', 2: 'H', 4: 'L', 8: 'Q'}[sizeof(c_bool)]\ns_short = {2: 'h', 4: 'l', 8: 'q'}[sizeof(c_short)]\ns_ushort = {2: 'H', 4: 'L', 8: 'Q'}[sizeof(c_ushort)]\ns_int = {2: 'h', 4: 'i', 8: 'q'}[sizeof(c_int)]\ns_uint = {2: 'H', 4: 'I', 8: 'Q'}[sizeof(c_uint)]\ns_long = {4: 'l', 8: 'q'}[sizeof(c_long)]\ns_ulong = {4: 'L', 8: 'Q'}[sizeof(c_ulong)]\ns_longlong = \"q\"\ns_ulonglong = \"Q\"\ns_float = \"f\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "s_short", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "s_short = {2: 'h', 4: 'l', 8: 'q'}[sizeof(c_short)]\ns_ushort = {2: 'H', 4: 'L', 8: 'Q'}[sizeof(c_ushort)]\ns_int = {2: 'h', 4: 'i', 8: 'q'}[sizeof(c_int)]\ns_uint = {2: 'H', 4: 'I', 8: 'Q'}[sizeof(c_uint)]\ns_long = {4: 'l', 8: 'q'}[sizeof(c_long)]\ns_ulong = {4: 'L', 8: 'Q'}[sizeof(c_ulong)]\ns_longlong = \"q\"\ns_ulonglong = \"Q\"\ns_float = \"f\"\ns_double = \"d\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "s_ushort", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "s_ushort = {2: 'H', 4: 'L', 8: 'Q'}[sizeof(c_ushort)]\ns_int = {2: 'h', 4: 'i', 8: 'q'}[sizeof(c_int)]\ns_uint = {2: 'H', 4: 'I', 8: 'Q'}[sizeof(c_uint)]\ns_long = {4: 'l', 8: 'q'}[sizeof(c_long)]\ns_ulong = {4: 'L', 8: 'Q'}[sizeof(c_ulong)]\ns_longlong = \"q\"\ns_ulonglong = \"Q\"\ns_float = \"f\"\ns_double = \"d\"\ns_longdouble = \"g\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "s_int", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "s_int = {2: 'h', 4: 'i', 8: 'q'}[sizeof(c_int)]\ns_uint = {2: 'H', 4: 'I', 8: 'Q'}[sizeof(c_uint)]\ns_long = {4: 'l', 8: 'q'}[sizeof(c_long)]\ns_ulong = {4: 'L', 8: 'Q'}[sizeof(c_ulong)]\ns_longlong = \"q\"\ns_ulonglong = \"Q\"\ns_float = \"f\"\ns_double = \"d\"\ns_longdouble = \"g\"\n# Alias definitions in ctypes/__init__.py", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "s_uint", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "s_uint = {2: 'H', 4: 'I', 8: 'Q'}[sizeof(c_uint)]\ns_long = {4: 'l', 8: 'q'}[sizeof(c_long)]\ns_ulong = {4: 'L', 8: 'Q'}[sizeof(c_ulong)]\ns_longlong = \"q\"\ns_ulonglong = \"Q\"\ns_float = \"f\"\ns_double = \"d\"\ns_longdouble = \"g\"\n# Alias definitions in ctypes/__init__.py\nif c_int is c_long:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "s_long", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "s_long = {4: 'l', 8: 'q'}[sizeof(c_long)]\ns_ulong = {4: 'L', 8: 'Q'}[sizeof(c_ulong)]\ns_longlong = \"q\"\ns_ulonglong = \"Q\"\ns_float = \"f\"\ns_double = \"d\"\ns_longdouble = \"g\"\n# Alias definitions in ctypes/__init__.py\nif c_int is c_long:\n s_int = s_long", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "s_ulong", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "s_ulong = {4: 'L', 8: 'Q'}[sizeof(c_ulong)]\ns_longlong = \"q\"\ns_ulonglong = \"Q\"\ns_float = \"f\"\ns_double = \"d\"\ns_longdouble = \"g\"\n# Alias definitions in ctypes/__init__.py\nif c_int is c_long:\n s_int = s_long\nif c_uint is c_ulong:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "s_longlong", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "s_longlong = \"q\"\ns_ulonglong = \"Q\"\ns_float = \"f\"\ns_double = \"d\"\ns_longdouble = \"g\"\n# Alias definitions in ctypes/__init__.py\nif c_int is c_long:\n s_int = s_long\nif c_uint is c_ulong:\n s_uint = s_ulong", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "s_ulonglong", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "s_ulonglong = \"Q\"\ns_float = \"f\"\ns_double = \"d\"\ns_longdouble = \"g\"\n# Alias definitions in ctypes/__init__.py\nif c_int is c_long:\n s_int = s_long\nif c_uint is c_ulong:\n s_uint = s_ulong\nif c_longlong is c_long:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "s_float", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "s_float = \"f\"\ns_double = \"d\"\ns_longdouble = \"g\"\n# Alias definitions in ctypes/__init__.py\nif c_int is c_long:\n s_int = s_long\nif c_uint is c_ulong:\n s_uint = s_ulong\nif c_longlong is c_long:\n s_longlong = s_long", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "s_double", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "s_double = \"d\"\ns_longdouble = \"g\"\n# Alias definitions in ctypes/__init__.py\nif c_int is c_long:\n s_int = s_long\nif c_uint is c_ulong:\n s_uint = s_ulong\nif c_longlong is c_long:\n s_longlong = s_long\nif c_ulonglong is c_ulong:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "s_longdouble", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "s_longdouble = \"g\"\n# Alias definitions in ctypes/__init__.py\nif c_int is c_long:\n s_int = s_long\nif c_uint is c_ulong:\n s_uint = s_ulong\nif c_longlong is c_long:\n s_longlong = s_long\nif c_ulonglong is c_ulong:\n s_ulonglong = s_ulong", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "native_types", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "native_types = [\n # type format shape calc itemsize\n ## simple types\n (c_char, \"<c\", (), c_char),\n (c_byte, \"<b\", (), c_byte),\n (c_ubyte, \"<B\", (), c_ubyte),\n (c_short, \"<\" + s_short, (), c_short),\n (c_ushort, \"<\" + s_ushort, (), c_ushort),\n (c_int, \"<\" + s_int, (), c_int),\n (c_uint, \"<\" + s_uint, (), c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "endian_types", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "peekOfCode": "endian_types = [\n (BEPoint, \"T{>l:x:>l:y:}\".replace('l', s_long), (), BEPoint),\n (LEPoint, \"T{<l:x:<l:y:}\".replace('l', s_long), (), LEPoint),\n (POINTER(BEPoint), \"&T{>l:x:>l:y:}\".replace('l', s_long), (), POINTER(BEPoint)),\n (POINTER(LEPoint), \"&T{<l:x:<l:y:}\".replace('l', s_long), (), POINTER(LEPoint)),\n ]\nif __name__ == \"__main__\":\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pep3118", "documentation": {} }, { "label": "X", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pickling", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pickling", "peekOfCode": "class X(Structure):\n _fields_ = [(\"a\", c_int), (\"b\", c_double)]\n init_called = 0\n def __init__(self, *args, **kw):\n X.init_called += 1\n self.x = 42\nclass Y(X):\n _fields_ = [(\"str\", c_char_p)]\nclass PickleTest:\n def dumps(self, item):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pickling", "documentation": {} }, { "label": "Y", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pickling", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pickling", "peekOfCode": "class Y(X):\n _fields_ = [(\"str\", c_char_p)]\nclass PickleTest:\n def dumps(self, item):\n return pickle.dumps(item, self.proto)\n def loads(self, item):\n return pickle.loads(item)\n def test_simple(self):\n for src in [\n c_int(42),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pickling", "documentation": {} }, { "label": "PickleTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pickling", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pickling", "peekOfCode": "class PickleTest:\n def dumps(self, item):\n return pickle.dumps(item, self.proto)\n def loads(self, item):\n return pickle.loads(item)\n def test_simple(self):\n for src in [\n c_int(42),\n c_double(3.14),\n ]:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pickling", "documentation": {} }, { "label": "dll", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pickling", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pickling", "peekOfCode": "dll = CDLL(_ctypes_test.__file__)\nclass X(Structure):\n _fields_ = [(\"a\", c_int), (\"b\", c_double)]\n init_called = 0\n def __init__(self, *args, **kw):\n X.init_called += 1\n self.x = 42\nclass Y(X):\n _fields_ = [(\"str\", c_char_p)]\nclass PickleTest:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pickling", "documentation": {} }, { "label": "PointersTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pointers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pointers", "peekOfCode": "class PointersTestCase(unittest.TestCase):\n def test_pointer_crash(self):\n class A(POINTER(c_ulong)):\n pass\n POINTER(c_ulong)(c_ulong(22))\n # Pointer can't set contents: has no _type_\n self.assertRaises(TypeError, A, c_ulong(33))\n def test_pass_pointers(self):\n dll = CDLL(_ctypes_test.__file__)\n func = dll._testfunc_p_p", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pointers", "documentation": {} }, { "label": "ctype_types", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pointers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pointers", "peekOfCode": "ctype_types = [c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint,\n c_long, c_ulong, c_longlong, c_ulonglong, c_double, c_float]\npython_types = [int, int, int, int, int, int,\n int, int, int, int, float, float]\nclass PointersTestCase(unittest.TestCase):\n def test_pointer_crash(self):\n class A(POINTER(c_ulong)):\n pass\n POINTER(c_ulong)(c_ulong(22))\n # Pointer can't set contents: has no _type_", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pointers", "documentation": {} }, { "label": "python_types", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pointers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pointers", "peekOfCode": "python_types = [int, int, int, int, int, int,\n int, int, int, int, float, float]\nclass PointersTestCase(unittest.TestCase):\n def test_pointer_crash(self):\n class A(POINTER(c_ulong)):\n pass\n POINTER(c_ulong)(c_ulong(22))\n # Pointer can't set contents: has no _type_\n self.assertRaises(TypeError, A, c_ulong(33))\n def test_pass_pointers(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_pointers", "documentation": {} }, { "label": "CharPointersTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_prototypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_prototypes", "peekOfCode": "class CharPointersTestCase(unittest.TestCase):\n def setUp(self):\n func = testdll._testfunc_p_p\n func.restype = c_long\n func.argtypes = None\n def test_paramflags(self):\n # function returns c_void_p result,\n # and has a required parameter named 'input'\n prototype = CFUNCTYPE(c_void_p, c_void_p)\n func = prototype((\"_testfunc_p_p\", testdll),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_prototypes", "documentation": {} }, { "label": "WCharPointersTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_prototypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_prototypes", "peekOfCode": "class WCharPointersTestCase(unittest.TestCase):\n def setUp(self):\n func = testdll._testfunc_p_p\n func.restype = c_int\n func.argtypes = None\n def test_POINTER_c_wchar_arg(self):\n func = testdll._testfunc_p_p\n func.restype = c_wchar_p\n func.argtypes = POINTER(c_wchar),\n self.assertEqual(None, func(None))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_prototypes", "documentation": {} }, { "label": "ArrayTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_prototypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_prototypes", "peekOfCode": "class ArrayTest(unittest.TestCase):\n def test(self):\n func = testdll._testfunc_ai8\n func.restype = POINTER(c_int)\n func.argtypes = c_int * 8,\n func((c_int * 8)(1, 2, 3, 4, 5, 6, 7, 8))\n # This did crash before:\n def func(): pass\n CFUNCTYPE(None, c_int * 3)(func)\n################################################################", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_prototypes", "documentation": {} }, { "label": "positive_address", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_prototypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_prototypes", "peekOfCode": "def positive_address(a):\n if a >= 0:\n return a\n # View the bits in `a` as unsigned instead.\n import struct\n num_bits = struct.calcsize(\"P\") * 8 # num bits in native machine address\n a += 1 << num_bits\n assert a >= 0\n return a\ndef c_wbuffer(init):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_prototypes", "documentation": {} }, { "label": "c_wbuffer", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_prototypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_prototypes", "peekOfCode": "def c_wbuffer(init):\n n = len(init) + 1\n return (c_wchar * n)(*init)\nclass CharPointersTestCase(unittest.TestCase):\n def setUp(self):\n func = testdll._testfunc_p_p\n func.restype = c_long\n func.argtypes = None\n def test_paramflags(self):\n # function returns c_void_p result,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_prototypes", "documentation": {} }, { "label": "testdll", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_prototypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_prototypes", "peekOfCode": "testdll = CDLL(_ctypes_test.__file__)\n# Return machine address `a` as a (possibly long) non-negative integer.\n# Starting with Python 2.5, id(anything) is always non-negative, and\n# the ctypes addressof() inherits that via PyLong_FromVoidPtr().\ndef positive_address(a):\n if a >= 0:\n return a\n # View the bits in `a` as unsigned instead.\n import struct\n num_bits = struct.calcsize(\"P\") * 8 # num bits in native machine address", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_prototypes", "documentation": {} }, { "label": "PythonAPITestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_python_api", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_python_api", "peekOfCode": "class PythonAPITestCase(unittest.TestCase):\n def test_PyBytes_FromStringAndSize(self):\n PyBytes_FromStringAndSize = pythonapi.PyBytes_FromStringAndSize\n PyBytes_FromStringAndSize.restype = py_object\n PyBytes_FromStringAndSize.argtypes = c_char_p, c_size_t\n self.assertEqual(PyBytes_FromStringAndSize(b\"abcdefghi\", 3), b\"abc\")\n @support.refcount_test\n def test_PyString_FromString(self):\n pythonapi.PyBytes_FromString.restype = py_object\n pythonapi.PyBytes_FromString.argtypes = (c_char_p,)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_python_api", "documentation": {} }, { "label": "call_function_TestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_random_things", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_random_things", "peekOfCode": "class call_function_TestCase(unittest.TestCase):\n # _ctypes.call_function is deprecated and private, but used by\n # Gary Bishp's readline module. If we have it, we must test it as well.\n def test(self):\n from _ctypes import call_function\n windll.kernel32.LoadLibraryA.restype = c_void_p\n windll.kernel32.GetProcAddress.argtypes = c_void_p, c_char_p\n windll.kernel32.GetProcAddress.restype = c_void_p\n hdll = windll.kernel32.LoadLibraryA(b\"kernel32\")\n funcaddr = windll.kernel32.GetProcAddress(hdll, b\"GetModuleHandleA\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_random_things", "documentation": {} }, { "label": "CallbackTracbackTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_random_things", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_random_things", "peekOfCode": "class CallbackTracbackTestCase(unittest.TestCase):\n # When an exception is raised in a ctypes callback function, the C\n # code prints a traceback.\n #\n # This test makes sure the exception types *and* the exception\n # value is printed correctly.\n #\n # Changed in 0.9.3: No longer is '(in callback)' prepended to the\n # error message - instead an additional frame for the C code is\n # created, then a full traceback printed. When SystemExit is", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_random_things", "documentation": {} }, { "label": "callback_func", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_random_things", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_random_things", "peekOfCode": "def callback_func(arg):\n 42 / arg\n raise ValueError(arg)\n@unittest.skipUnless(sys.platform == \"win32\", 'Windows-specific test')\nclass call_function_TestCase(unittest.TestCase):\n # _ctypes.call_function is deprecated and private, but used by\n # Gary Bishp's readline module. If we have it, we must test it as well.\n def test(self):\n from _ctypes import call_function\n windll.kernel32.LoadLibraryA.restype = c_void_p", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_random_things", "documentation": {} }, { "label": "RefcountTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_refcounts", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_refcounts", "peekOfCode": "class RefcountTestCase(unittest.TestCase):\n @support.refcount_test\n def test_1(self):\n from sys import getrefcount as grc\n f = dll._testfunc_callback_i_if\n f.restype = ctypes.c_int\n f.argtypes = [ctypes.c_int, MyCallback]\n def callback(value):\n #print \"called back with\", value\n return value", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_refcounts", "documentation": {} }, { "label": "AnotherLeak", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_refcounts", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_refcounts", "peekOfCode": "class AnotherLeak(unittest.TestCase):\n def test_callback(self):\n import sys\n proto = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_int)\n def func(a, b):\n return a * b * 2\n f = proto(func)\n a = sys.getrefcount(ctypes.c_int)\n f(1, 2)\n self.assertEqual(sys.getrefcount(ctypes.c_int), a)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_refcounts", "documentation": {} }, { "label": "MyCallback", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_refcounts", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_refcounts", "peekOfCode": "MyCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int)\nOtherCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_ulonglong)\nimport _ctypes_test\ndll = ctypes.CDLL(_ctypes_test.__file__)\nclass RefcountTestCase(unittest.TestCase):\n @support.refcount_test\n def test_1(self):\n from sys import getrefcount as grc\n f = dll._testfunc_callback_i_if\n f.restype = ctypes.c_int", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_refcounts", "documentation": {} }, { "label": "OtherCallback", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_refcounts", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_refcounts", "peekOfCode": "OtherCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_ulonglong)\nimport _ctypes_test\ndll = ctypes.CDLL(_ctypes_test.__file__)\nclass RefcountTestCase(unittest.TestCase):\n @support.refcount_test\n def test_1(self):\n from sys import getrefcount as grc\n f = dll._testfunc_callback_i_if\n f.restype = ctypes.c_int\n f.argtypes = [ctypes.c_int, MyCallback]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_refcounts", "documentation": {} }, { "label": "dll", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_refcounts", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_refcounts", "peekOfCode": "dll = ctypes.CDLL(_ctypes_test.__file__)\nclass RefcountTestCase(unittest.TestCase):\n @support.refcount_test\n def test_1(self):\n from sys import getrefcount as grc\n f = dll._testfunc_callback_i_if\n f.restype = ctypes.c_int\n f.argtypes = [ctypes.c_int, MyCallback]\n def callback(value):\n #print \"called back with\", value", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_refcounts", "documentation": {} }, { "label": "X", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_repr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_repr", "peekOfCode": "class X(c_char):\n pass\n# This test checks if the __repr__ is correct for subclasses of simple types\nclass ReprTest(unittest.TestCase):\n def test_numbers(self):\n for typ in subclasses:\n base = typ.__bases__[0]\n self.assertTrue(repr(base(42)).startswith(base.__name__))\n self.assertEqual(\"<X object at\", repr(typ(42))[:12])\n def test_char(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_repr", "documentation": {} }, { "label": "ReprTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_repr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_repr", "peekOfCode": "class ReprTest(unittest.TestCase):\n def test_numbers(self):\n for typ in subclasses:\n base = typ.__bases__[0]\n self.assertTrue(repr(base(42)).startswith(base.__name__))\n self.assertEqual(\"<X object at\", repr(typ(42))[:12])\n def test_char(self):\n self.assertEqual(\"c_char(b'x')\", repr(c_char(b'x')))\n self.assertEqual(\"<X object at\", repr(X(b'x'))[:12])\nif __name__ == \"__main__\":", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_repr", "documentation": {} }, { "label": "subclasses", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_repr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_repr", "peekOfCode": "subclasses = []\nfor base in [c_byte, c_short, c_int, c_long, c_longlong,\n c_ubyte, c_ushort, c_uint, c_ulong, c_ulonglong,\n c_float, c_double, c_longdouble, c_bool]:\n class X(base):\n pass\n subclasses.append(X)\nclass X(c_char):\n pass\n# This test checks if the __repr__ is correct for subclasses of simple types", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_repr", "documentation": {} }, { "label": "ReturnFuncPtrTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_returnfuncptrs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_returnfuncptrs", "peekOfCode": "class ReturnFuncPtrTestCase(unittest.TestCase):\n def test_with_prototype(self):\n # The _ctypes_test shared lib/dll exports quite some functions for testing.\n # The get_strchr function returns a *pointer* to the C strchr function.\n dll = CDLL(_ctypes_test.__file__)\n get_strchr = dll.get_strchr\n get_strchr.restype = CFUNCTYPE(c_char_p, c_char_p, c_char)\n strchr = get_strchr()\n self.assertEqual(strchr(b\"abcdef\", b\"b\"), b\"bcdef\")\n self.assertEqual(strchr(b\"abcdef\", b\"x\"), None)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_returnfuncptrs", "documentation": {} }, { "label": "MyInt", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_simplesubclasses", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_simplesubclasses", "peekOfCode": "class MyInt(c_int):\n def __eq__(self, other):\n if type(other) != MyInt:\n return NotImplementedError\n return self.value == other.value\nclass Test(unittest.TestCase):\n def test_compare(self):\n self.assertEqual(MyInt(3), MyInt(3))\n self.assertNotEqual(MyInt(42), MyInt(43))\n def test_ignore_retval(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_simplesubclasses", "documentation": {} }, { "label": "Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_simplesubclasses", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_simplesubclasses", "peekOfCode": "class Test(unittest.TestCase):\n def test_compare(self):\n self.assertEqual(MyInt(3), MyInt(3))\n self.assertNotEqual(MyInt(42), MyInt(43))\n def test_ignore_retval(self):\n # Test if the return value of a callback is ignored\n # if restype is None\n proto = CFUNCTYPE(None)\n def func():\n return (1, \"abc\", None)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_simplesubclasses", "documentation": {} }, { "label": "SizesTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_sizes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_sizes", "peekOfCode": "class SizesTestCase(unittest.TestCase):\n def test_8(self):\n self.assertEqual(1, sizeof(c_int8))\n self.assertEqual(1, sizeof(c_uint8))\n def test_16(self):\n self.assertEqual(2, sizeof(c_int16))\n self.assertEqual(2, sizeof(c_uint16))\n def test_32(self):\n self.assertEqual(4, sizeof(c_int32))\n self.assertEqual(4, sizeof(c_uint32))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_sizes", "documentation": {} }, { "label": "SlicesTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_slicing", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_slicing", "peekOfCode": "class SlicesTestCase(unittest.TestCase):\n def test_getslice_cint(self):\n a = (c_int * 100)(*range(1100, 1200))\n b = list(range(1100, 1200))\n self.assertEqual(a[0:2], b[0:2])\n self.assertEqual(a[0:2:], b[0:2:])\n self.assertEqual(len(a), len(b))\n self.assertEqual(a[5:7], b[5:7])\n self.assertEqual(a[5:7:], b[5:7:])\n self.assertEqual(a[-1], b[-1])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_slicing", "documentation": {} }, { "label": "StringPtrTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_stringptr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_stringptr", "peekOfCode": "class StringPtrTestCase(unittest.TestCase):\n @support.refcount_test\n def test__POINTER_c_char(self):\n class X(Structure):\n _fields_ = [(\"str\", POINTER(c_char))]\n x = X()\n # NULL pointer access\n self.assertRaises(ValueError, getattr, x.str, \"contents\")\n b = c_buffer(b\"Hello, World\")\n from sys import getrefcount as grc", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_stringptr", "documentation": {} }, { "label": "lib", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_stringptr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_stringptr", "peekOfCode": "lib = CDLL(_ctypes_test.__file__)\nclass StringPtrTestCase(unittest.TestCase):\n @support.refcount_test\n def test__POINTER_c_char(self):\n class X(Structure):\n _fields_ = [(\"str\", POINTER(c_char))]\n x = X()\n # NULL pointer access\n self.assertRaises(ValueError, getattr, x.str, \"contents\")\n b = c_buffer(b\"Hello, World\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_stringptr", "documentation": {} }, { "label": "StringArrayTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_strings", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_strings", "peekOfCode": "class StringArrayTestCase(unittest.TestCase):\n def test(self):\n BUF = c_char * 4\n buf = BUF(b\"a\", b\"b\", b\"c\")\n self.assertEqual(buf.value, b\"abc\")\n self.assertEqual(buf.raw, b\"abc\\000\")\n buf.value = b\"ABCD\"\n self.assertEqual(buf.value, b\"ABCD\")\n self.assertEqual(buf.raw, b\"ABCD\")\n buf.value = b\"x\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_strings", "documentation": {} }, { "label": "WStringArrayTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_strings", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_strings", "peekOfCode": "class WStringArrayTestCase(unittest.TestCase):\n def test(self):\n BUF = c_wchar * 4\n buf = BUF(\"a\", \"b\", \"c\")\n self.assertEqual(buf.value, \"abc\")\n buf.value = \"ABCD\"\n self.assertEqual(buf.value, \"ABCD\")\n buf.value = \"x\"\n self.assertEqual(buf.value, \"x\")\n buf[1] = \"Z\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_strings", "documentation": {} }, { "label": "StringTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_strings", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_strings", "peekOfCode": "class StringTestCase(unittest.TestCase):\n @unittest.skip('test disabled')\n def test_basic_strings(self):\n cs = c_string(\"abcdef\")\n # Cannot call len on a c_string any longer\n self.assertRaises(TypeError, len, cs)\n self.assertEqual(sizeof(cs), 7)\n # The value property is the string up to the first terminating NUL.\n self.assertEqual(cs.value, \"abcdef\")\n self.assertEqual(c_string(\"abc\\000def\").value, \"abc\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_strings", "documentation": {} }, { "label": "WStringTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_strings", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_strings", "peekOfCode": "class WStringTestCase(unittest.TestCase):\n def test_wchar(self):\n c_wchar(\"x\")\n repr(byref(c_wchar(\"x\")))\n c_wchar(\"x\")\n @unittest.skip('test disabled')\n def test_basic_wstrings(self):\n cs = c_wstring(\"abcdef\")\n # XXX This behaviour is about to change:\n # len returns the size of the internal buffer in bytes.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_strings", "documentation": {} }, { "label": "run_test", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_strings", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_strings", "peekOfCode": "def run_test(rep, msg, func, arg):\n items = range(rep)\n from time import perf_counter as clock\n start = clock()\n for i in items:\n func(arg); func(arg); func(arg); func(arg); func(arg)\n stop = clock()\n print(\"%20s: %.2f us\" % (msg, ((stop-start)*1e6/5/rep)))\ndef check_perf():\n # Construct 5 objects", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_strings", "documentation": {} }, { "label": "check_perf", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_strings", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_strings", "peekOfCode": "def check_perf():\n # Construct 5 objects\n REP = 200000\n run_test(REP, \"c_string(None)\", c_string, None)\n run_test(REP, \"c_string('abc')\", c_string, 'abc')\n# Python 2.3 -OO, win2k, P4 700 MHz:\n#\n# c_string(None): 1.75 us\n# c_string('abc'): 2.74 us\n# Python 2.2 -OO, win2k, P4 700 MHz:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_strings", "documentation": {} }, { "label": "SubclassesTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_structures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_structures", "peekOfCode": "class SubclassesTest(unittest.TestCase):\n def test_subclass(self):\n class X(Structure):\n _fields_ = [(\"a\", c_int)]\n class Y(X):\n _fields_ = [(\"b\", c_int)]\n class Z(X):\n pass\n self.assertEqual(sizeof(X), sizeof(c_int))\n self.assertEqual(sizeof(Y), sizeof(c_int)*2)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_structures", "documentation": {} }, { "label": "StructureTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_structures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_structures", "peekOfCode": "class StructureTestCase(unittest.TestCase):\n formats = {\"c\": c_char,\n \"b\": c_byte,\n \"B\": c_ubyte,\n \"h\": c_short,\n \"H\": c_ushort,\n \"i\": c_int,\n \"I\": c_uint,\n \"l\": c_long,\n \"L\": c_ulong,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_structures", "documentation": {} }, { "label": "PointerMemberTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_structures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_structures", "peekOfCode": "class PointerMemberTestCase(unittest.TestCase):\n def test(self):\n # a Structure with a POINTER field\n class S(Structure):\n _fields_ = [(\"array\", POINTER(c_int))]\n s = S()\n # We can assign arrays of the correct type\n s.array = (c_int * 3)(1, 2, 3)\n items = [s.array[i] for i in range(3)]\n self.assertEqual(items, [1, 2, 3])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_structures", "documentation": {} }, { "label": "TestRecursiveStructure", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_structures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_structures", "peekOfCode": "class TestRecursiveStructure(unittest.TestCase):\n def test_contains_itself(self):\n class Recursive(Structure):\n pass\n try:\n Recursive._fields_ = [(\"next\", Recursive)]\n except AttributeError as details:\n self.assertIn(\"Structure or union cannot contain itself\",\n str(details))\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_structures", "documentation": {} }, { "label": "MACHINE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_structures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_structures", "peekOfCode": "MACHINE = platform.machine()\nclass SubclassesTest(unittest.TestCase):\n def test_subclass(self):\n class X(Structure):\n _fields_ = [(\"a\", c_int)]\n class Y(X):\n _fields_ = [(\"b\", c_int)]\n class Z(X):\n pass\n self.assertEqual(sizeof(X), sizeof(c_int))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_structures", "documentation": {} }, { "label": "StructFieldsTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_struct_fields", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_struct_fields", "peekOfCode": "class StructFieldsTestCase(unittest.TestCase):\n # Structure/Union classes must get 'finalized' sooner or\n # later, when one of these things happen:\n #\n # 1. _fields_ is set.\n # 2. An instance is created.\n # 3. The type is used as field of another Structure/Union.\n # 4. The type is subclassed\n #\n # When they are finalized, assigning _fields_ is no longer allowed.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_struct_fields", "documentation": {} }, { "label": "TestStructures", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_unaligned_structures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_unaligned_structures", "peekOfCode": "class TestStructures(unittest.TestCase):\n def test_native(self):\n for typ in structures:\n self.assertEqual(typ.value.offset, 1)\n o = typ()\n o.value = 4\n self.assertEqual(o.value, 4)\n def test_swapped(self):\n for typ in byteswapped_structures:\n self.assertEqual(typ.value.offset, 1)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_unaligned_structures", "documentation": {} }, { "label": "structures", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_unaligned_structures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_unaligned_structures", "peekOfCode": "structures = []\nbyteswapped_structures = []\nif sys.byteorder == \"little\":\n SwappedStructure = BigEndianStructure\nelse:\n SwappedStructure = LittleEndianStructure\nfor typ in [c_short, c_int, c_long, c_longlong,\n c_float, c_double,\n c_ushort, c_uint, c_ulong, c_ulonglong]:\n class X(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_unaligned_structures", "documentation": {} }, { "label": "byteswapped_structures", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_unaligned_structures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_unaligned_structures", "peekOfCode": "byteswapped_structures = []\nif sys.byteorder == \"little\":\n SwappedStructure = BigEndianStructure\nelse:\n SwappedStructure = LittleEndianStructure\nfor typ in [c_short, c_int, c_long, c_longlong,\n c_float, c_double,\n c_ushort, c_uint, c_ulong, c_ulonglong]:\n class X(Structure):\n _pack_ = 1", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_unaligned_structures", "documentation": {} }, { "label": "UnicodeTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_unicode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_unicode", "peekOfCode": "class UnicodeTestCase(unittest.TestCase):\n def test_wcslen(self):\n dll = ctypes.CDLL(_ctypes_test.__file__)\n wcslen = dll.my_wcslen\n wcslen.argtypes = [ctypes.c_wchar_p]\n self.assertEqual(wcslen(\"abc\"), 3)\n self.assertEqual(wcslen(\"ab\\u2070\"), 3)\n self.assertRaises(ctypes.ArgumentError, wcslen, b\"ab\\xe4\")\n def test_buffers(self):\n buf = ctypes.create_unicode_buffer(\"abc\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_unicode", "documentation": {} }, { "label": "StringTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_unicode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_unicode", "peekOfCode": "class StringTestCase(UnicodeTestCase):\n def setUp(self):\n func.argtypes = [ctypes.c_char_p]\n func.restype = ctypes.c_char_p\n def tearDown(self):\n func.argtypes = None\n func.restype = ctypes.c_int\n def test_func(self):\n self.assertEqual(func(b\"abc\\xe4\"), b\"abc\\xe4\")\n def test_buffers(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_unicode", "documentation": {} }, { "label": "func", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_unicode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_unicode", "peekOfCode": "func = ctypes.CDLL(_ctypes_test.__file__)._testfunc_p_p\nclass StringTestCase(UnicodeTestCase):\n def setUp(self):\n func.argtypes = [ctypes.c_char_p]\n func.restype = ctypes.c_char_p\n def tearDown(self):\n func.argtypes = None\n func.restype = ctypes.c_int\n def test_func(self):\n self.assertEqual(func(b\"abc\\xe4\"), b\"abc\\xe4\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_unicode", "documentation": {} }, { "label": "ValuesTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_values", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_values", "peekOfCode": "class ValuesTestCase(unittest.TestCase):\n def test_an_integer(self):\n # This test checks and changes an integer stored inside the\n # _ctypes_test dll/shared lib.\n ctdll = CDLL(_ctypes_test.__file__)\n an_integer = c_int.in_dll(ctdll, \"an_integer\")\n x = an_integer.value\n self.assertEqual(x, ctdll.get_an_integer())\n an_integer.value *= 2\n self.assertEqual(x*2, ctdll.get_an_integer())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_values", "documentation": {} }, { "label": "PythonValuesTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_values", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_values", "peekOfCode": "class PythonValuesTestCase(unittest.TestCase):\n \"\"\"This test only works when python itself is a dll/shared library\"\"\"\n def test_optimizeflag(self):\n # This test accesses the Py_OptimizeFlag integer, which is\n # exported by the Python dll and should match the sys.flags value\n opt = c_int.in_dll(pythonapi, \"Py_OptimizeFlag\").value\n self.assertEqual(opt, sys.flags.optimize)\n def test_frozentable(self):\n # Python exports a PyImport_FrozenModules symbol. This is a\n # pointer to an array of struct _frozen entries. The end of the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_values", "documentation": {} }, { "label": "VarSizeTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_varsize_struct", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_varsize_struct", "peekOfCode": "class VarSizeTest(unittest.TestCase):\n def test_resize(self):\n class X(Structure):\n _fields_ = [(\"item\", c_int),\n (\"array\", c_int * 1)]\n self.assertEqual(sizeof(X), sizeof(c_int) * 2)\n x = X()\n x.item = 42\n x.array[0] = 100\n self.assertEqual(sizeof(x), sizeof(c_int) * 2)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_varsize_struct", "documentation": {} }, { "label": "FunctionCallTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_win32", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_win32", "peekOfCode": "class FunctionCallTestCase(unittest.TestCase):\n @unittest.skipUnless('MSC' in sys.version, \"SEH only supported by MSC\")\n @unittest.skipIf(sys.executable.lower().endswith('_d.exe'),\n \"SEH not enabled in debug builds\")\n def test_SEH(self):\n # Disable faulthandler to prevent logging the warning:\n # \"Windows fatal exception: access violation\"\n with support.disable_faulthandler():\n # Call functions with invalid arguments, and make sure\n # that access violations are trapped and raise an", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_win32", "documentation": {} }, { "label": "ReturnStructSizesTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_win32", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_win32", "peekOfCode": "class ReturnStructSizesTestCase(unittest.TestCase):\n def test_sizes(self):\n dll = CDLL(_ctypes_test.__file__)\n for i in range(1, 11):\n fields = [ (f\"f{f}\", c_char) for f in range(1, i + 1)]\n class S(Structure):\n _fields_ = fields\n f = getattr(dll, f\"TestSize{i}\")\n f.restype = S\n res = f()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_win32", "documentation": {} }, { "label": "TestWintypes", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_win32", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_win32", "peekOfCode": "class TestWintypes(unittest.TestCase):\n def test_HWND(self):\n from ctypes import wintypes\n self.assertEqual(sizeof(wintypes.HWND), sizeof(c_void_p))\n def test_PARAM(self):\n from ctypes import wintypes\n self.assertEqual(sizeof(wintypes.WPARAM),\n sizeof(c_void_p))\n self.assertEqual(sizeof(wintypes.LPARAM),\n sizeof(c_void_p))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_win32", "documentation": {} }, { "label": "TestWinError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_win32", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_win32", "peekOfCode": "class TestWinError(unittest.TestCase):\n def test_winerror(self):\n # see Issue 16169\n import errno\n ERROR_INVALID_PARAMETER = 87\n msg = FormatError(ERROR_INVALID_PARAMETER).strip()\n args = (errno.EINVAL, msg, None, ERROR_INVALID_PARAMETER)\n e = WinError(ERROR_INVALID_PARAMETER)\n self.assertEqual(e.args, args)\n self.assertEqual(e.errno, errno.EINVAL)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_win32", "documentation": {} }, { "label": "Structures", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_win32", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_win32", "peekOfCode": "class Structures(unittest.TestCase):\n def test_struct_by_value(self):\n class POINT(Structure):\n _fields_ = [(\"x\", c_long),\n (\"y\", c_long)]\n class RECT(Structure):\n _fields_ = [(\"left\", c_long),\n (\"top\", c_long),\n (\"right\", c_long),\n (\"bottom\", c_long)]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_win32", "documentation": {} }, { "label": "WinTypesTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_wintypes", "peekOfCode": "class WinTypesTest(unittest.TestCase):\n def test_variant_bool(self):\n # reads 16-bits from memory, anything non-zero is True\n for true_value in (1, 32767, 32768, 65535, 65537):\n true = POINTER(c_int16)(c_int16(true_value))\n value = cast(true, POINTER(wintypes.VARIANT_BOOL))\n self.assertEqual(repr(value.contents), 'VARIANT_BOOL(True)')\n vb = wintypes.VARIANT_BOOL()\n self.assertIs(vb.value, False)\n vb.value = True", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.test.test_wintypes", "documentation": {} }, { "label": "test", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.util", "peekOfCode": "def test():\n from ctypes import cdll\n if os.name == \"nt\":\n print(cdll.msvcrt)\n print(cdll.load(\"msvcrt\"))\n print(find_library(\"msvcrt\"))\n if os.name == \"posix\":\n # find and load_version\n print(find_library(\"m\"))\n print(find_library(\"c\"))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.util", "documentation": {} }, { "label": "VARIANT_BOOL", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "class VARIANT_BOOL(ctypes._SimpleCData):\n _type_ = \"v\"\n def __repr__(self):\n return \"%s(%r)\" % (self.__class__.__name__, self.value)\nULONG = ctypes.c_ulong\nLONG = ctypes.c_long\nUSHORT = ctypes.c_ushort\nSHORT = ctypes.c_short\n# in the windows header files, these are structures.\n_LARGE_INTEGER = LARGE_INTEGER = ctypes.c_longlong", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "RECT", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "class RECT(ctypes.Structure):\n _fields_ = [(\"left\", LONG),\n (\"top\", LONG),\n (\"right\", LONG),\n (\"bottom\", LONG)]\ntagRECT = _RECTL = RECTL = RECT\nclass _SMALL_RECT(ctypes.Structure):\n _fields_ = [('Left', SHORT),\n ('Top', SHORT),\n ('Right', SHORT),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "_SMALL_RECT", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "class _SMALL_RECT(ctypes.Structure):\n _fields_ = [('Left', SHORT),\n ('Top', SHORT),\n ('Right', SHORT),\n ('Bottom', SHORT)]\nSMALL_RECT = _SMALL_RECT\nclass _COORD(ctypes.Structure):\n _fields_ = [('X', SHORT),\n ('Y', SHORT)]\nclass POINT(ctypes.Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "_COORD", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "class _COORD(ctypes.Structure):\n _fields_ = [('X', SHORT),\n ('Y', SHORT)]\nclass POINT(ctypes.Structure):\n _fields_ = [(\"x\", LONG),\n (\"y\", LONG)]\ntagPOINT = _POINTL = POINTL = POINT\nclass SIZE(ctypes.Structure):\n _fields_ = [(\"cx\", LONG),\n (\"cy\", LONG)]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "POINT", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "class POINT(ctypes.Structure):\n _fields_ = [(\"x\", LONG),\n (\"y\", LONG)]\ntagPOINT = _POINTL = POINTL = POINT\nclass SIZE(ctypes.Structure):\n _fields_ = [(\"cx\", LONG),\n (\"cy\", LONG)]\ntagSIZE = SIZEL = SIZE\ndef RGB(red, green, blue):\n return red + (green << 8) + (blue << 16)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "SIZE", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "class SIZE(ctypes.Structure):\n _fields_ = [(\"cx\", LONG),\n (\"cy\", LONG)]\ntagSIZE = SIZEL = SIZE\ndef RGB(red, green, blue):\n return red + (green << 8) + (blue << 16)\nclass FILETIME(ctypes.Structure):\n _fields_ = [(\"dwLowDateTime\", DWORD),\n (\"dwHighDateTime\", DWORD)]\n_FILETIME = FILETIME", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "FILETIME", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "class FILETIME(ctypes.Structure):\n _fields_ = [(\"dwLowDateTime\", DWORD),\n (\"dwHighDateTime\", DWORD)]\n_FILETIME = FILETIME\nclass MSG(ctypes.Structure):\n _fields_ = [(\"hWnd\", HWND),\n (\"message\", UINT),\n (\"wParam\", WPARAM),\n (\"lParam\", LPARAM),\n (\"time\", DWORD),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "MSG", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "class MSG(ctypes.Structure):\n _fields_ = [(\"hWnd\", HWND),\n (\"message\", UINT),\n (\"wParam\", WPARAM),\n (\"lParam\", LPARAM),\n (\"time\", DWORD),\n (\"pt\", POINT)]\ntagMSG = MSG\nMAX_PATH = 260\nclass WIN32_FIND_DATAA(ctypes.Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "WIN32_FIND_DATAA", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "class WIN32_FIND_DATAA(ctypes.Structure):\n _fields_ = [(\"dwFileAttributes\", DWORD),\n (\"ftCreationTime\", FILETIME),\n (\"ftLastAccessTime\", FILETIME),\n (\"ftLastWriteTime\", FILETIME),\n (\"nFileSizeHigh\", DWORD),\n (\"nFileSizeLow\", DWORD),\n (\"dwReserved0\", DWORD),\n (\"dwReserved1\", DWORD),\n (\"cFileName\", CHAR * MAX_PATH),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "WIN32_FIND_DATAW", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "class WIN32_FIND_DATAW(ctypes.Structure):\n _fields_ = [(\"dwFileAttributes\", DWORD),\n (\"ftCreationTime\", FILETIME),\n (\"ftLastAccessTime\", FILETIME),\n (\"ftLastWriteTime\", FILETIME),\n (\"nFileSizeHigh\", DWORD),\n (\"nFileSizeLow\", DWORD),\n (\"dwReserved0\", DWORD),\n (\"dwReserved1\", DWORD),\n (\"cFileName\", WCHAR * MAX_PATH),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "RGB", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "def RGB(red, green, blue):\n return red + (green << 8) + (blue << 16)\nclass FILETIME(ctypes.Structure):\n _fields_ = [(\"dwLowDateTime\", DWORD),\n (\"dwHighDateTime\", DWORD)]\n_FILETIME = FILETIME\nclass MSG(ctypes.Structure):\n _fields_ = [(\"hWnd\", HWND),\n (\"message\", UINT),\n (\"wParam\", WPARAM),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "BYTE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "BYTE = ctypes.c_byte\nWORD = ctypes.c_ushort\nDWORD = ctypes.c_ulong\n#UCHAR = ctypes.c_uchar\nCHAR = ctypes.c_char\nWCHAR = ctypes.c_wchar\nUINT = ctypes.c_uint\nINT = ctypes.c_int\nDOUBLE = ctypes.c_double\nFLOAT = ctypes.c_float", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "WORD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "WORD = ctypes.c_ushort\nDWORD = ctypes.c_ulong\n#UCHAR = ctypes.c_uchar\nCHAR = ctypes.c_char\nWCHAR = ctypes.c_wchar\nUINT = ctypes.c_uint\nINT = ctypes.c_int\nDOUBLE = ctypes.c_double\nFLOAT = ctypes.c_float\nBOOLEAN = BYTE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "DWORD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "DWORD = ctypes.c_ulong\n#UCHAR = ctypes.c_uchar\nCHAR = ctypes.c_char\nWCHAR = ctypes.c_wchar\nUINT = ctypes.c_uint\nINT = ctypes.c_int\nDOUBLE = ctypes.c_double\nFLOAT = ctypes.c_float\nBOOLEAN = BYTE\nBOOL = ctypes.c_long", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "#UCHAR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "#UCHAR = ctypes.c_uchar\nCHAR = ctypes.c_char\nWCHAR = ctypes.c_wchar\nUINT = ctypes.c_uint\nINT = ctypes.c_int\nDOUBLE = ctypes.c_double\nFLOAT = ctypes.c_float\nBOOLEAN = BYTE\nBOOL = ctypes.c_long\nclass VARIANT_BOOL(ctypes._SimpleCData):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "CHAR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "CHAR = ctypes.c_char\nWCHAR = ctypes.c_wchar\nUINT = ctypes.c_uint\nINT = ctypes.c_int\nDOUBLE = ctypes.c_double\nFLOAT = ctypes.c_float\nBOOLEAN = BYTE\nBOOL = ctypes.c_long\nclass VARIANT_BOOL(ctypes._SimpleCData):\n _type_ = \"v\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "WCHAR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "WCHAR = ctypes.c_wchar\nUINT = ctypes.c_uint\nINT = ctypes.c_int\nDOUBLE = ctypes.c_double\nFLOAT = ctypes.c_float\nBOOLEAN = BYTE\nBOOL = ctypes.c_long\nclass VARIANT_BOOL(ctypes._SimpleCData):\n _type_ = \"v\"\n def __repr__(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "UINT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "UINT = ctypes.c_uint\nINT = ctypes.c_int\nDOUBLE = ctypes.c_double\nFLOAT = ctypes.c_float\nBOOLEAN = BYTE\nBOOL = ctypes.c_long\nclass VARIANT_BOOL(ctypes._SimpleCData):\n _type_ = \"v\"\n def __repr__(self):\n return \"%s(%r)\" % (self.__class__.__name__, self.value)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "INT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "INT = ctypes.c_int\nDOUBLE = ctypes.c_double\nFLOAT = ctypes.c_float\nBOOLEAN = BYTE\nBOOL = ctypes.c_long\nclass VARIANT_BOOL(ctypes._SimpleCData):\n _type_ = \"v\"\n def __repr__(self):\n return \"%s(%r)\" % (self.__class__.__name__, self.value)\nULONG = ctypes.c_ulong", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "DOUBLE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "DOUBLE = ctypes.c_double\nFLOAT = ctypes.c_float\nBOOLEAN = BYTE\nBOOL = ctypes.c_long\nclass VARIANT_BOOL(ctypes._SimpleCData):\n _type_ = \"v\"\n def __repr__(self):\n return \"%s(%r)\" % (self.__class__.__name__, self.value)\nULONG = ctypes.c_ulong\nLONG = ctypes.c_long", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "FLOAT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "FLOAT = ctypes.c_float\nBOOLEAN = BYTE\nBOOL = ctypes.c_long\nclass VARIANT_BOOL(ctypes._SimpleCData):\n _type_ = \"v\"\n def __repr__(self):\n return \"%s(%r)\" % (self.__class__.__name__, self.value)\nULONG = ctypes.c_ulong\nLONG = ctypes.c_long\nUSHORT = ctypes.c_ushort", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "BOOLEAN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "BOOLEAN = BYTE\nBOOL = ctypes.c_long\nclass VARIANT_BOOL(ctypes._SimpleCData):\n _type_ = \"v\"\n def __repr__(self):\n return \"%s(%r)\" % (self.__class__.__name__, self.value)\nULONG = ctypes.c_ulong\nLONG = ctypes.c_long\nUSHORT = ctypes.c_ushort\nSHORT = ctypes.c_short", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "BOOL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "BOOL = ctypes.c_long\nclass VARIANT_BOOL(ctypes._SimpleCData):\n _type_ = \"v\"\n def __repr__(self):\n return \"%s(%r)\" % (self.__class__.__name__, self.value)\nULONG = ctypes.c_ulong\nLONG = ctypes.c_long\nUSHORT = ctypes.c_ushort\nSHORT = ctypes.c_short\n# in the windows header files, these are structures.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "ULONG", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "ULONG = ctypes.c_ulong\nLONG = ctypes.c_long\nUSHORT = ctypes.c_ushort\nSHORT = ctypes.c_short\n# in the windows header files, these are structures.\n_LARGE_INTEGER = LARGE_INTEGER = ctypes.c_longlong\n_ULARGE_INTEGER = ULARGE_INTEGER = ctypes.c_ulonglong\nLPCOLESTR = LPOLESTR = OLESTR = ctypes.c_wchar_p\nLPCWSTR = LPWSTR = ctypes.c_wchar_p\nLPCSTR = LPSTR = ctypes.c_char_p", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LONG", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LONG = ctypes.c_long\nUSHORT = ctypes.c_ushort\nSHORT = ctypes.c_short\n# in the windows header files, these are structures.\n_LARGE_INTEGER = LARGE_INTEGER = ctypes.c_longlong\n_ULARGE_INTEGER = ULARGE_INTEGER = ctypes.c_ulonglong\nLPCOLESTR = LPOLESTR = OLESTR = ctypes.c_wchar_p\nLPCWSTR = LPWSTR = ctypes.c_wchar_p\nLPCSTR = LPSTR = ctypes.c_char_p\nLPCVOID = LPVOID = ctypes.c_void_p", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "USHORT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "USHORT = ctypes.c_ushort\nSHORT = ctypes.c_short\n# in the windows header files, these are structures.\n_LARGE_INTEGER = LARGE_INTEGER = ctypes.c_longlong\n_ULARGE_INTEGER = ULARGE_INTEGER = ctypes.c_ulonglong\nLPCOLESTR = LPOLESTR = OLESTR = ctypes.c_wchar_p\nLPCWSTR = LPWSTR = ctypes.c_wchar_p\nLPCSTR = LPSTR = ctypes.c_char_p\nLPCVOID = LPVOID = ctypes.c_void_p\n# WPARAM is defined as UINT_PTR (unsigned type)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "SHORT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "SHORT = ctypes.c_short\n# in the windows header files, these are structures.\n_LARGE_INTEGER = LARGE_INTEGER = ctypes.c_longlong\n_ULARGE_INTEGER = ULARGE_INTEGER = ctypes.c_ulonglong\nLPCOLESTR = LPOLESTR = OLESTR = ctypes.c_wchar_p\nLPCWSTR = LPWSTR = ctypes.c_wchar_p\nLPCSTR = LPSTR = ctypes.c_char_p\nLPCVOID = LPVOID = ctypes.c_void_p\n# WPARAM is defined as UINT_PTR (unsigned type)\n# LPARAM is defined as LONG_PTR (signed type)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "_LARGE_INTEGER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "_LARGE_INTEGER = LARGE_INTEGER = ctypes.c_longlong\n_ULARGE_INTEGER = ULARGE_INTEGER = ctypes.c_ulonglong\nLPCOLESTR = LPOLESTR = OLESTR = ctypes.c_wchar_p\nLPCWSTR = LPWSTR = ctypes.c_wchar_p\nLPCSTR = LPSTR = ctypes.c_char_p\nLPCVOID = LPVOID = ctypes.c_void_p\n# WPARAM is defined as UINT_PTR (unsigned type)\n# LPARAM is defined as LONG_PTR (signed type)\nif ctypes.sizeof(ctypes.c_long) == ctypes.sizeof(ctypes.c_void_p):\n WPARAM = ctypes.c_ulong", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "_ULARGE_INTEGER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "_ULARGE_INTEGER = ULARGE_INTEGER = ctypes.c_ulonglong\nLPCOLESTR = LPOLESTR = OLESTR = ctypes.c_wchar_p\nLPCWSTR = LPWSTR = ctypes.c_wchar_p\nLPCSTR = LPSTR = ctypes.c_char_p\nLPCVOID = LPVOID = ctypes.c_void_p\n# WPARAM is defined as UINT_PTR (unsigned type)\n# LPARAM is defined as LONG_PTR (signed type)\nif ctypes.sizeof(ctypes.c_long) == ctypes.sizeof(ctypes.c_void_p):\n WPARAM = ctypes.c_ulong\n LPARAM = ctypes.c_long", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPCOLESTR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPCOLESTR = LPOLESTR = OLESTR = ctypes.c_wchar_p\nLPCWSTR = LPWSTR = ctypes.c_wchar_p\nLPCSTR = LPSTR = ctypes.c_char_p\nLPCVOID = LPVOID = ctypes.c_void_p\n# WPARAM is defined as UINT_PTR (unsigned type)\n# LPARAM is defined as LONG_PTR (signed type)\nif ctypes.sizeof(ctypes.c_long) == ctypes.sizeof(ctypes.c_void_p):\n WPARAM = ctypes.c_ulong\n LPARAM = ctypes.c_long\nelif ctypes.sizeof(ctypes.c_longlong) == ctypes.sizeof(ctypes.c_void_p):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPCWSTR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPCWSTR = LPWSTR = ctypes.c_wchar_p\nLPCSTR = LPSTR = ctypes.c_char_p\nLPCVOID = LPVOID = ctypes.c_void_p\n# WPARAM is defined as UINT_PTR (unsigned type)\n# LPARAM is defined as LONG_PTR (signed type)\nif ctypes.sizeof(ctypes.c_long) == ctypes.sizeof(ctypes.c_void_p):\n WPARAM = ctypes.c_ulong\n LPARAM = ctypes.c_long\nelif ctypes.sizeof(ctypes.c_longlong) == ctypes.sizeof(ctypes.c_void_p):\n WPARAM = ctypes.c_ulonglong", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPCSTR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPCSTR = LPSTR = ctypes.c_char_p\nLPCVOID = LPVOID = ctypes.c_void_p\n# WPARAM is defined as UINT_PTR (unsigned type)\n# LPARAM is defined as LONG_PTR (signed type)\nif ctypes.sizeof(ctypes.c_long) == ctypes.sizeof(ctypes.c_void_p):\n WPARAM = ctypes.c_ulong\n LPARAM = ctypes.c_long\nelif ctypes.sizeof(ctypes.c_longlong) == ctypes.sizeof(ctypes.c_void_p):\n WPARAM = ctypes.c_ulonglong\n LPARAM = ctypes.c_longlong", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPCVOID", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPCVOID = LPVOID = ctypes.c_void_p\n# WPARAM is defined as UINT_PTR (unsigned type)\n# LPARAM is defined as LONG_PTR (signed type)\nif ctypes.sizeof(ctypes.c_long) == ctypes.sizeof(ctypes.c_void_p):\n WPARAM = ctypes.c_ulong\n LPARAM = ctypes.c_long\nelif ctypes.sizeof(ctypes.c_longlong) == ctypes.sizeof(ctypes.c_void_p):\n WPARAM = ctypes.c_ulonglong\n LPARAM = ctypes.c_longlong\nATOM = WORD", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "ATOM", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "ATOM = WORD\nLANGID = WORD\nCOLORREF = DWORD\nLGRPID = DWORD\nLCTYPE = DWORD\nLCID = DWORD\n################################################################\n# HANDLE types\nHANDLE = ctypes.c_void_p # in the header files: void *\nHACCEL = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LANGID", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LANGID = WORD\nCOLORREF = DWORD\nLGRPID = DWORD\nLCTYPE = DWORD\nLCID = DWORD\n################################################################\n# HANDLE types\nHANDLE = ctypes.c_void_p # in the header files: void *\nHACCEL = HANDLE\nHBITMAP = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "COLORREF", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "COLORREF = DWORD\nLGRPID = DWORD\nLCTYPE = DWORD\nLCID = DWORD\n################################################################\n# HANDLE types\nHANDLE = ctypes.c_void_p # in the header files: void *\nHACCEL = HANDLE\nHBITMAP = HANDLE\nHBRUSH = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LGRPID", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LGRPID = DWORD\nLCTYPE = DWORD\nLCID = DWORD\n################################################################\n# HANDLE types\nHANDLE = ctypes.c_void_p # in the header files: void *\nHACCEL = HANDLE\nHBITMAP = HANDLE\nHBRUSH = HANDLE\nHCOLORSPACE = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LCTYPE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LCTYPE = DWORD\nLCID = DWORD\n################################################################\n# HANDLE types\nHANDLE = ctypes.c_void_p # in the header files: void *\nHACCEL = HANDLE\nHBITMAP = HANDLE\nHBRUSH = HANDLE\nHCOLORSPACE = HANDLE\nHDC = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LCID", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LCID = DWORD\n################################################################\n# HANDLE types\nHANDLE = ctypes.c_void_p # in the header files: void *\nHACCEL = HANDLE\nHBITMAP = HANDLE\nHBRUSH = HANDLE\nHCOLORSPACE = HANDLE\nHDC = HANDLE\nHDESK = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HANDLE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HANDLE = ctypes.c_void_p # in the header files: void *\nHACCEL = HANDLE\nHBITMAP = HANDLE\nHBRUSH = HANDLE\nHCOLORSPACE = HANDLE\nHDC = HANDLE\nHDESK = HANDLE\nHDWP = HANDLE\nHENHMETAFILE = HANDLE\nHFONT = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HACCEL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HACCEL = HANDLE\nHBITMAP = HANDLE\nHBRUSH = HANDLE\nHCOLORSPACE = HANDLE\nHDC = HANDLE\nHDESK = HANDLE\nHDWP = HANDLE\nHENHMETAFILE = HANDLE\nHFONT = HANDLE\nHGDIOBJ = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HBITMAP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HBITMAP = HANDLE\nHBRUSH = HANDLE\nHCOLORSPACE = HANDLE\nHDC = HANDLE\nHDESK = HANDLE\nHDWP = HANDLE\nHENHMETAFILE = HANDLE\nHFONT = HANDLE\nHGDIOBJ = HANDLE\nHGLOBAL = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HBRUSH", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HBRUSH = HANDLE\nHCOLORSPACE = HANDLE\nHDC = HANDLE\nHDESK = HANDLE\nHDWP = HANDLE\nHENHMETAFILE = HANDLE\nHFONT = HANDLE\nHGDIOBJ = HANDLE\nHGLOBAL = HANDLE\nHHOOK = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HCOLORSPACE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HCOLORSPACE = HANDLE\nHDC = HANDLE\nHDESK = HANDLE\nHDWP = HANDLE\nHENHMETAFILE = HANDLE\nHFONT = HANDLE\nHGDIOBJ = HANDLE\nHGLOBAL = HANDLE\nHHOOK = HANDLE\nHICON = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HDC", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HDC = HANDLE\nHDESK = HANDLE\nHDWP = HANDLE\nHENHMETAFILE = HANDLE\nHFONT = HANDLE\nHGDIOBJ = HANDLE\nHGLOBAL = HANDLE\nHHOOK = HANDLE\nHICON = HANDLE\nHINSTANCE = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HDESK", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HDESK = HANDLE\nHDWP = HANDLE\nHENHMETAFILE = HANDLE\nHFONT = HANDLE\nHGDIOBJ = HANDLE\nHGLOBAL = HANDLE\nHHOOK = HANDLE\nHICON = HANDLE\nHINSTANCE = HANDLE\nHKEY = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HDWP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HDWP = HANDLE\nHENHMETAFILE = HANDLE\nHFONT = HANDLE\nHGDIOBJ = HANDLE\nHGLOBAL = HANDLE\nHHOOK = HANDLE\nHICON = HANDLE\nHINSTANCE = HANDLE\nHKEY = HANDLE\nHKL = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HENHMETAFILE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HENHMETAFILE = HANDLE\nHFONT = HANDLE\nHGDIOBJ = HANDLE\nHGLOBAL = HANDLE\nHHOOK = HANDLE\nHICON = HANDLE\nHINSTANCE = HANDLE\nHKEY = HANDLE\nHKL = HANDLE\nHLOCAL = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HFONT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HFONT = HANDLE\nHGDIOBJ = HANDLE\nHGLOBAL = HANDLE\nHHOOK = HANDLE\nHICON = HANDLE\nHINSTANCE = HANDLE\nHKEY = HANDLE\nHKL = HANDLE\nHLOCAL = HANDLE\nHMENU = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HGDIOBJ", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HGDIOBJ = HANDLE\nHGLOBAL = HANDLE\nHHOOK = HANDLE\nHICON = HANDLE\nHINSTANCE = HANDLE\nHKEY = HANDLE\nHKL = HANDLE\nHLOCAL = HANDLE\nHMENU = HANDLE\nHMETAFILE = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HGLOBAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HGLOBAL = HANDLE\nHHOOK = HANDLE\nHICON = HANDLE\nHINSTANCE = HANDLE\nHKEY = HANDLE\nHKL = HANDLE\nHLOCAL = HANDLE\nHMENU = HANDLE\nHMETAFILE = HANDLE\nHMODULE = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HHOOK", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HHOOK = HANDLE\nHICON = HANDLE\nHINSTANCE = HANDLE\nHKEY = HANDLE\nHKL = HANDLE\nHLOCAL = HANDLE\nHMENU = HANDLE\nHMETAFILE = HANDLE\nHMODULE = HANDLE\nHMONITOR = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HICON", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HICON = HANDLE\nHINSTANCE = HANDLE\nHKEY = HANDLE\nHKL = HANDLE\nHLOCAL = HANDLE\nHMENU = HANDLE\nHMETAFILE = HANDLE\nHMODULE = HANDLE\nHMONITOR = HANDLE\nHPALETTE = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HINSTANCE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HINSTANCE = HANDLE\nHKEY = HANDLE\nHKL = HANDLE\nHLOCAL = HANDLE\nHMENU = HANDLE\nHMETAFILE = HANDLE\nHMODULE = HANDLE\nHMONITOR = HANDLE\nHPALETTE = HANDLE\nHPEN = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HKEY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HKEY = HANDLE\nHKL = HANDLE\nHLOCAL = HANDLE\nHMENU = HANDLE\nHMETAFILE = HANDLE\nHMODULE = HANDLE\nHMONITOR = HANDLE\nHPALETTE = HANDLE\nHPEN = HANDLE\nHRGN = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HKL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HKL = HANDLE\nHLOCAL = HANDLE\nHMENU = HANDLE\nHMETAFILE = HANDLE\nHMODULE = HANDLE\nHMONITOR = HANDLE\nHPALETTE = HANDLE\nHPEN = HANDLE\nHRGN = HANDLE\nHRSRC = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HLOCAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HLOCAL = HANDLE\nHMENU = HANDLE\nHMETAFILE = HANDLE\nHMODULE = HANDLE\nHMONITOR = HANDLE\nHPALETTE = HANDLE\nHPEN = HANDLE\nHRGN = HANDLE\nHRSRC = HANDLE\nHSTR = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HMENU", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HMENU = HANDLE\nHMETAFILE = HANDLE\nHMODULE = HANDLE\nHMONITOR = HANDLE\nHPALETTE = HANDLE\nHPEN = HANDLE\nHRGN = HANDLE\nHRSRC = HANDLE\nHSTR = HANDLE\nHTASK = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HMETAFILE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HMETAFILE = HANDLE\nHMODULE = HANDLE\nHMONITOR = HANDLE\nHPALETTE = HANDLE\nHPEN = HANDLE\nHRGN = HANDLE\nHRSRC = HANDLE\nHSTR = HANDLE\nHTASK = HANDLE\nHWINSTA = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HMODULE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HMODULE = HANDLE\nHMONITOR = HANDLE\nHPALETTE = HANDLE\nHPEN = HANDLE\nHRGN = HANDLE\nHRSRC = HANDLE\nHSTR = HANDLE\nHTASK = HANDLE\nHWINSTA = HANDLE\nHWND = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HMONITOR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HMONITOR = HANDLE\nHPALETTE = HANDLE\nHPEN = HANDLE\nHRGN = HANDLE\nHRSRC = HANDLE\nHSTR = HANDLE\nHTASK = HANDLE\nHWINSTA = HANDLE\nHWND = HANDLE\nSC_HANDLE = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HPALETTE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HPALETTE = HANDLE\nHPEN = HANDLE\nHRGN = HANDLE\nHRSRC = HANDLE\nHSTR = HANDLE\nHTASK = HANDLE\nHWINSTA = HANDLE\nHWND = HANDLE\nSC_HANDLE = HANDLE\nSERVICE_STATUS_HANDLE = HANDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HPEN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HPEN = HANDLE\nHRGN = HANDLE\nHRSRC = HANDLE\nHSTR = HANDLE\nHTASK = HANDLE\nHWINSTA = HANDLE\nHWND = HANDLE\nSC_HANDLE = HANDLE\nSERVICE_STATUS_HANDLE = HANDLE\n################################################################", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HRGN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HRGN = HANDLE\nHRSRC = HANDLE\nHSTR = HANDLE\nHTASK = HANDLE\nHWINSTA = HANDLE\nHWND = HANDLE\nSC_HANDLE = HANDLE\nSERVICE_STATUS_HANDLE = HANDLE\n################################################################\n# Some important structure definitions", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HRSRC", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HRSRC = HANDLE\nHSTR = HANDLE\nHTASK = HANDLE\nHWINSTA = HANDLE\nHWND = HANDLE\nSC_HANDLE = HANDLE\nSERVICE_STATUS_HANDLE = HANDLE\n################################################################\n# Some important structure definitions\nclass RECT(ctypes.Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HSTR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HSTR = HANDLE\nHTASK = HANDLE\nHWINSTA = HANDLE\nHWND = HANDLE\nSC_HANDLE = HANDLE\nSERVICE_STATUS_HANDLE = HANDLE\n################################################################\n# Some important structure definitions\nclass RECT(ctypes.Structure):\n _fields_ = [(\"left\", LONG),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HTASK", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HTASK = HANDLE\nHWINSTA = HANDLE\nHWND = HANDLE\nSC_HANDLE = HANDLE\nSERVICE_STATUS_HANDLE = HANDLE\n################################################################\n# Some important structure definitions\nclass RECT(ctypes.Structure):\n _fields_ = [(\"left\", LONG),\n (\"top\", LONG),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HWINSTA", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HWINSTA = HANDLE\nHWND = HANDLE\nSC_HANDLE = HANDLE\nSERVICE_STATUS_HANDLE = HANDLE\n################################################################\n# Some important structure definitions\nclass RECT(ctypes.Structure):\n _fields_ = [(\"left\", LONG),\n (\"top\", LONG),\n (\"right\", LONG),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "HWND", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "HWND = HANDLE\nSC_HANDLE = HANDLE\nSERVICE_STATUS_HANDLE = HANDLE\n################################################################\n# Some important structure definitions\nclass RECT(ctypes.Structure):\n _fields_ = [(\"left\", LONG),\n (\"top\", LONG),\n (\"right\", LONG),\n (\"bottom\", LONG)]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "SC_HANDLE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "SC_HANDLE = HANDLE\nSERVICE_STATUS_HANDLE = HANDLE\n################################################################\n# Some important structure definitions\nclass RECT(ctypes.Structure):\n _fields_ = [(\"left\", LONG),\n (\"top\", LONG),\n (\"right\", LONG),\n (\"bottom\", LONG)]\ntagRECT = _RECTL = RECTL = RECT", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "SERVICE_STATUS_HANDLE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "SERVICE_STATUS_HANDLE = HANDLE\n################################################################\n# Some important structure definitions\nclass RECT(ctypes.Structure):\n _fields_ = [(\"left\", LONG),\n (\"top\", LONG),\n (\"right\", LONG),\n (\"bottom\", LONG)]\ntagRECT = _RECTL = RECTL = RECT\nclass _SMALL_RECT(ctypes.Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "tagRECT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "tagRECT = _RECTL = RECTL = RECT\nclass _SMALL_RECT(ctypes.Structure):\n _fields_ = [('Left', SHORT),\n ('Top', SHORT),\n ('Right', SHORT),\n ('Bottom', SHORT)]\nSMALL_RECT = _SMALL_RECT\nclass _COORD(ctypes.Structure):\n _fields_ = [('X', SHORT),\n ('Y', SHORT)]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "SMALL_RECT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "SMALL_RECT = _SMALL_RECT\nclass _COORD(ctypes.Structure):\n _fields_ = [('X', SHORT),\n ('Y', SHORT)]\nclass POINT(ctypes.Structure):\n _fields_ = [(\"x\", LONG),\n (\"y\", LONG)]\ntagPOINT = _POINTL = POINTL = POINT\nclass SIZE(ctypes.Structure):\n _fields_ = [(\"cx\", LONG),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "tagPOINT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "tagPOINT = _POINTL = POINTL = POINT\nclass SIZE(ctypes.Structure):\n _fields_ = [(\"cx\", LONG),\n (\"cy\", LONG)]\ntagSIZE = SIZEL = SIZE\ndef RGB(red, green, blue):\n return red + (green << 8) + (blue << 16)\nclass FILETIME(ctypes.Structure):\n _fields_ = [(\"dwLowDateTime\", DWORD),\n (\"dwHighDateTime\", DWORD)]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "tagSIZE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "tagSIZE = SIZEL = SIZE\ndef RGB(red, green, blue):\n return red + (green << 8) + (blue << 16)\nclass FILETIME(ctypes.Structure):\n _fields_ = [(\"dwLowDateTime\", DWORD),\n (\"dwHighDateTime\", DWORD)]\n_FILETIME = FILETIME\nclass MSG(ctypes.Structure):\n _fields_ = [(\"hWnd\", HWND),\n (\"message\", UINT),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "_FILETIME", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "_FILETIME = FILETIME\nclass MSG(ctypes.Structure):\n _fields_ = [(\"hWnd\", HWND),\n (\"message\", UINT),\n (\"wParam\", WPARAM),\n (\"lParam\", LPARAM),\n (\"time\", DWORD),\n (\"pt\", POINT)]\ntagMSG = MSG\nMAX_PATH = 260", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "tagMSG", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "tagMSG = MSG\nMAX_PATH = 260\nclass WIN32_FIND_DATAA(ctypes.Structure):\n _fields_ = [(\"dwFileAttributes\", DWORD),\n (\"ftCreationTime\", FILETIME),\n (\"ftLastAccessTime\", FILETIME),\n (\"ftLastWriteTime\", FILETIME),\n (\"nFileSizeHigh\", DWORD),\n (\"nFileSizeLow\", DWORD),\n (\"dwReserved0\", DWORD),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "MAX_PATH", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "MAX_PATH = 260\nclass WIN32_FIND_DATAA(ctypes.Structure):\n _fields_ = [(\"dwFileAttributes\", DWORD),\n (\"ftCreationTime\", FILETIME),\n (\"ftLastAccessTime\", FILETIME),\n (\"ftLastWriteTime\", FILETIME),\n (\"nFileSizeHigh\", DWORD),\n (\"nFileSizeLow\", DWORD),\n (\"dwReserved0\", DWORD),\n (\"dwReserved1\", DWORD),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPBOOL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPBOOL = PBOOL = ctypes.POINTER(BOOL)\nPBOOLEAN = ctypes.POINTER(BOOLEAN)\nLPBYTE = PBYTE = ctypes.POINTER(BYTE)\nPCHAR = ctypes.POINTER(CHAR)\nLPCOLORREF = ctypes.POINTER(COLORREF)\nLPDWORD = PDWORD = ctypes.POINTER(DWORD)\nLPFILETIME = PFILETIME = ctypes.POINTER(FILETIME)\nPFLOAT = ctypes.POINTER(FLOAT)\nLPHANDLE = PHANDLE = ctypes.POINTER(HANDLE)\nPHKEY = ctypes.POINTER(HKEY)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "PBOOLEAN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "PBOOLEAN = ctypes.POINTER(BOOLEAN)\nLPBYTE = PBYTE = ctypes.POINTER(BYTE)\nPCHAR = ctypes.POINTER(CHAR)\nLPCOLORREF = ctypes.POINTER(COLORREF)\nLPDWORD = PDWORD = ctypes.POINTER(DWORD)\nLPFILETIME = PFILETIME = ctypes.POINTER(FILETIME)\nPFLOAT = ctypes.POINTER(FLOAT)\nLPHANDLE = PHANDLE = ctypes.POINTER(HANDLE)\nPHKEY = ctypes.POINTER(HKEY)\nLPHKL = ctypes.POINTER(HKL)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPBYTE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPBYTE = PBYTE = ctypes.POINTER(BYTE)\nPCHAR = ctypes.POINTER(CHAR)\nLPCOLORREF = ctypes.POINTER(COLORREF)\nLPDWORD = PDWORD = ctypes.POINTER(DWORD)\nLPFILETIME = PFILETIME = ctypes.POINTER(FILETIME)\nPFLOAT = ctypes.POINTER(FLOAT)\nLPHANDLE = PHANDLE = ctypes.POINTER(HANDLE)\nPHKEY = ctypes.POINTER(HKEY)\nLPHKL = ctypes.POINTER(HKL)\nLPINT = PINT = ctypes.POINTER(INT)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "PCHAR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "PCHAR = ctypes.POINTER(CHAR)\nLPCOLORREF = ctypes.POINTER(COLORREF)\nLPDWORD = PDWORD = ctypes.POINTER(DWORD)\nLPFILETIME = PFILETIME = ctypes.POINTER(FILETIME)\nPFLOAT = ctypes.POINTER(FLOAT)\nLPHANDLE = PHANDLE = ctypes.POINTER(HANDLE)\nPHKEY = ctypes.POINTER(HKEY)\nLPHKL = ctypes.POINTER(HKL)\nLPINT = PINT = ctypes.POINTER(INT)\nPLARGE_INTEGER = ctypes.POINTER(LARGE_INTEGER)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPCOLORREF", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPCOLORREF = ctypes.POINTER(COLORREF)\nLPDWORD = PDWORD = ctypes.POINTER(DWORD)\nLPFILETIME = PFILETIME = ctypes.POINTER(FILETIME)\nPFLOAT = ctypes.POINTER(FLOAT)\nLPHANDLE = PHANDLE = ctypes.POINTER(HANDLE)\nPHKEY = ctypes.POINTER(HKEY)\nLPHKL = ctypes.POINTER(HKL)\nLPINT = PINT = ctypes.POINTER(INT)\nPLARGE_INTEGER = ctypes.POINTER(LARGE_INTEGER)\nPLCID = ctypes.POINTER(LCID)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPDWORD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPDWORD = PDWORD = ctypes.POINTER(DWORD)\nLPFILETIME = PFILETIME = ctypes.POINTER(FILETIME)\nPFLOAT = ctypes.POINTER(FLOAT)\nLPHANDLE = PHANDLE = ctypes.POINTER(HANDLE)\nPHKEY = ctypes.POINTER(HKEY)\nLPHKL = ctypes.POINTER(HKL)\nLPINT = PINT = ctypes.POINTER(INT)\nPLARGE_INTEGER = ctypes.POINTER(LARGE_INTEGER)\nPLCID = ctypes.POINTER(LCID)\nLPLONG = PLONG = ctypes.POINTER(LONG)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPFILETIME", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPFILETIME = PFILETIME = ctypes.POINTER(FILETIME)\nPFLOAT = ctypes.POINTER(FLOAT)\nLPHANDLE = PHANDLE = ctypes.POINTER(HANDLE)\nPHKEY = ctypes.POINTER(HKEY)\nLPHKL = ctypes.POINTER(HKL)\nLPINT = PINT = ctypes.POINTER(INT)\nPLARGE_INTEGER = ctypes.POINTER(LARGE_INTEGER)\nPLCID = ctypes.POINTER(LCID)\nLPLONG = PLONG = ctypes.POINTER(LONG)\nLPMSG = PMSG = ctypes.POINTER(MSG)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "PFLOAT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "PFLOAT = ctypes.POINTER(FLOAT)\nLPHANDLE = PHANDLE = ctypes.POINTER(HANDLE)\nPHKEY = ctypes.POINTER(HKEY)\nLPHKL = ctypes.POINTER(HKL)\nLPINT = PINT = ctypes.POINTER(INT)\nPLARGE_INTEGER = ctypes.POINTER(LARGE_INTEGER)\nPLCID = ctypes.POINTER(LCID)\nLPLONG = PLONG = ctypes.POINTER(LONG)\nLPMSG = PMSG = ctypes.POINTER(MSG)\nLPPOINT = PPOINT = ctypes.POINTER(POINT)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPHANDLE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPHANDLE = PHANDLE = ctypes.POINTER(HANDLE)\nPHKEY = ctypes.POINTER(HKEY)\nLPHKL = ctypes.POINTER(HKL)\nLPINT = PINT = ctypes.POINTER(INT)\nPLARGE_INTEGER = ctypes.POINTER(LARGE_INTEGER)\nPLCID = ctypes.POINTER(LCID)\nLPLONG = PLONG = ctypes.POINTER(LONG)\nLPMSG = PMSG = ctypes.POINTER(MSG)\nLPPOINT = PPOINT = ctypes.POINTER(POINT)\nPPOINTL = ctypes.POINTER(POINTL)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "PHKEY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "PHKEY = ctypes.POINTER(HKEY)\nLPHKL = ctypes.POINTER(HKL)\nLPINT = PINT = ctypes.POINTER(INT)\nPLARGE_INTEGER = ctypes.POINTER(LARGE_INTEGER)\nPLCID = ctypes.POINTER(LCID)\nLPLONG = PLONG = ctypes.POINTER(LONG)\nLPMSG = PMSG = ctypes.POINTER(MSG)\nLPPOINT = PPOINT = ctypes.POINTER(POINT)\nPPOINTL = ctypes.POINTER(POINTL)\nLPRECT = PRECT = ctypes.POINTER(RECT)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPHKL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPHKL = ctypes.POINTER(HKL)\nLPINT = PINT = ctypes.POINTER(INT)\nPLARGE_INTEGER = ctypes.POINTER(LARGE_INTEGER)\nPLCID = ctypes.POINTER(LCID)\nLPLONG = PLONG = ctypes.POINTER(LONG)\nLPMSG = PMSG = ctypes.POINTER(MSG)\nLPPOINT = PPOINT = ctypes.POINTER(POINT)\nPPOINTL = ctypes.POINTER(POINTL)\nLPRECT = PRECT = ctypes.POINTER(RECT)\nLPRECTL = PRECTL = ctypes.POINTER(RECTL)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPINT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPINT = PINT = ctypes.POINTER(INT)\nPLARGE_INTEGER = ctypes.POINTER(LARGE_INTEGER)\nPLCID = ctypes.POINTER(LCID)\nLPLONG = PLONG = ctypes.POINTER(LONG)\nLPMSG = PMSG = ctypes.POINTER(MSG)\nLPPOINT = PPOINT = ctypes.POINTER(POINT)\nPPOINTL = ctypes.POINTER(POINTL)\nLPRECT = PRECT = ctypes.POINTER(RECT)\nLPRECTL = PRECTL = ctypes.POINTER(RECTL)\nLPSC_HANDLE = ctypes.POINTER(SC_HANDLE)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "PLARGE_INTEGER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "PLARGE_INTEGER = ctypes.POINTER(LARGE_INTEGER)\nPLCID = ctypes.POINTER(LCID)\nLPLONG = PLONG = ctypes.POINTER(LONG)\nLPMSG = PMSG = ctypes.POINTER(MSG)\nLPPOINT = PPOINT = ctypes.POINTER(POINT)\nPPOINTL = ctypes.POINTER(POINTL)\nLPRECT = PRECT = ctypes.POINTER(RECT)\nLPRECTL = PRECTL = ctypes.POINTER(RECTL)\nLPSC_HANDLE = ctypes.POINTER(SC_HANDLE)\nPSHORT = ctypes.POINTER(SHORT)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "PLCID", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "PLCID = ctypes.POINTER(LCID)\nLPLONG = PLONG = ctypes.POINTER(LONG)\nLPMSG = PMSG = ctypes.POINTER(MSG)\nLPPOINT = PPOINT = ctypes.POINTER(POINT)\nPPOINTL = ctypes.POINTER(POINTL)\nLPRECT = PRECT = ctypes.POINTER(RECT)\nLPRECTL = PRECTL = ctypes.POINTER(RECTL)\nLPSC_HANDLE = ctypes.POINTER(SC_HANDLE)\nPSHORT = ctypes.POINTER(SHORT)\nLPSIZE = PSIZE = ctypes.POINTER(SIZE)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPLONG", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPLONG = PLONG = ctypes.POINTER(LONG)\nLPMSG = PMSG = ctypes.POINTER(MSG)\nLPPOINT = PPOINT = ctypes.POINTER(POINT)\nPPOINTL = ctypes.POINTER(POINTL)\nLPRECT = PRECT = ctypes.POINTER(RECT)\nLPRECTL = PRECTL = ctypes.POINTER(RECTL)\nLPSC_HANDLE = ctypes.POINTER(SC_HANDLE)\nPSHORT = ctypes.POINTER(SHORT)\nLPSIZE = PSIZE = ctypes.POINTER(SIZE)\nLPSIZEL = PSIZEL = ctypes.POINTER(SIZEL)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPMSG", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPMSG = PMSG = ctypes.POINTER(MSG)\nLPPOINT = PPOINT = ctypes.POINTER(POINT)\nPPOINTL = ctypes.POINTER(POINTL)\nLPRECT = PRECT = ctypes.POINTER(RECT)\nLPRECTL = PRECTL = ctypes.POINTER(RECTL)\nLPSC_HANDLE = ctypes.POINTER(SC_HANDLE)\nPSHORT = ctypes.POINTER(SHORT)\nLPSIZE = PSIZE = ctypes.POINTER(SIZE)\nLPSIZEL = PSIZEL = ctypes.POINTER(SIZEL)\nPSMALL_RECT = ctypes.POINTER(SMALL_RECT)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPPOINT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPPOINT = PPOINT = ctypes.POINTER(POINT)\nPPOINTL = ctypes.POINTER(POINTL)\nLPRECT = PRECT = ctypes.POINTER(RECT)\nLPRECTL = PRECTL = ctypes.POINTER(RECTL)\nLPSC_HANDLE = ctypes.POINTER(SC_HANDLE)\nPSHORT = ctypes.POINTER(SHORT)\nLPSIZE = PSIZE = ctypes.POINTER(SIZE)\nLPSIZEL = PSIZEL = ctypes.POINTER(SIZEL)\nPSMALL_RECT = ctypes.POINTER(SMALL_RECT)\nLPUINT = PUINT = ctypes.POINTER(UINT)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "PPOINTL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "PPOINTL = ctypes.POINTER(POINTL)\nLPRECT = PRECT = ctypes.POINTER(RECT)\nLPRECTL = PRECTL = ctypes.POINTER(RECTL)\nLPSC_HANDLE = ctypes.POINTER(SC_HANDLE)\nPSHORT = ctypes.POINTER(SHORT)\nLPSIZE = PSIZE = ctypes.POINTER(SIZE)\nLPSIZEL = PSIZEL = ctypes.POINTER(SIZEL)\nPSMALL_RECT = ctypes.POINTER(SMALL_RECT)\nLPUINT = PUINT = ctypes.POINTER(UINT)\nPULARGE_INTEGER = ctypes.POINTER(ULARGE_INTEGER)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPRECT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPRECT = PRECT = ctypes.POINTER(RECT)\nLPRECTL = PRECTL = ctypes.POINTER(RECTL)\nLPSC_HANDLE = ctypes.POINTER(SC_HANDLE)\nPSHORT = ctypes.POINTER(SHORT)\nLPSIZE = PSIZE = ctypes.POINTER(SIZE)\nLPSIZEL = PSIZEL = ctypes.POINTER(SIZEL)\nPSMALL_RECT = ctypes.POINTER(SMALL_RECT)\nLPUINT = PUINT = ctypes.POINTER(UINT)\nPULARGE_INTEGER = ctypes.POINTER(ULARGE_INTEGER)\nPULONG = ctypes.POINTER(ULONG)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPRECTL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPRECTL = PRECTL = ctypes.POINTER(RECTL)\nLPSC_HANDLE = ctypes.POINTER(SC_HANDLE)\nPSHORT = ctypes.POINTER(SHORT)\nLPSIZE = PSIZE = ctypes.POINTER(SIZE)\nLPSIZEL = PSIZEL = ctypes.POINTER(SIZEL)\nPSMALL_RECT = ctypes.POINTER(SMALL_RECT)\nLPUINT = PUINT = ctypes.POINTER(UINT)\nPULARGE_INTEGER = ctypes.POINTER(ULARGE_INTEGER)\nPULONG = ctypes.POINTER(ULONG)\nPUSHORT = ctypes.POINTER(USHORT)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPSC_HANDLE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPSC_HANDLE = ctypes.POINTER(SC_HANDLE)\nPSHORT = ctypes.POINTER(SHORT)\nLPSIZE = PSIZE = ctypes.POINTER(SIZE)\nLPSIZEL = PSIZEL = ctypes.POINTER(SIZEL)\nPSMALL_RECT = ctypes.POINTER(SMALL_RECT)\nLPUINT = PUINT = ctypes.POINTER(UINT)\nPULARGE_INTEGER = ctypes.POINTER(ULARGE_INTEGER)\nPULONG = ctypes.POINTER(ULONG)\nPUSHORT = ctypes.POINTER(USHORT)\nPWCHAR = ctypes.POINTER(WCHAR)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "PSHORT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "PSHORT = ctypes.POINTER(SHORT)\nLPSIZE = PSIZE = ctypes.POINTER(SIZE)\nLPSIZEL = PSIZEL = ctypes.POINTER(SIZEL)\nPSMALL_RECT = ctypes.POINTER(SMALL_RECT)\nLPUINT = PUINT = ctypes.POINTER(UINT)\nPULARGE_INTEGER = ctypes.POINTER(ULARGE_INTEGER)\nPULONG = ctypes.POINTER(ULONG)\nPUSHORT = ctypes.POINTER(USHORT)\nPWCHAR = ctypes.POINTER(WCHAR)\nLPWIN32_FIND_DATAA = PWIN32_FIND_DATAA = ctypes.POINTER(WIN32_FIND_DATAA)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPSIZE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPSIZE = PSIZE = ctypes.POINTER(SIZE)\nLPSIZEL = PSIZEL = ctypes.POINTER(SIZEL)\nPSMALL_RECT = ctypes.POINTER(SMALL_RECT)\nLPUINT = PUINT = ctypes.POINTER(UINT)\nPULARGE_INTEGER = ctypes.POINTER(ULARGE_INTEGER)\nPULONG = ctypes.POINTER(ULONG)\nPUSHORT = ctypes.POINTER(USHORT)\nPWCHAR = ctypes.POINTER(WCHAR)\nLPWIN32_FIND_DATAA = PWIN32_FIND_DATAA = ctypes.POINTER(WIN32_FIND_DATAA)\nLPWIN32_FIND_DATAW = PWIN32_FIND_DATAW = ctypes.POINTER(WIN32_FIND_DATAW)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPSIZEL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPSIZEL = PSIZEL = ctypes.POINTER(SIZEL)\nPSMALL_RECT = ctypes.POINTER(SMALL_RECT)\nLPUINT = PUINT = ctypes.POINTER(UINT)\nPULARGE_INTEGER = ctypes.POINTER(ULARGE_INTEGER)\nPULONG = ctypes.POINTER(ULONG)\nPUSHORT = ctypes.POINTER(USHORT)\nPWCHAR = ctypes.POINTER(WCHAR)\nLPWIN32_FIND_DATAA = PWIN32_FIND_DATAA = ctypes.POINTER(WIN32_FIND_DATAA)\nLPWIN32_FIND_DATAW = PWIN32_FIND_DATAW = ctypes.POINTER(WIN32_FIND_DATAW)\nLPWORD = PWORD = ctypes.POINTER(WORD)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "PSMALL_RECT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "PSMALL_RECT = ctypes.POINTER(SMALL_RECT)\nLPUINT = PUINT = ctypes.POINTER(UINT)\nPULARGE_INTEGER = ctypes.POINTER(ULARGE_INTEGER)\nPULONG = ctypes.POINTER(ULONG)\nPUSHORT = ctypes.POINTER(USHORT)\nPWCHAR = ctypes.POINTER(WCHAR)\nLPWIN32_FIND_DATAA = PWIN32_FIND_DATAA = ctypes.POINTER(WIN32_FIND_DATAA)\nLPWIN32_FIND_DATAW = PWIN32_FIND_DATAW = ctypes.POINTER(WIN32_FIND_DATAW)\nLPWORD = PWORD = ctypes.POINTER(WORD)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPUINT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPUINT = PUINT = ctypes.POINTER(UINT)\nPULARGE_INTEGER = ctypes.POINTER(ULARGE_INTEGER)\nPULONG = ctypes.POINTER(ULONG)\nPUSHORT = ctypes.POINTER(USHORT)\nPWCHAR = ctypes.POINTER(WCHAR)\nLPWIN32_FIND_DATAA = PWIN32_FIND_DATAA = ctypes.POINTER(WIN32_FIND_DATAA)\nLPWIN32_FIND_DATAW = PWIN32_FIND_DATAW = ctypes.POINTER(WIN32_FIND_DATAW)\nLPWORD = PWORD = ctypes.POINTER(WORD)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "PULARGE_INTEGER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "PULARGE_INTEGER = ctypes.POINTER(ULARGE_INTEGER)\nPULONG = ctypes.POINTER(ULONG)\nPUSHORT = ctypes.POINTER(USHORT)\nPWCHAR = ctypes.POINTER(WCHAR)\nLPWIN32_FIND_DATAA = PWIN32_FIND_DATAA = ctypes.POINTER(WIN32_FIND_DATAA)\nLPWIN32_FIND_DATAW = PWIN32_FIND_DATAW = ctypes.POINTER(WIN32_FIND_DATAW)\nLPWORD = PWORD = ctypes.POINTER(WORD)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "PULONG", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "PULONG = ctypes.POINTER(ULONG)\nPUSHORT = ctypes.POINTER(USHORT)\nPWCHAR = ctypes.POINTER(WCHAR)\nLPWIN32_FIND_DATAA = PWIN32_FIND_DATAA = ctypes.POINTER(WIN32_FIND_DATAA)\nLPWIN32_FIND_DATAW = PWIN32_FIND_DATAW = ctypes.POINTER(WIN32_FIND_DATAW)\nLPWORD = PWORD = ctypes.POINTER(WORD)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "PUSHORT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "PUSHORT = ctypes.POINTER(USHORT)\nPWCHAR = ctypes.POINTER(WCHAR)\nLPWIN32_FIND_DATAA = PWIN32_FIND_DATAA = ctypes.POINTER(WIN32_FIND_DATAA)\nLPWIN32_FIND_DATAW = PWIN32_FIND_DATAW = ctypes.POINTER(WIN32_FIND_DATAW)\nLPWORD = PWORD = ctypes.POINTER(WORD)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "PWCHAR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "PWCHAR = ctypes.POINTER(WCHAR)\nLPWIN32_FIND_DATAA = PWIN32_FIND_DATAA = ctypes.POINTER(WIN32_FIND_DATAA)\nLPWIN32_FIND_DATAW = PWIN32_FIND_DATAW = ctypes.POINTER(WIN32_FIND_DATAW)\nLPWORD = PWORD = ctypes.POINTER(WORD)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPWIN32_FIND_DATAA", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPWIN32_FIND_DATAA = PWIN32_FIND_DATAA = ctypes.POINTER(WIN32_FIND_DATAA)\nLPWIN32_FIND_DATAW = PWIN32_FIND_DATAW = ctypes.POINTER(WIN32_FIND_DATAW)\nLPWORD = PWORD = ctypes.POINTER(WORD)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPWIN32_FIND_DATAW", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPWIN32_FIND_DATAW = PWIN32_FIND_DATAW = ctypes.POINTER(WIN32_FIND_DATAW)\nLPWORD = PWORD = ctypes.POINTER(WORD)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "LPWORD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "peekOfCode": "LPWORD = PWORD = ctypes.POINTER(WORD)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes.wintypes", "documentation": {} }, { "label": "get_ld_header", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "peekOfCode": "def get_ld_header(p):\n # \"nested-function, but placed at module level\n ld_header = None\n for line in p.stdout:\n if line.startswith(('/', './', '../')):\n ld_header = line\n elif \"INDEX\" in line:\n return ld_header.rstrip('\\n')\n return None\ndef get_ld_header_info(p):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "documentation": {} }, { "label": "get_ld_header_info", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "peekOfCode": "def get_ld_header_info(p):\n # \"nested-function, but placed at module level\n # as an ld_header was found, return known paths, archives and members\n # these lines start with a digit\n info = []\n for line in p.stdout:\n if re.match(\"[0-9]\", line):\n info.append(line)\n else:\n # blank line (separator), consume line and end for loop", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "documentation": {} }, { "label": "get_ld_headers", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "peekOfCode": "def get_ld_headers(file):\n \"\"\"\n Parse the header of the loader section of executable and archives\n This function calls /usr/bin/dump -H as a subprocess\n and returns a list of (ld_header, ld_header_info) tuples.\n \"\"\"\n # get_ld_headers parsing:\n # 1. Find a line that starts with /, ./, or ../ - set as ld_header\n # 2. If \"INDEX\" in occurs in a following line - return ld_header\n # 3. get info (lines starting with [0-9])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "documentation": {} }, { "label": "get_shared", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "peekOfCode": "def get_shared(ld_headers):\n \"\"\"\n extract the shareable objects from ld_headers\n character \"[\" is used to strip off the path information.\n Note: the \"[\" and \"]\" characters that are part of dump -H output\n are not removed here.\n \"\"\"\n shared = []\n for (line, _) in ld_headers:\n # potential member lines contain \"[\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "documentation": {} }, { "label": "get_one_match", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "peekOfCode": "def get_one_match(expr, lines):\n \"\"\"\n Must be only one match, otherwise result is None.\n When there is a match, strip leading \"[\" and trailing \"]\"\n \"\"\"\n # member names in the ld_headers output are between square brackets\n expr = rf'\\[({expr})\\]'\n matches = list(filter(None, (re.search(expr, line) for line in lines)))\n if len(matches) == 1:\n return matches[0].group(1)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "documentation": {} }, { "label": "get_legacy", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "peekOfCode": "def get_legacy(members):\n \"\"\"\n This routine provides historical aka legacy naming schemes started\n in AIX4 shared library support for library members names.\n e.g., in /usr/lib/libc.a the member name shr.o for 32-bit binary and\n shr_64.o for 64-bit binary.\n \"\"\"\n if AIX_ABI == 64:\n # AIX 64-bit member is one of shr64.o, shr_64.o, or shr4_64.o\n expr = r'shr4?_?64\\.o'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "documentation": {} }, { "label": "get_version", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "peekOfCode": "def get_version(name, members):\n \"\"\"\n Sort list of members and return highest numbered version - if it exists.\n This function is called when an unversioned libFOO.a(libFOO.so) has\n not been found.\n Versioning for the member name is expected to follow\n GNU LIBTOOL conventions: the highest version (x, then X.y, then X.Y.z)\n * find [libFoo.so.X]\n * find [libFoo.so.X.Y]\n * find [libFoo.so.X.Y.Z]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "documentation": {} }, { "label": "get_member", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "peekOfCode": "def get_member(name, members):\n \"\"\"\n Return an archive member matching the request in name.\n Name is the library name without any prefix like lib, suffix like .so,\n or version number.\n Given a list of members find and return the most appropriate result\n Priority is given to generic libXXX.so, then a versioned libXXX.so.a.b.c\n and finally, legacy AIX naming scheme.\n \"\"\"\n # look first for a generic match - prepend lib and append .so", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "documentation": {} }, { "label": "get_libpaths", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "peekOfCode": "def get_libpaths():\n \"\"\"\n On AIX, the buildtime searchpath is stored in the executable.\n as \"loader header information\".\n The command /usr/bin/dump -H extracts this info.\n Prefix searched libraries with LD_LIBRARY_PATH (preferred),\n or LIBPATH if defined. These paths are appended to the paths\n to libraries the python executable is linked with.\n This mimics AIX dlopen() behavior.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "documentation": {} }, { "label": "find_shared", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "peekOfCode": "def find_shared(paths, name):\n \"\"\"\n paths is a list of directories to search for an archive.\n name is the abbreviated name given to find_library().\n Process: search \"paths\" for archive, and if an archive is found\n return the result of get_member().\n If an archive is not found then return None\n \"\"\"\n for dir in paths:\n # /lib is a symbolic link to /usr/lib, skip it", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "documentation": {} }, { "label": "find_library", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "peekOfCode": "def find_library(name):\n \"\"\"AIX implementation of ctypes.util.find_library()\n Find an archive member that will dlopen(). If not available,\n also search for a file (or link) with a .so suffix.\n AIX supports two types of schemes that can be used with dlopen().\n The so-called SystemV Release4 (svr4) format is commonly suffixed\n with .so while the (default) AIX scheme has the library (archive)\n ending with the suffix .a\n As an archive has multiple members (e.g., 32-bit and 64-bit) in one file\n the argument passed to dlopen must include both the library and", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "documentation": {} }, { "label": "__author__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "peekOfCode": "__author__ = \"Michael Felt <aixtools@felt.demon.nl>\"\nimport re\nfrom os import environ, path\nfrom sys import executable\nfrom ctypes import c_void_p, sizeof\nfrom subprocess import Popen, PIPE, DEVNULL\n# Executable bit size - 32 or 64\n# Used to filter the search in an archive by size, e.g., -X64\nAIX_ABI = sizeof(c_void_p) * 8\nfrom sys import maxsize", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "documentation": {} }, { "label": "AIX_ABI", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "peekOfCode": "AIX_ABI = sizeof(c_void_p) * 8\nfrom sys import maxsize\ndef _last_version(libnames, sep):\n def _num_version(libname):\n # \"libxyz.so.MAJOR.MINOR\" => [MAJOR, MINOR]\n parts = libname.split(sep)\n nums = []\n try:\n while parts:\n nums.insert(0, int(parts.pop()))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._aix", "documentation": {} }, { "label": "_swapped_meta", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._endian", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._endian", "peekOfCode": "class _swapped_meta(type(Structure)):\n def __setattr__(self, attrname, value):\n if attrname == \"_fields_\":\n fields = []\n for desc in value:\n name = desc[0]\n typ = desc[1]\n rest = desc[2:]\n fields.append((name, _other_endian(typ)) + rest)\n value = fields", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._endian", "documentation": {} }, { "label": "_array_type", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._endian", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._endian", "peekOfCode": "_array_type = type(Array)\ndef _other_endian(typ):\n \"\"\"Return the type with the 'other' byte order. Simple types like\n c_int and so on already have __ctype_be__ and __ctype_le__\n attributes which contain the types, for more complicated types\n arrays and structures are supported.\n \"\"\"\n # check _OTHER_ENDIAN attribute (present if typ is primitive type)\n if hasattr(typ, _OTHER_ENDIAN):\n return getattr(typ, _OTHER_ENDIAN)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.ctypes._endian", "documentation": {} }, { "label": "isalnum", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def isalnum(c): return isalpha(c) or isdigit(c)\ndef isalpha(c): return isupper(c) or islower(c)\ndef isascii(c): return 0 <= _ctoi(c) <= 127 # ?\ndef isblank(c): return _ctoi(c) in (9, 32)\ndef iscntrl(c): return 0 <= _ctoi(c) <= 31 or _ctoi(c) == 127\ndef isdigit(c): return 48 <= _ctoi(c) <= 57\ndef isgraph(c): return 33 <= _ctoi(c) <= 126\ndef islower(c): return 97 <= _ctoi(c) <= 122\ndef isprint(c): return 32 <= _ctoi(c) <= 126\ndef ispunct(c): return isgraph(c) and not isalnum(c)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "isalpha", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def isalpha(c): return isupper(c) or islower(c)\ndef isascii(c): return 0 <= _ctoi(c) <= 127 # ?\ndef isblank(c): return _ctoi(c) in (9, 32)\ndef iscntrl(c): return 0 <= _ctoi(c) <= 31 or _ctoi(c) == 127\ndef isdigit(c): return 48 <= _ctoi(c) <= 57\ndef isgraph(c): return 33 <= _ctoi(c) <= 126\ndef islower(c): return 97 <= _ctoi(c) <= 122\ndef isprint(c): return 32 <= _ctoi(c) <= 126\ndef ispunct(c): return isgraph(c) and not isalnum(c)\ndef isspace(c): return _ctoi(c) in (9, 10, 11, 12, 13, 32)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "isascii", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def isascii(c): return 0 <= _ctoi(c) <= 127 # ?\ndef isblank(c): return _ctoi(c) in (9, 32)\ndef iscntrl(c): return 0 <= _ctoi(c) <= 31 or _ctoi(c) == 127\ndef isdigit(c): return 48 <= _ctoi(c) <= 57\ndef isgraph(c): return 33 <= _ctoi(c) <= 126\ndef islower(c): return 97 <= _ctoi(c) <= 122\ndef isprint(c): return 32 <= _ctoi(c) <= 126\ndef ispunct(c): return isgraph(c) and not isalnum(c)\ndef isspace(c): return _ctoi(c) in (9, 10, 11, 12, 13, 32)\ndef isupper(c): return 65 <= _ctoi(c) <= 90", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "isblank", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def isblank(c): return _ctoi(c) in (9, 32)\ndef iscntrl(c): return 0 <= _ctoi(c) <= 31 or _ctoi(c) == 127\ndef isdigit(c): return 48 <= _ctoi(c) <= 57\ndef isgraph(c): return 33 <= _ctoi(c) <= 126\ndef islower(c): return 97 <= _ctoi(c) <= 122\ndef isprint(c): return 32 <= _ctoi(c) <= 126\ndef ispunct(c): return isgraph(c) and not isalnum(c)\ndef isspace(c): return _ctoi(c) in (9, 10, 11, 12, 13, 32)\ndef isupper(c): return 65 <= _ctoi(c) <= 90\ndef isxdigit(c): return isdigit(c) or \\", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "iscntrl", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def iscntrl(c): return 0 <= _ctoi(c) <= 31 or _ctoi(c) == 127\ndef isdigit(c): return 48 <= _ctoi(c) <= 57\ndef isgraph(c): return 33 <= _ctoi(c) <= 126\ndef islower(c): return 97 <= _ctoi(c) <= 122\ndef isprint(c): return 32 <= _ctoi(c) <= 126\ndef ispunct(c): return isgraph(c) and not isalnum(c)\ndef isspace(c): return _ctoi(c) in (9, 10, 11, 12, 13, 32)\ndef isupper(c): return 65 <= _ctoi(c) <= 90\ndef isxdigit(c): return isdigit(c) or \\\n (65 <= _ctoi(c) <= 70) or (97 <= _ctoi(c) <= 102)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "isdigit", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def isdigit(c): return 48 <= _ctoi(c) <= 57\ndef isgraph(c): return 33 <= _ctoi(c) <= 126\ndef islower(c): return 97 <= _ctoi(c) <= 122\ndef isprint(c): return 32 <= _ctoi(c) <= 126\ndef ispunct(c): return isgraph(c) and not isalnum(c)\ndef isspace(c): return _ctoi(c) in (9, 10, 11, 12, 13, 32)\ndef isupper(c): return 65 <= _ctoi(c) <= 90\ndef isxdigit(c): return isdigit(c) or \\\n (65 <= _ctoi(c) <= 70) or (97 <= _ctoi(c) <= 102)\ndef isctrl(c): return 0 <= _ctoi(c) < 32", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "isgraph", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def isgraph(c): return 33 <= _ctoi(c) <= 126\ndef islower(c): return 97 <= _ctoi(c) <= 122\ndef isprint(c): return 32 <= _ctoi(c) <= 126\ndef ispunct(c): return isgraph(c) and not isalnum(c)\ndef isspace(c): return _ctoi(c) in (9, 10, 11, 12, 13, 32)\ndef isupper(c): return 65 <= _ctoi(c) <= 90\ndef isxdigit(c): return isdigit(c) or \\\n (65 <= _ctoi(c) <= 70) or (97 <= _ctoi(c) <= 102)\ndef isctrl(c): return 0 <= _ctoi(c) < 32\ndef ismeta(c): return _ctoi(c) > 127", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "islower", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def islower(c): return 97 <= _ctoi(c) <= 122\ndef isprint(c): return 32 <= _ctoi(c) <= 126\ndef ispunct(c): return isgraph(c) and not isalnum(c)\ndef isspace(c): return _ctoi(c) in (9, 10, 11, 12, 13, 32)\ndef isupper(c): return 65 <= _ctoi(c) <= 90\ndef isxdigit(c): return isdigit(c) or \\\n (65 <= _ctoi(c) <= 70) or (97 <= _ctoi(c) <= 102)\ndef isctrl(c): return 0 <= _ctoi(c) < 32\ndef ismeta(c): return _ctoi(c) > 127\ndef ascii(c):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "isprint", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def isprint(c): return 32 <= _ctoi(c) <= 126\ndef ispunct(c): return isgraph(c) and not isalnum(c)\ndef isspace(c): return _ctoi(c) in (9, 10, 11, 12, 13, 32)\ndef isupper(c): return 65 <= _ctoi(c) <= 90\ndef isxdigit(c): return isdigit(c) or \\\n (65 <= _ctoi(c) <= 70) or (97 <= _ctoi(c) <= 102)\ndef isctrl(c): return 0 <= _ctoi(c) < 32\ndef ismeta(c): return _ctoi(c) > 127\ndef ascii(c):\n if type(c) == type(\"\"):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "ispunct", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def ispunct(c): return isgraph(c) and not isalnum(c)\ndef isspace(c): return _ctoi(c) in (9, 10, 11, 12, 13, 32)\ndef isupper(c): return 65 <= _ctoi(c) <= 90\ndef isxdigit(c): return isdigit(c) or \\\n (65 <= _ctoi(c) <= 70) or (97 <= _ctoi(c) <= 102)\ndef isctrl(c): return 0 <= _ctoi(c) < 32\ndef ismeta(c): return _ctoi(c) > 127\ndef ascii(c):\n if type(c) == type(\"\"):\n return chr(_ctoi(c) & 0x7f)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "isspace", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def isspace(c): return _ctoi(c) in (9, 10, 11, 12, 13, 32)\ndef isupper(c): return 65 <= _ctoi(c) <= 90\ndef isxdigit(c): return isdigit(c) or \\\n (65 <= _ctoi(c) <= 70) or (97 <= _ctoi(c) <= 102)\ndef isctrl(c): return 0 <= _ctoi(c) < 32\ndef ismeta(c): return _ctoi(c) > 127\ndef ascii(c):\n if type(c) == type(\"\"):\n return chr(_ctoi(c) & 0x7f)\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "isupper", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def isupper(c): return 65 <= _ctoi(c) <= 90\ndef isxdigit(c): return isdigit(c) or \\\n (65 <= _ctoi(c) <= 70) or (97 <= _ctoi(c) <= 102)\ndef isctrl(c): return 0 <= _ctoi(c) < 32\ndef ismeta(c): return _ctoi(c) > 127\ndef ascii(c):\n if type(c) == type(\"\"):\n return chr(_ctoi(c) & 0x7f)\n else:\n return _ctoi(c) & 0x7f", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "isxdigit", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def isxdigit(c): return isdigit(c) or \\\n (65 <= _ctoi(c) <= 70) or (97 <= _ctoi(c) <= 102)\ndef isctrl(c): return 0 <= _ctoi(c) < 32\ndef ismeta(c): return _ctoi(c) > 127\ndef ascii(c):\n if type(c) == type(\"\"):\n return chr(_ctoi(c) & 0x7f)\n else:\n return _ctoi(c) & 0x7f\ndef ctrl(c):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "isctrl", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def isctrl(c): return 0 <= _ctoi(c) < 32\ndef ismeta(c): return _ctoi(c) > 127\ndef ascii(c):\n if type(c) == type(\"\"):\n return chr(_ctoi(c) & 0x7f)\n else:\n return _ctoi(c) & 0x7f\ndef ctrl(c):\n if type(c) == type(\"\"):\n return chr(_ctoi(c) & 0x1f)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "ismeta", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def ismeta(c): return _ctoi(c) > 127\ndef ascii(c):\n if type(c) == type(\"\"):\n return chr(_ctoi(c) & 0x7f)\n else:\n return _ctoi(c) & 0x7f\ndef ctrl(c):\n if type(c) == type(\"\"):\n return chr(_ctoi(c) & 0x1f)\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "ascii", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def ascii(c):\n if type(c) == type(\"\"):\n return chr(_ctoi(c) & 0x7f)\n else:\n return _ctoi(c) & 0x7f\ndef ctrl(c):\n if type(c) == type(\"\"):\n return chr(_ctoi(c) & 0x1f)\n else:\n return _ctoi(c) & 0x1f", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "ctrl", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def ctrl(c):\n if type(c) == type(\"\"):\n return chr(_ctoi(c) & 0x1f)\n else:\n return _ctoi(c) & 0x1f\ndef alt(c):\n if type(c) == type(\"\"):\n return chr(_ctoi(c) | 0x80)\n else:\n return _ctoi(c) | 0x80", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "alt", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def alt(c):\n if type(c) == type(\"\"):\n return chr(_ctoi(c) | 0x80)\n else:\n return _ctoi(c) | 0x80\ndef unctrl(c):\n bits = _ctoi(c)\n if bits == 0x7f:\n rep = \"^?\"\n elif isprint(bits & 0x7f):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "unctrl", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "def unctrl(c):\n bits = _ctoi(c)\n if bits == 0x7f:\n rep = \"^?\"\n elif isprint(bits & 0x7f):\n rep = chr(bits & 0x7f)\n else:\n rep = \"^\" + chr(((bits & 0x7f) | 0x20) + 0x20)\n if bits & 0x80:\n return \"!\" + rep", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "controlnames", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "peekOfCode": "controlnames = [\n\"NUL\", \"SOH\", \"STX\", \"ETX\", \"EOT\", \"ENQ\", \"ACK\", \"BEL\",\n\"BS\", \"HT\", \"LF\", \"VT\", \"FF\", \"CR\", \"SO\", \"SI\",\n\"DLE\", \"DC1\", \"DC2\", \"DC3\", \"DC4\", \"NAK\", \"SYN\", \"ETB\",\n\"CAN\", \"EM\", \"SUB\", \"ESC\", \"FS\", \"GS\", \"RS\", \"US\",\n\"SP\"\n]\ndef _ctoi(c):\n if type(c) == type(\"\"):\n return ord(c)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.ascii", "documentation": {} }, { "label": "has_key", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.has_key", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.has_key", "peekOfCode": "def has_key(ch):\n if isinstance(ch, str):\n ch = ord(ch)\n # Figure out the correct capability name for the keycode.\n capability_name = _capability_names.get(ch)\n if capability_name is None:\n return False\n #Check the current terminal description for that capability;\n #if present, return true, else return false.\n if _curses.tigetstr( capability_name ):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.has_key", "documentation": {} }, { "label": "_capability_names", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.has_key", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.has_key", "peekOfCode": "_capability_names = {\n _curses.KEY_A1: 'ka1',\n _curses.KEY_A3: 'ka3',\n _curses.KEY_B2: 'kb2',\n _curses.KEY_BACKSPACE: 'kbs',\n _curses.KEY_BEG: 'kbeg',\n _curses.KEY_BTAB: 'kcbt',\n _curses.KEY_C1: 'kc1',\n _curses.KEY_C3: 'kc3',\n _curses.KEY_CANCEL: 'kcan',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.has_key", "documentation": {} }, { "label": "Textbox", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.textpad", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.textpad", "peekOfCode": "class Textbox:\n \"\"\"Editing widget using the interior of a window object.\n Supports the following Emacs-like key bindings:\n Ctrl-A Go to left edge of window.\n Ctrl-B Cursor left, wrapping to previous line if appropriate.\n Ctrl-D Delete character under cursor.\n Ctrl-E Go to right edge (stripspaces off) or end of line (stripspaces on).\n Ctrl-F Cursor right, wrapping to next line when appropriate.\n Ctrl-G Terminate, returning the window contents.\n Ctrl-H Delete character backward.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.textpad", "documentation": {} }, { "label": "rectangle", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.textpad", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.textpad", "peekOfCode": "def rectangle(win, uly, ulx, lry, lrx):\n \"\"\"Draw a rectangle with corners at the provided upper-left\n and lower-right coordinates.\n \"\"\"\n win.vline(uly+1, ulx, curses.ACS_VLINE, lry - uly - 1)\n win.hline(uly, ulx+1, curses.ACS_HLINE, lrx - ulx - 1)\n win.hline(lry, ulx+1, curses.ACS_HLINE, lrx - ulx - 1)\n win.vline(uly+1, lrx, curses.ACS_VLINE, lry - uly - 1)\n win.addch(uly, ulx, curses.ACS_ULCORNER)\n win.addch(uly, lrx, curses.ACS_URCORNER)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.curses.textpad", "documentation": {} }, { "label": "_Database", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.dbm.dumb", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.dbm.dumb", "peekOfCode": "class _Database(collections.abc.MutableMapping):\n # The on-disk directory and data files can remain in mutually\n # inconsistent states for an arbitrarily long time (see comments\n # at the end of __setitem__). This is only repaired when _commit()\n # gets called. One place _commit() gets called is from __del__(),\n # and if that occurs at program shutdown time, module globals may\n # already have gotten rebound to None. Since it's crucial that\n # _commit() finish successfully, we can't ignore shutdown races\n # here, and _commit() must not reference any globals.\n _os = _os # for _commit()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.dbm.dumb", "documentation": {} }, { "label": "open", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.dbm.dumb", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.dbm.dumb", "peekOfCode": "def open(file, flag='c', mode=0o666):\n \"\"\"Open the database file, filename, and return corresponding object.\n The flag argument, used to control how the database is opened in the\n other DBM implementations, supports only the semantics of 'c' and 'n'\n values. Other values will default to the semantics of 'c' value:\n the database will always opened for update and will be created if it\n does not exist.\n The optional mode argument is the UNIX mode of the file, used only when\n the database has to be created. It defaults to octal code 0o666 (and\n will be modified by the prevailing umask).", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.dbm.dumb", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.dbm.dumb", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.dbm.dumb", "peekOfCode": "__all__ = [\"error\", \"open\"]\n_BLOCKSIZE = 512\nerror = OSError\nclass _Database(collections.abc.MutableMapping):\n # The on-disk directory and data files can remain in mutually\n # inconsistent states for an arbitrarily long time (see comments\n # at the end of __setitem__). This is only repaired when _commit()\n # gets called. One place _commit() gets called is from __del__(),\n # and if that occurs at program shutdown time, module globals may\n # already have gotten rebound to None. Since it's crucial that", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.dbm.dumb", "documentation": {} }, { "label": "_BLOCKSIZE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.dbm.dumb", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.dbm.dumb", "peekOfCode": "_BLOCKSIZE = 512\nerror = OSError\nclass _Database(collections.abc.MutableMapping):\n # The on-disk directory and data files can remain in mutually\n # inconsistent states for an arbitrarily long time (see comments\n # at the end of __setitem__). This is only repaired when _commit()\n # gets called. One place _commit() gets called is from __del__(),\n # and if that occurs at program shutdown time, module globals may\n # already have gotten rebound to None. Since it's crucial that\n # _commit() finish successfully, we can't ignore shutdown races", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.dbm.dumb", "documentation": {} }, { "label": "error", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.dbm.dumb", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.dbm.dumb", "peekOfCode": "error = OSError\nclass _Database(collections.abc.MutableMapping):\n # The on-disk directory and data files can remain in mutually\n # inconsistent states for an arbitrarily long time (see comments\n # at the end of __setitem__). This is only repaired when _commit()\n # gets called. One place _commit() gets called is from __del__(),\n # and if that occurs at program shutdown time, module globals may\n # already have gotten rebound to None. Since it's crucial that\n # _commit() finish successfully, we can't ignore shutdown races\n # here, and _commit() must not reference any globals.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.dbm.dumb", "documentation": {} }, { "label": "bdist", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.bdist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.bdist", "peekOfCode": "class bdist(Command):\n description = \"create a built (binary) distribution\"\n user_options = [('bdist-base=', 'b',\n \"temporary directory for creating built distributions\"),\n ('plat-name=', 'p',\n \"platform name to embed in generated filenames \"\n \"(default: %s)\" % get_platform()),\n ('formats=', None,\n \"formats for distribution (comma-separated list)\"),\n ('dist-dir=', 'd',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.bdist", "documentation": {} }, { "label": "show_formats", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.bdist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.bdist", "peekOfCode": "def show_formats():\n \"\"\"Print list of available formats (arguments to \"--format\" option).\n \"\"\"\n from distutils.fancy_getopt import FancyGetopt\n formats = []\n for format in bdist.format_commands:\n formats.append((\"formats=\" + format, None,\n bdist.format_command[format][1]))\n pretty_printer = FancyGetopt(formats)\n pretty_printer.print_help(\"List of available distribution formats:\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.bdist", "documentation": {} }, { "label": "bdist_dumb", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.bdist_dumb", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.bdist_dumb", "peekOfCode": "class bdist_dumb(Command):\n description = \"create a \\\"dumb\\\" built distribution\"\n user_options = [('bdist-dir=', 'd',\n \"temporary directory for creating the distribution\"),\n ('plat-name=', 'p',\n \"platform name to embed in generated filenames \"\n \"(default: %s)\" % get_platform()),\n ('format=', 'f',\n \"archive format to create (tar, gztar, bztar, xztar, \"\n \"ztar, zip)\"),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.bdist_dumb", "documentation": {} }, { "label": "PyDialog", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.bdist_msi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.bdist_msi", "peekOfCode": "class PyDialog(Dialog):\n \"\"\"Dialog class with a fixed layout: controls at the top, then a ruler,\n then a list of buttons: back, next, cancel. Optionally a bitmap at the\n left.\"\"\"\n def __init__(self, *args, **kw):\n \"\"\"Dialog(database, name, x, y, w, h, attributes, title, first,\n default, cancel, bitmap=true)\"\"\"\n Dialog.__init__(self, *args)\n ruler = self.h - 36\n bmwidth = 152*ruler/328", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.bdist_msi", "documentation": {} }, { "label": "bdist_msi", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.bdist_msi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.bdist_msi", "peekOfCode": "class bdist_msi(Command):\n description = \"create a Microsoft Installer (.msi) binary distribution\"\n user_options = [('bdist-dir=', None,\n \"temporary directory for creating the distribution\"),\n ('plat-name=', 'p',\n \"platform name to embed in generated filenames \"\n \"(default: %s)\" % get_platform()),\n ('keep-temp', 'k',\n \"keep the pseudo-installation tree around after \" +\n \"creating the distribution archive\"),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.bdist_msi", "documentation": {} }, { "label": "bdist_rpm", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.bdist_rpm", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.bdist_rpm", "peekOfCode": "class bdist_rpm(Command):\n description = \"create an RPM distribution\"\n user_options = [\n ('bdist-base=', None,\n \"base directory for creating built distributions\"),\n ('rpm-base=', None,\n \"base directory for creating RPMs (defaults to \\\"rpm\\\" under \"\n \"--bdist-base; must be specified for RPM 2)\"),\n ('dist-dir=', 'd',\n \"directory to put final RPM files in \"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.bdist_rpm", "documentation": {} }, { "label": "build", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build", "peekOfCode": "class build(Command):\n description = \"build everything needed to install\"\n user_options = [\n ('build-base=', 'b',\n \"base directory for build library\"),\n ('build-purelib=', None,\n \"build directory for platform-neutral distributions\"),\n ('build-platlib=', None,\n \"build directory for platform-specific distributions\"),\n ('build-lib=', None,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build", "documentation": {} }, { "label": "show_compilers", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build", "peekOfCode": "def show_compilers():\n from distutils.ccompiler import show_compilers\n show_compilers()\nclass build(Command):\n description = \"build everything needed to install\"\n user_options = [\n ('build-base=', 'b',\n \"base directory for build library\"),\n ('build-purelib=', None,\n \"build directory for platform-neutral distributions\"),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build", "documentation": {} }, { "label": "build_clib", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_clib", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_clib", "peekOfCode": "class build_clib(Command):\n description = \"build C/C++ libraries used by Python extensions\"\n user_options = [\n ('build-clib=', 'b',\n \"directory to build C/C++ libraries to\"),\n ('build-temp=', 't',\n \"directory to put temporary build by-products\"),\n ('debug', 'g',\n \"compile with debugging information\"),\n ('force', 'f',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_clib", "documentation": {} }, { "label": "show_compilers", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_clib", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_clib", "peekOfCode": "def show_compilers():\n from distutils.ccompiler import show_compilers\n show_compilers()\nclass build_clib(Command):\n description = \"build C/C++ libraries used by Python extensions\"\n user_options = [\n ('build-clib=', 'b',\n \"directory to build C/C++ libraries to\"),\n ('build-temp=', 't',\n \"directory to put temporary build by-products\"),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_clib", "documentation": {} }, { "label": "build_ext", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_ext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_ext", "peekOfCode": "class build_ext(Command):\n description = \"build C/C++ extensions (compile/link to build directory)\"\n # XXX thoughts on how to deal with complex command-line options like\n # these, i.e. how to make it so fancy_getopt can suck them off the\n # command line and make it look like setup.py defined the appropriate\n # lists of tuples of what-have-you.\n # - each command needs a callback to process its command-line options\n # - Command.__init__() needs access to its share of the whole\n # command line (must ultimately come from\n # Distribution.parse_command_line())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_ext", "documentation": {} }, { "label": "show_compiler", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_ext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_ext", "peekOfCode": "def show_compilers ():\n from distutils.ccompiler import show_compilers\n show_compilers()\nclass build_ext(Command):\n description = \"build C/C++ extensions (compile/link to build directory)\"\n # XXX thoughts on how to deal with complex command-line options like\n # these, i.e. how to make it so fancy_getopt can suck them off the\n # command line and make it look like setup.py defined the appropriate\n # lists of tuples of what-have-you.\n # - each command needs a callback to process its command-line options", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_ext", "documentation": {} }, { "label": "extension_name_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_ext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_ext", "peekOfCode": "extension_name_re = re.compile \\\n (r'^[a-zA-Z_][a-zA-Z_0-9]*(\\.[a-zA-Z_][a-zA-Z_0-9]*)*$')\ndef show_compilers ():\n from distutils.ccompiler import show_compilers\n show_compilers()\nclass build_ext(Command):\n description = \"build C/C++ extensions (compile/link to build directory)\"\n # XXX thoughts on how to deal with complex command-line options like\n # these, i.e. how to make it so fancy_getopt can suck them off the\n # command line and make it look like setup.py defined the appropriate", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_ext", "documentation": {} }, { "label": "build_p", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_py", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_py", "peekOfCode": "class build_py (Command):\n description = \"\\\"build\\\" pure Python modules (copy to build directory)\"\n user_options = [\n ('build-lib=', 'd', \"directory to \\\"build\\\" (copy) to\"),\n ('compile', 'c', \"compile .py to .pyc\"),\n ('no-compile', None, \"don't compile .py files [default]\"),\n ('optimize=', 'O',\n \"also compile with optimization: -O1 for \\\"python -O\\\", \"\n \"-O2 for \\\"python -OO\\\", and -O0 to disable [default: -O0]\"),\n ('force', 'f', \"forcibly build everything (ignore file timestamps)\"),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_py", "documentation": {} }, { "label": "build_py_2to3", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_py", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_py", "peekOfCode": "class build_py_2to3(build_py, Mixin2to3):\n def run(self):\n self.updated_files = []\n # Base class code\n if self.py_modules:\n self.build_modules()\n if self.packages:\n self.build_packages()\n self.build_package_data()\n # 2to3", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_py", "documentation": {} }, { "label": "build_scripts", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_scripts", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_scripts", "peekOfCode": "class build_scripts(Command):\n description = \"\\\"build\\\" scripts (copy and fixup #! line)\"\n user_options = [\n ('build-dir=', 'd', \"directory to \\\"build\\\" (copy) to\"),\n ('force', 'f', \"forcibly build everything (ignore file timestamps\"),\n ('executable=', 'e', \"specify final destination interpreter path\"),\n ]\n boolean_options = ['force']\n def initialize_options(self):\n self.build_dir = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_scripts", "documentation": {} }, { "label": "build_scripts_2to3", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_scripts", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_scripts", "peekOfCode": "class build_scripts_2to3(build_scripts, Mixin2to3):\n def copy_scripts(self):\n outfiles, updated_files = build_scripts.copy_scripts(self)\n if not self.dry_run:\n self.run_2to3(updated_files)\n return outfiles, updated_files", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_scripts", "documentation": {} }, { "label": "first_line_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_scripts", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_scripts", "peekOfCode": "first_line_re = re.compile(b'^#!.*python[0-9.]*([ \\t].*)?$')\nclass build_scripts(Command):\n description = \"\\\"build\\\" scripts (copy and fixup #! line)\"\n user_options = [\n ('build-dir=', 'd', \"directory to \\\"build\\\" (copy) to\"),\n ('force', 'f', \"forcibly build everything (ignore file timestamps\"),\n ('executable=', 'e', \"specify final destination interpreter path\"),\n ]\n boolean_options = ['force']\n def initialize_options(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.build_scripts", "documentation": {} }, { "label": "check", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.check", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.check", "peekOfCode": "class check(Command):\n \"\"\"This command checks the meta-data of the package.\n \"\"\"\n description = (\"perform some checks on the package\")\n user_options = [('metadata', 'm', 'Verify meta-data'),\n ('restructuredtext', 'r',\n ('Checks if long string meta-data syntax '\n 'are reStructuredText-compliant')),\n ('strict', 's',\n 'Will exit with an error if a check fails')]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.check", "documentation": {} }, { "label": "clean", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.clean", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.clean", "peekOfCode": "class clean(Command):\n description = \"clean up temporary files from 'build' command\"\n user_options = [\n ('build-base=', 'b',\n \"base build directory (default: 'build.build-base')\"),\n ('build-lib=', None,\n \"build directory for all modules (default: 'build.build-lib')\"),\n ('build-temp=', 't',\n \"temporary build directory (default: 'build.build-temp')\"),\n ('build-scripts=', None,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.clean", "documentation": {} }, { "label": "config", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.config", "peekOfCode": "class config(Command):\n description = \"prepare to build\"\n user_options = [\n ('compiler=', None,\n \"specify the compiler type\"),\n ('cc=', None,\n \"specify the compiler executable\"),\n ('include-dirs=', 'I',\n \"list of directories to search for header files\"),\n ('define=', 'D',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.config", "documentation": {} }, { "label": "dump_file", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.config", "peekOfCode": "def dump_file(filename, head=None):\n \"\"\"Dumps a file content into log.info.\n If head is not None, will be dumped before the file content.\n \"\"\"\n if head is None:\n log.info('%s', filename)\n else:\n log.info(head)\n file = open(filename)\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.config", "documentation": {} }, { "label": "LANG_EXT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.config", "peekOfCode": "LANG_EXT = {\"c\": \".c\", \"c++\": \".cxx\"}\nclass config(Command):\n description = \"prepare to build\"\n user_options = [\n ('compiler=', None,\n \"specify the compiler type\"),\n ('cc=', None,\n \"specify the compiler executable\"),\n ('include-dirs=', 'I',\n \"list of directories to search for header files\"),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.config", "documentation": {} }, { "label": "install", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install", "peekOfCode": "class install(Command):\n description = \"install everything from build directory\"\n user_options = [\n # Select installation scheme and set base director(y|ies)\n ('prefix=', None,\n \"installation prefix\"),\n ('exec-prefix=', None,\n \"(Unix only) prefix for platform-specific files\"),\n ('home=', None,\n \"(Unix only) home directory to install under\"),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install", "documentation": {} }, { "label": "HAS_USER_SITE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install", "peekOfCode": "HAS_USER_SITE = (USER_SITE is not None)\n# The keys to an installation scheme; if any new types of files are to be\n# installed, be sure to add an entry to every scheme in\n# sysconfig._INSTALL_SCHEMES, and to SCHEME_KEYS here.\nSCHEME_KEYS = ('purelib', 'platlib', 'headers', 'scripts', 'data')\n# The following code provides backward-compatible INSTALL_SCHEMES\n# while making the sysconfig module the single point of truth.\n# This makes it easier for OS distributions where they need to\n# alter locations for packages installations in a single place.\n# Note that this module is deprecated (PEP 632); all consumers", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install", "documentation": {} }, { "label": "SCHEME_KEYS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install", "peekOfCode": "SCHEME_KEYS = ('purelib', 'platlib', 'headers', 'scripts', 'data')\n# The following code provides backward-compatible INSTALL_SCHEMES\n# while making the sysconfig module the single point of truth.\n# This makes it easier for OS distributions where they need to\n# alter locations for packages installations in a single place.\n# Note that this module is deprecated (PEP 632); all consumers\n# of this information should switch to using sysconfig directly.\nINSTALL_SCHEMES = {\"unix_prefix\": {}, \"unix_home\": {}, \"nt\": {}}\n# Copy from sysconfig._INSTALL_SCHEMES\nfor key in SCHEME_KEYS:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install", "documentation": {} }, { "label": "INSTALL_SCHEMES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install", "peekOfCode": "INSTALL_SCHEMES = {\"unix_prefix\": {}, \"unix_home\": {}, \"nt\": {}}\n# Copy from sysconfig._INSTALL_SCHEMES\nfor key in SCHEME_KEYS:\n for distutils_scheme_name, sys_scheme_name in (\n (\"unix_prefix\", \"posix_prefix\"), (\"unix_home\", \"posix_home\"),\n (\"nt\", \"nt\")):\n sys_key = key\n sys_scheme = sysconfig._INSTALL_SCHEMES[sys_scheme_name]\n if key == \"headers\" and key not in sys_scheme:\n # On POSIX-y platforms, Python will:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install", "documentation": {} }, { "label": "install_data", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_data", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_data", "peekOfCode": "class install_data(Command):\n description = \"install data files\"\n user_options = [\n ('install-dir=', 'd',\n \"base directory for installing data files \"\n \"(default: installation base dir)\"),\n ('root=', None,\n \"install everything relative to this alternate root directory\"),\n ('force', 'f', \"force installation (overwrite existing files)\"),\n ]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_data", "documentation": {} }, { "label": "install_egg_info", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_egg_info", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_egg_info", "peekOfCode": "class install_egg_info(Command):\n \"\"\"Install an .egg-info file for the package\"\"\"\n description = \"Install package's PKG-INFO metadata as an .egg-info file\"\n user_options = [\n ('install-dir=', 'd', \"directory to install to\"),\n ]\n def initialize_options(self):\n self.install_dir = None\n def finalize_options(self):\n self.set_undefined_options('install_lib',('install_dir','install_dir'))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_egg_info", "documentation": {} }, { "label": "safe_name", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_egg_info", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_egg_info", "peekOfCode": "def safe_name(name):\n \"\"\"Convert an arbitrary string to a standard distribution name\n Any runs of non-alphanumeric/. characters are replaced with a single '-'.\n \"\"\"\n return re.sub('[^A-Za-z0-9.]+', '-', name)\ndef safe_version(version):\n \"\"\"Convert an arbitrary string to a standard version string\n Spaces become dots, and all other non-alphanumeric characters become\n dashes, with runs of multiple dashes condensed to a single dash.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_egg_info", "documentation": {} }, { "label": "safe_version", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_egg_info", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_egg_info", "peekOfCode": "def safe_version(version):\n \"\"\"Convert an arbitrary string to a standard version string\n Spaces become dots, and all other non-alphanumeric characters become\n dashes, with runs of multiple dashes condensed to a single dash.\n \"\"\"\n version = version.replace(' ','.')\n return re.sub('[^A-Za-z0-9.]+', '-', version)\ndef to_filename(name):\n \"\"\"Convert a project or version name to its filename-escaped form\n Any '-' characters are currently replaced with '_'.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_egg_info", "documentation": {} }, { "label": "to_filename", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_egg_info", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_egg_info", "peekOfCode": "def to_filename(name):\n \"\"\"Convert a project or version name to its filename-escaped form\n Any '-' characters are currently replaced with '_'.\n \"\"\"\n return name.replace('-','_')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_egg_info", "documentation": {} }, { "label": "install_headers", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_headers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_headers", "peekOfCode": "class install_headers(Command):\n description = \"install C/C++ header files\"\n user_options = [('install-dir=', 'd',\n \"directory to install header files to\"),\n ('force', 'f',\n \"force installation (overwrite existing files)\"),\n ]\n boolean_options = ['force']\n def initialize_options(self):\n self.install_dir = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_headers", "documentation": {} }, { "label": "install_lib", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_lib", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_lib", "peekOfCode": "class install_lib(Command):\n description = \"install all Python modules (extensions and pure Python)\"\n # The byte-compilation options are a tad confusing. Here are the\n # possible scenarios:\n # 1) no compilation at all (--no-compile --no-optimize)\n # 2) compile .pyc only (--compile --no-optimize; default)\n # 3) compile .pyc and \"opt-1\" .pyc (--compile --optimize)\n # 4) compile \"opt-1\" .pyc only (--no-compile --optimize)\n # 5) compile .pyc and \"opt-2\" .pyc (--compile --optimize-more)\n # 6) compile \"opt-2\" .pyc only (--no-compile --optimize-more)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_lib", "documentation": {} }, { "label": "PYTHON_SOURCE_EXTENSION", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_lib", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_lib", "peekOfCode": "PYTHON_SOURCE_EXTENSION = \".py\"\nclass install_lib(Command):\n description = \"install all Python modules (extensions and pure Python)\"\n # The byte-compilation options are a tad confusing. Here are the\n # possible scenarios:\n # 1) no compilation at all (--no-compile --no-optimize)\n # 2) compile .pyc only (--compile --no-optimize; default)\n # 3) compile .pyc and \"opt-1\" .pyc (--compile --optimize)\n # 4) compile \"opt-1\" .pyc only (--no-compile --optimize)\n # 5) compile .pyc and \"opt-2\" .pyc (--compile --optimize-more)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_lib", "documentation": {} }, { "label": "install_scripts", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_scripts", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_scripts", "peekOfCode": "class install_scripts(Command):\n description = \"install scripts (Python or otherwise)\"\n user_options = [\n ('install-dir=', 'd', \"directory to install scripts to\"),\n ('build-dir=','b', \"build directory (where to install from)\"),\n ('force', 'f', \"force installation (overwrite existing files)\"),\n ('skip-build', None, \"skip the build steps\"),\n ]\n boolean_options = ['force', 'skip-build']\n def initialize_options(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.install_scripts", "documentation": {} }, { "label": "register", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.register", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.register", "peekOfCode": "class register(PyPIRCCommand):\n description = (\"register the distribution with the Python package index\")\n user_options = PyPIRCCommand.user_options + [\n ('list-classifiers', None,\n 'list the valid Trove classifiers'),\n ('strict', None ,\n 'Will stop the registering if the meta-data are not fully compliant')\n ]\n boolean_options = PyPIRCCommand.boolean_options + [\n 'verify', 'list-classifiers', 'strict']", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.register", "documentation": {} }, { "label": "sdist", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.sdist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.sdist", "peekOfCode": "class sdist(Command):\n description = \"create a source distribution (tarball, zip file, etc.)\"\n def checking_metadata(self):\n \"\"\"Callable used for the check sub-command.\n Placed here so user_options can view it\"\"\"\n return self.metadata_check\n user_options = [\n ('template=', 't',\n \"name of manifest template file [default: MANIFEST.in]\"),\n ('manifest=', 'm',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.sdist", "documentation": {} }, { "label": "show_formats", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.sdist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.sdist", "peekOfCode": "def show_formats():\n \"\"\"Print all possible values for the 'formats' option (used by\n the \"--help-formats\" command-line option).\n \"\"\"\n from distutils.fancy_getopt import FancyGetopt\n from distutils.archive_util import ARCHIVE_FORMATS\n formats = []\n for format in ARCHIVE_FORMATS.keys():\n formats.append((\"formats=\" + format, None,\n ARCHIVE_FORMATS[format][2]))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.sdist", "documentation": {} }, { "label": "upload", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.upload", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.upload", "peekOfCode": "class upload(PyPIRCCommand):\n description = \"upload binary package to PyPI\"\n user_options = PyPIRCCommand.user_options + [\n ('sign', 's',\n 'sign files to upload using gpg'),\n ('identity=', 'i', 'GPG identity used to sign files'),\n ]\n boolean_options = PyPIRCCommand.boolean_options + ['sign']\n def initialize_options(self):\n PyPIRCCommand.initialize_options(self)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.upload", "documentation": {} }, { "label": "_FILE_CONTENT_DIGESTS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.upload", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.upload", "peekOfCode": "_FILE_CONTENT_DIGESTS = {\n \"md5_digest\": getattr(hashlib, \"md5\", None),\n \"sha256_digest\": getattr(hashlib, \"sha256\", None),\n \"blake2_256_digest\": getattr(hashlib, \"blake2b\", None),\n}\nclass upload(PyPIRCCommand):\n description = \"upload binary package to PyPI\"\n user_options = PyPIRCCommand.user_options + [\n ('sign', 's',\n 'sign files to upload using gpg'),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.command.upload", "documentation": {} }, { "label": "LoggingSilencer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.support", "peekOfCode": "class LoggingSilencer(object):\n def setUp(self):\n super().setUp()\n self.threshold = log.set_threshold(log.FATAL)\n # catching warnings\n # when log will be replaced by logging\n # we won't need such monkey-patch anymore\n self._old_log = log.Log._log\n log.Log._log = self._log\n self.logs = []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.support", "documentation": {} }, { "label": "TempdirManager", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.support", "peekOfCode": "class TempdirManager(object):\n \"\"\"Mix-in class that handles temporary directories for test cases.\n This is intended to be used with unittest.TestCase.\n \"\"\"\n def setUp(self):\n super().setUp()\n self.old_cwd = os.getcwd()\n self.tempdirs = []\n def tearDown(self):\n # Restore working dir, for Solaris and derivatives, where rmdir()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.support", "documentation": {} }, { "label": "DummyCommand", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.support", "peekOfCode": "class DummyCommand:\n \"\"\"Class to store options for retrieval via set_undefined_options().\"\"\"\n def __init__(self, **kwargs):\n for kw, val in kwargs.items():\n setattr(self, kw, val)\n def ensure_finalized(self):\n pass\nclass EnvironGuard(object):\n def setUp(self):\n super(EnvironGuard, self).setUp()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.support", "documentation": {} }, { "label": "EnvironGuard", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.support", "peekOfCode": "class EnvironGuard(object):\n def setUp(self):\n super(EnvironGuard, self).setUp()\n self.old_environ = deepcopy(os.environ)\n def tearDown(self):\n for key, value in self.old_environ.items():\n if os.environ.get(key) != value:\n os.environ[key] = value\n for key in tuple(os.environ.keys()):\n if key not in self.old_environ:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.support", "documentation": {} }, { "label": "copy_xxmodule_c", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.support", "peekOfCode": "def copy_xxmodule_c(directory):\n \"\"\"Helper for tests that need the xxmodule.c source file.\n Example use:\n def test_compile(self):\n copy_xxmodule_c(self.tmpdir)\n self.assertIn('xxmodule.c', os.listdir(self.tmpdir))\n If the source file can be found, it will be copied to *directory*. If not,\n the test will be skipped. Errors during copy are not caught.\n \"\"\"\n filename = _get_xxmodule_path()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.support", "documentation": {} }, { "label": "fixup_build_ext", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.support", "peekOfCode": "def fixup_build_ext(cmd):\n \"\"\"Function needed to make build_ext tests pass.\n When Python was built with --enable-shared on Unix, -L. is not enough to\n find libpython<blah>.so, because regrtest runs in a tempdir, not in the\n source directory where the .so lives.\n When Python was built with in debug mode on Windows, build_ext commands\n need their debug attribute set, and it is not done automatically for\n some reason.\n This function handles both of these things. Example use:\n cmd = build_ext(dist)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.support", "documentation": {} }, { "label": "ArchiveUtilTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_archive_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_archive_util", "peekOfCode": "class ArchiveUtilTestCase(support.TempdirManager,\n support.LoggingSilencer,\n unittest.TestCase):\n @unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run')\n def test_make_tarball(self, name='archive'):\n # creating something to tar\n tmpdir = self._create_files()\n self._make_tarball(tmpdir, name, '.tar.gz')\n # trying an uncompressed one\n self._make_tarball(tmpdir, name, '.tar', compress=None)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_archive_util", "documentation": {} }, { "label": "can_fs_encode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_archive_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_archive_util", "peekOfCode": "def can_fs_encode(filename):\n \"\"\"\n Return True if the filename can be saved in the file system.\n \"\"\"\n if os.path.supports_unicode_filenames:\n return True\n try:\n filename.encode(sys.getfilesystemencoding())\n except UnicodeEncodeError:\n return False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_archive_util", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_archive_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_archive_util", "peekOfCode": "def test_suite():\n return unittest.makeSuite(ArchiveUtilTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_archive_util", "documentation": {} }, { "label": "BuildTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist", "peekOfCode": "class BuildTestCase(support.TempdirManager,\n unittest.TestCase):\n def test_formats(self):\n # let's create a command and make sure\n # we can set the format\n dist = self.create_dist()[1]\n cmd = bdist(dist)\n cmd.formats = ['msi']\n cmd.ensure_finalized()\n self.assertEqual(cmd.formats, ['msi'])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist", "peekOfCode": "def test_suite():\n return unittest.makeSuite(BuildTestCase)\nif __name__ == '__main__':\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist", "documentation": {} }, { "label": "BuildDumbTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_dumb", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_dumb", "peekOfCode": "class BuildDumbTestCase(support.TempdirManager,\n support.LoggingSilencer,\n support.EnvironGuard,\n unittest.TestCase):\n def setUp(self):\n super(BuildDumbTestCase, self).setUp()\n self.old_location = os.getcwd()\n self.old_sys_argv = sys.argv, sys.argv[:]\n def tearDown(self):\n os.chdir(self.old_location)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_dumb", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_dumb", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_dumb", "peekOfCode": "def test_suite():\n return unittest.makeSuite(BuildDumbTestCase)\nif __name__ == '__main__':\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_dumb", "documentation": {} }, { "label": "SETUP_PY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_dumb", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_dumb", "peekOfCode": "SETUP_PY = \"\"\"\\\nfrom distutils.core import setup\nimport foo\nsetup(name='foo', version='0.1', py_modules=['foo'],\n url='xxx', author='xxx', author_email='xxx')\n\"\"\"\ntry:\n import zlib\n ZLIB_SUPPORT = True\nexcept ImportError:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_dumb", "documentation": {} }, { "label": "BDistMSITestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_msi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_msi", "peekOfCode": "class BDistMSITestCase(support.TempdirManager,\n support.LoggingSilencer,\n unittest.TestCase):\n def test_minimal(self):\n # minimal test XXX need more tests\n from distutils.command.bdist_msi import bdist_msi\n project_dir, dist = self.create_dist()\n with check_warnings((\"\", DeprecationWarning)):\n cmd = bdist_msi(dist)\n cmd.ensure_finalized()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_msi", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_msi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_msi", "peekOfCode": "def test_suite():\n return unittest.makeSuite(BDistMSITestCase)\nif __name__ == '__main__':\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_msi", "documentation": {} }, { "label": "BuildRpmTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_rpm", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_rpm", "peekOfCode": "class BuildRpmTestCase(support.TempdirManager,\n support.EnvironGuard,\n support.LoggingSilencer,\n unittest.TestCase):\n def setUp(self):\n try:\n sys.executable.encode(\"UTF-8\")\n except UnicodeEncodeError:\n raise unittest.SkipTest(\"sys.executable is not encodable to UTF-8\")\n super(BuildRpmTestCase, self).setUp()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_rpm", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_rpm", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_rpm", "peekOfCode": "def test_suite():\n return unittest.makeSuite(BuildRpmTestCase)\nif __name__ == '__main__':\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_rpm", "documentation": {} }, { "label": "SETUP_PY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_rpm", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_rpm", "peekOfCode": "SETUP_PY = \"\"\"\\\nfrom distutils.core import setup\nimport foo\nsetup(name='foo', version='0.1', py_modules=['foo'],\n url='xxx', author='xxx', author_email='xxx')\n\"\"\"\nclass BuildRpmTestCase(support.TempdirManager,\n support.EnvironGuard,\n support.LoggingSilencer,\n unittest.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_bdist_rpm", "documentation": {} }, { "label": "BuildTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build", "peekOfCode": "class BuildTestCase(support.TempdirManager,\n support.LoggingSilencer,\n unittest.TestCase):\n def test_finalize_options(self):\n pkg_dir, dist = self.create_dist()\n cmd = build(dist)\n cmd.finalize_options()\n # if not specified, plat_name gets the current platform\n self.assertEqual(cmd.plat_name, get_platform())\n # build_purelib is build + lib", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build", "peekOfCode": "def test_suite():\n return unittest.makeSuite(BuildTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build", "documentation": {} }, { "label": "BuildCLibTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_clib", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_clib", "peekOfCode": "class BuildCLibTestCase(support.TempdirManager,\n support.LoggingSilencer,\n unittest.TestCase):\n def setUp(self):\n super().setUp()\n self._backup_CONFIG_VARS = dict(sysconfig._CONFIG_VARS)\n def tearDown(self):\n super().tearDown()\n sysconfig._CONFIG_VARS.clear()\n sysconfig._CONFIG_VARS.update(self._backup_CONFIG_VARS)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_clib", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_clib", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_clib", "peekOfCode": "def test_suite():\n return unittest.makeSuite(BuildCLibTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_clib", "documentation": {} }, { "label": "BuildExtTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_ext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_ext", "peekOfCode": "class BuildExtTestCase(TempdirManager,\n LoggingSilencer,\n unittest.TestCase):\n def setUp(self):\n # Create a simple test environment\n super(BuildExtTestCase, self).setUp()\n self.tmp_dir = self.mkdtemp()\n import site\n self.old_user_base = site.USER_BASE\n site.USER_BASE = self.mkdtemp()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_ext", "documentation": {} }, { "label": "ParallelBuildExtTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_ext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_ext", "peekOfCode": "class ParallelBuildExtTestCase(BuildExtTestCase):\n def build_ext(self, *args, **kwargs):\n build_ext = super().build_ext(*args, **kwargs)\n build_ext.parallel = True\n return build_ext\ndef test_suite():\n suite = unittest.TestSuite()\n suite.addTest(unittest.makeSuite(BuildExtTestCase))\n suite.addTest(unittest.makeSuite(ParallelBuildExtTestCase))\n return suite", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_ext", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_ext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_ext", "peekOfCode": "def test_suite():\n suite = unittest.TestSuite()\n suite.addTest(unittest.makeSuite(BuildExtTestCase))\n suite.addTest(unittest.makeSuite(ParallelBuildExtTestCase))\n return suite\nif __name__ == '__main__':\n support.run_unittest(__name__)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_ext", "documentation": {} }, { "label": "ALREADY_TESTED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_ext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_ext", "peekOfCode": "ALREADY_TESTED = False\nclass BuildExtTestCase(TempdirManager,\n LoggingSilencer,\n unittest.TestCase):\n def setUp(self):\n # Create a simple test environment\n super(BuildExtTestCase, self).setUp()\n self.tmp_dir = self.mkdtemp()\n import site\n self.old_user_base = site.USER_BASE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_ext", "documentation": {} }, { "label": "BuildPyTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_py", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_py", "peekOfCode": "class BuildPyTestCase(support.TempdirManager,\n support.LoggingSilencer,\n unittest.TestCase):\n def test_package_data(self):\n sources = self.mkdtemp()\n f = open(os.path.join(sources, \"__init__.py\"), \"w\")\n try:\n f.write(\"# Pretend this is a package.\")\n finally:\n f.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_py", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_py", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_py", "peekOfCode": "def test_suite():\n return unittest.makeSuite(BuildPyTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_py", "documentation": {} }, { "label": "BuildScriptsTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_scripts", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_scripts", "peekOfCode": "class BuildScriptsTestCase(support.TempdirManager,\n support.LoggingSilencer,\n unittest.TestCase):\n def test_default_settings(self):\n cmd = self.get_build_scripts_cmd(\"/foo/bar\", [])\n self.assertFalse(cmd.force)\n self.assertIsNone(cmd.build_dir)\n cmd.finalize_options()\n self.assertTrue(cmd.force)\n self.assertEqual(cmd.build_dir, \"/foo/bar\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_scripts", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_scripts", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_scripts", "peekOfCode": "def test_suite():\n return unittest.makeSuite(BuildScriptsTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_build_scripts", "documentation": {} }, { "label": "CheckTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_check", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_check", "peekOfCode": "class CheckTestCase(support.LoggingSilencer,\n support.TempdirManager,\n unittest.TestCase):\n def _run(self, metadata=None, cwd=None, **options):\n if metadata is None:\n metadata = {}\n if cwd is not None:\n old_dir = os.getcwd()\n os.chdir(cwd)\n pkg_info, dist = self.create_dist(**metadata)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_check", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_check", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_check", "peekOfCode": "def test_suite():\n return unittest.makeSuite(CheckTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_check", "documentation": {} }, { "label": "HERE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_check", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_check", "peekOfCode": "HERE = os.path.dirname(__file__)\nclass CheckTestCase(support.LoggingSilencer,\n support.TempdirManager,\n unittest.TestCase):\n def _run(self, metadata=None, cwd=None, **options):\n if metadata is None:\n metadata = {}\n if cwd is not None:\n old_dir = os.getcwd()\n os.chdir(cwd)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_check", "documentation": {} }, { "label": "cleanTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_clean", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_clean", "peekOfCode": "class cleanTestCase(support.TempdirManager,\n support.LoggingSilencer,\n unittest.TestCase):\n def test_simple_run(self):\n pkg_dir, dist = self.create_dist()\n cmd = clean(dist)\n # let's add some elements clean should remove\n dirs = [(d, os.path.join(pkg_dir, d))\n for d in ('build_temp', 'build_lib', 'bdist_base',\n 'build_scripts', 'build_base')]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_clean", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_clean", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_clean", "peekOfCode": "def test_suite():\n return unittest.makeSuite(cleanTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_clean", "documentation": {} }, { "label": "MyCmd", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_cmd", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_cmd", "peekOfCode": "class MyCmd(Command):\n def initialize_options(self):\n pass\nclass CommandTestCase(unittest.TestCase):\n def setUp(self):\n dist = Distribution()\n self.cmd = MyCmd(dist)\n def test_ensure_string_list(self):\n cmd = self.cmd\n cmd.not_string_list = ['one', 2, 'three']", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_cmd", "documentation": {} }, { "label": "CommandTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_cmd", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_cmd", "peekOfCode": "class CommandTestCase(unittest.TestCase):\n def setUp(self):\n dist = Distribution()\n self.cmd = MyCmd(dist)\n def test_ensure_string_list(self):\n cmd = self.cmd\n cmd.not_string_list = ['one', 2, 'three']\n cmd.yes_string_list = ['one', 'two', 'three']\n cmd.not_string_list2 = object()\n cmd.yes_string_list2 = 'ok'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_cmd", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_cmd", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_cmd", "peekOfCode": "def test_suite():\n return unittest.makeSuite(CommandTestCase)\nif __name__ == '__main__':\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_cmd", "documentation": {} }, { "label": "BasePyPIRCCommandTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "peekOfCode": "class BasePyPIRCCommandTestCase(support.TempdirManager,\n support.LoggingSilencer,\n support.EnvironGuard,\n unittest.TestCase):\n def setUp(self):\n \"\"\"Patches the environment.\"\"\"\n super(BasePyPIRCCommandTestCase, self).setUp()\n self.tmp_dir = self.mkdtemp()\n os.environ['HOME'] = self.tmp_dir\n os.environ['USERPROFILE'] = self.tmp_dir", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "documentation": {} }, { "label": "PyPIRCCommandTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "peekOfCode": "class PyPIRCCommandTestCase(BasePyPIRCCommandTestCase):\n def test_server_registration(self):\n # This test makes sure PyPIRCCommand knows how to:\n # 1. handle several sections in .pypirc\n # 2. handle the old format\n # new format\n self.write_file(self.rc, PYPIRC)\n cmd = self._cmd(self.dist)\n config = cmd._read_pypirc()\n config = list(sorted(config.items()))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "peekOfCode": "def test_suite():\n return unittest.makeSuite(PyPIRCCommandTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "documentation": {} }, { "label": "PYPIRC", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "peekOfCode": "PYPIRC = \"\"\"\\\n[distutils]\nindex-servers =\n server1\n server2\n server3\n[server1]\nusername:me\npassword:secret\n[server2]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "documentation": {} }, { "label": "index-servers", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "peekOfCode": "index-servers =\n server1\n server2\n server3\n[server1]\nusername:me\npassword:secret\n[server2]\nusername:meagain\npassword: secret", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "documentation": {} }, { "label": "PYPIRC_OLD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "peekOfCode": "PYPIRC_OLD = \"\"\"\\\n[server-login]\nusername:tarek\npassword:secret\n\"\"\"\nWANTED = \"\"\"\\\n[distutils]\nindex-servers =\n pypi\n[pypi]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "documentation": {} }, { "label": "WANTED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "peekOfCode": "WANTED = \"\"\"\\\n[distutils]\nindex-servers =\n pypi\n[pypi]\nusername:tarek\npassword:xxx\n\"\"\"\nclass BasePyPIRCCommandTestCase(support.TempdirManager,\n support.LoggingSilencer,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "documentation": {} }, { "label": "index-servers", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "peekOfCode": "index-servers =\n pypi\n[pypi]\nusername:tarek\npassword:xxx\n\"\"\"\nclass BasePyPIRCCommandTestCase(support.TempdirManager,\n support.LoggingSilencer,\n support.EnvironGuard,\n unittest.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config", "documentation": {} }, { "label": "ConfigTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config_cmd", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config_cmd", "peekOfCode": "class ConfigTestCase(support.LoggingSilencer,\n support.TempdirManager,\n unittest.TestCase):\n def _info(self, msg, *args):\n for line in msg.splitlines():\n self._logs.append(line)\n def setUp(self):\n super(ConfigTestCase, self).setUp()\n self._logs = []\n self.old_log = log.info", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config_cmd", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config_cmd", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config_cmd", "peekOfCode": "def test_suite():\n return unittest.makeSuite(ConfigTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_config_cmd", "documentation": {} }, { "label": "install", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "peekOfCode": "class install(_install):\n sub_commands = _install.sub_commands + ['cmd']\nsetup(cmdclass={'install': install})\n\"\"\"\nclass CoreTestCase(support.EnvironGuard, unittest.TestCase):\n def setUp(self):\n super(CoreTestCase, self).setUp()\n self.old_stdout = sys.stdout\n self.cleanup_testfn()\n self.old_argv = sys.argv, sys.argv[:]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "documentation": {} }, { "label": "CoreTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "peekOfCode": "class CoreTestCase(support.EnvironGuard, unittest.TestCase):\n def setUp(self):\n super(CoreTestCase, self).setUp()\n self.old_stdout = sys.stdout\n self.cleanup_testfn()\n self.old_argv = sys.argv, sys.argv[:]\n self.addCleanup(log.set_threshold, log._global_log.threshold)\n def tearDown(self):\n sys.stdout = self.old_stdout\n self.cleanup_testfn()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "peekOfCode": "def test_suite():\n return unittest.makeSuite(CoreTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "documentation": {} }, { "label": "setup_using___file__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "peekOfCode": "setup_using___file__ = \"\"\"\\\n__file__\nfrom distutils.core import setup\nsetup()\n\"\"\"\nsetup_prints_cwd = \"\"\"\\\nimport os\nprint(os.getcwd())\nfrom distutils.core import setup\nsetup()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "documentation": {} }, { "label": "setup_prints_cwd", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "peekOfCode": "setup_prints_cwd = \"\"\"\\\nimport os\nprint(os.getcwd())\nfrom distutils.core import setup\nsetup()\n\"\"\"\nsetup_does_nothing = \"\"\"\\\nfrom distutils.core import setup\nsetup()\n\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "documentation": {} }, { "label": "setup_does_nothing", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "peekOfCode": "setup_does_nothing = \"\"\"\\\nfrom distutils.core import setup\nsetup()\n\"\"\"\nsetup_defines_subclass = \"\"\"\\\nfrom distutils.core import setup\nfrom distutils.command.install import install as _install\nclass install(_install):\n sub_commands = _install.sub_commands + ['cmd']\nsetup(cmdclass={'install': install})", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "documentation": {} }, { "label": "setup_defines_subclass", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "peekOfCode": "setup_defines_subclass = \"\"\"\\\nfrom distutils.core import setup\nfrom distutils.command.install import install as _install\nclass install(_install):\n sub_commands = _install.sub_commands + ['cmd']\nsetup(cmdclass={'install': install})\n\"\"\"\nclass CoreTestCase(support.EnvironGuard, unittest.TestCase):\n def setUp(self):\n super(CoreTestCase, self).setUp()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_core", "documentation": {} }, { "label": "FakePopen", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_cygwinccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_cygwinccompiler", "peekOfCode": "class FakePopen(object):\n test_class = None\n def __init__(self, cmd, shell, stdout):\n self.cmd = cmd.split()[0]\n exes = self.test_class._exes\n if self.cmd in exes:\n # issue #6438 in Python 3.x, Popen returns bytes\n self.stdout = BytesIO(exes[self.cmd])\n else:\n self.stdout = os.popen(cmd, 'r')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_cygwinccompiler", "documentation": {} }, { "label": "CygwinCCompilerTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_cygwinccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_cygwinccompiler", "peekOfCode": "class CygwinCCompilerTestCase(support.TempdirManager,\n unittest.TestCase):\n def setUp(self):\n super(CygwinCCompilerTestCase, self).setUp()\n self.version = sys.version\n self.python_h = os.path.join(self.mkdtemp(), 'python.h')\n from distutils import sysconfig\n self.old_get_config_h_filename = sysconfig.get_config_h_filename\n sysconfig.get_config_h_filename = self._get_config_h_filename\n self.old_find_executable = cygwinccompiler.find_executable", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_cygwinccompiler", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_cygwinccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_cygwinccompiler", "peekOfCode": "def test_suite():\n return unittest.makeSuite(CygwinCCompilerTestCase)\nif __name__ == '__main__':\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_cygwinccompiler", "documentation": {} }, { "label": "DepUtilTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dep_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dep_util", "peekOfCode": "class DepUtilTestCase(support.TempdirManager, unittest.TestCase):\n def test_newer(self):\n tmpdir = self.mkdtemp()\n new_file = os.path.join(tmpdir, 'new')\n old_file = os.path.abspath(__file__)\n # Raise DistutilsFileError if 'new_file' does not exist.\n self.assertRaises(DistutilsFileError, newer, new_file, old_file)\n # Return true if 'new_file' exists and is more recently modified than\n # 'old_file', or if 'new_file' exists and 'old_file' doesn't.\n self.write_file(new_file)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dep_util", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dep_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dep_util", "peekOfCode": "def test_suite():\n return unittest.makeSuite(DepUtilTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dep_util", "documentation": {} }, { "label": "DirUtilTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dir_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dir_util", "peekOfCode": "class DirUtilTestCase(support.TempdirManager, unittest.TestCase):\n def _log(self, msg, *args):\n if len(args) > 0:\n self._logs.append(msg % args)\n else:\n self._logs.append(msg)\n def setUp(self):\n super(DirUtilTestCase, self).setUp()\n self._logs = []\n tmp_dir = self.mkdtemp()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dir_util", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dir_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dir_util", "peekOfCode": "def test_suite():\n return unittest.makeSuite(DirUtilTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dir_util", "documentation": {} }, { "label": "test_dist", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dist", "peekOfCode": "class test_dist(Command):\n \"\"\"Sample distutils extension command.\"\"\"\n user_options = [\n (\"sample-option=\", \"S\", \"help text\"),\n ]\n def initialize_options(self):\n self.sample_option = None\nclass TestDistribution(Distribution):\n \"\"\"Distribution subclasses that avoids the default search for\n configuration files.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dist", "documentation": {} }, { "label": "TestDistribution", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dist", "peekOfCode": "class TestDistribution(Distribution):\n \"\"\"Distribution subclasses that avoids the default search for\n configuration files.\n The ._config_files attribute must be set before\n .parse_config_files() is called.\n \"\"\"\n def find_config_files(self):\n return self._config_files\nclass DistributionTestCase(support.LoggingSilencer,\n support.TempdirManager,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dist", "documentation": {} }, { "label": "DistributionTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dist", "peekOfCode": "class DistributionTestCase(support.LoggingSilencer,\n support.TempdirManager,\n support.EnvironGuard,\n unittest.TestCase):\n def setUp(self):\n super(DistributionTestCase, self).setUp()\n self.argv = sys.argv, sys.argv[:]\n del sys.argv[1:]\n def tearDown(self):\n sys.argv = self.argv[0]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dist", "documentation": {} }, { "label": "MetadataTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dist", "peekOfCode": "class MetadataTestCase(support.TempdirManager, support.EnvironGuard,\n unittest.TestCase):\n def setUp(self):\n super(MetadataTestCase, self).setUp()\n self.argv = sys.argv, sys.argv[:]\n def tearDown(self):\n sys.argv = self.argv[0]\n sys.argv[:] = self.argv[1]\n super(MetadataTestCase, self).tearDown()\n def format_metadata(self, dist):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dist", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dist", "peekOfCode": "def test_suite():\n suite = unittest.TestSuite()\n suite.addTest(unittest.makeSuite(DistributionTestCase))\n suite.addTest(unittest.makeSuite(MetadataTestCase))\n return suite\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_dist", "documentation": {} }, { "label": "ExtensionTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_extension", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_extension", "peekOfCode": "class ExtensionTestCase(unittest.TestCase):\n def test_read_setup_file(self):\n # trying to read a Setup file\n # (sample extracted from the PyGame project)\n setup = os.path.join(os.path.dirname(__file__), 'Setup.sample')\n exts = read_setup_file(setup)\n names = [ext.name for ext in exts]\n names.sort()\n # here are the extensions read_setup_file should have created\n # out of the file", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_extension", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_extension", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_extension", "peekOfCode": "def test_suite():\n return unittest.makeSuite(ExtensionTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_extension", "documentation": {} }, { "label": "FileListTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_filelist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_filelist", "peekOfCode": "class FileListTestCase(support.LoggingSilencer,\n unittest.TestCase):\n def assertNoWarnings(self):\n self.assertEqual(self.get_logs(WARN), [])\n self.clear_logs()\n def assertWarnings(self):\n self.assertGreater(len(self.get_logs(WARN)), 0)\n self.clear_logs()\n def test_glob_to_re(self):\n sep = os.sep", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_filelist", "documentation": {} }, { "label": "FindAllTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_filelist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_filelist", "peekOfCode": "class FindAllTestCase(unittest.TestCase):\n @os_helper.skip_unless_symlink\n def test_missing_symlink(self):\n with os_helper.temp_cwd():\n os.symlink('foo', 'bar')\n self.assertEqual(filelist.findall(), [])\n def test_basic_discovery(self):\n \"\"\"\n When findall is called with no parameters or with\n '.' as the parameter, the dot should be omitted from", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_filelist", "documentation": {} }, { "label": "make_local_path", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_filelist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_filelist", "peekOfCode": "def make_local_path(s):\n \"\"\"Converts '/' in a string to os.sep\"\"\"\n return s.replace('/', os.sep)\nclass FileListTestCase(support.LoggingSilencer,\n unittest.TestCase):\n def assertNoWarnings(self):\n self.assertEqual(self.get_logs(WARN), [])\n self.clear_logs()\n def assertWarnings(self):\n self.assertGreater(len(self.get_logs(WARN)), 0)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_filelist", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_filelist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_filelist", "peekOfCode": "def test_suite():\n return unittest.TestSuite([\n unittest.makeSuite(FileListTestCase),\n unittest.makeSuite(FindAllTestCase),\n ])\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_filelist", "documentation": {} }, { "label": "MANIFEST_IN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_filelist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_filelist", "peekOfCode": "MANIFEST_IN = \"\"\"\\\ninclude ok\ninclude xo\nexclude xo\ninclude foo.tmp\ninclude buildout.cfg\nglobal-include *.x\nglobal-include *.txt\nglobal-exclude *.tmp\nrecursive-include f *.oo", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_filelist", "documentation": {} }, { "label": "FileUtilTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_file_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_file_util", "peekOfCode": "class FileUtilTestCase(support.TempdirManager, unittest.TestCase):\n def _log(self, msg, *args):\n if len(args) > 0:\n self._logs.append(msg % args)\n else:\n self._logs.append(msg)\n def setUp(self):\n super(FileUtilTestCase, self).setUp()\n self._logs = []\n self.old_log = log.info", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_file_util", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_file_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_file_util", "peekOfCode": "def test_suite():\n return unittest.makeSuite(FileUtilTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_file_util", "documentation": {} }, { "label": "InstallTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install", "peekOfCode": "class InstallTestCase(support.TempdirManager,\n support.EnvironGuard,\n support.LoggingSilencer,\n unittest.TestCase):\n def setUp(self):\n super().setUp()\n self._backup_config_vars = dict(sysconfig._config_vars)\n def tearDown(self):\n super().tearDown()\n sysconfig._config_vars.clear()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install", "peekOfCode": "def test_suite():\n return unittest.makeSuite(InstallTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install", "documentation": {} }, { "label": "InstallDataTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_data", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_data", "peekOfCode": "class InstallDataTestCase(support.TempdirManager,\n support.LoggingSilencer,\n support.EnvironGuard,\n unittest.TestCase):\n def test_simple_run(self):\n pkg_dir, dist = self.create_dist()\n cmd = install_data(dist)\n cmd.install_dir = inst = os.path.join(pkg_dir, 'inst')\n # data_files can contain\n # - simple files", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_data", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_data", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_data", "peekOfCode": "def test_suite():\n return unittest.makeSuite(InstallDataTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_data", "documentation": {} }, { "label": "InstallHeadersTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_headers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_headers", "peekOfCode": "class InstallHeadersTestCase(support.TempdirManager,\n support.LoggingSilencer,\n support.EnvironGuard,\n unittest.TestCase):\n def test_simple_run(self):\n # we have two headers\n header_list = self.mkdtemp()\n header1 = os.path.join(header_list, 'header1')\n header2 = os.path.join(header_list, 'header2')\n self.write_file(header1)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_headers", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_headers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_headers", "peekOfCode": "def test_suite():\n return unittest.makeSuite(InstallHeadersTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_headers", "documentation": {} }, { "label": "InstallLibTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_lib", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_lib", "peekOfCode": "class InstallLibTestCase(support.TempdirManager,\n support.LoggingSilencer,\n support.EnvironGuard,\n unittest.TestCase):\n def test_finalize_options(self):\n dist = self.create_dist()[1]\n cmd = install_lib(dist)\n cmd.finalize_options()\n self.assertEqual(cmd.compile, 1)\n self.assertEqual(cmd.optimize, 0)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_lib", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_lib", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_lib", "peekOfCode": "def test_suite():\n return unittest.makeSuite(InstallLibTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_lib", "documentation": {} }, { "label": "InstallScriptsTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_scripts", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_scripts", "peekOfCode": "class InstallScriptsTestCase(support.TempdirManager,\n support.LoggingSilencer,\n unittest.TestCase):\n def test_default_settings(self):\n dist = Distribution()\n dist.command_obj[\"build\"] = support.DummyCommand(\n build_scripts=\"/foo/bar\")\n dist.command_obj[\"install\"] = support.DummyCommand(\n install_scripts=\"/splat/funk\",\n force=1,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_scripts", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_scripts", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_scripts", "peekOfCode": "def test_suite():\n return unittest.makeSuite(InstallScriptsTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_install_scripts", "documentation": {} }, { "label": "TestLog", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_log", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_log", "peekOfCode": "class TestLog(unittest.TestCase):\n def test_non_ascii(self):\n # Issues #8663, #34421: test that non-encodable text is escaped with\n # backslashreplace error handler and encodable non-ASCII text is\n # output as is.\n for errors in ('strict', 'backslashreplace', 'surrogateescape',\n 'replace', 'ignore'):\n with self.subTest(errors=errors):\n stdout = io.TextIOWrapper(io.BytesIO(),\n encoding='cp437', errors=errors)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_log", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_log", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_log", "peekOfCode": "def test_suite():\n return unittest.makeSuite(TestLog)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_log", "documentation": {} }, { "label": "msvc9compilerTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvc9compiler", "peekOfCode": "class msvc9compilerTestCase(support.TempdirManager,\n unittest.TestCase):\n def test_no_compiler(self):\n # makes sure query_vcvarsall raises\n # a DistutilsPlatformError if the compiler\n # is not found\n from distutils.msvc9compiler import query_vcvarsall\n def _find_vcvarsall(version):\n return None\n from distutils import msvc9compiler", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvc9compiler", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvc9compiler", "peekOfCode": "def test_suite():\n return unittest.makeSuite(msvc9compilerTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvc9compiler", "documentation": {} }, { "label": "_MANIFEST_WITH_ONLY_MSVC_REFERENCE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvc9compiler", "peekOfCode": "_MANIFEST_WITH_ONLY_MSVC_REFERENCE = \"\"\"\\\n<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<assembly xmlns=\"urn:schemas-microsoft-com:asm.v1\"\n manifestVersion=\"1.0\">\n <trustInfo xmlns=\"urn:schemas-microsoft-com:asm.v3\">\n <security>\n <requestedPrivileges>\n <requestedExecutionLevel level=\"asInvoker\" uiAccess=\"false\">\n </requestedExecutionLevel>\n </requestedPrivileges>", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvc9compiler", "documentation": {} }, { "label": "_MANIFEST_WITH_MULTIPLE_REFERENCES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvc9compiler", "peekOfCode": "_MANIFEST_WITH_MULTIPLE_REFERENCES = \"\"\"\\\n<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<assembly xmlns=\"urn:schemas-microsoft-com:asm.v1\"\n manifestVersion=\"1.0\">\n <trustInfo xmlns=\"urn:schemas-microsoft-com:asm.v3\">\n <security>\n <requestedPrivileges>\n <requestedExecutionLevel level=\"asInvoker\" uiAccess=\"false\">\n </requestedExecutionLevel>\n </requestedPrivileges>", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvc9compiler", "documentation": {} }, { "label": "_CLEANED_MANIFEST", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvc9compiler", "peekOfCode": "_CLEANED_MANIFEST = \"\"\"\\\n<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<assembly xmlns=\"urn:schemas-microsoft-com:asm.v1\"\n manifestVersion=\"1.0\">\n <trustInfo xmlns=\"urn:schemas-microsoft-com:asm.v3\">\n <security>\n <requestedPrivileges>\n <requestedExecutionLevel level=\"asInvoker\" uiAccess=\"false\">\n </requestedExecutionLevel>\n </requestedPrivileges>", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvc9compiler", "documentation": {} }, { "label": "msvccompilerTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvccompiler", "peekOfCode": "class msvccompilerTestCase(support.TempdirManager,\n unittest.TestCase):\n def test_no_compiler(self):\n import distutils._msvccompiler as _msvccompiler\n # makes sure query_vcvarsall raises\n # a DistutilsPlatformError if the compiler\n # is not found\n def _find_vcvarsall(plat_spec):\n return None, None\n old_find_vcvarsall = _msvccompiler._find_vcvarsall", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvccompiler", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvccompiler", "peekOfCode": "def test_suite():\n return unittest.makeSuite(msvccompilerTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvccompiler", "documentation": {} }, { "label": "SKIP_MESSAGE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvccompiler", "peekOfCode": "SKIP_MESSAGE = (None if sys.platform == \"win32\" else\n \"These tests are only for win32\")\n@unittest.skipUnless(SKIP_MESSAGE is None, SKIP_MESSAGE)\nclass msvccompilerTestCase(support.TempdirManager,\n unittest.TestCase):\n def test_no_compiler(self):\n import distutils._msvccompiler as _msvccompiler\n # makes sure query_vcvarsall raises\n # a DistutilsPlatformError if the compiler\n # is not found", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_msvccompiler", "documentation": {} }, { "label": "Inputs", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "peekOfCode": "class Inputs(object):\n \"\"\"Fakes user inputs.\"\"\"\n def __init__(self, *answers):\n self.answers = answers\n self.index = 0\n def __call__(self, prompt=''):\n try:\n return self.answers[self.index]\n finally:\n self.index += 1", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "documentation": {} }, { "label": "FakeOpener", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "peekOfCode": "class FakeOpener(object):\n \"\"\"Fakes a PyPI server\"\"\"\n def __init__(self):\n self.reqs = []\n def __call__(self, *args):\n return self\n def open(self, req, data=None, timeout=None):\n self.reqs.append(req)\n return self\n def read(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "documentation": {} }, { "label": "RegisterTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "peekOfCode": "class RegisterTestCase(BasePyPIRCCommandTestCase):\n def setUp(self):\n super(RegisterTestCase, self).setUp()\n # patching the password prompt\n self._old_getpass = getpass.getpass\n def _getpass(prompt):\n return 'password'\n getpass.getpass = _getpass\n urllib.request._opener = None\n self.old_opener = urllib.request.build_opener", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "peekOfCode": "def test_suite():\n return unittest.makeSuite(RegisterTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "documentation": {} }, { "label": "PYPIRC_NOPASSWORD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "peekOfCode": "PYPIRC_NOPASSWORD = \"\"\"\\\n[distutils]\nindex-servers =\n server1\n[server1]\nusername:me\n\"\"\"\nWANTED_PYPIRC = \"\"\"\\\n[distutils]\nindex-servers =", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "documentation": {} }, { "label": "index-servers", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "peekOfCode": "index-servers =\n server1\n[server1]\nusername:me\n\"\"\"\nWANTED_PYPIRC = \"\"\"\\\n[distutils]\nindex-servers =\n pypi\n[pypi]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "documentation": {} }, { "label": "WANTED_PYPIRC", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "peekOfCode": "WANTED_PYPIRC = \"\"\"\\\n[distutils]\nindex-servers =\n pypi\n[pypi]\nusername:tarek\npassword:password\n\"\"\"\nclass Inputs(object):\n \"\"\"Fakes user inputs.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "documentation": {} }, { "label": "index-servers", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "peekOfCode": "index-servers =\n pypi\n[pypi]\nusername:tarek\npassword:password\n\"\"\"\nclass Inputs(object):\n \"\"\"Fakes user inputs.\"\"\"\n def __init__(self, *answers):\n self.answers = answers", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_register", "documentation": {} }, { "label": "SDistTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_sdist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_sdist", "peekOfCode": "class SDistTestCase(BasePyPIRCCommandTestCase):\n def setUp(self):\n # PyPIRCCommandTestCase creates a temp dir already\n # and put it in self.tmp_dir\n super(SDistTestCase, self).setUp()\n # setting up an environment\n self.old_path = os.getcwd()\n os.mkdir(join(self.tmp_dir, 'somecode'))\n os.mkdir(join(self.tmp_dir, 'dist'))\n # a package, and a README", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_sdist", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_sdist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_sdist", "peekOfCode": "def test_suite():\n return unittest.makeSuite(SDistTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_sdist", "documentation": {} }, { "label": "SETUP_PY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_sdist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_sdist", "peekOfCode": "SETUP_PY = \"\"\"\nfrom distutils.core import setup\nimport somecode\nsetup(name='fake')\n\"\"\"\nMANIFEST = \"\"\"\\\n# file GENERATED by distutils, do NOT edit\nREADME\nbuildout.cfg\ninroot.txt", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_sdist", "documentation": {} }, { "label": "MANIFEST", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_sdist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_sdist", "peekOfCode": "MANIFEST = \"\"\"\\\n# file GENERATED by distutils, do NOT edit\nREADME\nbuildout.cfg\ninroot.txt\nsetup.py\ndata%(sep)sdata.dt\nscripts%(sep)sscript.py\nsome%(sep)sfile.txt\nsome%(sep)sother_file.txt", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_sdist", "documentation": {} }, { "label": "SpawnTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_spawn", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_spawn", "peekOfCode": "class SpawnTestCase(support.TempdirManager,\n support.LoggingSilencer,\n unittest.TestCase):\n @unittest.skipUnless(os.name in ('nt', 'posix'),\n 'Runs only under posix or nt')\n def test_spawn(self):\n tmpdir = self.mkdtemp()\n # creating something executable\n # through the shell that returns 1\n if sys.platform != 'win32':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_spawn", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_spawn", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_spawn", "peekOfCode": "def test_suite():\n return unittest.makeSuite(SpawnTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_spawn", "documentation": {} }, { "label": "SysconfigTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_sysconfig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_sysconfig", "peekOfCode": "class SysconfigTestCase(support.EnvironGuard, unittest.TestCase):\n def setUp(self):\n super(SysconfigTestCase, self).setUp()\n self.makefile = None\n def tearDown(self):\n if self.makefile is not None:\n os.unlink(self.makefile)\n self.cleanup_testfn()\n super(SysconfigTestCase, self).tearDown()\n def cleanup_testfn(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_sysconfig", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_sysconfig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_sysconfig", "peekOfCode": "def test_suite():\n suite = unittest.TestSuite()\n suite.addTest(unittest.makeSuite(SysconfigTestCase))\n return suite\nif __name__ == '__main__':\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_sysconfig", "documentation": {} }, { "label": "TextFileTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_text_file", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_text_file", "peekOfCode": "class TextFileTestCase(support.TempdirManager, unittest.TestCase):\n def test_class(self):\n # old tests moved from text_file.__main__\n # so they are really called by the buildbots\n # result 1: no fancy options\n result1 = ['# test file\\n', '\\n', 'line 3 \\\\\\n',\n '# intervening comment\\n',\n ' continues on next line\\n']\n # result 2: just strip comments\n result2 = [\"\\n\",", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_text_file", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_text_file", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_text_file", "peekOfCode": "def test_suite():\n return unittest.makeSuite(TextFileTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_text_file", "documentation": {} }, { "label": "TEST_DATA", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_text_file", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_text_file", "peekOfCode": "TEST_DATA = \"\"\"# test file\nline 3 \\\\\n# intervening comment\n continues on next line\n\"\"\"\nclass TextFileTestCase(support.TempdirManager, unittest.TestCase):\n def test_class(self):\n # old tests moved from text_file.__main__\n # so they are really called by the buildbots\n # result 1: no fancy options", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_text_file", "documentation": {} }, { "label": "UnixCCompilerTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_unixccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_unixccompiler", "peekOfCode": "class UnixCCompilerTestCase(unittest.TestCase):\n def setUp(self):\n self._backup_platform = sys.platform\n self._backup_get_config_var = sysconfig.get_config_var\n self._backup_config_vars = dict(sysconfig._config_vars)\n class CompilerWrapper(UnixCCompiler):\n def rpath_foo(self):\n return self.runtime_library_dir_option('/foo')\n self.cc = CompilerWrapper()\n def tearDown(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_unixccompiler", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_unixccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_unixccompiler", "peekOfCode": "def test_suite():\n return unittest.makeSuite(UnixCCompilerTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_unixccompiler", "documentation": {} }, { "label": "FakeOpen", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "peekOfCode": "class FakeOpen(object):\n def __init__(self, url, msg=None, code=None):\n self.url = url\n if not isinstance(url, str):\n self.req = url\n else:\n self.req = None\n self.msg = msg or 'OK'\n self.code = code or 200\n def getheader(self, name, default=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "documentation": {} }, { "label": "uploadTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "peekOfCode": "class uploadTestCase(BasePyPIRCCommandTestCase):\n def setUp(self):\n super(uploadTestCase, self).setUp()\n self.old_open = upload_mod.urlopen\n upload_mod.urlopen = self._urlopen\n self.last_open = None\n self.next_msg = None\n self.next_code = None\n def tearDown(self):\n upload_mod.urlopen = self.old_open", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "peekOfCode": "def test_suite():\n return unittest.makeSuite(uploadTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "documentation": {} }, { "label": "PYPIRC_LONG_PASSWORD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "peekOfCode": "PYPIRC_LONG_PASSWORD = \"\"\"\\\n[distutils]\nindex-servers =\n server1\n server2\n[server1]\nusername:me\npassword:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n[server2]\nusername:meagain", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "documentation": {} }, { "label": "index-servers", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "peekOfCode": "index-servers =\n server1\n server2\n[server1]\nusername:me\npassword:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n[server2]\nusername:meagain\npassword: secret\nrealm:acme", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "documentation": {} }, { "label": "PYPIRC_NOPASSWORD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "peekOfCode": "PYPIRC_NOPASSWORD = \"\"\"\\\n[distutils]\nindex-servers =\n server1\n[server1]\nusername:me\n\"\"\"\nclass FakeOpen(object):\n def __init__(self, url, msg=None, code=None):\n self.url = url", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "documentation": {} }, { "label": "index-servers", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "peekOfCode": "index-servers =\n server1\n[server1]\nusername:me\n\"\"\"\nclass FakeOpen(object):\n def __init__(self, url, msg=None, code=None):\n self.url = url\n if not isinstance(url, str):\n self.req = url", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_upload", "documentation": {} }, { "label": "UtilTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_util", "peekOfCode": "class UtilTestCase(support.EnvironGuard, unittest.TestCase):\n def setUp(self):\n super(UtilTestCase, self).setUp()\n # saving the environment\n self.name = os.name\n self.platform = sys.platform\n self.version = sys.version\n self.sep = os.sep\n self.join = os.path.join\n self.isabs = os.path.isabs", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_util", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_util", "peekOfCode": "def test_suite():\n return unittest.makeSuite(UtilTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_util", "documentation": {} }, { "label": "VersionTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_version", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_version", "peekOfCode": "class VersionTestCase(unittest.TestCase):\n def test_prerelease(self):\n version = StrictVersion('1.2.3a1')\n self.assertEqual(version.version, (1, 2, 3))\n self.assertEqual(version.prerelease, ('a', 1))\n self.assertEqual(str(version), '1.2.3a1')\n version = StrictVersion('1.2.0')\n self.assertEqual(str(version), '1.2')\n def test_cmp_strict(self):\n versions = (('1.5.1', '1.5.2b2', -1),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_version", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_version", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_version", "peekOfCode": "def test_suite():\n return unittest.makeSuite(VersionTestCase)\nif __name__ == \"__main__\":\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_version", "documentation": {} }, { "label": "test_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_versionpredicate", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_versionpredicate", "peekOfCode": "def test_suite():\n return doctest.DocTestSuite(distutils.versionpredicate)\nif __name__ == '__main__':\n run_unittest(test_suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.tests.test_versionpredicate", "documentation": {} }, { "label": "make_tarball", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.archive_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.archive_util", "peekOfCode": "def make_tarball(base_name, base_dir, compress=\"gzip\", verbose=0, dry_run=0,\n owner=None, group=None):\n \"\"\"Create a (possibly compressed) tar file from all the files under\n 'base_dir'.\n 'compress' must be \"gzip\" (the default), \"bzip2\", \"xz\", \"compress\", or\n None. (\"compress\" will be deprecated in Python 3.2)\n 'owner' and 'group' can be used to define an owner and a group for the\n archive that is being built. If not provided, the current owner and group\n will be used.\n The output tar file will be named 'base_dir' + \".tar\", possibly plus", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.archive_util", "documentation": {} }, { "label": "make_zipfile", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.archive_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.archive_util", "peekOfCode": "def make_zipfile(base_name, base_dir, verbose=0, dry_run=0):\n \"\"\"Create a zip file from all the files under 'base_dir'.\n The output zip file will be named 'base_name' + \".zip\". Uses either the\n \"zipfile\" Python module (if available) or the InfoZIP \"zip\" utility\n (if installed and found on the default search path). If neither tool is\n available, raises DistutilsExecError. Returns the name of the output zip\n file.\n \"\"\"\n zip_filename = base_name + \".zip\"\n mkpath(os.path.dirname(zip_filename), dry_run=dry_run)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.archive_util", "documentation": {} }, { "label": "check_archive_formats", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.archive_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.archive_util", "peekOfCode": "def check_archive_formats(formats):\n \"\"\"Returns the first format from the 'format' list that is unknown.\n If all formats are known, returns None\n \"\"\"\n for format in formats:\n if format not in ARCHIVE_FORMATS:\n return format\n return None\ndef make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0,\n dry_run=0, owner=None, group=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.archive_util", "documentation": {} }, { "label": "make_archive", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.archive_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.archive_util", "peekOfCode": "def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0,\n dry_run=0, owner=None, group=None):\n \"\"\"Create an archive file (eg. zip or tar).\n 'base_name' is the name of the file to create, minus any format-specific\n extension; 'format' is the archive format: one of \"zip\", \"tar\", \"gztar\",\n \"bztar\", \"xztar\", or \"ztar\".\n 'root_dir' is a directory that will be the root directory of the\n archive; ie. we typically chdir into 'root_dir' before creating the\n archive. 'base_dir' is the directory where we start archiving from;\n ie. 'base_dir' will be the common prefix of all files and", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.archive_util", "documentation": {} }, { "label": "ARCHIVE_FORMATS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.archive_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.archive_util", "peekOfCode": "ARCHIVE_FORMATS = {\n 'gztar': (make_tarball, [('compress', 'gzip')], \"gzip'ed tar-file\"),\n 'bztar': (make_tarball, [('compress', 'bzip2')], \"bzip2'ed tar-file\"),\n 'xztar': (make_tarball, [('compress', 'xz')], \"xz'ed tar-file\"),\n 'ztar': (make_tarball, [('compress', 'compress')], \"compressed tar file\"),\n 'tar': (make_tarball, [('compress', None)], \"uncompressed tar file\"),\n 'zip': (make_zipfile, [],\"ZIP file\")\n }\ndef check_archive_formats(formats):\n \"\"\"Returns the first format from the 'format' list that is unknown.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.archive_util", "documentation": {} }, { "label": "BCPPCompiler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.bcppcompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.bcppcompiler", "peekOfCode": "class BCPPCompiler(CCompiler) :\n \"\"\"Concrete class that implements an interface to the Borland C/C++\n compiler, as defined by the CCompiler abstract class.\n \"\"\"\n compiler_type = 'bcpp'\n # Just set this so CCompiler's constructor doesn't barf. We currently\n # don't use the 'set_executables()' bureaucracy provided by CCompiler,\n # as it really isn't necessary for this sort of single-compiler class.\n # Would be nice to have a consistent interface with UnixCCompiler,\n # though, so it's worth thinking about.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.bcppcompiler", "documentation": {} }, { "label": "CCompiler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "peekOfCode": "class CCompiler:\n \"\"\"Abstract base class to define the interface that must be implemented\n by real compiler classes. Also has some utility methods used by\n several compiler classes.\n The basic idea behind a compiler abstraction class is that each\n instance can be used for all the compile/link steps in building a\n single project. Thus, attributes common to all of those compile and\n link steps -- include directories, macros to define, libraries to link\n against, etc. -- are attributes of the compiler instance. To allow for\n variability in how individual files are treated, most of those", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "documentation": {} }, { "label": "get_default_compiler", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "peekOfCode": "def get_default_compiler(osname=None, platform=None):\n \"\"\"Determine the default compiler to use for the given platform.\n osname should be one of the standard Python OS names (i.e. the\n ones returned by os.name) and platform the common value\n returned by sys.platform for the platform in question.\n The default values are os.name and sys.platform in case the\n parameters are not given.\n \"\"\"\n if osname is None:\n osname = os.name", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "documentation": {} }, { "label": "show_compilers", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "peekOfCode": "def show_compilers():\n \"\"\"Print list of available compilers (used by the \"--help-compiler\"\n options to \"build\", \"build_ext\", \"build_clib\").\n \"\"\"\n # XXX this \"knows\" that the compiler option it's describing is\n # \"--compiler\", which just happens to be the case for the three\n # commands that use it.\n from distutils.fancy_getopt import FancyGetopt\n compilers = []\n for compiler in compiler_class.keys():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "documentation": {} }, { "label": "new_compiler", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "peekOfCode": "def new_compiler(plat=None, compiler=None, verbose=0, dry_run=0, force=0):\n \"\"\"Generate an instance of some CCompiler subclass for the supplied\n platform/compiler combination. 'plat' defaults to 'os.name'\n (eg. 'posix', 'nt'), and 'compiler' defaults to the default compiler\n for that platform. Currently only 'posix' and 'nt' are supported, and\n the default compilers are \"traditional Unix interface\" (UnixCCompiler\n class) and Visual C++ (MSVCCompiler class). Note that it's perfectly\n possible to ask for a Unix compiler object under Windows, and a\n Microsoft compiler object under Unix -- if you supply a value for\n 'compiler', 'plat' is ignored.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "documentation": {} }, { "label": "gen_preprocess_options", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "peekOfCode": "def gen_preprocess_options(macros, include_dirs):\n \"\"\"Generate C pre-processor options (-D, -U, -I) as used by at least\n two types of compilers: the typical Unix compiler and Visual C++.\n 'macros' is the usual thing, a list of 1- or 2-tuples, where (name,)\n means undefine (-U) macro 'name', and (name,value) means define (-D)\n macro 'name' to 'value'. 'include_dirs' is just a list of directory\n names to be added to the header file search path (-I). Returns a list\n of command-line options suitable for either Unix compilers or Visual\n C++.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "documentation": {} }, { "label": "gen_lib_option", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "peekOfCode": "def gen_lib_options (compiler, library_dirs, runtime_library_dirs, libraries):\n \"\"\"Generate linker options for searching library directories and\n linking with specific libraries. 'libraries' and 'library_dirs' are,\n respectively, lists of library names (not filenames!) and search\n directories. Returns a list of command-line options suitable for use\n with some compiler (depending on the two format strings passed in).\n \"\"\"\n lib_opts = []\n for dir in library_dirs:\n lib_opts.append(compiler.library_dir_option(dir))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "documentation": {} }, { "label": "_default_compilers", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "peekOfCode": "_default_compilers = (\n # Platform string mappings\n # on a cygwin built python we can use gcc like an ordinary UNIXish\n # compiler\n ('cygwin.*', 'unix'),\n # OS name mappings\n ('posix', 'unix'),\n ('nt', 'msvc'),\n )\ndef get_default_compiler(osname=None, platform=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "documentation": {} }, { "label": "compiler_class", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "peekOfCode": "compiler_class = { 'unix': ('unixccompiler', 'UnixCCompiler',\n \"standard UNIX-style compiler\"),\n 'msvc': ('_msvccompiler', 'MSVCCompiler',\n \"Microsoft Visual C++\"),\n 'cygwin': ('cygwinccompiler', 'CygwinCCompiler',\n \"Cygwin port of GNU C Compiler for Win32\"),\n 'mingw32': ('cygwinccompiler', 'Mingw32CCompiler',\n \"Mingw32 port of GNU C Compiler for Win32\"),\n 'bcpp': ('bcppcompiler', 'BCPPCompiler',\n \"Borland C++ Compiler\"),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.ccompiler", "documentation": {} }, { "label": "Command", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cmd", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cmd", "peekOfCode": "class Command:\n \"\"\"Abstract base class for defining command classes, the \"worker bees\"\n of the Distutils. A useful analogy for command classes is to think of\n them as subroutines with local variables called \"options\". The options\n are \"declared\" in 'initialize_options()' and \"defined\" (given their\n final values, aka \"finalized\") in 'finalize_options()', both of which\n must be defined by every command class. The distinction between the\n two is necessary because option values might come from the outside\n world (command line, config file, ...), and any options dependent on\n other options must be computed *after* these outside influences have", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cmd", "documentation": {} }, { "label": "PyPIRCCommand", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.config", "peekOfCode": "class PyPIRCCommand(Command):\n \"\"\"Base command that knows how to handle the .pypirc file\n \"\"\"\n DEFAULT_REPOSITORY = 'https://upload.pypi.org/legacy/'\n DEFAULT_REALM = 'pypi'\n repository = None\n realm = None\n user_options = [\n ('repository=', 'r',\n \"url of repository [default: %s]\" % \\", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.config", "documentation": {} }, { "label": "DEFAULT_PYPIRC", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.config", "peekOfCode": "DEFAULT_PYPIRC = \"\"\"\\\n[distutils]\nindex-servers =\n pypi\n[pypi]\nusername:%s\npassword:%s\n\"\"\"\nclass PyPIRCCommand(Command):\n \"\"\"Base command that knows how to handle the .pypirc file", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.config", "documentation": {} }, { "label": "index-servers", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.config", "peekOfCode": "index-servers =\n pypi\n[pypi]\nusername:%s\npassword:%s\n\"\"\"\nclass PyPIRCCommand(Command):\n \"\"\"Base command that knows how to handle the .pypirc file\n \"\"\"\n DEFAULT_REPOSITORY = 'https://upload.pypi.org/legacy/'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.config", "documentation": {} }, { "label": "gen_usag", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "peekOfCode": "def gen_usage (script_name):\n script = os.path.basename(script_name)\n return USAGE % vars()\n# Some mild magic to control the behaviour of 'setup()' from 'run_setup()'.\n_setup_stop_after = None\n_setup_distribution = None\n# Legal keyword arguments for the setup() function\nsetup_keywords = ('distclass', 'script_name', 'script_args', 'options',\n 'name', 'version', 'author', 'author_email',\n 'maintainer', 'maintainer_email', 'url', 'license',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "documentation": {} }, { "label": "setu", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "peekOfCode": "def setup (**attrs):\n \"\"\"The gateway to the Distutils: do everything your setup script needs\n to do, in a highly flexible and user-driven way. Briefly: create a\n Distribution instance; find and parse config files; parse the command\n line; run each Distutils command found there, customized by the options\n supplied to 'setup()' (as keyword arguments), in config files, and on\n the command line.\n The Distribution instance might be an instance of a class supplied via\n the 'distclass' keyword argument to 'setup'; if no such class is\n supplied, then the Distribution class (in dist.py) is instantiated.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "documentation": {} }, { "label": "run_setu", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "peekOfCode": "def run_setup (script_name, script_args=None, stop_after=\"run\"):\n \"\"\"Run a setup script in a somewhat controlled environment, and\n return the Distribution instance that drives things. This is useful\n if you need to find out the distribution meta-data (passed as\n keyword args from 'script' to 'setup()', or the contents of the\n config files or command-line.\n 'script_name' is a file that will be read and run with 'exec()';\n 'sys.argv[0]' will be replaced with 'script' for the duration of the\n call. 'script_args' is a list of strings; if supplied,\n 'sys.argv[1:]' will be replaced by 'script_args' for the duration of", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "documentation": {} }, { "label": "USAGE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "peekOfCode": "USAGE = \"\"\"\\\nusage: %(script)s [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]\n or: %(script)s --help [cmd1 cmd2 ...]\n or: %(script)s --help-commands\n or: %(script)s cmd --help\n\"\"\"\ndef gen_usage (script_name):\n script = os.path.basename(script_name)\n return USAGE % vars()\n# Some mild magic to control the behaviour of 'setup()' from 'run_setup()'.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "documentation": {} }, { "label": "_setup_stop_after", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "peekOfCode": "_setup_stop_after = None\n_setup_distribution = None\n# Legal keyword arguments for the setup() function\nsetup_keywords = ('distclass', 'script_name', 'script_args', 'options',\n 'name', 'version', 'author', 'author_email',\n 'maintainer', 'maintainer_email', 'url', 'license',\n 'description', 'long_description', 'keywords',\n 'platforms', 'classifiers', 'download_url',\n 'requires', 'provides', 'obsoletes',\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "documentation": {} }, { "label": "_setup_distribution", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "peekOfCode": "_setup_distribution = None\n# Legal keyword arguments for the setup() function\nsetup_keywords = ('distclass', 'script_name', 'script_args', 'options',\n 'name', 'version', 'author', 'author_email',\n 'maintainer', 'maintainer_email', 'url', 'license',\n 'description', 'long_description', 'keywords',\n 'platforms', 'classifiers', 'download_url',\n 'requires', 'provides', 'obsoletes',\n )\n# Legal keyword arguments for the Extension constructor", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "documentation": {} }, { "label": "setup_keywords", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "peekOfCode": "setup_keywords = ('distclass', 'script_name', 'script_args', 'options',\n 'name', 'version', 'author', 'author_email',\n 'maintainer', 'maintainer_email', 'url', 'license',\n 'description', 'long_description', 'keywords',\n 'platforms', 'classifiers', 'download_url',\n 'requires', 'provides', 'obsoletes',\n )\n# Legal keyword arguments for the Extension constructor\nextension_keywords = ('name', 'sources', 'include_dirs',\n 'define_macros', 'undef_macros',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "documentation": {} }, { "label": "extension_keywords", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "peekOfCode": "extension_keywords = ('name', 'sources', 'include_dirs',\n 'define_macros', 'undef_macros',\n 'library_dirs', 'libraries', 'runtime_library_dirs',\n 'extra_objects', 'extra_compile_args', 'extra_link_args',\n 'swig_opts', 'export_symbols', 'depends', 'language')\ndef setup (**attrs):\n \"\"\"The gateway to the Distutils: do everything your setup script needs\n to do, in a highly flexible and user-driven way. Briefly: create a\n Distribution instance; find and parse config files; parse the command\n line; run each Distutils command found there, customized by the options", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.core", "documentation": {} }, { "label": "CygwinCCompiler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "peekOfCode": "class CygwinCCompiler(UnixCCompiler):\n \"\"\" Handles the Cygwin port of the GNU C compiler to Windows.\n \"\"\"\n compiler_type = 'cygwin'\n obj_extension = \".o\"\n static_lib_extension = \".a\"\n shared_lib_extension = \".dll\"\n static_lib_format = \"lib%s%s\"\n shared_lib_format = \"%s%s\"\n exe_extension = \".exe\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "documentation": {} }, { "label": "Mingw32CCompiler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "peekOfCode": "class Mingw32CCompiler(CygwinCCompiler):\n \"\"\" Handles the Mingw32 port of the GNU C compiler to Windows.\n \"\"\"\n compiler_type = 'mingw32'\n def __init__(self, verbose=0, dry_run=0, force=0):\n CygwinCCompiler.__init__ (self, verbose, dry_run, force)\n # ld_version >= \"2.13\" support -shared so use it instead of\n # -mdll -static\n if self.ld_version >= \"2.13\":\n shared_option = \"-shared\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "documentation": {} }, { "label": "get_msvcr", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "peekOfCode": "def get_msvcr():\n \"\"\"Include the appropriate MSVC runtime library if Python was built\n with MSVC 7.0 or later.\n \"\"\"\n msc_pos = sys.version.find('MSC v.')\n if msc_pos != -1:\n msc_ver = sys.version[msc_pos+6:msc_pos+10]\n if msc_ver == '1300':\n # MSVC 7.0\n return ['msvcr70']", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "documentation": {} }, { "label": "check_config_h", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "peekOfCode": "def check_config_h():\n \"\"\"Check if the current Python installation appears amenable to building\n extensions with GCC.\n Returns a tuple (status, details), where 'status' is one of the following\n constants:\n - CONFIG_H_OK: all is well, go ahead and compile\n - CONFIG_H_NOTOK: doesn't look good\n - CONFIG_H_UNCERTAIN: not sure -- unable to read pyconfig.h\n 'details' is a human-readable string explaining the situation.\n Note there are two ways to conclude \"OK\": either 'sys.version' contains", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "documentation": {} }, { "label": "get_versions", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "peekOfCode": "def get_versions():\n \"\"\" Try to find out the versions of gcc, ld and dllwrap.\n If not possible it returns None for it.\n \"\"\"\n commands = ['gcc -dumpversion', 'ld -v', 'dllwrap --version']\n return tuple([_find_exe_version(cmd) for cmd in commands])\ndef is_cygwingcc():\n '''Try to determine if the gcc that would be used is from cygwin.'''\n out_string = check_output(['gcc', '-dumpmachine'])\n return out_string.strip().endswith(b'cygwin')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "documentation": {} }, { "label": "is_cygwingcc", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "peekOfCode": "def is_cygwingcc():\n '''Try to determine if the gcc that would be used is from cygwin.'''\n out_string = check_output(['gcc', '-dumpmachine'])\n return out_string.strip().endswith(b'cygwin')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "documentation": {} }, { "label": "CONFIG_H_OK", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "peekOfCode": "CONFIG_H_OK = \"ok\"\nCONFIG_H_NOTOK = \"not ok\"\nCONFIG_H_UNCERTAIN = \"uncertain\"\ndef check_config_h():\n \"\"\"Check if the current Python installation appears amenable to building\n extensions with GCC.\n Returns a tuple (status, details), where 'status' is one of the following\n constants:\n - CONFIG_H_OK: all is well, go ahead and compile\n - CONFIG_H_NOTOK: doesn't look good", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "documentation": {} }, { "label": "CONFIG_H_NOTOK", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "peekOfCode": "CONFIG_H_NOTOK = \"not ok\"\nCONFIG_H_UNCERTAIN = \"uncertain\"\ndef check_config_h():\n \"\"\"Check if the current Python installation appears amenable to building\n extensions with GCC.\n Returns a tuple (status, details), where 'status' is one of the following\n constants:\n - CONFIG_H_OK: all is well, go ahead and compile\n - CONFIG_H_NOTOK: doesn't look good\n - CONFIG_H_UNCERTAIN: not sure -- unable to read pyconfig.h", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "documentation": {} }, { "label": "CONFIG_H_UNCERTAIN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "peekOfCode": "CONFIG_H_UNCERTAIN = \"uncertain\"\ndef check_config_h():\n \"\"\"Check if the current Python installation appears amenable to building\n extensions with GCC.\n Returns a tuple (status, details), where 'status' is one of the following\n constants:\n - CONFIG_H_OK: all is well, go ahead and compile\n - CONFIG_H_NOTOK: doesn't look good\n - CONFIG_H_UNCERTAIN: not sure -- unable to read pyconfig.h\n 'details' is a human-readable string explaining the situation.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "documentation": {} }, { "label": "RE_VERSION", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "peekOfCode": "RE_VERSION = re.compile(br'(\\d+\\.\\d+(\\.\\d+)*)')\ndef _find_exe_version(cmd):\n \"\"\"Find the version of an executable by running `cmd` in the shell.\n If the command is not found, or the output does not match\n `RE_VERSION`, returns None.\n \"\"\"\n executable = cmd.split()[0]\n if find_executable(executable) is None:\n return None\n out = Popen(cmd, shell=True, stdout=PIPE).stdout", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.cygwinccompiler", "documentation": {} }, { "label": "DEBUG", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.debug", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.debug", "peekOfCode": "DEBUG = os.environ.get('DISTUTILS_DEBUG')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.debug", "documentation": {} }, { "label": "newe", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dep_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dep_util", "peekOfCode": "def newer (source, target):\n \"\"\"Return true if 'source' exists and is more recently modified than\n 'target', or if 'source' exists and 'target' doesn't. Return false if\n both exist and 'target' is the same age or younger than 'source'.\n Raise DistutilsFileError if 'source' does not exist.\n \"\"\"\n if not os.path.exists(source):\n raise DistutilsFileError(\"file '%s' does not exist\" %\n os.path.abspath(source))\n if not os.path.exists(target):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dep_util", "documentation": {} }, { "label": "newer_pairwis", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dep_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dep_util", "peekOfCode": "def newer_pairwise (sources, targets):\n \"\"\"Walk two filename lists in parallel, testing if each source is newer\n than its corresponding target. Return a pair of lists (sources,\n targets) where source is newer than target, according to the semantics\n of 'newer()'.\n \"\"\"\n if len(sources) != len(targets):\n raise ValueError(\"'sources' and 'targets' must be same length\")\n # build a pair of lists (sources, targets) where source is newer\n n_sources = []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dep_util", "documentation": {} }, { "label": "newer_grou", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dep_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dep_util", "peekOfCode": "def newer_group (sources, target, missing='error'):\n \"\"\"Return true if 'target' is out-of-date with respect to any file\n listed in 'sources'. In other words, if 'target' exists and is newer\n than every file in 'sources', return false; otherwise return true.\n 'missing' controls what we do when a source file is missing; the\n default (\"error\") is to blow up with an OSError from inside 'stat()';\n if it is \"ignore\", we silently drop any missing source files; if it is\n \"newer\", any missing source files make us assume that 'target' is\n out-of-date (this is handy in \"dry-run\" mode: it'll make you pretend to\n carry out commands that wouldn't work because inputs are missing, but", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dep_util", "documentation": {} }, { "label": "mkpath", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dir_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dir_util", "peekOfCode": "def mkpath(name, mode=0o777, verbose=1, dry_run=0):\n \"\"\"Create a directory and any missing ancestor directories.\n If the directory already exists (or if 'name' is the empty string, which\n means the current directory, which of course exists), then do nothing.\n Raise DistutilsFileError if unable to create some directory along the way\n (eg. some sub-path exists, but is a file rather than a directory).\n If 'verbose' is true, print a one-line summary of each mkdir to stdout.\n Return the list of directories actually created.\n \"\"\"\n global _path_created", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dir_util", "documentation": {} }, { "label": "create_tree", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dir_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dir_util", "peekOfCode": "def create_tree(base_dir, files, mode=0o777, verbose=1, dry_run=0):\n \"\"\"Create all the empty directories under 'base_dir' needed to put 'files'\n there.\n 'base_dir' is just the name of a directory which doesn't necessarily\n exist yet; 'files' is a list of filenames to be interpreted relative to\n 'base_dir'. 'base_dir' + the directory portion of every file in 'files'\n will be created if it doesn't already exist. 'mode', 'verbose' and\n 'dry_run' flags are as for 'mkpath()'.\n \"\"\"\n # First get the list of directories to create", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dir_util", "documentation": {} }, { "label": "copy_tree", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dir_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dir_util", "peekOfCode": "def copy_tree(src, dst, preserve_mode=1, preserve_times=1,\n preserve_symlinks=0, update=0, verbose=1, dry_run=0):\n \"\"\"Copy an entire directory tree 'src' to a new location 'dst'.\n Both 'src' and 'dst' must be directory names. If 'src' is not a\n directory, raise DistutilsFileError. If 'dst' does not exist, it is\n created with 'mkpath()'. The end result of the copy is that every\n file in 'src' is copied to 'dst', and directories under 'src' are\n recursively copied to 'dst'. Return the list of files that were\n copied or might have been copied, using their output name. The\n return value is unaffected by 'update' or 'dry_run': it is simply", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dir_util", "documentation": {} }, { "label": "remove_tree", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dir_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dir_util", "peekOfCode": "def remove_tree(directory, verbose=1, dry_run=0):\n \"\"\"Recursively remove an entire directory tree.\n Any errors are ignored (apart from being reported to stdout if 'verbose'\n is true).\n \"\"\"\n global _path_created\n if verbose >= 1:\n log.info(\"removing '%s' (and everything under it)\", directory)\n if dry_run:\n return", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dir_util", "documentation": {} }, { "label": "ensure_relative", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dir_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dir_util", "peekOfCode": "def ensure_relative(path):\n \"\"\"Take the full path 'path', and make it a relative path.\n This is useful to make 'path' the second argument to os.path.join().\n \"\"\"\n drive, path = os.path.splitdrive(path)\n if path[0:1] == os.sep:\n path = drive + path[1:]\n return path", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dir_util", "documentation": {} }, { "label": "_path_created", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dir_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dir_util", "peekOfCode": "_path_created = {}\n# I don't use os.makedirs because a) it's new to Python 1.5.2, and\n# b) it blows up if the directory already exists (I want to silently\n# succeed in that case).\ndef mkpath(name, mode=0o777, verbose=1, dry_run=0):\n \"\"\"Create a directory and any missing ancestor directories.\n If the directory already exists (or if 'name' is the empty string, which\n means the current directory, which of course exists), then do nothing.\n Raise DistutilsFileError if unable to create some directory along the way\n (eg. some sub-path exists, but is a file rather than a directory).", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dir_util", "documentation": {} }, { "label": "Distribution", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dist", "peekOfCode": "class Distribution:\n \"\"\"The core of the Distutils. Most of the work hiding behind 'setup'\n is really done within a Distribution instance, which farms the work out\n to the Distutils commands specified on the command line.\n Setup scripts will almost never instantiate Distribution directly,\n unless the 'setup()' function is totally inadequate to their needs.\n However, it is conceivable that a setup script might wish to subclass\n Distribution for some specialized purpose, and then pass the subclass\n to 'setup()' as the 'distclass' keyword argument. If so, it is\n necessary to respect the expectations that 'setup' has of Distribution.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dist", "documentation": {} }, { "label": "DistributionMetadata", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dist", "peekOfCode": "class DistributionMetadata:\n \"\"\"Dummy class to hold the distribution meta-data: name, version,\n author, and so forth.\n \"\"\"\n _METHOD_BASENAMES = (\"name\", \"version\", \"author\", \"author_email\",\n \"maintainer\", \"maintainer_email\", \"url\",\n \"license\", \"description\", \"long_description\",\n \"keywords\", \"platforms\", \"fullname\", \"contact\",\n \"contact_email\", \"classifiers\", \"download_url\",\n # PEP 314", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dist", "documentation": {} }, { "label": "fix_help_options", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dist", "peekOfCode": "def fix_help_options(options):\n \"\"\"Convert a 4-tuple 'help_options' list as found in various command\n classes to the 3-tuple form required by FancyGetopt.\n \"\"\"\n new_options = []\n for help_tuple in options:\n new_options.append(help_tuple[0:3])\n return new_options", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dist", "documentation": {} }, { "label": "command_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dist", "peekOfCode": "command_re = re.compile(r'^[a-zA-Z]([a-zA-Z0-9_]*)$')\ndef _ensure_list(value, fieldname):\n if isinstance(value, str):\n # a string containing comma separated values is okay. It will\n # be converted to a list by Distribution.finalize_options().\n pass\n elif not isinstance(value, list):\n # passing a tuple or an iterator perhaps, warn and convert\n typename = type(value).__name__\n msg = f\"Warning: '{fieldname}' should be a list, got type '{typename}'\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.dist", "documentation": {} }, { "label": "DistutilsErro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class DistutilsError (Exception):\n \"\"\"The root of all Distutils evil.\"\"\"\n pass\nclass DistutilsModuleError (DistutilsError):\n \"\"\"Unable to load an expected module, or to find an expected class\n within some module (in particular, command modules and classes).\"\"\"\n pass\nclass DistutilsClassError (DistutilsError):\n \"\"\"Some command class (or possibly distribution class, if anyone\n feels a need to subclass Distribution) is found not to be holding", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "DistutilsModuleErro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class DistutilsModuleError (DistutilsError):\n \"\"\"Unable to load an expected module, or to find an expected class\n within some module (in particular, command modules and classes).\"\"\"\n pass\nclass DistutilsClassError (DistutilsError):\n \"\"\"Some command class (or possibly distribution class, if anyone\n feels a need to subclass Distribution) is found not to be holding\n up its end of the bargain, ie. implementing some part of the\n \"command \"interface.\"\"\"\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "DistutilsClassErro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class DistutilsClassError (DistutilsError):\n \"\"\"Some command class (or possibly distribution class, if anyone\n feels a need to subclass Distribution) is found not to be holding\n up its end of the bargain, ie. implementing some part of the\n \"command \"interface.\"\"\"\n pass\nclass DistutilsGetoptError (DistutilsError):\n \"\"\"The option table provided to 'fancy_getopt()' is bogus.\"\"\"\n pass\nclass DistutilsArgError (DistutilsError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "DistutilsGetoptErro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class DistutilsGetoptError (DistutilsError):\n \"\"\"The option table provided to 'fancy_getopt()' is bogus.\"\"\"\n pass\nclass DistutilsArgError (DistutilsError):\n \"\"\"Raised by fancy_getopt in response to getopt.error -- ie. an\n error in the command line usage.\"\"\"\n pass\nclass DistutilsFileError (DistutilsError):\n \"\"\"Any problems in the filesystem: expected file not found, etc.\n Typically this is for problems that we detect before OSError", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "DistutilsArgErro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class DistutilsArgError (DistutilsError):\n \"\"\"Raised by fancy_getopt in response to getopt.error -- ie. an\n error in the command line usage.\"\"\"\n pass\nclass DistutilsFileError (DistutilsError):\n \"\"\"Any problems in the filesystem: expected file not found, etc.\n Typically this is for problems that we detect before OSError\n could be raised.\"\"\"\n pass\nclass DistutilsOptionError (DistutilsError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "DistutilsFileErro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class DistutilsFileError (DistutilsError):\n \"\"\"Any problems in the filesystem: expected file not found, etc.\n Typically this is for problems that we detect before OSError\n could be raised.\"\"\"\n pass\nclass DistutilsOptionError (DistutilsError):\n \"\"\"Syntactic/semantic errors in command options, such as use of\n mutually conflicting options, or inconsistent options,\n badly-spelled values, etc. No distinction is made between option\n values originating in the setup script, the command line, config", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "DistutilsOptionErro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class DistutilsOptionError (DistutilsError):\n \"\"\"Syntactic/semantic errors in command options, such as use of\n mutually conflicting options, or inconsistent options,\n badly-spelled values, etc. No distinction is made between option\n values originating in the setup script, the command line, config\n files, or what-have-you -- but if we *know* something originated in\n the setup script, we'll raise DistutilsSetupError instead.\"\"\"\n pass\nclass DistutilsSetupError (DistutilsError):\n \"\"\"For errors that can be definitely blamed on the setup script,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "DistutilsSetupErro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class DistutilsSetupError (DistutilsError):\n \"\"\"For errors that can be definitely blamed on the setup script,\n such as invalid keyword arguments to 'setup()'.\"\"\"\n pass\nclass DistutilsPlatformError (DistutilsError):\n \"\"\"We don't know how to do something on the current platform (but\n we do know how to do it on some platform) -- eg. trying to compile\n C files on a platform not supported by a CCompiler subclass.\"\"\"\n pass\nclass DistutilsExecError (DistutilsError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "DistutilsPlatformErro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class DistutilsPlatformError (DistutilsError):\n \"\"\"We don't know how to do something on the current platform (but\n we do know how to do it on some platform) -- eg. trying to compile\n C files on a platform not supported by a CCompiler subclass.\"\"\"\n pass\nclass DistutilsExecError (DistutilsError):\n \"\"\"Any problems executing an external program (such as the C\n compiler, when compiling C files).\"\"\"\n pass\nclass DistutilsInternalError (DistutilsError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "DistutilsExecErro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class DistutilsExecError (DistutilsError):\n \"\"\"Any problems executing an external program (such as the C\n compiler, when compiling C files).\"\"\"\n pass\nclass DistutilsInternalError (DistutilsError):\n \"\"\"Internal inconsistencies or impossibilities (obviously, this\n should never be seen if the code is working!).\"\"\"\n pass\nclass DistutilsTemplateError (DistutilsError):\n \"\"\"Syntax error in a file list template.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "DistutilsInternalErro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class DistutilsInternalError (DistutilsError):\n \"\"\"Internal inconsistencies or impossibilities (obviously, this\n should never be seen if the code is working!).\"\"\"\n pass\nclass DistutilsTemplateError (DistutilsError):\n \"\"\"Syntax error in a file list template.\"\"\"\nclass DistutilsByteCompileError(DistutilsError):\n \"\"\"Byte compile error.\"\"\"\n# Exception classes used by the CCompiler implementation classes\nclass CCompilerError (Exception):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "DistutilsTemplateErro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class DistutilsTemplateError (DistutilsError):\n \"\"\"Syntax error in a file list template.\"\"\"\nclass DistutilsByteCompileError(DistutilsError):\n \"\"\"Byte compile error.\"\"\"\n# Exception classes used by the CCompiler implementation classes\nclass CCompilerError (Exception):\n \"\"\"Some compile/link operation failed.\"\"\"\nclass PreprocessError (CCompilerError):\n \"\"\"Failure to preprocess one or more C/C++ files.\"\"\"\nclass CompileError (CCompilerError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "DistutilsByteCompileError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class DistutilsByteCompileError(DistutilsError):\n \"\"\"Byte compile error.\"\"\"\n# Exception classes used by the CCompiler implementation classes\nclass CCompilerError (Exception):\n \"\"\"Some compile/link operation failed.\"\"\"\nclass PreprocessError (CCompilerError):\n \"\"\"Failure to preprocess one or more C/C++ files.\"\"\"\nclass CompileError (CCompilerError):\n \"\"\"Failure to compile one or more C/C++ source files.\"\"\"\nclass LibError (CCompilerError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "CCompilerErro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class CCompilerError (Exception):\n \"\"\"Some compile/link operation failed.\"\"\"\nclass PreprocessError (CCompilerError):\n \"\"\"Failure to preprocess one or more C/C++ files.\"\"\"\nclass CompileError (CCompilerError):\n \"\"\"Failure to compile one or more C/C++ source files.\"\"\"\nclass LibError (CCompilerError):\n \"\"\"Failure to create a static library from one or more C/C++ object\n files.\"\"\"\nclass LinkError (CCompilerError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "PreprocessErro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class PreprocessError (CCompilerError):\n \"\"\"Failure to preprocess one or more C/C++ files.\"\"\"\nclass CompileError (CCompilerError):\n \"\"\"Failure to compile one or more C/C++ source files.\"\"\"\nclass LibError (CCompilerError):\n \"\"\"Failure to create a static library from one or more C/C++ object\n files.\"\"\"\nclass LinkError (CCompilerError):\n \"\"\"Failure to link one or more C/C++ object files into an executable\n or shared library file.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "CompileErro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class CompileError (CCompilerError):\n \"\"\"Failure to compile one or more C/C++ source files.\"\"\"\nclass LibError (CCompilerError):\n \"\"\"Failure to create a static library from one or more C/C++ object\n files.\"\"\"\nclass LinkError (CCompilerError):\n \"\"\"Failure to link one or more C/C++ object files into an executable\n or shared library file.\"\"\"\nclass UnknownFileError (CCompilerError):\n \"\"\"Attempt to process an unknown file type.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "LibErro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class LibError (CCompilerError):\n \"\"\"Failure to create a static library from one or more C/C++ object\n files.\"\"\"\nclass LinkError (CCompilerError):\n \"\"\"Failure to link one or more C/C++ object files into an executable\n or shared library file.\"\"\"\nclass UnknownFileError (CCompilerError):\n \"\"\"Attempt to process an unknown file type.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "LinkErro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class LinkError (CCompilerError):\n \"\"\"Failure to link one or more C/C++ object files into an executable\n or shared library file.\"\"\"\nclass UnknownFileError (CCompilerError):\n \"\"\"Attempt to process an unknown file type.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "UnknownFileErro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "peekOfCode": "class UnknownFileError (CCompilerError):\n \"\"\"Attempt to process an unknown file type.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.errors", "documentation": {} }, { "label": "Extension", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.extension", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.extension", "peekOfCode": "class Extension:\n \"\"\"Just a collection of attributes that describes an extension\n module and everything needed to build it (hopefully in a portable\n way, but there are hooks that let you be as unportable as you need).\n Instance attributes:\n name : string\n the full name of the extension, including any packages -- ie.\n *not* a filename or pathname, but Python dotted name\n sources : [string]\n list of source filenames, relative to the distribution root", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.extension", "documentation": {} }, { "label": "read_setup_file", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.extension", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.extension", "peekOfCode": "def read_setup_file(filename):\n \"\"\"Reads a Setup file and returns Extension instances.\"\"\"\n from distutils.sysconfig import (parse_makefile, expand_makefile_vars,\n _variable_rx)\n from distutils.text_file import TextFile\n from distutils.util import split_quoted\n # First pass over the file to gather \"VAR = VALUE\" assignments.\n vars = parse_makefile(filename)\n # Second pass to gobble up the real content: lines of the form\n # <module> ... [<sourcefile> ...] [<cpparg> ...] [<library> ...]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.extension", "documentation": {} }, { "label": "FancyGetopt", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "peekOfCode": "class FancyGetopt:\n \"\"\"Wrapper around the standard 'getopt()' module that provides some\n handy extra functionality:\n * short and long options are tied together\n * options have help strings, and help text can be assembled\n from them\n * options set attributes of a passed-in object\n * boolean options can have \"negative aliases\" -- eg. if\n --quiet is the \"negative alias\" of --verbose, then \"--quiet\"\n on the command line sets 'verbose' to false", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "documentation": {} }, { "label": "OptionDummy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "peekOfCode": "class OptionDummy:\n \"\"\"Dummy class just used as a place to hold command-line option\n values as instance attributes.\"\"\"\n def __init__(self, options=[]):\n \"\"\"Create a new OptionDummy instance. The attributes listed in\n 'options' will be initialized to None.\"\"\"\n for opt in options:\n setattr(self, opt, None)\nif __name__ == \"__main__\":\n text = \"\"\"\\", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "documentation": {} }, { "label": "fancy_getopt", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "peekOfCode": "def fancy_getopt(options, negative_opt, object, args):\n parser = FancyGetopt(options)\n parser.set_negative_aliases(negative_opt)\n return parser.getopt(args, object)\nWS_TRANS = {ord(_wschar) : ' ' for _wschar in string.whitespace}\ndef wrap_text(text, width):\n \"\"\"wrap_text(text : string, width : int) -> [string]\n Split 'text' into multiple lines of no more than 'width' characters\n each, and return the list of strings that results.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "documentation": {} }, { "label": "wrap_text", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "peekOfCode": "def wrap_text(text, width):\n \"\"\"wrap_text(text : string, width : int) -> [string]\n Split 'text' into multiple lines of no more than 'width' characters\n each, and return the list of strings that results.\n \"\"\"\n if text is None:\n return []\n if len(text) <= width:\n return [text]\n text = text.expandtabs()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "documentation": {} }, { "label": "translate_longopt", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "peekOfCode": "def translate_longopt(opt):\n \"\"\"Convert a long option name to a valid Python identifier by\n changing \"-\" to \"_\".\n \"\"\"\n return opt.translate(longopt_xlate)\nclass OptionDummy:\n \"\"\"Dummy class just used as a place to hold command-line option\n values as instance attributes.\"\"\"\n def __init__(self, options=[]):\n \"\"\"Create a new OptionDummy instance. The attributes listed in", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "documentation": {} }, { "label": "longopt_pat", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "peekOfCode": "longopt_pat = r'[a-zA-Z](?:[a-zA-Z0-9-]*)'\nlongopt_re = re.compile(r'^%s$' % longopt_pat)\n# For recognizing \"negative alias\" options, eg. \"quiet=!verbose\"\nneg_alias_re = re.compile(\"^(%s)=!(%s)$\" % (longopt_pat, longopt_pat))\n# This is used to translate long options to legitimate Python identifiers\n# (for use as attributes of some object).\nlongopt_xlate = str.maketrans('-', '_')\nclass FancyGetopt:\n \"\"\"Wrapper around the standard 'getopt()' module that provides some\n handy extra functionality:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "documentation": {} }, { "label": "longopt_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "peekOfCode": "longopt_re = re.compile(r'^%s$' % longopt_pat)\n# For recognizing \"negative alias\" options, eg. \"quiet=!verbose\"\nneg_alias_re = re.compile(\"^(%s)=!(%s)$\" % (longopt_pat, longopt_pat))\n# This is used to translate long options to legitimate Python identifiers\n# (for use as attributes of some object).\nlongopt_xlate = str.maketrans('-', '_')\nclass FancyGetopt:\n \"\"\"Wrapper around the standard 'getopt()' module that provides some\n handy extra functionality:\n * short and long options are tied together", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "documentation": {} }, { "label": "neg_alias_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "peekOfCode": "neg_alias_re = re.compile(\"^(%s)=!(%s)$\" % (longopt_pat, longopt_pat))\n# This is used to translate long options to legitimate Python identifiers\n# (for use as attributes of some object).\nlongopt_xlate = str.maketrans('-', '_')\nclass FancyGetopt:\n \"\"\"Wrapper around the standard 'getopt()' module that provides some\n handy extra functionality:\n * short and long options are tied together\n * options have help strings, and help text can be assembled\n from them", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "documentation": {} }, { "label": "longopt_xlate", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "peekOfCode": "longopt_xlate = str.maketrans('-', '_')\nclass FancyGetopt:\n \"\"\"Wrapper around the standard 'getopt()' module that provides some\n handy extra functionality:\n * short and long options are tied together\n * options have help strings, and help text can be assembled\n from them\n * options set attributes of a passed-in object\n * boolean options can have \"negative aliases\" -- eg. if\n --quiet is the \"negative alias\" of --verbose, then \"--quiet\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "documentation": {} }, { "label": "WS_TRANS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "peekOfCode": "WS_TRANS = {ord(_wschar) : ' ' for _wschar in string.whitespace}\ndef wrap_text(text, width):\n \"\"\"wrap_text(text : string, width : int) -> [string]\n Split 'text' into multiple lines of no more than 'width' characters\n each, and return the list of strings that results.\n \"\"\"\n if text is None:\n return []\n if len(text) <= width:\n return [text]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.fancy_getopt", "documentation": {} }, { "label": "FileList", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.filelist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.filelist", "peekOfCode": "class FileList:\n \"\"\"A list of files built by on exploring the filesystem and filtered by\n applying various patterns to what we find there.\n Instance attributes:\n dir\n directory from which files will be taken -- only used if\n 'allfiles' not supplied to constructor\n files\n list of filenames currently being built/filtered/manipulated\n allfiles", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.filelist", "documentation": {} }, { "label": "findall", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.filelist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.filelist", "peekOfCode": "def findall(dir=os.curdir):\n \"\"\"\n Find all files under 'dir' and return the list of full filenames.\n Unless dir is '.', return full filenames with dir prepended.\n \"\"\"\n files = _find_all_simple(dir)\n if dir == os.curdir:\n make_rel = functools.partial(os.path.relpath, start=dir)\n files = map(make_rel, files)\n return list(files)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.filelist", "documentation": {} }, { "label": "glob_to_re", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.filelist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.filelist", "peekOfCode": "def glob_to_re(pattern):\n \"\"\"Translate a shell-like glob pattern to a regular expression; return\n a string containing the regex. Differs from 'fnmatch.translate()' in\n that '*' does not match \"special characters\" (which are\n platform-specific).\n \"\"\"\n pattern_re = fnmatch.translate(pattern)\n # '?' and '*' in the glob pattern become '.' and '.*' in the RE, which\n # IMHO is wrong -- '?' and '*' aren't supposed to match slash in Unix,\n # and by extension they shouldn't match such \"special characters\" under", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.filelist", "documentation": {} }, { "label": "translate_pattern", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.filelist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.filelist", "peekOfCode": "def translate_pattern(pattern, anchor=1, prefix=None, is_regex=0):\n \"\"\"Translate a shell-like wildcard pattern to a compiled regular\n expression. Return the compiled regex. If 'is_regex' true,\n then 'pattern' is directly compiled to a regex (if it's a string)\n or just returned as-is (assumes it's a regex object).\n \"\"\"\n if is_regex:\n if isinstance(pattern, str):\n return re.compile(pattern)\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.filelist", "documentation": {} }, { "label": "copy_file", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.file_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.file_util", "peekOfCode": "def copy_file(src, dst, preserve_mode=1, preserve_times=1, update=0,\n link=None, verbose=1, dry_run=0):\n \"\"\"Copy a file 'src' to 'dst'. If 'dst' is a directory, then 'src' is\n copied there with the same name; otherwise, it must be a filename. (If\n the file exists, it will be ruthlessly clobbered.) If 'preserve_mode'\n is true (the default), the file's mode (type and permission bits, or\n whatever is analogous on the current platform) is copied. If\n 'preserve_times' is true (the default), the last-modified and\n last-access times are copied as well. If 'update' is true, 'src' will\n only be copied if 'dst' does not exist, or if 'dst' does exist but is", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.file_util", "documentation": {} }, { "label": "move_fil", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.file_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.file_util", "peekOfCode": "def move_file (src, dst,\n verbose=1,\n dry_run=0):\n \"\"\"Move a file 'src' to 'dst'. If 'dst' is a directory, the file will\n be moved into it with the same name; otherwise, 'src' is just renamed\n to 'dst'. Return the new full name of the file.\n Handles cross-device moves on Unix using 'copy_file()'. What about\n other systems???\n \"\"\"\n from os.path import exists, isfile, isdir, basename, dirname", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.file_util", "documentation": {} }, { "label": "write_fil", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.file_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.file_util", "peekOfCode": "def write_file (filename, contents):\n \"\"\"Create a file with the specified name and write 'contents' (a\n sequence of strings without line terminators) to it.\n \"\"\"\n f = open(filename, \"w\")\n try:\n for line in contents:\n f.write(line + \"\\n\")\n finally:\n f.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.file_util", "documentation": {} }, { "label": "_copy_action", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.file_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.file_util", "peekOfCode": "_copy_action = { None: 'copying',\n 'hard': 'hard linking',\n 'sym': 'symbolically linking' }\ndef _copy_file_contents(src, dst, buffer_size=16*1024):\n \"\"\"Copy the file 'src' to 'dst'; both must be filenames. Any error\n opening either file, reading from 'src', or writing to 'dst', raises\n DistutilsFileError. Data is read/written in chunks of 'buffer_size'\n bytes (default 16k). No attempt is made to handle anything apart from\n regular files.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.file_util", "documentation": {} }, { "label": "Log", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "peekOfCode": "class Log:\n def __init__(self, threshold=WARN):\n self.threshold = threshold\n def _log(self, level, msg, args):\n if level not in (DEBUG, INFO, WARN, ERROR, FATAL):\n raise ValueError('%s wrong log level' % str(level))\n if level >= self.threshold:\n if args:\n msg = msg % args\n if level in (WARN, ERROR, FATAL):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "documentation": {} }, { "label": "set_threshold", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "peekOfCode": "def set_threshold(level):\n # return the old threshold for use from tests\n old = _global_log.threshold\n _global_log.threshold = level\n return old\ndef set_verbosity(v):\n if v <= 0:\n set_threshold(WARN)\n elif v == 1:\n set_threshold(INFO)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "documentation": {} }, { "label": "set_verbosity", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "peekOfCode": "def set_verbosity(v):\n if v <= 0:\n set_threshold(WARN)\n elif v == 1:\n set_threshold(INFO)\n elif v >= 2:\n set_threshold(DEBUG)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "documentation": {} }, { "label": "DEBUG", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "peekOfCode": "DEBUG = 1\nINFO = 2\nWARN = 3\nERROR = 4\nFATAL = 5\nimport sys\nclass Log:\n def __init__(self, threshold=WARN):\n self.threshold = threshold\n def _log(self, level, msg, args):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "documentation": {} }, { "label": "INFO", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "peekOfCode": "INFO = 2\nWARN = 3\nERROR = 4\nFATAL = 5\nimport sys\nclass Log:\n def __init__(self, threshold=WARN):\n self.threshold = threshold\n def _log(self, level, msg, args):\n if level not in (DEBUG, INFO, WARN, ERROR, FATAL):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "documentation": {} }, { "label": "WARN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "peekOfCode": "WARN = 3\nERROR = 4\nFATAL = 5\nimport sys\nclass Log:\n def __init__(self, threshold=WARN):\n self.threshold = threshold\n def _log(self, level, msg, args):\n if level not in (DEBUG, INFO, WARN, ERROR, FATAL):\n raise ValueError('%s wrong log level' % str(level))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "documentation": {} }, { "label": "ERROR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "peekOfCode": "ERROR = 4\nFATAL = 5\nimport sys\nclass Log:\n def __init__(self, threshold=WARN):\n self.threshold = threshold\n def _log(self, level, msg, args):\n if level not in (DEBUG, INFO, WARN, ERROR, FATAL):\n raise ValueError('%s wrong log level' % str(level))\n if level >= self.threshold:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "documentation": {} }, { "label": "FATAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "peekOfCode": "FATAL = 5\nimport sys\nclass Log:\n def __init__(self, threshold=WARN):\n self.threshold = threshold\n def _log(self, level, msg, args):\n if level not in (DEBUG, INFO, WARN, ERROR, FATAL):\n raise ValueError('%s wrong log level' % str(level))\n if level >= self.threshold:\n if args:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "documentation": {} }, { "label": "_global_log", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "peekOfCode": "_global_log = Log()\nlog = _global_log.log\ndebug = _global_log.debug\ninfo = _global_log.info\nwarn = _global_log.warn\nerror = _global_log.error\nfatal = _global_log.fatal\ndef set_threshold(level):\n # return the old threshold for use from tests\n old = _global_log.threshold", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "documentation": {} }, { "label": "log", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "peekOfCode": "log = _global_log.log\ndebug = _global_log.debug\ninfo = _global_log.info\nwarn = _global_log.warn\nerror = _global_log.error\nfatal = _global_log.fatal\ndef set_threshold(level):\n # return the old threshold for use from tests\n old = _global_log.threshold\n _global_log.threshold = level", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "documentation": {} }, { "label": "debug", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "peekOfCode": "debug = _global_log.debug\ninfo = _global_log.info\nwarn = _global_log.warn\nerror = _global_log.error\nfatal = _global_log.fatal\ndef set_threshold(level):\n # return the old threshold for use from tests\n old = _global_log.threshold\n _global_log.threshold = level\n return old", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "documentation": {} }, { "label": "info", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "peekOfCode": "info = _global_log.info\nwarn = _global_log.warn\nerror = _global_log.error\nfatal = _global_log.fatal\ndef set_threshold(level):\n # return the old threshold for use from tests\n old = _global_log.threshold\n _global_log.threshold = level\n return old\ndef set_verbosity(v):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "documentation": {} }, { "label": "warn", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "peekOfCode": "warn = _global_log.warn\nerror = _global_log.error\nfatal = _global_log.fatal\ndef set_threshold(level):\n # return the old threshold for use from tests\n old = _global_log.threshold\n _global_log.threshold = level\n return old\ndef set_verbosity(v):\n if v <= 0:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "documentation": {} }, { "label": "error", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "peekOfCode": "error = _global_log.error\nfatal = _global_log.fatal\ndef set_threshold(level):\n # return the old threshold for use from tests\n old = _global_log.threshold\n _global_log.threshold = level\n return old\ndef set_verbosity(v):\n if v <= 0:\n set_threshold(WARN)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "documentation": {} }, { "label": "fatal", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "peekOfCode": "fatal = _global_log.fatal\ndef set_threshold(level):\n # return the old threshold for use from tests\n old = _global_log.threshold\n _global_log.threshold = level\n return old\ndef set_verbosity(v):\n if v <= 0:\n set_threshold(WARN)\n elif v == 1:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.log", "documentation": {} }, { "label": "Reg", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "peekOfCode": "class Reg:\n \"\"\"Helper class to read values from the registry\n \"\"\"\n def get_value(cls, path, key):\n for base in HKEYS:\n d = cls.read_values(base, path)\n if d and key in d:\n return d[key]\n raise KeyError(key)\n get_value = classmethod(get_value)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "documentation": {} }, { "label": "MacroExpander", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "peekOfCode": "class MacroExpander:\n def __init__(self, version):\n self.macros = {}\n self.vsbase = VS_BASE % version\n self.load_macros(version)\n def set_macro(self, macro, path, key):\n self.macros[\"$(%s)\" % macro] = Reg.get_value(path, key)\n def load_macros(self, version):\n self.set_macro(\"VCInstallDir\", self.vsbase + r\"\\Setup\\VC\", \"productdir\")\n self.set_macro(\"VSInstallDir\", self.vsbase + r\"\\Setup\\VS\", \"productdir\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "documentation": {} }, { "label": "MSVCCompiler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "peekOfCode": "class MSVCCompiler(CCompiler) :\n \"\"\"Concrete class that implements an interface to Microsoft Visual C++,\n as defined by the CCompiler abstract class.\"\"\"\n compiler_type = 'msvc'\n # Just set this so CCompiler's constructor doesn't barf. We currently\n # don't use the 'set_executables()' bureaucracy provided by CCompiler,\n # as it really isn't necessary for this sort of single-compiler class.\n # Would be nice to have a consistent interface with UnixCCompiler,\n # though, so it's worth thinking about.\n executables = {}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "documentation": {} }, { "label": "get_build_version", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "peekOfCode": "def get_build_version():\n \"\"\"Return the version of MSVC that was used to build Python.\n For Python 2.3 and up, the version number is included in\n sys.version. For earlier versions, assume the compiler is MSVC 6.\n \"\"\"\n prefix = \"MSC v.\"\n i = sys.version.find(prefix)\n if i == -1:\n return 6\n i = i + len(prefix)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "documentation": {} }, { "label": "normalize_and_reduce_paths", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "peekOfCode": "def normalize_and_reduce_paths(paths):\n \"\"\"Return a list of normalized paths with duplicates removed.\n The current order of paths is maintained.\n \"\"\"\n # Paths are normalized so things like: /a and /a/ aren't both preserved.\n reduced_paths = []\n for p in paths:\n np = os.path.normpath(p)\n # XXX(nnorwitz): O(n**2), if reduced_paths gets long perhaps use a set.\n if np not in reduced_paths:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "documentation": {} }, { "label": "removeDuplicates", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "peekOfCode": "def removeDuplicates(variable):\n \"\"\"Remove duplicate values of an environment variable.\n \"\"\"\n oldList = variable.split(os.pathsep)\n newList = []\n for i in oldList:\n if i not in newList:\n newList.append(i)\n newVariable = os.pathsep.join(newList)\n return newVariable", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "documentation": {} }, { "label": "find_vcvarsall", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "peekOfCode": "def find_vcvarsall(version):\n \"\"\"Find the vcvarsall.bat file\n At first it tries to find the productdir of VS 2008 in the registry. If\n that fails it falls back to the VS90COMNTOOLS env var.\n \"\"\"\n vsbase = VS_BASE % version\n try:\n productdir = Reg.get_value(r\"%s\\Setup\\VC\" % vsbase,\n \"productdir\")\n except KeyError:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "documentation": {} }, { "label": "query_vcvarsall", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "peekOfCode": "def query_vcvarsall(version, arch=\"x86\"):\n \"\"\"Launch vcvarsall.bat and read the settings from its environment\n \"\"\"\n vcvarsall = find_vcvarsall(version)\n interesting = {\"include\", \"lib\", \"libpath\", \"path\"}\n result = {}\n if vcvarsall is None:\n raise DistutilsPlatformError(\"Unable to find vcvarsall.bat\")\n log.debug(\"Calling 'vcvarsall.bat %s' (version=%s)\", arch, version)\n popen = subprocess.Popen('\"%s\" %s & set' % (vcvarsall, arch),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "documentation": {} }, { "label": "RegOpenKeyEx", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "peekOfCode": "RegOpenKeyEx = winreg.OpenKeyEx\nRegEnumKey = winreg.EnumKey\nRegEnumValue = winreg.EnumValue\nRegError = winreg.error\nHKEYS = (winreg.HKEY_USERS,\n winreg.HKEY_CURRENT_USER,\n winreg.HKEY_LOCAL_MACHINE,\n winreg.HKEY_CLASSES_ROOT)\nNATIVE_WIN64 = (sys.platform == 'win32' and sys.maxsize > 2**32)\nif NATIVE_WIN64:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "documentation": {} }, { "label": "RegEnumKey", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "peekOfCode": "RegEnumKey = winreg.EnumKey\nRegEnumValue = winreg.EnumValue\nRegError = winreg.error\nHKEYS = (winreg.HKEY_USERS,\n winreg.HKEY_CURRENT_USER,\n winreg.HKEY_LOCAL_MACHINE,\n winreg.HKEY_CLASSES_ROOT)\nNATIVE_WIN64 = (sys.platform == 'win32' and sys.maxsize > 2**32)\nif NATIVE_WIN64:\n # Visual C++ is a 32-bit application, so we need to look in", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "documentation": {} }, { "label": "RegEnumValue", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "peekOfCode": "RegEnumValue = winreg.EnumValue\nRegError = winreg.error\nHKEYS = (winreg.HKEY_USERS,\n winreg.HKEY_CURRENT_USER,\n winreg.HKEY_LOCAL_MACHINE,\n winreg.HKEY_CLASSES_ROOT)\nNATIVE_WIN64 = (sys.platform == 'win32' and sys.maxsize > 2**32)\nif NATIVE_WIN64:\n # Visual C++ is a 32-bit application, so we need to look in\n # the corresponding registry branch, if we're running a", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "documentation": {} }, { "label": "RegError", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "peekOfCode": "RegError = winreg.error\nHKEYS = (winreg.HKEY_USERS,\n winreg.HKEY_CURRENT_USER,\n winreg.HKEY_LOCAL_MACHINE,\n winreg.HKEY_CLASSES_ROOT)\nNATIVE_WIN64 = (sys.platform == 'win32' and sys.maxsize > 2**32)\nif NATIVE_WIN64:\n # Visual C++ is a 32-bit application, so we need to look in\n # the corresponding registry branch, if we're running a\n # 64-bit Python on Win64", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "documentation": {} }, { "label": "HKEYS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "peekOfCode": "HKEYS = (winreg.HKEY_USERS,\n winreg.HKEY_CURRENT_USER,\n winreg.HKEY_LOCAL_MACHINE,\n winreg.HKEY_CLASSES_ROOT)\nNATIVE_WIN64 = (sys.platform == 'win32' and sys.maxsize > 2**32)\nif NATIVE_WIN64:\n # Visual C++ is a 32-bit application, so we need to look in\n # the corresponding registry branch, if we're running a\n # 64-bit Python on Win64\n VS_BASE = r\"Software\\Wow6432Node\\Microsoft\\VisualStudio\\%0.1f\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "documentation": {} }, { "label": "NATIVE_WIN64", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "peekOfCode": "NATIVE_WIN64 = (sys.platform == 'win32' and sys.maxsize > 2**32)\nif NATIVE_WIN64:\n # Visual C++ is a 32-bit application, so we need to look in\n # the corresponding registry branch, if we're running a\n # 64-bit Python on Win64\n VS_BASE = r\"Software\\Wow6432Node\\Microsoft\\VisualStudio\\%0.1f\"\n WINSDK_BASE = r\"Software\\Wow6432Node\\Microsoft\\Microsoft SDKs\\Windows\"\n NET_BASE = r\"Software\\Wow6432Node\\Microsoft\\.NETFramework\"\nelse:\n VS_BASE = r\"Software\\Microsoft\\VisualStudio\\%0.1f\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "documentation": {} }, { "label": "PLAT_TO_VCVARS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "peekOfCode": "PLAT_TO_VCVARS = {\n 'win32' : 'x86',\n 'win-amd64' : 'amd64',\n}\nclass Reg:\n \"\"\"Helper class to read values from the registry\n \"\"\"\n def get_value(cls, path, key):\n for base in HKEYS:\n d = cls.read_values(base, path)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "documentation": {} }, { "label": "VERSION", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "peekOfCode": "VERSION = get_build_version()\nif VERSION < 8.0:\n raise DistutilsPlatformError(\"VC %0.1f is not supported by this module\" % VERSION)\n# MACROS = MacroExpander(VERSION)\nclass MSVCCompiler(CCompiler) :\n \"\"\"Concrete class that implements an interface to Microsoft Visual C++,\n as defined by the CCompiler abstract class.\"\"\"\n compiler_type = 'msvc'\n # Just set this so CCompiler's constructor doesn't barf. We currently\n # don't use the 'set_executables()' bureaucracy provided by CCompiler,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvc9compiler", "documentation": {} }, { "label": "MacroExpander", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "peekOfCode": "class MacroExpander:\n def __init__(self, version):\n self.macros = {}\n self.load_macros(version)\n def set_macro(self, macro, path, key):\n for base in HKEYS:\n d = read_values(base, path)\n if d:\n self.macros[\"$(%s)\" % macro] = d[key]\n break", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "documentation": {} }, { "label": "MSVCCompiler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "peekOfCode": "class MSVCCompiler(CCompiler) :\n \"\"\"Concrete class that implements an interface to Microsoft Visual C++,\n as defined by the CCompiler abstract class.\"\"\"\n compiler_type = 'msvc'\n # Just set this so CCompiler's constructor doesn't barf. We currently\n # don't use the 'set_executables()' bureaucracy provided by CCompiler,\n # as it really isn't necessary for this sort of single-compiler class.\n # Would be nice to have a consistent interface with UnixCCompiler,\n # though, so it's worth thinking about.\n executables = {}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "documentation": {} }, { "label": "read_keys", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "peekOfCode": "def read_keys(base, key):\n \"\"\"Return list of registry keys.\"\"\"\n try:\n handle = RegOpenKeyEx(base, key)\n except RegError:\n return None\n L = []\n i = 0\n while True:\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "documentation": {} }, { "label": "read_values", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "peekOfCode": "def read_values(base, key):\n \"\"\"Return dict of registry keys and values.\n All names are converted to lowercase.\n \"\"\"\n try:\n handle = RegOpenKeyEx(base, key)\n except RegError:\n return None\n d = {}\n i = 0", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "documentation": {} }, { "label": "convert_mbcs", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "peekOfCode": "def convert_mbcs(s):\n dec = getattr(s, \"decode\", None)\n if dec is not None:\n try:\n s = dec(\"mbcs\")\n except UnicodeError:\n pass\n return s\nclass MacroExpander:\n def __init__(self, version):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "documentation": {} }, { "label": "get_build_version", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "peekOfCode": "def get_build_version():\n \"\"\"Return the version of MSVC that was used to build Python.\n For Python 2.3 and up, the version number is included in\n sys.version. For earlier versions, assume the compiler is MSVC 6.\n \"\"\"\n prefix = \"MSC v.\"\n i = sys.version.find(prefix)\n if i == -1:\n return 6\n i = i + len(prefix)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "documentation": {} }, { "label": "get_build_architecture", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "peekOfCode": "def get_build_architecture():\n \"\"\"Return the processor architecture.\n Possible results are \"Intel\" or \"AMD64\".\n \"\"\"\n prefix = \" bit (\"\n i = sys.version.find(prefix)\n if i == -1:\n return \"Intel\"\n j = sys.version.find(\")\", i)\n return sys.version[i+len(prefix):j]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "documentation": {} }, { "label": "normalize_and_reduce_paths", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "peekOfCode": "def normalize_and_reduce_paths(paths):\n \"\"\"Return a list of normalized paths with duplicates removed.\n The current order of paths is maintained.\n \"\"\"\n # Paths are normalized so things like: /a and /a/ aren't both preserved.\n reduced_paths = []\n for p in paths:\n np = os.path.normpath(p)\n # XXX(nnorwitz): O(n**2), if reduced_paths gets long perhaps use a set.\n if np not in reduced_paths:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "documentation": {} }, { "label": "_can_read_reg", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "peekOfCode": "_can_read_reg = False\ntry:\n import winreg\n _can_read_reg = True\n hkey_mod = winreg\n RegOpenKeyEx = winreg.OpenKeyEx\n RegEnumKey = winreg.EnumKey\n RegEnumValue = winreg.EnumValue\n RegError = winreg.error\nexcept ImportError:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.msvccompiler", "documentation": {} }, { "label": "spawn", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.spawn", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.spawn", "peekOfCode": "def spawn(cmd, search_path=1, verbose=0, dry_run=0):\n \"\"\"Run another program, specified as a command list 'cmd', in a new process.\n 'cmd' is just the argument list for the new process, ie.\n cmd[0] is the program to run and cmd[1:] are the rest of its arguments.\n There is no way to run a program with a name different from that of its\n executable.\n If 'search_path' is true (the default), the system's executable\n search path will be used to find the program; otherwise, cmd[0]\n must be the exact path to the executable. If 'dry_run' is true,\n the command will not actually be run.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.spawn", "documentation": {} }, { "label": "find_executable", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.spawn", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.spawn", "peekOfCode": "def find_executable(executable, path=None):\n \"\"\"Tries to find 'executable' in the directories listed in 'path'.\n A string listing directories separated by 'os.pathsep'; defaults to\n os.environ['PATH']. Returns the complete filename or None if not found.\n \"\"\"\n _, ext = os.path.splitext(executable)\n if (sys.platform == 'win32') and (ext != '.exe'):\n executable = executable + '.exe'\n if os.path.isfile(executable):\n return executable", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.spawn", "documentation": {} }, { "label": "parse_config_h", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "peekOfCode": "def parse_config_h(fp, g=None):\n return sysconfig_parse_config_h(fp, vars=g)\n_python_build = partial(is_python_build, check_home=True)\n_init_posix = partial(sysconfig_init_posix, _config_vars)\n_init_nt = partial(_init_non_posix, _config_vars)\n# Similar function is also implemented in sysconfig as _parse_makefile\n# but without the parsing capabilities of distutils.text_file.TextFile.\ndef parse_makefile(fn, g=None):\n \"\"\"Parse a Makefile-style file.\n A dictionary containing name/value pairs is returned. If an", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "documentation": {} }, { "label": "parse_makefile", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "peekOfCode": "def parse_makefile(fn, g=None):\n \"\"\"Parse a Makefile-style file.\n A dictionary containing name/value pairs is returned. If an\n optional dictionary is passed in as the second argument, it is\n used instead of a new dictionary.\n \"\"\"\n from distutils.text_file import TextFile\n fp = TextFile(fn, strip_comments=1, skip_blanks=1, join_lines=1, errors=\"surrogateescape\")\n if g is None:\n g = {}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "documentation": {} }, { "label": "customize_compiler", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "peekOfCode": "def customize_compiler(compiler):\n \"\"\"Do any platform-specific customization of a CCompiler instance.\n Mainly needed on Unix, so we can plug in the information that\n varies across Unices and is stored in Python's Makefile.\n \"\"\"\n if compiler.compiler_type == \"unix\":\n if sys.platform == \"darwin\":\n # Perform first-time customization of compiler-related\n # config vars on OS X now that we know we need a compiler.\n # This is primarily to support Pythons from binary", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "documentation": {} }, { "label": "get_python_inc", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "peekOfCode": "def get_python_inc(plat_specific=0, prefix=None):\n \"\"\"Return the directory containing installed Python header files.\n If 'plat_specific' is false (the default), this is the path to the\n non-platform-specific header files, i.e. Python.h and so on;\n otherwise, this is the path to platform-specific header files\n (namely pyconfig.h).\n If 'prefix' is supplied, use it instead of sys.base_prefix or\n sys.base_exec_prefix -- i.e., ignore 'plat_specific'.\n \"\"\"\n if prefix is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "documentation": {} }, { "label": "get_python_lib", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "peekOfCode": "def get_python_lib(plat_specific=0, standard_lib=0, prefix=None):\n \"\"\"Return the directory containing the Python library (standard or\n site additions).\n If 'plat_specific' is true, return the directory containing\n platform-specific modules, i.e. any module from a non-pure-Python\n module distribution; otherwise, return the platform-shared library\n directory. If 'standard_lib' is true, return the directory\n containing standard Python library modules; otherwise, return the\n directory for site-specific modules.\n If 'prefix' is supplied, use it instead of sys.base_prefix or", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "documentation": {} }, { "label": "_config_vars", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "peekOfCode": "_config_vars = get_config_vars()\nif os.name == \"nt\":\n from sysconfig import _fix_pcbuild\nwarnings.warn(\n 'The distutils.sysconfig module is deprecated, use sysconfig instead',\n DeprecationWarning,\n stacklevel=2\n)\n# Following functions are the same as in sysconfig but with different API\ndef parse_config_h(fp, g=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "documentation": {} }, { "label": "_python_build", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "peekOfCode": "_python_build = partial(is_python_build, check_home=True)\n_init_posix = partial(sysconfig_init_posix, _config_vars)\n_init_nt = partial(_init_non_posix, _config_vars)\n# Similar function is also implemented in sysconfig as _parse_makefile\n# but without the parsing capabilities of distutils.text_file.TextFile.\ndef parse_makefile(fn, g=None):\n \"\"\"Parse a Makefile-style file.\n A dictionary containing name/value pairs is returned. If an\n optional dictionary is passed in as the second argument, it is\n used instead of a new dictionary.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "documentation": {} }, { "label": "_init_posix", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "peekOfCode": "_init_posix = partial(sysconfig_init_posix, _config_vars)\n_init_nt = partial(_init_non_posix, _config_vars)\n# Similar function is also implemented in sysconfig as _parse_makefile\n# but without the parsing capabilities of distutils.text_file.TextFile.\ndef parse_makefile(fn, g=None):\n \"\"\"Parse a Makefile-style file.\n A dictionary containing name/value pairs is returned. If an\n optional dictionary is passed in as the second argument, it is\n used instead of a new dictionary.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "documentation": {} }, { "label": "_init_nt", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "peekOfCode": "_init_nt = partial(_init_non_posix, _config_vars)\n# Similar function is also implemented in sysconfig as _parse_makefile\n# but without the parsing capabilities of distutils.text_file.TextFile.\ndef parse_makefile(fn, g=None):\n \"\"\"Parse a Makefile-style file.\n A dictionary containing name/value pairs is returned. If an\n optional dictionary is passed in as the second argument, it is\n used instead of a new dictionary.\n \"\"\"\n from distutils.text_file import TextFile", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "documentation": {} }, { "label": "build_flags", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "peekOfCode": "build_flags = ''\ntry:\n if not python_build:\n build_flags = sys.abiflags\nexcept AttributeError:\n # It's not a configure-based build, so the sys module doesn't have\n # this attribute, which is fine.\n pass\ndef customize_compiler(compiler):\n \"\"\"Do any platform-specific customization of a CCompiler instance.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.sysconfig", "documentation": {} }, { "label": "TextFile", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.text_file", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.text_file", "peekOfCode": "class TextFile:\n \"\"\"Provides a file-like object that takes care of all the things you\n commonly want to do when processing a text file that has some\n line-by-line syntax: strip comments (as long as \"#\" is your\n comment character), skip blank lines, join adjacent lines by\n escaping the newline (ie. backslash at end of line), strip\n leading and/or trailing whitespace. All of these are optional\n and independently controllable.\n Provides a 'warn()' method so you can generate warning messages that\n report physical line number, even if the logical line in question", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.text_file", "documentation": {} }, { "label": "UnixCCompiler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.unixccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.unixccompiler", "peekOfCode": "class UnixCCompiler(CCompiler):\n compiler_type = 'unix'\n # These are used by CCompiler in two places: the constructor sets\n # instance attributes 'preprocessor', 'compiler', etc. from them, and\n # 'set_executable()' allows any of these to be set. The defaults here\n # are pretty generic; they will probably have to be set by an outsider\n # (eg. using information discovered by the sysconfig about building\n # Python extensions).\n executables = {'preprocessor' : None,\n 'compiler' : [\"cc\"],", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.unixccompiler", "documentation": {} }, { "label": "Mixin2to3", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "peekOfCode": "class Mixin2to3:\n '''Mixin class for commands that run 2to3.\n To configure 2to3, setup scripts may either change\n the class variables, or inherit from individual commands\n to override how 2to3 is invoked.'''\n # provide list of fixers to run;\n # defaults to all from lib2to3.fixers\n fixer_names = None\n # options dictionary\n options = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "documentation": {} }, { "label": "get_host_platform", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "peekOfCode": "def get_host_platform():\n \"\"\"Return a string that identifies the current platform. This is used mainly to\n distinguish platform-specific build directories and platform-specific built\n distributions. Typically includes the OS name and version and the\n architecture (as supplied by 'os.uname()'), although the exact information\n included depends on the OS; eg. on Linux, the kernel version isn't\n particularly important.\n Examples of returned values:\n linux-i586\n linux-alpha (?)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "documentation": {} }, { "label": "get_platform", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "peekOfCode": "def get_platform():\n if os.name == 'nt':\n TARGET_TO_PLAT = {\n 'x86' : 'win32',\n 'x64' : 'win-amd64',\n 'arm' : 'win-arm32',\n }\n return TARGET_TO_PLAT.get(os.environ.get('VSCMD_ARG_TGT_ARCH')) or get_host_platform()\n else:\n return get_host_platform()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "documentation": {} }, { "label": "convert_pat", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "peekOfCode": "def convert_path (pathname):\n \"\"\"Return 'pathname' as a name that will work on the native filesystem,\n i.e. split it on '/' and put it back together again using the current\n directory separator. Needed because filenames in the setup script are\n always supplied in Unix style, and have to be converted to the local\n convention before we can actually use them in the filesystem. Raises\n ValueError on non-Unix-ish systems if 'pathname' either starts or\n ends with a slash.\n \"\"\"\n if os.sep == '/':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "documentation": {} }, { "label": "change_roo", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "peekOfCode": "def change_root (new_root, pathname):\n \"\"\"Return 'pathname' with 'new_root' prepended. If 'pathname' is\n relative, this is equivalent to \"os.path.join(new_root,pathname)\".\n Otherwise, it requires making 'pathname' relative and then joining the\n two, which is tricky on DOS/Windows and Mac OS.\n \"\"\"\n if os.name == 'posix':\n if not os.path.isabs(pathname):\n return os.path.join(new_root, pathname)\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "documentation": {} }, { "label": "check_enviro", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "peekOfCode": "def check_environ ():\n \"\"\"Ensure that 'os.environ' has all the environment variables we\n guarantee that users can use in config files, command-line options,\n etc. Currently this includes:\n HOME - user's home directory (Unix only)\n PLAT - description of the current platform, including hardware\n and OS (see 'get_platform()')\n \"\"\"\n global _environ_checked\n if _environ_checked:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "documentation": {} }, { "label": "subst_var", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "peekOfCode": "def subst_vars (s, local_vars):\n \"\"\"Perform shell/Perl-style variable substitution on 'string'. Every\n occurrence of '$' followed by a name is considered a variable, and\n variable is substituted by the value found in the 'local_vars'\n dictionary, or in 'os.environ' if it's not in 'local_vars'.\n 'os.environ' is first checked/augmented to guarantee that it contains\n certain values: see 'check_environ()'. Raise ValueError for any\n variables not found in either 'local_vars' or 'os.environ'.\n \"\"\"\n check_environ()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "documentation": {} }, { "label": "grok_environment_erro", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "peekOfCode": "def grok_environment_error (exc, prefix=\"error: \"):\n # Function kept for backward compatibility.\n # Used to try clever things with EnvironmentErrors,\n # but nowadays str(exception) produces good messages.\n return prefix + str(exc)\n# Needed by 'split_quoted()'\n_wordchars_re = _squote_re = _dquote_re = None\ndef _init_regex():\n global _wordchars_re, _squote_re, _dquote_re\n _wordchars_re = re.compile(r'[^\\\\\\'\\\"%s ]*' % string.whitespace)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "documentation": {} }, { "label": "split_quote", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "peekOfCode": "def split_quoted (s):\n \"\"\"Split a string up according to Unix shell-like rules for quotes and\n backslashes. In short: words are delimited by spaces, as long as those\n spaces are not escaped by a backslash, or inside a quoted string.\n Single and double quotes are equivalent, and the quote characters can\n be backslash-escaped. The backslash is stripped from any two-character\n escape sequence, leaving only the escaped character. The quote\n characters are stripped from any quoted string. Returns a list of\n words.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "documentation": {} }, { "label": "execut", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "peekOfCode": "def execute (func, args, msg=None, verbose=0, dry_run=0):\n \"\"\"Perform some action that affects the outside world (eg. by\n writing to the filesystem). Such actions are special because they\n are disabled by the 'dry_run' flag. This method takes care of all\n that bureaucracy for you; all you have to do is supply the\n function to call and an argument tuple for it (to embody the\n \"external action\" being performed), and an optional message to\n print.\n \"\"\"\n if msg is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "documentation": {} }, { "label": "strtoboo", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "peekOfCode": "def strtobool (val):\n \"\"\"Convert a string representation of truth to true (1) or false (0).\n True values are 'y', 'yes', 't', 'true', 'on', and '1'; false values\n are 'n', 'no', 'f', 'false', 'off', and '0'. Raises ValueError if\n 'val' is anything else.\n \"\"\"\n val = val.lower()\n if val in ('y', 'yes', 't', 'true', 'on', '1'):\n return 1\n elif val in ('n', 'no', 'f', 'false', 'off', '0'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "documentation": {} }, { "label": "byte_compil", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "peekOfCode": "def byte_compile (py_files,\n optimize=0, force=0,\n prefix=None, base_dir=None,\n verbose=1, dry_run=0,\n direct=None):\n \"\"\"Byte-compile a collection of Python source files to .pyc\n files in a __pycache__ subdirectory. 'py_files' is a list\n of files to compile; any files that don't end in \".py\" are silently\n skipped. 'optimize' must be one of the following:\n 0 - don't optimize", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "documentation": {} }, { "label": "rfc822_escap", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "peekOfCode": "def rfc822_escape (header):\n \"\"\"Return a version of the string escaped for inclusion in an\n RFC-822 header, by ensuring there are 8 spaces space after each newline.\n \"\"\"\n lines = header.split('\\n')\n sep = '\\n' + 8 * ' '\n return sep.join(lines)\n# 2to3 support\ndef run_2to3(files, fixer_names=None, options=None, explicit=None):\n \"\"\"Invoke 2to3 on a list of Python files.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "documentation": {} }, { "label": "run_2to3", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "peekOfCode": "def run_2to3(files, fixer_names=None, options=None, explicit=None):\n \"\"\"Invoke 2to3 on a list of Python files.\n The files should all come from the build area, as the\n modification is done in-place. To reduce the build time,\n only files modified since the last invocation of this\n function should be passed in the files argument.\"\"\"\n if not files:\n return\n # Make this class local, to delay import of 2to3\n from lib2to3.refactor import RefactoringTool, get_fixers_from_package", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "documentation": {} }, { "label": "copydir_run_2to3", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "peekOfCode": "def copydir_run_2to3(src, dest, template=None, fixer_names=None,\n options=None, explicit=None):\n \"\"\"Recursively copy a directory, only copying new and changed files,\n running run_2to3 over all newly copied Python modules afterward.\n If you give a template string, it's parsed like a MANIFEST.in.\n \"\"\"\n from distutils.dir_util import mkpath\n from distutils.file_util import copy_file\n from distutils.filelist import FileList\n filelist = FileList()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "documentation": {} }, { "label": "_environ_checked", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "peekOfCode": "_environ_checked = 0\ndef check_environ ():\n \"\"\"Ensure that 'os.environ' has all the environment variables we\n guarantee that users can use in config files, command-line options,\n etc. Currently this includes:\n HOME - user's home directory (Unix only)\n PLAT - description of the current platform, including hardware\n and OS (see 'get_platform()')\n \"\"\"\n global _environ_checked", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "documentation": {} }, { "label": "_wordchars_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "peekOfCode": "_wordchars_re = _squote_re = _dquote_re = None\ndef _init_regex():\n global _wordchars_re, _squote_re, _dquote_re\n _wordchars_re = re.compile(r'[^\\\\\\'\\\"%s ]*' % string.whitespace)\n _squote_re = re.compile(r\"'(?:[^'\\\\]|\\\\.)*'\")\n _dquote_re = re.compile(r'\"(?:[^\"\\\\]|\\\\.)*\"')\ndef split_quoted (s):\n \"\"\"Split a string up according to Unix shell-like rules for quotes and\n backslashes. In short: words are delimited by spaces, as long as those\n spaces are not escaped by a backslash, or inside a quoted string.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "documentation": {} }, { "label": "files", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "peekOfCode": "files = [\n\"\"\")\n # XXX would be nice to write absolute filenames, just for\n # safety's sake (script should be more robust in the face of\n # chdir'ing before running it). But this requires abspath'ing\n # 'prefix' as well, and that breaks the hack in build_lib's\n # 'byte_compile()' method that carefully tacks on a trailing\n # slash (os.sep really) to make sure the prefix here is \"just\n # right\". This whole prefix business is rather delicate -- the\n # problem is that it's really a directory, but I'm treating it", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.util", "documentation": {} }, { "label": "Version", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.version", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.version", "peekOfCode": "class Version:\n \"\"\"Abstract base class for version numbering classes. Just provides\n constructor (__init__) and reproducer (__repr__), because those\n seem to be the same for all version numbering classes; and route\n rich comparisons to _cmp.\n \"\"\"\n def __init__ (self, vstring=None):\n if vstring:\n self.parse(vstring)\n def __repr__ (self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.version", "documentation": {} }, { "label": "StrictVersio", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.version", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.version", "peekOfCode": "class StrictVersion (Version):\n \"\"\"Version numbering for anal retentives and software idealists.\n Implements the standard interface for version number classes as\n described above. A version number consists of two or three\n dot-separated numeric components, with an optional \"pre-release\" tag\n on the end. The pre-release tag consists of the letter 'a' or 'b'\n followed by a number. If the numeric components of two version\n numbers are equal, then one with a pre-release tag will always\n be deemed earlier (lesser) than one without.\n The following are valid version numbers (shown in the order that", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.version", "documentation": {} }, { "label": "LooseVersio", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.version", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.version", "peekOfCode": "class LooseVersion (Version):\n \"\"\"Version numbering for anarchists and software realists.\n Implements the standard interface for version number classes as\n described above. A version number consists of a series of numbers,\n separated by either periods or strings of letters. When comparing\n version numbers, the numeric components will be compared\n numerically, and the alphabetic components lexically. The following\n are all valid version numbers, in no particular order:\n 1.5.1\n 1.5.2b2", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.version", "documentation": {} }, { "label": "VersionPredicate", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "peekOfCode": "class VersionPredicate:\n \"\"\"Parse and test package version predicates.\n >>> v = VersionPredicate('pyepat.abc (>1.0, <3333.3a1, !=1555.1b3)')\n The `name` attribute provides the full dotted name that is given::\n >>> v.name\n 'pyepat.abc'\n The str() of a `VersionPredicate` provides a normalized\n human-readable version of the expression::\n >>> print(v)\n pyepat.abc (> 1.0, < 3333.3a1, != 1555.1b3)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "documentation": {} }, { "label": "splitUp", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "peekOfCode": "def splitUp(pred):\n \"\"\"Parse a single version comparison.\n Return (comparison string, StrictVersion)\n \"\"\"\n res = re_splitComparison.match(pred)\n if not res:\n raise ValueError(\"bad package restriction syntax: %r\" % pred)\n comp, verStr = res.groups()\n return (comp, distutils.version.StrictVersion(verStr))\ncompmap = {\"<\": operator.lt, \"<=\": operator.le, \"==\": operator.eq,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "documentation": {} }, { "label": "split_provision", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "peekOfCode": "def split_provision(value):\n \"\"\"Return the name and optional version number of a provision.\n The version number, if given, will be returned as a `StrictVersion`\n instance, otherwise it will be `None`.\n >>> split_provision('mypkg')\n ('mypkg', None)\n >>> split_provision(' mypkg( 1.2 ) ')\n ('mypkg', StrictVersion ('1.2'))\n \"\"\"\n global _provision_rx", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "documentation": {} }, { "label": "re_validPackage", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "peekOfCode": "re_validPackage = re.compile(r\"(?i)^\\s*([a-z_]\\w*(?:\\.[a-z_]\\w*)*)(.*)\",\n re.ASCII)\n# (package) (rest)\nre_paren = re.compile(r\"^\\s*\\((.*)\\)\\s*$\") # (list) inside of parentheses\nre_splitComparison = re.compile(r\"^\\s*(<=|>=|<|>|!=|==)\\s*([^\\s,]+)\\s*$\")\n# (comp) (version)\ndef splitUp(pred):\n \"\"\"Parse a single version comparison.\n Return (comparison string, StrictVersion)\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "documentation": {} }, { "label": "re_paren", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "peekOfCode": "re_paren = re.compile(r\"^\\s*\\((.*)\\)\\s*$\") # (list) inside of parentheses\nre_splitComparison = re.compile(r\"^\\s*(<=|>=|<|>|!=|==)\\s*([^\\s,]+)\\s*$\")\n# (comp) (version)\ndef splitUp(pred):\n \"\"\"Parse a single version comparison.\n Return (comparison string, StrictVersion)\n \"\"\"\n res = re_splitComparison.match(pred)\n if not res:\n raise ValueError(\"bad package restriction syntax: %r\" % pred)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "documentation": {} }, { "label": "re_splitComparison", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "peekOfCode": "re_splitComparison = re.compile(r\"^\\s*(<=|>=|<|>|!=|==)\\s*([^\\s,]+)\\s*$\")\n# (comp) (version)\ndef splitUp(pred):\n \"\"\"Parse a single version comparison.\n Return (comparison string, StrictVersion)\n \"\"\"\n res = re_splitComparison.match(pred)\n if not res:\n raise ValueError(\"bad package restriction syntax: %r\" % pred)\n comp, verStr = res.groups()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "documentation": {} }, { "label": "compmap", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "peekOfCode": "compmap = {\"<\": operator.lt, \"<=\": operator.le, \"==\": operator.eq,\n \">\": operator.gt, \">=\": operator.ge, \"!=\": operator.ne}\nclass VersionPredicate:\n \"\"\"Parse and test package version predicates.\n >>> v = VersionPredicate('pyepat.abc (>1.0, <3333.3a1, !=1555.1b3)')\n The `name` attribute provides the full dotted name that is given::\n >>> v.name\n 'pyepat.abc'\n The str() of a `VersionPredicate` provides a normalized\n human-readable version of the expression::", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "documentation": {} }, { "label": "_provision_rx", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "peekOfCode": "_provision_rx = None\ndef split_provision(value):\n \"\"\"Return the name and optional version number of a provision.\n The version number, if given, will be returned as a `StrictVersion`\n instance, otherwise it will be `None`.\n >>> split_provision('mypkg')\n ('mypkg', None)\n >>> split_provision(' mypkg( 1.2 ) ')\n ('mypkg', StrictVersion ('1.2'))\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils.versionpredicate", "documentation": {} }, { "label": "MSVCCompiler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils._msvccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils._msvccompiler", "peekOfCode": "class MSVCCompiler(CCompiler) :\n \"\"\"Concrete class that implements an interface to Microsoft Visual C++,\n as defined by the CCompiler abstract class.\"\"\"\n compiler_type = 'msvc'\n # Just set this so CCompiler's constructor doesn't barf. We currently\n # don't use the 'set_executables()' bureaucracy provided by CCompiler,\n # as it really isn't necessary for this sort of single-compiler class.\n # Would be nice to have a consistent interface with UnixCCompiler,\n # though, so it's worth thinking about.\n executables = {}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils._msvccompiler", "documentation": {} }, { "label": "PLAT_SPEC_TO_RUNTIME", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils._msvccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils._msvccompiler", "peekOfCode": "PLAT_SPEC_TO_RUNTIME = {\n 'x86' : 'x86',\n 'x86_amd64' : 'x64',\n 'x86_arm' : 'arm',\n 'x86_arm64' : 'arm64'\n}\ndef _find_vcvarsall(plat_spec):\n # bpo-38597: Removed vcruntime return value\n _, best_dir = _find_vc2017()\n if not best_dir:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils._msvccompiler", "documentation": {} }, { "label": "PLAT_TO_VCVARS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils._msvccompiler", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils._msvccompiler", "peekOfCode": "PLAT_TO_VCVARS = {\n 'win32' : 'x86',\n 'win-amd64' : 'x86_amd64',\n 'win-arm32' : 'x86_arm',\n 'win-arm64' : 'x86_arm64'\n}\nclass MSVCCompiler(CCompiler) :\n \"\"\"Concrete class that implements an interface to Microsoft Visual C++,\n as defined by the CCompiler abstract class.\"\"\"\n compiler_type = 'msvc'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.distutils._msvccompiler", "documentation": {} }, { "label": "MIMEApplication", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.application", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.application", "peekOfCode": "class MIMEApplication(MIMENonMultipart):\n \"\"\"Class for generating application/* MIME documents.\"\"\"\n def __init__(self, _data, _subtype='octet-stream',\n _encoder=encoders.encode_base64, *, policy=None, **_params):\n \"\"\"Create an application/* type MIME document.\n _data is a string containing the raw application data.\n _subtype is the MIME content type subtype, defaulting to\n 'octet-stream'.\n _encoder is a function which will perform the actual encoding for\n transport of the application data, defaulting to base64 encoding.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.application", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.application", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.application", "peekOfCode": "__all__ = [\"MIMEApplication\"]\nfrom email import encoders\nfrom email.mime.nonmultipart import MIMENonMultipart\nclass MIMEApplication(MIMENonMultipart):\n \"\"\"Class for generating application/* MIME documents.\"\"\"\n def __init__(self, _data, _subtype='octet-stream',\n _encoder=encoders.encode_base64, *, policy=None, **_params):\n \"\"\"Create an application/* type MIME document.\n _data is a string containing the raw application data.\n _subtype is the MIME content type subtype, defaulting to", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.application", "documentation": {} }, { "label": "MIMEAudio", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.audio", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.audio", "peekOfCode": "class MIMEAudio(MIMENonMultipart):\n \"\"\"Class for generating audio/* MIME documents.\"\"\"\n def __init__(self, _audiodata, _subtype=None,\n _encoder=encoders.encode_base64, *, policy=None, **_params):\n \"\"\"Create an audio/* type MIME document.\n _audiodata is a string containing the raw audio data. If this data\n can be decoded by the standard Python `sndhdr' module, then the\n subtype will be automatically included in the Content-Type header.\n Otherwise, you can specify the specific audio subtype via the\n _subtype parameter. If _subtype is not given, and no subtype can be", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.audio", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.audio", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.audio", "peekOfCode": "__all__ = ['MIMEAudio']\nimport sndhdr\nfrom io import BytesIO\nfrom email import encoders\nfrom email.mime.nonmultipart import MIMENonMultipart\n_sndhdr_MIMEmap = {'au' : 'basic',\n 'wav' :'x-wav',\n 'aiff':'x-aiff',\n 'aifc':'x-aiff',\n }", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.audio", "documentation": {} }, { "label": "_sndhdr_MIMEmap", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.audio", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.audio", "peekOfCode": "_sndhdr_MIMEmap = {'au' : 'basic',\n 'wav' :'x-wav',\n 'aiff':'x-aiff',\n 'aifc':'x-aiff',\n }\n# There are others in sndhdr that don't have MIME types. :(\n# Additional ones to be added to sndhdr? midi, mp3, realaudio, wma??\ndef _whatsnd(data):\n \"\"\"Try to identify a sound file type.\n sndhdr.what() has a pretty cruddy interface, unfortunately. This is why", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.audio", "documentation": {} }, { "label": "MIMEBase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.base", "peekOfCode": "class MIMEBase(message.Message):\n \"\"\"Base class for MIME specializations.\"\"\"\n def __init__(self, _maintype, _subtype, *, policy=None, **_params):\n \"\"\"This constructor adds a Content-Type: and a MIME-Version: header.\n The Content-Type: header is taken from the _maintype and _subtype\n arguments. Additional parameters for this header are taken from the\n keyword arguments.\n \"\"\"\n if policy is None:\n policy = email.policy.compat32", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.base", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.base", "peekOfCode": "__all__ = ['MIMEBase']\nimport email.policy\nfrom email import message\nclass MIMEBase(message.Message):\n \"\"\"Base class for MIME specializations.\"\"\"\n def __init__(self, _maintype, _subtype, *, policy=None, **_params):\n \"\"\"This constructor adds a Content-Type: and a MIME-Version: header.\n The Content-Type: header is taken from the _maintype and _subtype\n arguments. Additional parameters for this header are taken from the\n keyword arguments.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.base", "documentation": {} }, { "label": "MIMEImage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.image", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.image", "peekOfCode": "class MIMEImage(MIMENonMultipart):\n \"\"\"Class for generating image/* type MIME documents.\"\"\"\n def __init__(self, _imagedata, _subtype=None,\n _encoder=encoders.encode_base64, *, policy=None, **_params):\n \"\"\"Create an image/* type MIME document.\n _imagedata is a string containing the raw image data. If this data\n can be decoded by the standard Python `imghdr' module, then the\n subtype will be automatically included in the Content-Type header.\n Otherwise, you can specify the specific image subtype via the _subtype\n parameter.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.image", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.image", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.image", "peekOfCode": "__all__ = ['MIMEImage']\nimport imghdr\nfrom email import encoders\nfrom email.mime.nonmultipart import MIMENonMultipart\nclass MIMEImage(MIMENonMultipart):\n \"\"\"Class for generating image/* type MIME documents.\"\"\"\n def __init__(self, _imagedata, _subtype=None,\n _encoder=encoders.encode_base64, *, policy=None, **_params):\n \"\"\"Create an image/* type MIME document.\n _imagedata is a string containing the raw image data. If this data", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.image", "documentation": {} }, { "label": "MIMEMessage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.message", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.message", "peekOfCode": "class MIMEMessage(MIMENonMultipart):\n \"\"\"Class representing message/* MIME documents.\"\"\"\n def __init__(self, _msg, _subtype='rfc822', *, policy=None):\n \"\"\"Create a message/* type MIME document.\n _msg is a message object and must be an instance of Message, or a\n derived class of Message, otherwise a TypeError is raised.\n Optional _subtype defines the subtype of the contained message. The\n default is \"rfc822\" (this is defined by the MIME standard, even though\n the term \"rfc822\" is technically outdated by RFC 2822).\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.message", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.message", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.message", "peekOfCode": "__all__ = ['MIMEMessage']\nfrom email import message\nfrom email.mime.nonmultipart import MIMENonMultipart\nclass MIMEMessage(MIMENonMultipart):\n \"\"\"Class representing message/* MIME documents.\"\"\"\n def __init__(self, _msg, _subtype='rfc822', *, policy=None):\n \"\"\"Create a message/* type MIME document.\n _msg is a message object and must be an instance of Message, or a\n derived class of Message, otherwise a TypeError is raised.\n Optional _subtype defines the subtype of the contained message. The", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.message", "documentation": {} }, { "label": "MIMEMultipart", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.multipart", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.multipart", "peekOfCode": "class MIMEMultipart(MIMEBase):\n \"\"\"Base class for MIME multipart/* type messages.\"\"\"\n def __init__(self, _subtype='mixed', boundary=None, _subparts=None,\n *, policy=None,\n **_params):\n \"\"\"Creates a multipart/* type message.\n By default, creates a multipart/mixed message, with proper\n Content-Type and MIME-Version headers.\n _subtype is the subtype of the multipart content type, defaulting to\n `mixed'.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.multipart", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.multipart", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.multipart", "peekOfCode": "__all__ = ['MIMEMultipart']\nfrom email.mime.base import MIMEBase\nclass MIMEMultipart(MIMEBase):\n \"\"\"Base class for MIME multipart/* type messages.\"\"\"\n def __init__(self, _subtype='mixed', boundary=None, _subparts=None,\n *, policy=None,\n **_params):\n \"\"\"Creates a multipart/* type message.\n By default, creates a multipart/mixed message, with proper\n Content-Type and MIME-Version headers.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.multipart", "documentation": {} }, { "label": "MIMENonMultipart", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.nonmultipart", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.nonmultipart", "peekOfCode": "class MIMENonMultipart(MIMEBase):\n \"\"\"Base class for MIME non-multipart type messages.\"\"\"\n def attach(self, payload):\n # The public API prohibits attaching multiple subparts to MIMEBase\n # derived subtypes since none of them are, by definition, of content\n # type multipart/*\n raise errors.MultipartConversionError(\n 'Cannot attach additional subparts to non-multipart/*')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.nonmultipart", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.nonmultipart", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.nonmultipart", "peekOfCode": "__all__ = ['MIMENonMultipart']\nfrom email import errors\nfrom email.mime.base import MIMEBase\nclass MIMENonMultipart(MIMEBase):\n \"\"\"Base class for MIME non-multipart type messages.\"\"\"\n def attach(self, payload):\n # The public API prohibits attaching multiple subparts to MIMEBase\n # derived subtypes since none of them are, by definition, of content\n # type multipart/*\n raise errors.MultipartConversionError(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.nonmultipart", "documentation": {} }, { "label": "MIMEText", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.text", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.text", "peekOfCode": "class MIMEText(MIMENonMultipart):\n \"\"\"Class for generating text/* type MIME documents.\"\"\"\n def __init__(self, _text, _subtype='plain', _charset=None, *, policy=None):\n \"\"\"Create a text/* type MIME document.\n _text is the string for this message object.\n _subtype is the MIME sub content type, defaulting to \"plain\".\n _charset is the character set parameter added to the Content-Type\n header. This defaults to \"us-ascii\". Note that as a side-effect, the\n Content-Transfer-Encoding header will also be set.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.text", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.text", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.text", "peekOfCode": "__all__ = ['MIMEText']\nfrom email.charset import Charset\nfrom email.mime.nonmultipart import MIMENonMultipart\nclass MIMEText(MIMENonMultipart):\n \"\"\"Class for generating text/* type MIME documents.\"\"\"\n def __init__(self, _text, _subtype='plain', _charset=None, *, policy=None):\n \"\"\"Create a text/* type MIME document.\n _text is the string for this message object.\n _subtype is the MIME sub content type, defaulting to \"plain\".\n _charset is the character set parameter added to the Content-Type", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.mime.text", "documentation": {} }, { "label": "header_length", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "peekOfCode": "def header_length(bytearray):\n \"\"\"Return the length of s when it is encoded with base64.\"\"\"\n groups_of_3, leftover = divmod(len(bytearray), 3)\n # 4 bytes out for each 3 bytes (or nonzero fraction thereof) in.\n n = groups_of_3 * 4\n if leftover:\n n += 4\n return n\ndef header_encode(header_bytes, charset='iso-8859-1'):\n \"\"\"Encode a single header line with Base64 encoding in a given charset.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "documentation": {} }, { "label": "header_encode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "peekOfCode": "def header_encode(header_bytes, charset='iso-8859-1'):\n \"\"\"Encode a single header line with Base64 encoding in a given charset.\n charset names the character set to use to encode the header. It defaults\n to iso-8859-1. Base64 encoding is defined in RFC 2045.\n \"\"\"\n if not header_bytes:\n return \"\"\n if isinstance(header_bytes, str):\n header_bytes = header_bytes.encode(charset)\n encoded = b64encode(header_bytes).decode(\"ascii\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "documentation": {} }, { "label": "body_encode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "peekOfCode": "def body_encode(s, maxlinelen=76, eol=NL):\n r\"\"\"Encode a string with base64.\n Each line will be wrapped at, at most, maxlinelen characters (defaults to\n 76 characters).\n Each line of encoded text will end with eol, which defaults to \"\\n\". Set\n this to \"\\r\\n\" if you will be using the result of this function directly\n in an email.\n \"\"\"\n if not s:\n return \"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "documentation": {} }, { "label": "decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "peekOfCode": "def decode(string):\n \"\"\"Decode a raw base64 string, returning a bytes object.\n This function does not parse a full MIME header value encoded with\n base64 (like =?iso-8859-1?b?bmloISBuaWgh?=) -- please use the high\n level email.header class for that functionality.\n \"\"\"\n if not string:\n return bytes()\n elif isinstance(string, str):\n return a2b_base64(string.encode('raw-unicode-escape'))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "peekOfCode": "__all__ = [\n 'body_decode',\n 'body_encode',\n 'decode',\n 'decodestring',\n 'header_encode',\n 'header_length',\n ]\nfrom base64 import b64encode\nfrom binascii import b2a_base64, a2b_base64", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "documentation": {} }, { "label": "CRLF", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "peekOfCode": "CRLF = '\\r\\n'\nNL = '\\n'\nEMPTYSTRING = ''\n# See also Charset.py\nMISC_LEN = 7\n# Helpers\ndef header_length(bytearray):\n \"\"\"Return the length of s when it is encoded with base64.\"\"\"\n groups_of_3, leftover = divmod(len(bytearray), 3)\n # 4 bytes out for each 3 bytes (or nonzero fraction thereof) in.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "documentation": {} }, { "label": "NL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "peekOfCode": "NL = '\\n'\nEMPTYSTRING = ''\n# See also Charset.py\nMISC_LEN = 7\n# Helpers\ndef header_length(bytearray):\n \"\"\"Return the length of s when it is encoded with base64.\"\"\"\n groups_of_3, leftover = divmod(len(bytearray), 3)\n # 4 bytes out for each 3 bytes (or nonzero fraction thereof) in.\n n = groups_of_3 * 4", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "documentation": {} }, { "label": "EMPTYSTRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "peekOfCode": "EMPTYSTRING = ''\n# See also Charset.py\nMISC_LEN = 7\n# Helpers\ndef header_length(bytearray):\n \"\"\"Return the length of s when it is encoded with base64.\"\"\"\n groups_of_3, leftover = divmod(len(bytearray), 3)\n # 4 bytes out for each 3 bytes (or nonzero fraction thereof) in.\n n = groups_of_3 * 4\n if leftover:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "documentation": {} }, { "label": "MISC_LEN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "peekOfCode": "MISC_LEN = 7\n# Helpers\ndef header_length(bytearray):\n \"\"\"Return the length of s when it is encoded with base64.\"\"\"\n groups_of_3, leftover = divmod(len(bytearray), 3)\n # 4 bytes out for each 3 bytes (or nonzero fraction thereof) in.\n n = groups_of_3 * 4\n if leftover:\n n += 4\n return n", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "documentation": {} }, { "label": "body_decode", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "peekOfCode": "body_decode = decode\ndecodestring = decode", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "documentation": {} }, { "label": "decodestring", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "peekOfCode": "decodestring = decode", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.base64mime", "documentation": {} }, { "label": "Charset", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "peekOfCode": "class Charset:\n \"\"\"Map character sets to their email properties.\n This class provides information about the requirements imposed on email\n for a specific character set. It also provides convenience routines for\n converting between character sets, given the availability of the\n applicable codecs. Given a character set, it will do its best to provide\n information on how to use that character set in an email in an\n RFC-compliant way.\n Certain character sets must be encoded with quoted-printable or base64\n when used in email headers or bodies. Certain character sets must be", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "documentation": {} }, { "label": "add_charset", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "peekOfCode": "def add_charset(charset, header_enc=None, body_enc=None, output_charset=None):\n \"\"\"Add character set properties to the global registry.\n charset is the input character set, and must be the canonical name of a\n character set.\n Optional header_enc and body_enc is either Charset.QP for\n quoted-printable, Charset.BASE64 for base64 encoding, Charset.SHORTEST for\n the shortest of qp or base64 encoding, or None for no encoding. SHORTEST\n is only valid for header_enc. It describes how message headers and\n message bodies in the input charset are to be encoded. Default is no\n encoding.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "documentation": {} }, { "label": "add_alias", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "peekOfCode": "def add_alias(alias, canonical):\n \"\"\"Add a character set alias.\n alias is the alias name, e.g. latin-1\n canonical is the character set's canonical name, e.g. iso-8859-1\n \"\"\"\n ALIASES[alias] = canonical\ndef add_codec(charset, codecname):\n \"\"\"Add a codec that map characters in the given charset to/from Unicode.\n charset is the canonical name of a character set. codecname is the name\n of a Python codec, as appropriate for the second argument to the unicode()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "documentation": {} }, { "label": "add_codec", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "peekOfCode": "def add_codec(charset, codecname):\n \"\"\"Add a codec that map characters in the given charset to/from Unicode.\n charset is the canonical name of a character set. codecname is the name\n of a Python codec, as appropriate for the second argument to the unicode()\n built-in, or to the encode() method of a Unicode string.\n \"\"\"\n CODEC_MAP[charset] = codecname\n# Convenience function for encoding strings, taking into account\n# that they might be unknown-8bit (ie: have surrogate-escaped bytes)\ndef _encode(string, codec):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "peekOfCode": "__all__ = [\n 'Charset',\n 'add_alias',\n 'add_charset',\n 'add_codec',\n ]\nfrom functools import partial\nimport email.base64mime\nimport email.quoprimime\nfrom email import errors", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "documentation": {} }, { "label": "RFC2047_CHROME_LEN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "peekOfCode": "RFC2047_CHROME_LEN = 7\nDEFAULT_CHARSET = 'us-ascii'\nUNKNOWN8BIT = 'unknown-8bit'\nEMPTYSTRING = ''\n# Defaults\nCHARSETS = {\n # input header enc body enc output conv\n 'iso-8859-1': (QP, QP, None),\n 'iso-8859-2': (QP, QP, None),\n 'iso-8859-3': (QP, QP, None),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "documentation": {} }, { "label": "DEFAULT_CHARSET", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "peekOfCode": "DEFAULT_CHARSET = 'us-ascii'\nUNKNOWN8BIT = 'unknown-8bit'\nEMPTYSTRING = ''\n# Defaults\nCHARSETS = {\n # input header enc body enc output conv\n 'iso-8859-1': (QP, QP, None),\n 'iso-8859-2': (QP, QP, None),\n 'iso-8859-3': (QP, QP, None),\n 'iso-8859-4': (QP, QP, None),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "documentation": {} }, { "label": "UNKNOWN8BIT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "peekOfCode": "UNKNOWN8BIT = 'unknown-8bit'\nEMPTYSTRING = ''\n# Defaults\nCHARSETS = {\n # input header enc body enc output conv\n 'iso-8859-1': (QP, QP, None),\n 'iso-8859-2': (QP, QP, None),\n 'iso-8859-3': (QP, QP, None),\n 'iso-8859-4': (QP, QP, None),\n # iso-8859-5 is Cyrillic, and not especially used", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "documentation": {} }, { "label": "EMPTYSTRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "peekOfCode": "EMPTYSTRING = ''\n# Defaults\nCHARSETS = {\n # input header enc body enc output conv\n 'iso-8859-1': (QP, QP, None),\n 'iso-8859-2': (QP, QP, None),\n 'iso-8859-3': (QP, QP, None),\n 'iso-8859-4': (QP, QP, None),\n # iso-8859-5 is Cyrillic, and not especially used\n # iso-8859-6 is Arabic, also not particularly used", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "documentation": {} }, { "label": "CHARSETS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "peekOfCode": "CHARSETS = {\n # input header enc body enc output conv\n 'iso-8859-1': (QP, QP, None),\n 'iso-8859-2': (QP, QP, None),\n 'iso-8859-3': (QP, QP, None),\n 'iso-8859-4': (QP, QP, None),\n # iso-8859-5 is Cyrillic, and not especially used\n # iso-8859-6 is Arabic, also not particularly used\n # iso-8859-7 is Greek, QP will not make it readable\n # iso-8859-8 is Hebrew, QP will not make it readable", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "documentation": {} }, { "label": "ALIASES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "peekOfCode": "ALIASES = {\n 'latin_1': 'iso-8859-1',\n 'latin-1': 'iso-8859-1',\n 'latin_2': 'iso-8859-2',\n 'latin-2': 'iso-8859-2',\n 'latin_3': 'iso-8859-3',\n 'latin-3': 'iso-8859-3',\n 'latin_4': 'iso-8859-4',\n 'latin-4': 'iso-8859-4',\n 'latin_5': 'iso-8859-9',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "documentation": {} }, { "label": "CODEC_MAP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "peekOfCode": "CODEC_MAP = {\n 'gb2312': 'eucgb2312_cn',\n 'big5': 'big5_tw',\n # Hack: We don't want *any* conversion for stuff marked us-ascii, as all\n # sorts of garbage might be sent to us in the guise of 7-bit us-ascii.\n # Let that stuff pass through without conversion to/from Unicode.\n 'us-ascii': None,\n }\n# Convenience functions for extending the above mappings\ndef add_charset(charset, header_enc=None, body_enc=None, output_charset=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.charset", "documentation": {} }, { "label": "ContentManager", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "peekOfCode": "class ContentManager:\n def __init__(self):\n self.get_handlers = {}\n self.set_handlers = {}\n def add_get_handler(self, key, handler):\n self.get_handlers[key] = handler\n def get_content(self, msg, *args, **kw):\n content_type = msg.get_content_type()\n if content_type in self.get_handlers:\n return self.get_handlers[content_type](msg, *args, **kw)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "documentation": {} }, { "label": "get_text_content", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "peekOfCode": "def get_text_content(msg, errors='replace'):\n content = msg.get_payload(decode=True)\n charset = msg.get_param('charset', 'ASCII')\n return content.decode(charset, errors=errors)\nraw_data_manager.add_get_handler('text', get_text_content)\ndef get_non_text_content(msg):\n return msg.get_payload(decode=True)\nfor maintype in 'audio image video application'.split():\n raw_data_manager.add_get_handler(maintype, get_non_text_content)\ndef get_message_content(msg):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "documentation": {} }, { "label": "get_non_text_content", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "peekOfCode": "def get_non_text_content(msg):\n return msg.get_payload(decode=True)\nfor maintype in 'audio image video application'.split():\n raw_data_manager.add_get_handler(maintype, get_non_text_content)\ndef get_message_content(msg):\n return msg.get_payload(0)\nfor subtype in 'rfc822 external-body'.split():\n raw_data_manager.add_get_handler('message/'+subtype, get_message_content)\ndef get_and_fixup_unknown_message_content(msg):\n # If we don't understand a message subtype, we are supposed to treat it as", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "documentation": {} }, { "label": "get_message_content", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "peekOfCode": "def get_message_content(msg):\n return msg.get_payload(0)\nfor subtype in 'rfc822 external-body'.split():\n raw_data_manager.add_get_handler('message/'+subtype, get_message_content)\ndef get_and_fixup_unknown_message_content(msg):\n # If we don't understand a message subtype, we are supposed to treat it as\n # if it were application/octet-stream, per\n # tools.ietf.org/html/rfc2046#section-5.2.4. Feedparser doesn't do that,\n # so do our best to fix things up. Note that it is *not* appropriate to\n # model message/partial content as Message objects, so they are handled", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "documentation": {} }, { "label": "get_and_fixup_unknown_message_content", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "peekOfCode": "def get_and_fixup_unknown_message_content(msg):\n # If we don't understand a message subtype, we are supposed to treat it as\n # if it were application/octet-stream, per\n # tools.ietf.org/html/rfc2046#section-5.2.4. Feedparser doesn't do that,\n # so do our best to fix things up. Note that it is *not* appropriate to\n # model message/partial content as Message objects, so they are handled\n # here as well. (How to reassemble them is out of scope for this comment :)\n return bytes(msg.get_payload(0))\nraw_data_manager.add_get_handler('message',\n get_and_fixup_unknown_message_content)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "documentation": {} }, { "label": "set_text_content", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "peekOfCode": "def set_text_content(msg, string, subtype=\"plain\", charset='utf-8', cte=None,\n disposition=None, filename=None, cid=None,\n params=None, headers=None):\n _prepare_set(msg, 'text', subtype, headers)\n cte, payload = _encode_text(string, charset, cte, msg.policy)\n msg.set_payload(payload)\n msg.set_param('charset',\n email.charset.ALIASES.get(charset, charset),\n replace=True)\n msg['Content-Transfer-Encoding'] = cte", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "documentation": {} }, { "label": "set_message_content", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "peekOfCode": "def set_message_content(msg, message, subtype=\"rfc822\", cte=None,\n disposition=None, filename=None, cid=None,\n params=None, headers=None):\n if subtype == 'partial':\n raise ValueError(\"message/partial is not supported for Message objects\")\n if subtype == 'rfc822':\n if cte not in (None, '7bit', '8bit', 'binary'):\n # http://tools.ietf.org/html/rfc2046#section-5.2.1 mandate.\n raise ValueError(\n \"message/rfc822 parts do not support cte={}\".format(cte))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "documentation": {} }, { "label": "set_bytes_content", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "peekOfCode": "def set_bytes_content(msg, data, maintype, subtype, cte='base64',\n disposition=None, filename=None, cid=None,\n params=None, headers=None):\n _prepare_set(msg, maintype, subtype, headers)\n if cte == 'base64':\n data = _encode_base64(data, max_line_length=msg.policy.max_line_length)\n elif cte == 'quoted-printable':\n # XXX: quoprimime.body_encode won't encode newline characters in data,\n # so we can't use it. This means max_line_length is ignored. Another\n # bug to fix later. (Note: encoders.quopri is broken on line ends.)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "documentation": {} }, { "label": "raw_data_manager", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "peekOfCode": "raw_data_manager = ContentManager()\ndef get_text_content(msg, errors='replace'):\n content = msg.get_payload(decode=True)\n charset = msg.get_param('charset', 'ASCII')\n return content.decode(charset, errors=errors)\nraw_data_manager.add_get_handler('text', get_text_content)\ndef get_non_text_content(msg):\n return msg.get_payload(decode=True)\nfor maintype in 'audio image video application'.split():\n raw_data_manager.add_get_handler(maintype, get_non_text_content)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.contentmanager", "documentation": {} }, { "label": "encode_base64", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.encoders", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.encoders", "peekOfCode": "def encode_base64(msg):\n \"\"\"Encode the message's payload in Base64.\n Also, add an appropriate Content-Transfer-Encoding header.\n \"\"\"\n orig = msg.get_payload(decode=True)\n encdata = str(_bencode(orig), 'ascii')\n msg.set_payload(encdata)\n msg['Content-Transfer-Encoding'] = 'base64'\ndef encode_quopri(msg):\n \"\"\"Encode the message's payload in quoted-printable.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.encoders", "documentation": {} }, { "label": "encode_quopri", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.encoders", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.encoders", "peekOfCode": "def encode_quopri(msg):\n \"\"\"Encode the message's payload in quoted-printable.\n Also, add an appropriate Content-Transfer-Encoding header.\n \"\"\"\n orig = msg.get_payload(decode=True)\n encdata = _qencode(orig)\n msg.set_payload(encdata)\n msg['Content-Transfer-Encoding'] = 'quoted-printable'\ndef encode_7or8bit(msg):\n \"\"\"Set the Content-Transfer-Encoding header to 7bit or 8bit.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.encoders", "documentation": {} }, { "label": "encode_7or8bit", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.encoders", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.encoders", "peekOfCode": "def encode_7or8bit(msg):\n \"\"\"Set the Content-Transfer-Encoding header to 7bit or 8bit.\"\"\"\n orig = msg.get_payload(decode=True)\n if orig is None:\n # There's no payload. For backwards compatibility we use 7bit\n msg['Content-Transfer-Encoding'] = '7bit'\n return\n # We play a trick to make this go fast. If decoding from ASCII succeeds,\n # we know the data must be 7bit, otherwise treat it as 8bit.\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.encoders", "documentation": {} }, { "label": "encode_noop", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.encoders", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.encoders", "peekOfCode": "def encode_noop(msg):\n \"\"\"Do nothing.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.encoders", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.encoders", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.encoders", "peekOfCode": "__all__ = [\n 'encode_7or8bit',\n 'encode_base64',\n 'encode_noop',\n 'encode_quopri',\n ]\nfrom base64 import encodebytes as _bencode\nfrom quopri import encodestring as _encodestring\ndef _qencode(s):\n enc = _encodestring(s, quotetabs=True)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.encoders", "documentation": {} }, { "label": "MessageError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class MessageError(Exception):\n \"\"\"Base class for errors in the email package.\"\"\"\nclass MessageParseError(MessageError):\n \"\"\"Base class for message parsing errors.\"\"\"\nclass HeaderParseError(MessageParseError):\n \"\"\"Error while parsing headers.\"\"\"\nclass BoundaryError(MessageParseError):\n \"\"\"Couldn't find terminating boundary.\"\"\"\nclass MultipartConversionError(MessageError, TypeError):\n \"\"\"Conversion to a multipart is prohibited.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "MessageParseError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class MessageParseError(MessageError):\n \"\"\"Base class for message parsing errors.\"\"\"\nclass HeaderParseError(MessageParseError):\n \"\"\"Error while parsing headers.\"\"\"\nclass BoundaryError(MessageParseError):\n \"\"\"Couldn't find terminating boundary.\"\"\"\nclass MultipartConversionError(MessageError, TypeError):\n \"\"\"Conversion to a multipart is prohibited.\"\"\"\nclass CharsetError(MessageError):\n \"\"\"An illegal charset was given.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "HeaderParseError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class HeaderParseError(MessageParseError):\n \"\"\"Error while parsing headers.\"\"\"\nclass BoundaryError(MessageParseError):\n \"\"\"Couldn't find terminating boundary.\"\"\"\nclass MultipartConversionError(MessageError, TypeError):\n \"\"\"Conversion to a multipart is prohibited.\"\"\"\nclass CharsetError(MessageError):\n \"\"\"An illegal charset was given.\"\"\"\n# These are parsing defects which the parser was able to work around.\nclass MessageDefect(ValueError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "BoundaryError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class BoundaryError(MessageParseError):\n \"\"\"Couldn't find terminating boundary.\"\"\"\nclass MultipartConversionError(MessageError, TypeError):\n \"\"\"Conversion to a multipart is prohibited.\"\"\"\nclass CharsetError(MessageError):\n \"\"\"An illegal charset was given.\"\"\"\n# These are parsing defects which the parser was able to work around.\nclass MessageDefect(ValueError):\n \"\"\"Base class for a message defect.\"\"\"\n def __init__(self, line=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "MultipartConversionError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class MultipartConversionError(MessageError, TypeError):\n \"\"\"Conversion to a multipart is prohibited.\"\"\"\nclass CharsetError(MessageError):\n \"\"\"An illegal charset was given.\"\"\"\n# These are parsing defects which the parser was able to work around.\nclass MessageDefect(ValueError):\n \"\"\"Base class for a message defect.\"\"\"\n def __init__(self, line=None):\n if line is not None:\n super().__init__(line)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "CharsetError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class CharsetError(MessageError):\n \"\"\"An illegal charset was given.\"\"\"\n# These are parsing defects which the parser was able to work around.\nclass MessageDefect(ValueError):\n \"\"\"Base class for a message defect.\"\"\"\n def __init__(self, line=None):\n if line is not None:\n super().__init__(line)\n self.line = line\nclass NoBoundaryInMultipartDefect(MessageDefect):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "MessageDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class MessageDefect(ValueError):\n \"\"\"Base class for a message defect.\"\"\"\n def __init__(self, line=None):\n if line is not None:\n super().__init__(line)\n self.line = line\nclass NoBoundaryInMultipartDefect(MessageDefect):\n \"\"\"A message claimed to be a multipart but had no boundary parameter.\"\"\"\nclass StartBoundaryNotFoundDefect(MessageDefect):\n \"\"\"The claimed start boundary was never found.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "NoBoundaryInMultipartDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class NoBoundaryInMultipartDefect(MessageDefect):\n \"\"\"A message claimed to be a multipart but had no boundary parameter.\"\"\"\nclass StartBoundaryNotFoundDefect(MessageDefect):\n \"\"\"The claimed start boundary was never found.\"\"\"\nclass CloseBoundaryNotFoundDefect(MessageDefect):\n \"\"\"A start boundary was found, but not the corresponding close boundary.\"\"\"\nclass FirstHeaderLineIsContinuationDefect(MessageDefect):\n \"\"\"A message had a continuation line as its first header line.\"\"\"\nclass MisplacedEnvelopeHeaderDefect(MessageDefect):\n \"\"\"A 'Unix-from' header was found in the middle of a header block.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "StartBoundaryNotFoundDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class StartBoundaryNotFoundDefect(MessageDefect):\n \"\"\"The claimed start boundary was never found.\"\"\"\nclass CloseBoundaryNotFoundDefect(MessageDefect):\n \"\"\"A start boundary was found, but not the corresponding close boundary.\"\"\"\nclass FirstHeaderLineIsContinuationDefect(MessageDefect):\n \"\"\"A message had a continuation line as its first header line.\"\"\"\nclass MisplacedEnvelopeHeaderDefect(MessageDefect):\n \"\"\"A 'Unix-from' header was found in the middle of a header block.\"\"\"\nclass MissingHeaderBodySeparatorDefect(MessageDefect):\n \"\"\"Found line with no leading whitespace and no colon before blank line.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "CloseBoundaryNotFoundDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class CloseBoundaryNotFoundDefect(MessageDefect):\n \"\"\"A start boundary was found, but not the corresponding close boundary.\"\"\"\nclass FirstHeaderLineIsContinuationDefect(MessageDefect):\n \"\"\"A message had a continuation line as its first header line.\"\"\"\nclass MisplacedEnvelopeHeaderDefect(MessageDefect):\n \"\"\"A 'Unix-from' header was found in the middle of a header block.\"\"\"\nclass MissingHeaderBodySeparatorDefect(MessageDefect):\n \"\"\"Found line with no leading whitespace and no colon before blank line.\"\"\"\n# XXX: backward compatibility, just in case (it was never emitted).\nMalformedHeaderDefect = MissingHeaderBodySeparatorDefect", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "FirstHeaderLineIsContinuationDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class FirstHeaderLineIsContinuationDefect(MessageDefect):\n \"\"\"A message had a continuation line as its first header line.\"\"\"\nclass MisplacedEnvelopeHeaderDefect(MessageDefect):\n \"\"\"A 'Unix-from' header was found in the middle of a header block.\"\"\"\nclass MissingHeaderBodySeparatorDefect(MessageDefect):\n \"\"\"Found line with no leading whitespace and no colon before blank line.\"\"\"\n# XXX: backward compatibility, just in case (it was never emitted).\nMalformedHeaderDefect = MissingHeaderBodySeparatorDefect\nclass MultipartInvariantViolationDefect(MessageDefect):\n \"\"\"A message claimed to be a multipart but no subparts were found.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "MisplacedEnvelopeHeaderDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class MisplacedEnvelopeHeaderDefect(MessageDefect):\n \"\"\"A 'Unix-from' header was found in the middle of a header block.\"\"\"\nclass MissingHeaderBodySeparatorDefect(MessageDefect):\n \"\"\"Found line with no leading whitespace and no colon before blank line.\"\"\"\n# XXX: backward compatibility, just in case (it was never emitted).\nMalformedHeaderDefect = MissingHeaderBodySeparatorDefect\nclass MultipartInvariantViolationDefect(MessageDefect):\n \"\"\"A message claimed to be a multipart but no subparts were found.\"\"\"\nclass InvalidMultipartContentTransferEncodingDefect(MessageDefect):\n \"\"\"An invalid content transfer encoding was set on the multipart itself.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "MissingHeaderBodySeparatorDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class MissingHeaderBodySeparatorDefect(MessageDefect):\n \"\"\"Found line with no leading whitespace and no colon before blank line.\"\"\"\n# XXX: backward compatibility, just in case (it was never emitted).\nMalformedHeaderDefect = MissingHeaderBodySeparatorDefect\nclass MultipartInvariantViolationDefect(MessageDefect):\n \"\"\"A message claimed to be a multipart but no subparts were found.\"\"\"\nclass InvalidMultipartContentTransferEncodingDefect(MessageDefect):\n \"\"\"An invalid content transfer encoding was set on the multipart itself.\"\"\"\nclass UndecodableBytesDefect(MessageDefect):\n \"\"\"Header contained bytes that could not be decoded\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "MultipartInvariantViolationDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class MultipartInvariantViolationDefect(MessageDefect):\n \"\"\"A message claimed to be a multipart but no subparts were found.\"\"\"\nclass InvalidMultipartContentTransferEncodingDefect(MessageDefect):\n \"\"\"An invalid content transfer encoding was set on the multipart itself.\"\"\"\nclass UndecodableBytesDefect(MessageDefect):\n \"\"\"Header contained bytes that could not be decoded\"\"\"\nclass InvalidBase64PaddingDefect(MessageDefect):\n \"\"\"base64 encoded sequence had an incorrect length\"\"\"\nclass InvalidBase64CharactersDefect(MessageDefect):\n \"\"\"base64 encoded sequence had characters not in base64 alphabet\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "InvalidMultipartContentTransferEncodingDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class InvalidMultipartContentTransferEncodingDefect(MessageDefect):\n \"\"\"An invalid content transfer encoding was set on the multipart itself.\"\"\"\nclass UndecodableBytesDefect(MessageDefect):\n \"\"\"Header contained bytes that could not be decoded\"\"\"\nclass InvalidBase64PaddingDefect(MessageDefect):\n \"\"\"base64 encoded sequence had an incorrect length\"\"\"\nclass InvalidBase64CharactersDefect(MessageDefect):\n \"\"\"base64 encoded sequence had characters not in base64 alphabet\"\"\"\nclass InvalidBase64LengthDefect(MessageDefect):\n \"\"\"base64 encoded sequence had invalid length (1 mod 4)\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "UndecodableBytesDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class UndecodableBytesDefect(MessageDefect):\n \"\"\"Header contained bytes that could not be decoded\"\"\"\nclass InvalidBase64PaddingDefect(MessageDefect):\n \"\"\"base64 encoded sequence had an incorrect length\"\"\"\nclass InvalidBase64CharactersDefect(MessageDefect):\n \"\"\"base64 encoded sequence had characters not in base64 alphabet\"\"\"\nclass InvalidBase64LengthDefect(MessageDefect):\n \"\"\"base64 encoded sequence had invalid length (1 mod 4)\"\"\"\n# These errors are specific to header parsing.\nclass HeaderDefect(MessageDefect):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "InvalidBase64PaddingDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class InvalidBase64PaddingDefect(MessageDefect):\n \"\"\"base64 encoded sequence had an incorrect length\"\"\"\nclass InvalidBase64CharactersDefect(MessageDefect):\n \"\"\"base64 encoded sequence had characters not in base64 alphabet\"\"\"\nclass InvalidBase64LengthDefect(MessageDefect):\n \"\"\"base64 encoded sequence had invalid length (1 mod 4)\"\"\"\n# These errors are specific to header parsing.\nclass HeaderDefect(MessageDefect):\n \"\"\"Base class for a header defect.\"\"\"\n def __init__(self, *args, **kw):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "InvalidBase64CharactersDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class InvalidBase64CharactersDefect(MessageDefect):\n \"\"\"base64 encoded sequence had characters not in base64 alphabet\"\"\"\nclass InvalidBase64LengthDefect(MessageDefect):\n \"\"\"base64 encoded sequence had invalid length (1 mod 4)\"\"\"\n# These errors are specific to header parsing.\nclass HeaderDefect(MessageDefect):\n \"\"\"Base class for a header defect.\"\"\"\n def __init__(self, *args, **kw):\n super().__init__(*args, **kw)\nclass InvalidHeaderDefect(HeaderDefect):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "InvalidBase64LengthDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class InvalidBase64LengthDefect(MessageDefect):\n \"\"\"base64 encoded sequence had invalid length (1 mod 4)\"\"\"\n# These errors are specific to header parsing.\nclass HeaderDefect(MessageDefect):\n \"\"\"Base class for a header defect.\"\"\"\n def __init__(self, *args, **kw):\n super().__init__(*args, **kw)\nclass InvalidHeaderDefect(HeaderDefect):\n \"\"\"Header is not valid, message gives details.\"\"\"\nclass HeaderMissingRequiredValue(HeaderDefect):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "HeaderDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class HeaderDefect(MessageDefect):\n \"\"\"Base class for a header defect.\"\"\"\n def __init__(self, *args, **kw):\n super().__init__(*args, **kw)\nclass InvalidHeaderDefect(HeaderDefect):\n \"\"\"Header is not valid, message gives details.\"\"\"\nclass HeaderMissingRequiredValue(HeaderDefect):\n \"\"\"A header that must have a value had none\"\"\"\nclass NonPrintableDefect(HeaderDefect):\n \"\"\"ASCII characters outside the ascii-printable range found\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "InvalidHeaderDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class InvalidHeaderDefect(HeaderDefect):\n \"\"\"Header is not valid, message gives details.\"\"\"\nclass HeaderMissingRequiredValue(HeaderDefect):\n \"\"\"A header that must have a value had none\"\"\"\nclass NonPrintableDefect(HeaderDefect):\n \"\"\"ASCII characters outside the ascii-printable range found\"\"\"\n def __init__(self, non_printables):\n super().__init__(non_printables)\n self.non_printables = non_printables\n def __str__(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "HeaderMissingRequiredValue", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class HeaderMissingRequiredValue(HeaderDefect):\n \"\"\"A header that must have a value had none\"\"\"\nclass NonPrintableDefect(HeaderDefect):\n \"\"\"ASCII characters outside the ascii-printable range found\"\"\"\n def __init__(self, non_printables):\n super().__init__(non_printables)\n self.non_printables = non_printables\n def __str__(self):\n return (\"the following ASCII non-printables found in header: \"\n \"{}\".format(self.non_printables))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "NonPrintableDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class NonPrintableDefect(HeaderDefect):\n \"\"\"ASCII characters outside the ascii-printable range found\"\"\"\n def __init__(self, non_printables):\n super().__init__(non_printables)\n self.non_printables = non_printables\n def __str__(self):\n return (\"the following ASCII non-printables found in header: \"\n \"{}\".format(self.non_printables))\nclass ObsoleteHeaderDefect(HeaderDefect):\n \"\"\"Header uses syntax declared obsolete by RFC 5322\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "ObsoleteHeaderDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class ObsoleteHeaderDefect(HeaderDefect):\n \"\"\"Header uses syntax declared obsolete by RFC 5322\"\"\"\nclass NonASCIILocalPartDefect(HeaderDefect):\n \"\"\"local_part contains non-ASCII characters\"\"\"\n # This defect only occurs during unicode parsing, not when\n # parsing messages decoded from binary.\nclass InvalidDateDefect(HeaderDefect):\n \"\"\"Header has unparsable or invalid date\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "NonASCIILocalPartDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class NonASCIILocalPartDefect(HeaderDefect):\n \"\"\"local_part contains non-ASCII characters\"\"\"\n # This defect only occurs during unicode parsing, not when\n # parsing messages decoded from binary.\nclass InvalidDateDefect(HeaderDefect):\n \"\"\"Header has unparsable or invalid date\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "InvalidDateDefect", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "class InvalidDateDefect(HeaderDefect):\n \"\"\"Header has unparsable or invalid date\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "MalformedHeaderDefect", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "peekOfCode": "MalformedHeaderDefect = MissingHeaderBodySeparatorDefect\nclass MultipartInvariantViolationDefect(MessageDefect):\n \"\"\"A message claimed to be a multipart but no subparts were found.\"\"\"\nclass InvalidMultipartContentTransferEncodingDefect(MessageDefect):\n \"\"\"An invalid content transfer encoding was set on the multipart itself.\"\"\"\nclass UndecodableBytesDefect(MessageDefect):\n \"\"\"Header contained bytes that could not be decoded\"\"\"\nclass InvalidBase64PaddingDefect(MessageDefect):\n \"\"\"base64 encoded sequence had an incorrect length\"\"\"\nclass InvalidBase64CharactersDefect(MessageDefect):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.errors", "documentation": {} }, { "label": "BufferedSubFile", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "peekOfCode": "class BufferedSubFile(object):\n \"\"\"A file-ish object that can have new data loaded into it.\n You can also push and pop line-matching predicates onto a stack. When the\n current predicate matches the current line, a false EOF response\n (i.e. empty string) is returned instead. This lets the parser adhere to a\n simple abstraction -- it parses until EOF closes the current message.\n \"\"\"\n def __init__(self):\n # Text stream of the last partial line pushed into this object.\n # See issue 22233 for why this is a text stream and not a list.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "documentation": {} }, { "label": "FeedParser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "peekOfCode": "class FeedParser:\n \"\"\"A feed-style parser of email.\"\"\"\n def __init__(self, _factory=None, *, policy=compat32):\n \"\"\"_factory is called with no arguments to create a new message obj\n The policy keyword specifies a policy object that controls a number of\n aspects of the parser's operation. The default policy maintains\n backward compatibility.\n \"\"\"\n self.policy = policy\n self._old_style_factory = False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "documentation": {} }, { "label": "BytesFeedParser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "peekOfCode": "class BytesFeedParser(FeedParser):\n \"\"\"Like FeedParser, but feed accepts bytes.\"\"\"\n def feed(self, data):\n super().feed(data.decode('ascii', 'surrogateescape'))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "peekOfCode": "__all__ = ['FeedParser', 'BytesFeedParser']\nimport re\nfrom email import errors\nfrom email._policybase import compat32\nfrom collections import deque\nfrom io import StringIO\nNLCRE = re.compile(r'\\r\\n|\\r|\\n')\nNLCRE_bol = re.compile(r'(\\r\\n|\\r|\\n)')\nNLCRE_eol = re.compile(r'(\\r\\n|\\r|\\n)\\Z')\nNLCRE_crack = re.compile(r'(\\r\\n|\\r|\\n)')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "documentation": {} }, { "label": "NLCRE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "peekOfCode": "NLCRE = re.compile(r'\\r\\n|\\r|\\n')\nNLCRE_bol = re.compile(r'(\\r\\n|\\r|\\n)')\nNLCRE_eol = re.compile(r'(\\r\\n|\\r|\\n)\\Z')\nNLCRE_crack = re.compile(r'(\\r\\n|\\r|\\n)')\n# RFC 2822 $3.6.8 Optional fields. ftext is %d33-57 / %d59-126, Any character\n# except controls, SP, and \":\".\nheaderRE = re.compile(r'^(From |[\\041-\\071\\073-\\176]*:|[\\t ])')\nEMPTYSTRING = ''\nNL = '\\n'\nNeedMoreData = object()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "documentation": {} }, { "label": "NLCRE_bol", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "peekOfCode": "NLCRE_bol = re.compile(r'(\\r\\n|\\r|\\n)')\nNLCRE_eol = re.compile(r'(\\r\\n|\\r|\\n)\\Z')\nNLCRE_crack = re.compile(r'(\\r\\n|\\r|\\n)')\n# RFC 2822 $3.6.8 Optional fields. ftext is %d33-57 / %d59-126, Any character\n# except controls, SP, and \":\".\nheaderRE = re.compile(r'^(From |[\\041-\\071\\073-\\176]*:|[\\t ])')\nEMPTYSTRING = ''\nNL = '\\n'\nNeedMoreData = object()\nclass BufferedSubFile(object):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "documentation": {} }, { "label": "NLCRE_eol", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "peekOfCode": "NLCRE_eol = re.compile(r'(\\r\\n|\\r|\\n)\\Z')\nNLCRE_crack = re.compile(r'(\\r\\n|\\r|\\n)')\n# RFC 2822 $3.6.8 Optional fields. ftext is %d33-57 / %d59-126, Any character\n# except controls, SP, and \":\".\nheaderRE = re.compile(r'^(From |[\\041-\\071\\073-\\176]*:|[\\t ])')\nEMPTYSTRING = ''\nNL = '\\n'\nNeedMoreData = object()\nclass BufferedSubFile(object):\n \"\"\"A file-ish object that can have new data loaded into it.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "documentation": {} }, { "label": "NLCRE_crack", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "peekOfCode": "NLCRE_crack = re.compile(r'(\\r\\n|\\r|\\n)')\n# RFC 2822 $3.6.8 Optional fields. ftext is %d33-57 / %d59-126, Any character\n# except controls, SP, and \":\".\nheaderRE = re.compile(r'^(From |[\\041-\\071\\073-\\176]*:|[\\t ])')\nEMPTYSTRING = ''\nNL = '\\n'\nNeedMoreData = object()\nclass BufferedSubFile(object):\n \"\"\"A file-ish object that can have new data loaded into it.\n You can also push and pop line-matching predicates onto a stack. When the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "documentation": {} }, { "label": "headerRE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "peekOfCode": "headerRE = re.compile(r'^(From |[\\041-\\071\\073-\\176]*:|[\\t ])')\nEMPTYSTRING = ''\nNL = '\\n'\nNeedMoreData = object()\nclass BufferedSubFile(object):\n \"\"\"A file-ish object that can have new data loaded into it.\n You can also push and pop line-matching predicates onto a stack. When the\n current predicate matches the current line, a false EOF response\n (i.e. empty string) is returned instead. This lets the parser adhere to a\n simple abstraction -- it parses until EOF closes the current message.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "documentation": {} }, { "label": "EMPTYSTRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "peekOfCode": "EMPTYSTRING = ''\nNL = '\\n'\nNeedMoreData = object()\nclass BufferedSubFile(object):\n \"\"\"A file-ish object that can have new data loaded into it.\n You can also push and pop line-matching predicates onto a stack. When the\n current predicate matches the current line, a false EOF response\n (i.e. empty string) is returned instead. This lets the parser adhere to a\n simple abstraction -- it parses until EOF closes the current message.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "documentation": {} }, { "label": "NL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "peekOfCode": "NL = '\\n'\nNeedMoreData = object()\nclass BufferedSubFile(object):\n \"\"\"A file-ish object that can have new data loaded into it.\n You can also push and pop line-matching predicates onto a stack. When the\n current predicate matches the current line, a false EOF response\n (i.e. empty string) is returned instead. This lets the parser adhere to a\n simple abstraction -- it parses until EOF closes the current message.\n \"\"\"\n def __init__(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "documentation": {} }, { "label": "NeedMoreData", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "peekOfCode": "NeedMoreData = object()\nclass BufferedSubFile(object):\n \"\"\"A file-ish object that can have new data loaded into it.\n You can also push and pop line-matching predicates onto a stack. When the\n current predicate matches the current line, a false EOF response\n (i.e. empty string) is returned instead. This lets the parser adhere to a\n simple abstraction -- it parses until EOF closes the current message.\n \"\"\"\n def __init__(self):\n # Text stream of the last partial line pushed into this object.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.feedparser", "documentation": {} }, { "label": "Generator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "peekOfCode": "class Generator:\n \"\"\"Generates output from a Message object tree.\n This basic generator writes the message to the given file object as plain\n text.\n \"\"\"\n #\n # Public interface\n #\n def __init__(self, outfp, mangle_from_=None, maxheaderlen=None, *,\n policy=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "documentation": {} }, { "label": "BytesGenerator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "peekOfCode": "class BytesGenerator(Generator):\n \"\"\"Generates a bytes version of a Message object tree.\n Functionally identical to the base Generator except that the output is\n bytes and not string. When surrogates were used in the input to encode\n bytes, these are decoded back to bytes for output. If the policy has\n cte_type set to 7bit, then the message is transformed such that the\n non-ASCII bytes are properly content transfer encoded, using the charset\n unknown-8bit.\n The outfp object must accept bytes in its write method.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "documentation": {} }, { "label": "DecodedGenerator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "peekOfCode": "class DecodedGenerator(Generator):\n \"\"\"Generates a text representation of a message.\n Like the Generator base class, except that non-text parts are substituted\n with a format string representing the part.\n \"\"\"\n def __init__(self, outfp, mangle_from_=None, maxheaderlen=None, fmt=None, *,\n policy=None):\n \"\"\"Like Generator.__init__() except that an additional optional\n argument is allowed.\n Walks through all subparts of a message. If the subpart is of main", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "peekOfCode": "__all__ = ['Generator', 'DecodedGenerator', 'BytesGenerator']\nimport re\nimport sys\nimport time\nimport random\nfrom copy import deepcopy\nfrom io import StringIO, BytesIO\nfrom email.utils import _has_surrogates\nUNDERSCORE = '_'\nNL = '\\n' # XXX: no longer used by the code below.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "documentation": {} }, { "label": "UNDERSCORE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "peekOfCode": "UNDERSCORE = '_'\nNL = '\\n' # XXX: no longer used by the code below.\nNLCRE = re.compile(r'\\r\\n|\\r|\\n')\nfcre = re.compile(r'^From ', re.MULTILINE)\nclass Generator:\n \"\"\"Generates output from a Message object tree.\n This basic generator writes the message to the given file object as plain\n text.\n \"\"\"\n #", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "documentation": {} }, { "label": "NL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "peekOfCode": "NL = '\\n' # XXX: no longer used by the code below.\nNLCRE = re.compile(r'\\r\\n|\\r|\\n')\nfcre = re.compile(r'^From ', re.MULTILINE)\nclass Generator:\n \"\"\"Generates output from a Message object tree.\n This basic generator writes the message to the given file object as plain\n text.\n \"\"\"\n #\n # Public interface", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "documentation": {} }, { "label": "NLCRE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "peekOfCode": "NLCRE = re.compile(r'\\r\\n|\\r|\\n')\nfcre = re.compile(r'^From ', re.MULTILINE)\nclass Generator:\n \"\"\"Generates output from a Message object tree.\n This basic generator writes the message to the given file object as plain\n text.\n \"\"\"\n #\n # Public interface\n #", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "documentation": {} }, { "label": "fcre", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "peekOfCode": "fcre = re.compile(r'^From ', re.MULTILINE)\nclass Generator:\n \"\"\"Generates output from a Message object tree.\n This basic generator writes the message to the given file object as plain\n text.\n \"\"\"\n #\n # Public interface\n #\n def __init__(self, outfp, mangle_from_=None, maxheaderlen=None, *,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "documentation": {} }, { "label": "_FMT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "peekOfCode": "_FMT = '[Non-text (%(type)s) part of message omitted, filename %(filename)s]'\nclass DecodedGenerator(Generator):\n \"\"\"Generates a text representation of a message.\n Like the Generator base class, except that non-text parts are substituted\n with a format string representing the part.\n \"\"\"\n def __init__(self, outfp, mangle_from_=None, maxheaderlen=None, fmt=None, *,\n policy=None):\n \"\"\"Like Generator.__init__() except that an additional optional\n argument is allowed.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "documentation": {} }, { "label": "_width", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "peekOfCode": "_width = len(repr(sys.maxsize-1))\n_fmt = '%%0%dd' % _width\n# Backward compatibility\n_make_boundary = Generator._make_boundary", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "documentation": {} }, { "label": "_fmt", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "peekOfCode": "_fmt = '%%0%dd' % _width\n# Backward compatibility\n_make_boundary = Generator._make_boundary", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "documentation": {} }, { "label": "_make_boundary", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "peekOfCode": "_make_boundary = Generator._make_boundary", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.generator", "documentation": {} }, { "label": "Header", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "class Header:\n def __init__(self, s=None, charset=None,\n maxlinelen=None, header_name=None,\n continuation_ws=' ', errors='strict'):\n \"\"\"Create a MIME-compliant header that can contain many character sets.\n Optional s is the initial header value. If None, the initial header\n value is not set. You can later append to the header with .append()\n method calls. s may be a byte string or a Unicode string, but see the\n .append() documentation for semantics.\n Optional charset serves two purposes: it has the same meaning as the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "_ValueFormatter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "class _ValueFormatter:\n def __init__(self, headerlen, maxlen, continuation_ws, splitchars):\n self._maxlen = maxlen\n self._continuation_ws = continuation_ws\n self._continuation_ws_len = len(continuation_ws)\n self._splitchars = splitchars\n self._lines = []\n self._current_line = _Accumulator(headerlen)\n def _str(self, linesep):\n self.newline()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "_Accumulator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "class _Accumulator(list):\n def __init__(self, initial_size=0):\n self._initial_size = initial_size\n super().__init__()\n def push(self, fws, string):\n self.append((fws, string))\n def pop_from(self, i=0):\n popped = self[i:]\n self[i:] = []\n return popped", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "decode_header", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "def decode_header(header):\n \"\"\"Decode a message header value without converting charset.\n Returns a list of (string, charset) pairs containing each of the decoded\n parts of the header. Charset is None for non-encoded parts of the header,\n otherwise a lower-case string containing the name of the character set\n specified in the encoded string.\n header may be a string that may or may not contain RFC2047 encoded words,\n or it may be a Header object.\n An email.errors.HeaderParseError may be raised when certain decoding error\n occurs (e.g. a base64 decoding exception).", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "make_header", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "def make_header(decoded_seq, maxlinelen=None, header_name=None,\n continuation_ws=' '):\n \"\"\"Create a Header from a sequence of pairs as returned by decode_header()\n decode_header() takes a header value string and returns a sequence of\n pairs of the format (decoded_string, charset) where charset is the string\n name of the character set.\n This function takes one of those sequence of pairs and returns a Header\n instance. Optional maxlinelen, header_name, and continuation_ws are as in\n the Header constructor.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "__all__ = [\n 'Header',\n 'decode_header',\n 'make_header',\n ]\nimport re\nimport binascii\nimport email.quoprimime\nimport email.base64mime\nfrom email.errors import HeaderParseError", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "Charset", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "Charset = _charset.Charset\nNL = '\\n'\nSPACE = ' '\nBSPACE = b' '\nSPACE8 = ' ' * 8\nEMPTYSTRING = ''\nMAXLINELEN = 78\nFWS = ' \\t'\nUSASCII = Charset('us-ascii')\nUTF8 = Charset('utf-8')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "NL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "NL = '\\n'\nSPACE = ' '\nBSPACE = b' '\nSPACE8 = ' ' * 8\nEMPTYSTRING = ''\nMAXLINELEN = 78\nFWS = ' \\t'\nUSASCII = Charset('us-ascii')\nUTF8 = Charset('utf-8')\n# Match encoded-word strings in the form =?charset?q?Hello_World?=", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "SPACE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "SPACE = ' '\nBSPACE = b' '\nSPACE8 = ' ' * 8\nEMPTYSTRING = ''\nMAXLINELEN = 78\nFWS = ' \\t'\nUSASCII = Charset('us-ascii')\nUTF8 = Charset('utf-8')\n# Match encoded-word strings in the form =?charset?q?Hello_World?=\necre = re.compile(r'''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "BSPACE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "BSPACE = b' '\nSPACE8 = ' ' * 8\nEMPTYSTRING = ''\nMAXLINELEN = 78\nFWS = ' \\t'\nUSASCII = Charset('us-ascii')\nUTF8 = Charset('utf-8')\n# Match encoded-word strings in the form =?charset?q?Hello_World?=\necre = re.compile(r'''\n =\\? # literal =?", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "SPACE8", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "SPACE8 = ' ' * 8\nEMPTYSTRING = ''\nMAXLINELEN = 78\nFWS = ' \\t'\nUSASCII = Charset('us-ascii')\nUTF8 = Charset('utf-8')\n# Match encoded-word strings in the form =?charset?q?Hello_World?=\necre = re.compile(r'''\n =\\? # literal =?\n (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "EMPTYSTRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "EMPTYSTRING = ''\nMAXLINELEN = 78\nFWS = ' \\t'\nUSASCII = Charset('us-ascii')\nUTF8 = Charset('utf-8')\n# Match encoded-word strings in the form =?charset?q?Hello_World?=\necre = re.compile(r'''\n =\\? # literal =?\n (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset\n \\? # literal ?", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "MAXLINELEN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "MAXLINELEN = 78\nFWS = ' \\t'\nUSASCII = Charset('us-ascii')\nUTF8 = Charset('utf-8')\n# Match encoded-word strings in the form =?charset?q?Hello_World?=\necre = re.compile(r'''\n =\\? # literal =?\n (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset\n \\? # literal ?\n (?P<encoding>[qQbB]) # either a \"q\" or a \"b\", case insensitive", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "FWS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "FWS = ' \\t'\nUSASCII = Charset('us-ascii')\nUTF8 = Charset('utf-8')\n# Match encoded-word strings in the form =?charset?q?Hello_World?=\necre = re.compile(r'''\n =\\? # literal =?\n (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset\n \\? # literal ?\n (?P<encoding>[qQbB]) # either a \"q\" or a \"b\", case insensitive\n \\? # literal ?", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "USASCII", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "USASCII = Charset('us-ascii')\nUTF8 = Charset('utf-8')\n# Match encoded-word strings in the form =?charset?q?Hello_World?=\necre = re.compile(r'''\n =\\? # literal =?\n (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset\n \\? # literal ?\n (?P<encoding>[qQbB]) # either a \"q\" or a \"b\", case insensitive\n \\? # literal ?\n (?P<encoded>.*?) # non-greedy up to the next ?= is the encoded string", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "UTF8", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "UTF8 = Charset('utf-8')\n# Match encoded-word strings in the form =?charset?q?Hello_World?=\necre = re.compile(r'''\n =\\? # literal =?\n (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset\n \\? # literal ?\n (?P<encoding>[qQbB]) # either a \"q\" or a \"b\", case insensitive\n \\? # literal ?\n (?P<encoded>.*?) # non-greedy up to the next ?= is the encoded string\n \\?= # literal ?=", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "ecre", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "ecre = re.compile(r'''\n =\\? # literal =?\n (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset\n \\? # literal ?\n (?P<encoding>[qQbB]) # either a \"q\" or a \"b\", case insensitive\n \\? # literal ?\n (?P<encoded>.*?) # non-greedy up to the next ?= is the encoded string\n \\?= # literal ?=\n ''', re.VERBOSE | re.MULTILINE)\n# Field name regexp, including trailing colon, but not separating whitespace,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "fcre", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "fcre = re.compile(r'[\\041-\\176]+:$')\n# Find a header embedded in a putative header value. Used to check for\n# header injection attack.\n_embedded_header = re.compile(r'\\n[^ \\t]+:')\n# Helpers\n_max_append = email.quoprimime._max_append\ndef decode_header(header):\n \"\"\"Decode a message header value without converting charset.\n Returns a list of (string, charset) pairs containing each of the decoded\n parts of the header. Charset is None for non-encoded parts of the header,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "_embedded_header", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "_embedded_header = re.compile(r'\\n[^ \\t]+:')\n# Helpers\n_max_append = email.quoprimime._max_append\ndef decode_header(header):\n \"\"\"Decode a message header value without converting charset.\n Returns a list of (string, charset) pairs containing each of the decoded\n parts of the header. Charset is None for non-encoded parts of the header,\n otherwise a lower-case string containing the name of the character set\n specified in the encoded string.\n header may be a string that may or may not contain RFC2047 encoded words,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "_max_append", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "peekOfCode": "_max_append = email.quoprimime._max_append\ndef decode_header(header):\n \"\"\"Decode a message header value without converting charset.\n Returns a list of (string, charset) pairs containing each of the decoded\n parts of the header. Charset is None for non-encoded parts of the header,\n otherwise a lower-case string containing the name of the character set\n specified in the encoded string.\n header may be a string that may or may not contain RFC2047 encoded words,\n or it may be a Header object.\n An email.errors.HeaderParseError may be raised when certain decoding error", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.header", "documentation": {} }, { "label": "Address", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "class Address:\n def __init__(self, display_name='', username='', domain='', addr_spec=None):\n \"\"\"Create an object representing a full email address.\n An address can have a 'display_name', a 'username', and a 'domain'. In\n addition to specifying the username and domain separately, they may be\n specified together by using the addr_spec keyword *instead of* the\n username and domain keywords. If an addr_spec string is specified it\n must be properly quoted according to RFC 5322 rules; an error will be\n raised if it is not.\n An Address object has display_name, username, domain, and addr_spec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "Group", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "class Group:\n def __init__(self, display_name=None, addresses=None):\n \"\"\"Create an object representing an address group.\n An address group consists of a display_name followed by colon and a\n list of addresses (see Address) terminated by a semi-colon. The Group\n is created by specifying a display_name and a possibly empty list of\n Address objects. A Group can also be used to represent a single\n address that is not in a group, which is convenient when manipulating\n lists that are a combination of Groups and individual Addresses. In\n this case the display_name should be set to None. In particular, the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "BaseHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "class BaseHeader(str):\n \"\"\"Base class for message headers.\n Implements generic behavior and provides tools for subclasses.\n A subclass must define a classmethod named 'parse' that takes an unfolded\n value string and a dictionary as its arguments. The dictionary will\n contain one key, 'defects', initialized to an empty list. After the call\n the dictionary must contain two additional keys: parse_tree, set to the\n parse tree obtained from parsing the header, and 'decoded', set to the\n string value of the idealized representation of the data from the value.\n (That is, encoded words are decoded, and values that have canonical", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "UnstructuredHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "class UnstructuredHeader:\n max_count = None\n value_parser = staticmethod(parser.get_unstructured)\n @classmethod\n def parse(cls, value, kwds):\n kwds['parse_tree'] = cls.value_parser(value)\n kwds['decoded'] = str(kwds['parse_tree'])\nclass UniqueUnstructuredHeader(UnstructuredHeader):\n max_count = 1\nclass DateHeader:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "UniqueUnstructuredHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "class UniqueUnstructuredHeader(UnstructuredHeader):\n max_count = 1\nclass DateHeader:\n \"\"\"Header whose value consists of a single timestamp.\n Provides an additional attribute, datetime, which is either an aware\n datetime using a timezone, or a naive datetime if the timezone\n in the input string is -0000. Also accepts a datetime as input.\n The 'value' attribute is the normalized form of the timestamp,\n which means it is the output of format_datetime on the datetime.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "DateHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "class DateHeader:\n \"\"\"Header whose value consists of a single timestamp.\n Provides an additional attribute, datetime, which is either an aware\n datetime using a timezone, or a naive datetime if the timezone\n in the input string is -0000. Also accepts a datetime as input.\n The 'value' attribute is the normalized form of the timestamp,\n which means it is the output of format_datetime on the datetime.\n \"\"\"\n max_count = None\n # This is used only for folding, not for creating 'decoded'.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "UniqueDateHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "class UniqueDateHeader(DateHeader):\n max_count = 1\nclass AddressHeader:\n max_count = None\n @staticmethod\n def value_parser(value):\n address_list, value = parser.get_address_list(value)\n assert not value, 'this should not happen'\n return address_list\n @classmethod", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "AddressHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "class AddressHeader:\n max_count = None\n @staticmethod\n def value_parser(value):\n address_list, value = parser.get_address_list(value)\n assert not value, 'this should not happen'\n return address_list\n @classmethod\n def parse(cls, value, kwds):\n if isinstance(value, str):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "UniqueAddressHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "class UniqueAddressHeader(AddressHeader):\n max_count = 1\nclass SingleAddressHeader(AddressHeader):\n @property\n def address(self):\n if len(self.addresses)!=1:\n raise ValueError((\"value of single address header {} is not \"\n \"a single address\").format(self.name))\n return self.addresses[0]\nclass UniqueSingleAddressHeader(SingleAddressHeader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "SingleAddressHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "class SingleAddressHeader(AddressHeader):\n @property\n def address(self):\n if len(self.addresses)!=1:\n raise ValueError((\"value of single address header {} is not \"\n \"a single address\").format(self.name))\n return self.addresses[0]\nclass UniqueSingleAddressHeader(SingleAddressHeader):\n max_count = 1\nclass MIMEVersionHeader:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "UniqueSingleAddressHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "class UniqueSingleAddressHeader(SingleAddressHeader):\n max_count = 1\nclass MIMEVersionHeader:\n max_count = 1\n value_parser = staticmethod(parser.parse_mime_version)\n @classmethod\n def parse(cls, value, kwds):\n kwds['parse_tree'] = parse_tree = cls.value_parser(value)\n kwds['decoded'] = str(parse_tree)\n kwds['defects'].extend(parse_tree.all_defects)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "MIMEVersionHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "class MIMEVersionHeader:\n max_count = 1\n value_parser = staticmethod(parser.parse_mime_version)\n @classmethod\n def parse(cls, value, kwds):\n kwds['parse_tree'] = parse_tree = cls.value_parser(value)\n kwds['decoded'] = str(parse_tree)\n kwds['defects'].extend(parse_tree.all_defects)\n kwds['major'] = None if parse_tree.minor is None else parse_tree.major\n kwds['minor'] = parse_tree.minor", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "ParameterizedMIMEHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "class ParameterizedMIMEHeader:\n # Mixin that handles the params dict. Must be subclassed and\n # a property value_parser for the specific header provided.\n max_count = 1\n @classmethod\n def parse(cls, value, kwds):\n kwds['parse_tree'] = parse_tree = cls.value_parser(value)\n kwds['decoded'] = str(parse_tree)\n kwds['defects'].extend(parse_tree.all_defects)\n if parse_tree.params is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "ContentTypeHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "class ContentTypeHeader(ParameterizedMIMEHeader):\n value_parser = staticmethod(parser.parse_content_type_header)\n def init(self, *args, **kw):\n super().init(*args, **kw)\n self._maintype = utils._sanitize(self._parse_tree.maintype)\n self._subtype = utils._sanitize(self._parse_tree.subtype)\n @property\n def maintype(self):\n return self._maintype\n @property", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "ContentDispositionHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "class ContentDispositionHeader(ParameterizedMIMEHeader):\n value_parser = staticmethod(parser.parse_content_disposition_header)\n def init(self, *args, **kw):\n super().init(*args, **kw)\n cd = self._parse_tree.content_disposition\n self._content_disposition = cd if cd is None else utils._sanitize(cd)\n @property\n def content_disposition(self):\n return self._content_disposition\nclass ContentTransferEncodingHeader:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "ContentTransferEncodingHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "class ContentTransferEncodingHeader:\n max_count = 1\n value_parser = staticmethod(parser.parse_content_transfer_encoding_header)\n @classmethod\n def parse(cls, value, kwds):\n kwds['parse_tree'] = parse_tree = cls.value_parser(value)\n kwds['decoded'] = str(parse_tree)\n kwds['defects'].extend(parse_tree.all_defects)\n def init(self, *args, **kw):\n super().init(*args, **kw)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "MessageIDHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "class MessageIDHeader:\n max_count = 1\n value_parser = staticmethod(parser.parse_message_id)\n @classmethod\n def parse(cls, value, kwds):\n kwds['parse_tree'] = parse_tree = cls.value_parser(value)\n kwds['decoded'] = str(parse_tree)\n kwds['defects'].extend(parse_tree.all_defects)\n# The header factory #\n_default_header_map = {", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "HeaderRegistry", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "class HeaderRegistry:\n \"\"\"A header_factory and header registry.\"\"\"\n def __init__(self, base_class=BaseHeader, default_class=UnstructuredHeader,\n use_default_map=True):\n \"\"\"Create a header_factory that works with the Policy API.\n base_class is the class that will be the last class in the created\n header class's __bases__ list. default_class is the class that will be\n used if \"name\" (see __call__) does not appear in the registry.\n use_default_map controls whether or not the default mapping of names to\n specialized classes is copied in to the registry when the factory is", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "_default_header_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "peekOfCode": "_default_header_map = {\n 'subject': UniqueUnstructuredHeader,\n 'date': UniqueDateHeader,\n 'resent-date': DateHeader,\n 'orig-date': UniqueDateHeader,\n 'sender': UniqueSingleAddressHeader,\n 'resent-sender': SingleAddressHeader,\n 'to': UniqueAddressHeader,\n 'resent-to': AddressHeader,\n 'cc': UniqueAddressHeader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.headerregistry", "documentation": {} }, { "label": "walk", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.iterators", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.iterators", "peekOfCode": "def walk(self):\n \"\"\"Walk over the message tree, yielding each subpart.\n The walk is performed in depth-first order. This method is a\n generator.\n \"\"\"\n yield self\n if self.is_multipart():\n for subpart in self.get_payload():\n yield from subpart.walk()\n# These two functions are imported into the Iterators.py interface module.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.iterators", "documentation": {} }, { "label": "body_line_iterator", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.iterators", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.iterators", "peekOfCode": "def body_line_iterator(msg, decode=False):\n \"\"\"Iterate over the parts, returning string payloads line-by-line.\n Optional decode (default False) is passed through to .get_payload().\n \"\"\"\n for subpart in msg.walk():\n payload = subpart.get_payload(decode=decode)\n if isinstance(payload, str):\n yield from StringIO(payload)\ndef typed_subpart_iterator(msg, maintype='text', subtype=None):\n \"\"\"Iterate over the subparts with a given MIME type.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.iterators", "documentation": {} }, { "label": "typed_subpart_iterator", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.iterators", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.iterators", "peekOfCode": "def typed_subpart_iterator(msg, maintype='text', subtype=None):\n \"\"\"Iterate over the subparts with a given MIME type.\n Use `maintype' as the main MIME type to match against; this defaults to\n \"text\". Optional `subtype' is the MIME subtype to match against; if\n omitted, only the main type is matched.\n \"\"\"\n for subpart in msg.walk():\n if subpart.get_content_maintype() == maintype:\n if subtype is None or subpart.get_content_subtype() == subtype:\n yield subpart", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.iterators", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.iterators", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.iterators", "peekOfCode": "__all__ = [\n 'body_line_iterator',\n 'typed_subpart_iterator',\n 'walk',\n # Do not include _structure() since it's part of the debugging API.\n ]\nimport sys\nfrom io import StringIO\n# This function will become a method of the Message class\ndef walk(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.iterators", "documentation": {} }, { "label": "Message", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "peekOfCode": "class Message:\n \"\"\"Basic message object.\n A message object is defined as something that has a bunch of RFC 2822\n headers and a payload. It may optionally have an envelope header\n (a.k.a. Unix-From or From_ header). If the message is a container (i.e. a\n multipart or a message/rfc822), then the payload is a list of Message\n objects, otherwise it is a string.\n Message objects implement part of the `mapping' interface, which assumes\n there is exactly one occurrence of the header per message. Some headers\n do in fact appear multiple times (e.g. Received) and for those headers,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "documentation": {} }, { "label": "MIMEPart", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "peekOfCode": "class MIMEPart(Message):\n def __init__(self, policy=None):\n if policy is None:\n from email.policy import default\n policy = default\n super().__init__(policy)\n def as_string(self, unixfrom=False, maxheaderlen=None, policy=None):\n \"\"\"Return the entire formatted message as a string.\n Optional 'unixfrom', when true, means include the Unix From_ envelope\n header. maxheaderlen is retained for backward compatibility with the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "documentation": {} }, { "label": "EmailMessage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "peekOfCode": "class EmailMessage(MIMEPart):\n def set_content(self, *args, **kw):\n super().set_content(*args, **kw)\n if 'MIME-Version' not in self:\n self['MIME-Version'] = '1.0'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "peekOfCode": "__all__ = ['Message', 'EmailMessage']\nimport re\nimport uu\nimport quopri\nfrom io import BytesIO, StringIO\n# Intrapackage imports\nfrom email import utils\nfrom email import errors\nfrom email._policybase import Policy, compat32\nfrom email import charset as _charset", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "documentation": {} }, { "label": "Charset", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "peekOfCode": "Charset = _charset.Charset\nSEMISPACE = '; '\n# Regular expression that matches `special' characters in parameters, the\n# existence of which force quoting of the parameter value.\ntspecials = re.compile(r'[ \\(\\)<>@,;:\\\\\"/\\[\\]\\?=]')\ndef _splitparam(param):\n # Split header parameters. BAW: this may be too simple. It isn't\n # strictly RFC 2045 (section 5.1) compliant, but it catches most headers\n # found in the wild. We may eventually need a full fledged parser.\n # RDM: we might have a Header here; for now just stringify it.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "documentation": {} }, { "label": "SEMISPACE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "peekOfCode": "SEMISPACE = '; '\n# Regular expression that matches `special' characters in parameters, the\n# existence of which force quoting of the parameter value.\ntspecials = re.compile(r'[ \\(\\)<>@,;:\\\\\"/\\[\\]\\?=]')\ndef _splitparam(param):\n # Split header parameters. BAW: this may be too simple. It isn't\n # strictly RFC 2045 (section 5.1) compliant, but it catches most headers\n # found in the wild. We may eventually need a full fledged parser.\n # RDM: we might have a Header here; for now just stringify it.\n a, sep, b = str(param).partition(';')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "documentation": {} }, { "label": "tspecials", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "peekOfCode": "tspecials = re.compile(r'[ \\(\\)<>@,;:\\\\\"/\\[\\]\\?=]')\ndef _splitparam(param):\n # Split header parameters. BAW: this may be too simple. It isn't\n # strictly RFC 2045 (section 5.1) compliant, but it catches most headers\n # found in the wild. We may eventually need a full fledged parser.\n # RDM: we might have a Header here; for now just stringify it.\n a, sep, b = str(param).partition(';')\n if not sep:\n return a.strip(), None\n return a.strip(), b.strip()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.message", "documentation": {} }, { "label": "Parser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.parser", "peekOfCode": "class Parser:\n def __init__(self, _class=None, *, policy=compat32):\n \"\"\"Parser of RFC 2822 and MIME email messages.\n Creates an in-memory object tree representing the email message, which\n can then be manipulated and turned over to a Generator to return the\n textual representation of the message.\n The string must be formatted as a block of RFC 2822 headers and header\n continuation lines, optionally preceded by a `Unix-from' header. The\n header block is terminated either by the end of the string or by a\n blank line.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.parser", "documentation": {} }, { "label": "HeaderParser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.parser", "peekOfCode": "class HeaderParser(Parser):\n def parse(self, fp, headersonly=True):\n return Parser.parse(self, fp, True)\n def parsestr(self, text, headersonly=True):\n return Parser.parsestr(self, text, True)\nclass BytesParser:\n def __init__(self, *args, **kw):\n \"\"\"Parser of binary RFC 2822 and MIME email messages.\n Creates an in-memory object tree representing the email message, which\n can then be manipulated and turned over to a Generator to return the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.parser", "documentation": {} }, { "label": "BytesParser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.parser", "peekOfCode": "class BytesParser:\n def __init__(self, *args, **kw):\n \"\"\"Parser of binary RFC 2822 and MIME email messages.\n Creates an in-memory object tree representing the email message, which\n can then be manipulated and turned over to a Generator to return the\n textual representation of the message.\n The input must be formatted as a block of RFC 2822 headers and header\n continuation lines, optionally preceded by a `Unix-from' header. The\n header block is terminated either by the end of the input or by a\n blank line.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.parser", "documentation": {} }, { "label": "BytesHeaderParser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.parser", "peekOfCode": "class BytesHeaderParser(BytesParser):\n def parse(self, fp, headersonly=True):\n return BytesParser.parse(self, fp, headersonly=True)\n def parsebytes(self, text, headersonly=True):\n return BytesParser.parsebytes(self, text, headersonly=True)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.parser", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.parser", "peekOfCode": "__all__ = ['Parser', 'HeaderParser', 'BytesParser', 'BytesHeaderParser',\n 'FeedParser', 'BytesFeedParser']\nfrom io import StringIO, TextIOWrapper\nfrom email.feedparser import FeedParser, BytesFeedParser\nfrom email._policybase import compat32\nclass Parser:\n def __init__(self, _class=None, *, policy=compat32):\n \"\"\"Parser of RFC 2822 and MIME email messages.\n Creates an in-memory object tree representing the email message, which\n can then be manipulated and turned over to a Generator to return the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.parser", "documentation": {} }, { "label": "EmailPolicy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "peekOfCode": "class EmailPolicy(Policy):\n \"\"\"+\n PROVISIONAL\n The API extensions enabled by this policy are currently provisional.\n Refer to the documentation for details.\n This policy adds new header parsing and folding algorithms. Instead of\n simple strings, headers are custom objects with custom attributes\n depending on the type of the field. The folding algorithm fully\n implements RFCs 2047 and 5322.\n In addition to the settable attributes listed above that apply to", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "peekOfCode": "__all__ = [\n 'Compat32',\n 'compat32',\n 'Policy',\n 'EmailPolicy',\n 'default',\n 'strict',\n 'SMTP',\n 'HTTP',\n ]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "documentation": {} }, { "label": "linesep_splitter", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "peekOfCode": "linesep_splitter = re.compile(r'\\n|\\r')\n@_extend_docstrings\nclass EmailPolicy(Policy):\n \"\"\"+\n PROVISIONAL\n The API extensions enabled by this policy are currently provisional.\n Refer to the documentation for details.\n This policy adds new header parsing and folding algorithms. Instead of\n simple strings, headers are custom objects with custom attributes\n depending on the type of the field. The folding algorithm fully", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "documentation": {} }, { "label": "default", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "peekOfCode": "default = EmailPolicy()\n# Make the default policy use the class default header_factory\ndel default.header_factory\nstrict = default.clone(raise_on_defect=True)\nSMTP = default.clone(linesep='\\r\\n')\nHTTP = default.clone(linesep='\\r\\n', max_line_length=None)\nSMTPUTF8 = SMTP.clone(utf8=True)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "documentation": {} }, { "label": "strict", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "peekOfCode": "strict = default.clone(raise_on_defect=True)\nSMTP = default.clone(linesep='\\r\\n')\nHTTP = default.clone(linesep='\\r\\n', max_line_length=None)\nSMTPUTF8 = SMTP.clone(utf8=True)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "documentation": {} }, { "label": "SMTP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "peekOfCode": "SMTP = default.clone(linesep='\\r\\n')\nHTTP = default.clone(linesep='\\r\\n', max_line_length=None)\nSMTPUTF8 = SMTP.clone(utf8=True)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "documentation": {} }, { "label": "HTTP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "peekOfCode": "HTTP = default.clone(linesep='\\r\\n', max_line_length=None)\nSMTPUTF8 = SMTP.clone(utf8=True)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "documentation": {} }, { "label": "SMTPUTF8", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "peekOfCode": "SMTPUTF8 = SMTP.clone(utf8=True)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.policy", "documentation": {} }, { "label": "header_check", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "def header_check(octet):\n \"\"\"Return True if the octet should be escaped with header quopri.\"\"\"\n return chr(octet) != _QUOPRI_HEADER_MAP[octet]\ndef body_check(octet):\n \"\"\"Return True if the octet should be escaped with body quopri.\"\"\"\n return chr(octet) != _QUOPRI_BODY_MAP[octet]\ndef header_length(bytearray):\n \"\"\"Return a header quoted-printable encoding length.\n Note that this does not include any RFC 2047 chrome added by\n `header_encode()`.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "body_check", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "def body_check(octet):\n \"\"\"Return True if the octet should be escaped with body quopri.\"\"\"\n return chr(octet) != _QUOPRI_BODY_MAP[octet]\ndef header_length(bytearray):\n \"\"\"Return a header quoted-printable encoding length.\n Note that this does not include any RFC 2047 chrome added by\n `header_encode()`.\n :param bytearray: An array of bytes (a.k.a. octets).\n :return: The length in bytes of the byte array when it is encoded with\n quoted-printable for headers.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "header_length", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "def header_length(bytearray):\n \"\"\"Return a header quoted-printable encoding length.\n Note that this does not include any RFC 2047 chrome added by\n `header_encode()`.\n :param bytearray: An array of bytes (a.k.a. octets).\n :return: The length in bytes of the byte array when it is encoded with\n quoted-printable for headers.\n \"\"\"\n return sum(len(_QUOPRI_HEADER_MAP[octet]) for octet in bytearray)\ndef body_length(bytearray):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "body_length", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "def body_length(bytearray):\n \"\"\"Return a body quoted-printable encoding length.\n :param bytearray: An array of bytes (a.k.a. octets).\n :return: The length in bytes of the byte array when it is encoded with\n quoted-printable for bodies.\n \"\"\"\n return sum(len(_QUOPRI_BODY_MAP[octet]) for octet in bytearray)\ndef _max_append(L, s, maxlen, extra=''):\n if not isinstance(s, str):\n s = chr(s)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "unquote", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "def unquote(s):\n \"\"\"Turn a string in the form =AB to the ASCII character with value 0xab\"\"\"\n return chr(int(s[1:3], 16))\ndef quote(c):\n return _QUOPRI_MAP[ord(c)]\ndef header_encode(header_bytes, charset='iso-8859-1'):\n \"\"\"Encode a single header line with quoted-printable (like) encoding.\n Defined in RFC 2045, this `Q' encoding is similar to quoted-printable, but\n used specifically for email header fields to allow charsets with mostly 7\n bit characters (and some 8 bit) to remain more or less readable in non-RFC", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "quote", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "def quote(c):\n return _QUOPRI_MAP[ord(c)]\ndef header_encode(header_bytes, charset='iso-8859-1'):\n \"\"\"Encode a single header line with quoted-printable (like) encoding.\n Defined in RFC 2045, this `Q' encoding is similar to quoted-printable, but\n used specifically for email header fields to allow charsets with mostly 7\n bit characters (and some 8 bit) to remain more or less readable in non-RFC\n 2045 aware mail clients.\n charset names the character set to use in the RFC 2046 header. It\n defaults to iso-8859-1.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "header_encode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "def header_encode(header_bytes, charset='iso-8859-1'):\n \"\"\"Encode a single header line with quoted-printable (like) encoding.\n Defined in RFC 2045, this `Q' encoding is similar to quoted-printable, but\n used specifically for email header fields to allow charsets with mostly 7\n bit characters (and some 8 bit) to remain more or less readable in non-RFC\n 2045 aware mail clients.\n charset names the character set to use in the RFC 2046 header. It\n defaults to iso-8859-1.\n \"\"\"\n # Return empty headers as an empty string.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "body_encode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "def body_encode(body, maxlinelen=76, eol=NL):\n \"\"\"Encode with quoted-printable, wrapping at maxlinelen characters.\n Each line of encoded text will end with eol, which defaults to \"\\\\n\". Set\n this to \"\\\\r\\\\n\" if you will be using the result of this function directly\n in an email.\n Each line will be wrapped at, at most, maxlinelen characters before the\n eol string (maxlinelen defaults to 76 characters, the maximum value\n permitted by RFC 2045). Long lines will have the 'soft line break'\n quoted-printable character \"=\" appended to them, so the decoded text will\n be identical to the original text.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "def decode(encoded, eol=NL):\n \"\"\"Decode a quoted-printable string.\n Lines are separated with eol, which defaults to \\\\n.\n \"\"\"\n if not encoded:\n return encoded\n # BAW: see comment in encode() above. Again, we're building up the\n # decoded string with string concatenation, which could be done much more\n # efficiently.\n decoded = ''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "header_decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "def header_decode(s):\n \"\"\"Decode a string encoded with RFC 2045 MIME header `Q' encoding.\n This function does not parse a full MIME header value encoded with\n quoted-printable (like =?iso-8859-1?q?Hello_World?=) -- please use\n the high level email.header class for that functionality.\n \"\"\"\n s = s.replace('_', ' ')\n return re.sub(r'=[a-fA-F0-9]{2}', _unquote_match, s, flags=re.ASCII)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "__all__ = [\n 'body_decode',\n 'body_encode',\n 'body_length',\n 'decode',\n 'decodestring',\n 'header_decode',\n 'header_encode',\n 'header_length',\n 'quote',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "CRLF", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "CRLF = '\\r\\n'\nNL = '\\n'\nEMPTYSTRING = ''\n# Build a mapping of octets to the expansion of that octet. Since we're only\n# going to have 256 of these things, this isn't terribly inefficient\n# space-wise. Remember that headers and bodies have different sets of safe\n# characters. Initialize both maps with the full expansion, and then override\n# the safe bytes with the more compact form.\n_QUOPRI_MAP = ['=%02X' % c for c in range(256)]\n_QUOPRI_HEADER_MAP = _QUOPRI_MAP[:]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "NL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "NL = '\\n'\nEMPTYSTRING = ''\n# Build a mapping of octets to the expansion of that octet. Since we're only\n# going to have 256 of these things, this isn't terribly inefficient\n# space-wise. Remember that headers and bodies have different sets of safe\n# characters. Initialize both maps with the full expansion, and then override\n# the safe bytes with the more compact form.\n_QUOPRI_MAP = ['=%02X' % c for c in range(256)]\n_QUOPRI_HEADER_MAP = _QUOPRI_MAP[:]\n_QUOPRI_BODY_MAP = _QUOPRI_MAP[:]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "EMPTYSTRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "EMPTYSTRING = ''\n# Build a mapping of octets to the expansion of that octet. Since we're only\n# going to have 256 of these things, this isn't terribly inefficient\n# space-wise. Remember that headers and bodies have different sets of safe\n# characters. Initialize both maps with the full expansion, and then override\n# the safe bytes with the more compact form.\n_QUOPRI_MAP = ['=%02X' % c for c in range(256)]\n_QUOPRI_HEADER_MAP = _QUOPRI_MAP[:]\n_QUOPRI_BODY_MAP = _QUOPRI_MAP[:]\n# Safe header bytes which need no encoding.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "_QUOPRI_MAP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "_QUOPRI_MAP = ['=%02X' % c for c in range(256)]\n_QUOPRI_HEADER_MAP = _QUOPRI_MAP[:]\n_QUOPRI_BODY_MAP = _QUOPRI_MAP[:]\n# Safe header bytes which need no encoding.\nfor c in b'-!*+/' + ascii_letters.encode('ascii') + digits.encode('ascii'):\n _QUOPRI_HEADER_MAP[c] = chr(c)\n# Headers have one other special encoding; spaces become underscores.\n_QUOPRI_HEADER_MAP[ord(' ')] = '_'\n# Safe body bytes which need no encoding.\nfor c in (b' !\"#$%&\\'()*+,-./0123456789:;<>'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "_QUOPRI_HEADER_MAP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "_QUOPRI_HEADER_MAP = _QUOPRI_MAP[:]\n_QUOPRI_BODY_MAP = _QUOPRI_MAP[:]\n# Safe header bytes which need no encoding.\nfor c in b'-!*+/' + ascii_letters.encode('ascii') + digits.encode('ascii'):\n _QUOPRI_HEADER_MAP[c] = chr(c)\n# Headers have one other special encoding; spaces become underscores.\n_QUOPRI_HEADER_MAP[ord(' ')] = '_'\n# Safe body bytes which need no encoding.\nfor c in (b' !\"#$%&\\'()*+,-./0123456789:;<>'\n b'?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "_QUOPRI_BODY_MAP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "_QUOPRI_BODY_MAP = _QUOPRI_MAP[:]\n# Safe header bytes which need no encoding.\nfor c in b'-!*+/' + ascii_letters.encode('ascii') + digits.encode('ascii'):\n _QUOPRI_HEADER_MAP[c] = chr(c)\n# Headers have one other special encoding; spaces become underscores.\n_QUOPRI_HEADER_MAP[ord(' ')] = '_'\n# Safe body bytes which need no encoding.\nfor c in (b' !\"#$%&\\'()*+,-./0123456789:;<>'\n b'?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`'\n b'abcdefghijklmnopqrstuvwxyz{|}~\\t'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "_QUOPRI_BODY_ENCODE_MAP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "_QUOPRI_BODY_ENCODE_MAP = _QUOPRI_BODY_MAP[:]\nfor c in b'\\r\\n':\n _QUOPRI_BODY_ENCODE_MAP[c] = chr(c)\ndef body_encode(body, maxlinelen=76, eol=NL):\n \"\"\"Encode with quoted-printable, wrapping at maxlinelen characters.\n Each line of encoded text will end with eol, which defaults to \"\\\\n\". Set\n this to \"\\\\r\\\\n\" if you will be using the result of this function directly\n in an email.\n Each line will be wrapped at, at most, maxlinelen characters before the\n eol string (maxlinelen defaults to 76 characters, the maximum value", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "body_decode", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "body_decode = decode\ndecodestring = decode\ndef _unquote_match(match):\n \"\"\"Turn a match in the form =AB to the ASCII character with value 0xab\"\"\"\n s = match.group(0)\n return unquote(s)\n# Header decoding is done a bit differently\ndef header_decode(s):\n \"\"\"Decode a string encoded with RFC 2045 MIME header `Q' encoding.\n This function does not parse a full MIME header value encoded with", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "decodestring", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "peekOfCode": "decodestring = decode\ndef _unquote_match(match):\n \"\"\"Turn a match in the form =AB to the ASCII character with value 0xab\"\"\"\n s = match.group(0)\n return unquote(s)\n# Header decoding is done a bit differently\ndef header_decode(s):\n \"\"\"Decode a string encoded with RFC 2045 MIME header `Q' encoding.\n This function does not parse a full MIME header value encoded with\n quoted-printable (like =?iso-8859-1?q?Hello_World?=) -- please use", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.quoprimime", "documentation": {} }, { "label": "formataddr", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "def formataddr(pair, charset='utf-8'):\n \"\"\"The inverse of parseaddr(), this takes a 2-tuple of the form\n (realname, email_address) and returns the string value suitable\n for an RFC 2822 From, To or Cc header.\n If the first element of pair is false, then the second element is\n returned unmodified.\n The optional charset is the character set that is used to encode\n realname in case realname is not ASCII safe. Can be an instance of str or\n a Charset-like object which has a header_encode method. Default is\n 'utf-8'.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "getaddresses", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "def getaddresses(fieldvalues):\n \"\"\"Return a list of (REALNAME, EMAIL) for each fieldvalue.\"\"\"\n all = COMMASPACE.join(str(v) for v in fieldvalues)\n a = _AddressList(all)\n return a.addresslist\ndef _format_timetuple_and_zone(timetuple, zone):\n return '%s, %02d %s %04d %02d:%02d:%02d %s' % (\n ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'][timetuple[6]],\n timetuple[2],\n ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "formatdate", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "def formatdate(timeval=None, localtime=False, usegmt=False):\n \"\"\"Returns a date string as specified by RFC 2822, e.g.:\n Fri, 09 Nov 2001 01:08:47 -0000\n Optional timeval if given is a floating point time value as accepted by\n gmtime() and localtime(), otherwise the current time is used.\n Optional localtime is a flag that when True, interprets timeval, and\n returns a date relative to the local timezone instead of UTC, properly\n taking daylight savings time into account.\n Optional argument usegmt means that the timezone is written out as\n an ascii string, not numeric one (so \"GMT\" instead of \"+0000\"). This", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "format_datetime", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "def format_datetime(dt, usegmt=False):\n \"\"\"Turn a datetime into a date string as specified in RFC 2822.\n If usegmt is True, dt must be an aware datetime with an offset of zero. In\n this case 'GMT' will be rendered instead of the normal +0000 required by\n RFC2822. This is to support HTTP headers involving date stamps.\n \"\"\"\n now = dt.timetuple()\n if usegmt:\n if dt.tzinfo is None or dt.tzinfo != datetime.timezone.utc:\n raise ValueError(\"usegmt option requires a UTC datetime\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "make_msgid", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "def make_msgid(idstring=None, domain=None):\n \"\"\"Returns a string suitable for RFC 2822 compliant Message-ID, e.g:\n <142480216486.20800.16526388040877946887@nightshade.la.mastaler.com>\n Optional idstring if given is a string used to strengthen the\n uniqueness of the message id. Optional domain if given provides the\n portion of the message id after the '@'. It defaults to the locally\n defined hostname.\n \"\"\"\n timeval = int(time.time()*100)\n pid = os.getpid()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "parsedate_to_datetime", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "def parsedate_to_datetime(data):\n parsed_date_tz = _parsedate_tz(data)\n if parsed_date_tz is None:\n raise ValueError('Invalid date value or format \"%s\"' % str(data))\n *dtuple, tz = parsed_date_tz\n if tz is None:\n return datetime.datetime(*dtuple[:6])\n return datetime.datetime(*dtuple[:6],\n tzinfo=datetime.timezone(datetime.timedelta(seconds=tz)))\ndef parseaddr(addr):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "parseaddr", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "def parseaddr(addr):\n \"\"\"\n Parse addr into its constituent realname and email address parts.\n Return a tuple of realname and email address, unless the parse fails, in\n which case return a 2-tuple of ('', '').\n \"\"\"\n addrs = _AddressList(addr).addresslist\n if not addrs:\n return '', ''\n return addrs[0]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "unquote", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "def unquote(str):\n \"\"\"Remove quotes from a string.\"\"\"\n if len(str) > 1:\n if str.startswith('\"') and str.endswith('\"'):\n return str[1:-1].replace('\\\\\\\\', '\\\\').replace('\\\\\"', '\"')\n if str.startswith('<') and str.endswith('>'):\n return str[1:-1]\n return str\n# RFC2231-related functions - parameter encoding and decoding\ndef decode_rfc2231(s):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "decode_rfc2231", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "def decode_rfc2231(s):\n \"\"\"Decode string according to RFC 2231\"\"\"\n parts = s.split(TICK, 2)\n if len(parts) <= 2:\n return None, None, s\n return parts\ndef encode_rfc2231(s, charset=None, language=None):\n \"\"\"Encode string according to RFC 2231.\n If neither charset nor language is given, then s is returned as-is. If\n charset is given but not language, the string is encoded using the empty", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "encode_rfc2231", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "def encode_rfc2231(s, charset=None, language=None):\n \"\"\"Encode string according to RFC 2231.\n If neither charset nor language is given, then s is returned as-is. If\n charset is given but not language, the string is encoded using the empty\n string for language.\n \"\"\"\n s = urllib.parse.quote(s, safe='', encoding=charset or 'ascii')\n if charset is None and language is None:\n return s\n if language is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "decode_params", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "def decode_params(params):\n \"\"\"Decode parameters list according to RFC 2231.\n params is a sequence of 2-tuples containing (param name, string value).\n \"\"\"\n new_params = [params[0]]\n # Map parameter's name to a list of continuations. The values are a\n # 3-tuple of the continuation number, the string value, and a flag\n # specifying whether a particular segment is %-encoded.\n rfc2231_params = {}\n for name, value in params[1:]:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "collapse_rfc2231_value", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "def collapse_rfc2231_value(value, errors='replace',\n fallback_charset='us-ascii'):\n if not isinstance(value, tuple) or len(value) != 3:\n return unquote(value)\n # While value comes to us as a unicode string, we need it to be a bytes\n # object. We do not want bytes() normal utf-8 decoder, we want a straight\n # interpretation of the string as character bytes.\n charset, language, text = value\n if charset is None:\n # Issue 17369: if charset/lang is None, decode_rfc2231 couldn't parse", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "localtime", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "def localtime(dt=None, isdst=-1):\n \"\"\"Return local time as an aware datetime object.\n If called without arguments, return current time. Otherwise *dt*\n argument should be a datetime instance, and it is converted to the\n local time zone according to the system time zone database. If *dt* is\n naive (that is, dt.tzinfo is None), it is assumed to be in local time.\n In this case, a positive or zero value for *isdst* causes localtime to\n presume initially that summer time (for example, Daylight Saving Time)\n is or is not (respectively) in effect for the specified time. A\n negative value for *isdst* causes the localtime() function to attempt", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "__all__ = [\n 'collapse_rfc2231_value',\n 'decode_params',\n 'decode_rfc2231',\n 'encode_rfc2231',\n 'formataddr',\n 'formatdate',\n 'format_datetime',\n 'getaddresses',\n 'make_msgid',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "COMMASPACE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "COMMASPACE = ', '\nEMPTYSTRING = ''\nUEMPTYSTRING = ''\nCRLF = '\\r\\n'\nTICK = \"'\"\nspecialsre = re.compile(r'[][\\\\()<>@,:;\".]')\nescapesre = re.compile(r'[\\\\\"]')\ndef _has_surrogates(s):\n \"\"\"Return True if s contains surrogate-escaped binary data.\"\"\"\n # This check is based on the fact that unless there are surrogates, utf8", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "EMPTYSTRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "EMPTYSTRING = ''\nUEMPTYSTRING = ''\nCRLF = '\\r\\n'\nTICK = \"'\"\nspecialsre = re.compile(r'[][\\\\()<>@,:;\".]')\nescapesre = re.compile(r'[\\\\\"]')\ndef _has_surrogates(s):\n \"\"\"Return True if s contains surrogate-escaped binary data.\"\"\"\n # This check is based on the fact that unless there are surrogates, utf8\n # (Python's default encoding) can encode any string. This is the fastest", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "UEMPTYSTRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "UEMPTYSTRING = ''\nCRLF = '\\r\\n'\nTICK = \"'\"\nspecialsre = re.compile(r'[][\\\\()<>@,:;\".]')\nescapesre = re.compile(r'[\\\\\"]')\ndef _has_surrogates(s):\n \"\"\"Return True if s contains surrogate-escaped binary data.\"\"\"\n # This check is based on the fact that unless there are surrogates, utf8\n # (Python's default encoding) can encode any string. This is the fastest\n # way to check for surrogates, see issue 11454 for timings.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "CRLF", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "CRLF = '\\r\\n'\nTICK = \"'\"\nspecialsre = re.compile(r'[][\\\\()<>@,:;\".]')\nescapesre = re.compile(r'[\\\\\"]')\ndef _has_surrogates(s):\n \"\"\"Return True if s contains surrogate-escaped binary data.\"\"\"\n # This check is based on the fact that unless there are surrogates, utf8\n # (Python's default encoding) can encode any string. This is the fastest\n # way to check for surrogates, see issue 11454 for timings.\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "TICK", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "TICK = \"'\"\nspecialsre = re.compile(r'[][\\\\()<>@,:;\".]')\nescapesre = re.compile(r'[\\\\\"]')\ndef _has_surrogates(s):\n \"\"\"Return True if s contains surrogate-escaped binary data.\"\"\"\n # This check is based on the fact that unless there are surrogates, utf8\n # (Python's default encoding) can encode any string. This is the fastest\n # way to check for surrogates, see issue 11454 for timings.\n try:\n s.encode()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "specialsre", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "specialsre = re.compile(r'[][\\\\()<>@,:;\".]')\nescapesre = re.compile(r'[\\\\\"]')\ndef _has_surrogates(s):\n \"\"\"Return True if s contains surrogate-escaped binary data.\"\"\"\n # This check is based on the fact that unless there are surrogates, utf8\n # (Python's default encoding) can encode any string. This is the fastest\n # way to check for surrogates, see issue 11454 for timings.\n try:\n s.encode()\n return False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "escapesre", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "escapesre = re.compile(r'[\\\\\"]')\ndef _has_surrogates(s):\n \"\"\"Return True if s contains surrogate-escaped binary data.\"\"\"\n # This check is based on the fact that unless there are surrogates, utf8\n # (Python's default encoding) can encode any string. This is the fastest\n # way to check for surrogates, see issue 11454 for timings.\n try:\n s.encode()\n return False\n except UnicodeEncodeError:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "rfc2231_continuation", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "peekOfCode": "rfc2231_continuation = re.compile(r'^(?P<name>\\w+)\\*((?P<num>[0-9]+)\\*?)?$',\n re.ASCII)\ndef decode_params(params):\n \"\"\"Decode parameters list according to RFC 2231.\n params is a sequence of 2-tuples containing (param name, string value).\n \"\"\"\n new_params = [params[0]]\n # Map parameter's name to a list of continuations. The values are a\n # 3-tuple of the continuation number, the string value, and a flag\n # specifying whether a particular segment is %-encoded.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email.utils", "documentation": {} }, { "label": "_QByteMap", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "peekOfCode": "class _QByteMap(dict):\n safe = b'-!*+/' + ascii_letters.encode('ascii') + digits.encode('ascii')\n def __missing__(self, key):\n if key in self.safe:\n self[key] = chr(key)\n else:\n self[key] = \"={:02X}\".format(key)\n return self[key]\n_q_byte_map = _QByteMap()\n# In headers spaces are mapped to '_'.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "documentation": {} }, { "label": "decode_q", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "peekOfCode": "def decode_q(encoded):\n encoded = encoded.replace(b'_', b' ')\n return _q_byte_subber(encoded), []\n# dict mapping bytes to their encoded form\nclass _QByteMap(dict):\n safe = b'-!*+/' + ascii_letters.encode('ascii') + digits.encode('ascii')\n def __missing__(self, key):\n if key in self.safe:\n self[key] = chr(key)\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "documentation": {} }, { "label": "encode_q", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "peekOfCode": "def encode_q(bstring):\n return ''.join(_q_byte_map[x] for x in bstring)\ndef len_q(bstring):\n return sum(len(_q_byte_map[x]) for x in bstring)\n#\n# Base64\n#\ndef decode_b(encoded):\n # First try encoding with validate=True, fixing the padding if needed.\n # This will succeed only if encoded includes no invalid characters.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "documentation": {} }, { "label": "len_q", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "peekOfCode": "def len_q(bstring):\n return sum(len(_q_byte_map[x]) for x in bstring)\n#\n# Base64\n#\ndef decode_b(encoded):\n # First try encoding with validate=True, fixing the padding if needed.\n # This will succeed only if encoded includes no invalid characters.\n pad_err = len(encoded) % 4\n missing_padding = b'==='[:4-pad_err] if pad_err else b''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "documentation": {} }, { "label": "decode_b", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "peekOfCode": "def decode_b(encoded):\n # First try encoding with validate=True, fixing the padding if needed.\n # This will succeed only if encoded includes no invalid characters.\n pad_err = len(encoded) % 4\n missing_padding = b'==='[:4-pad_err] if pad_err else b''\n try:\n return (\n base64.b64decode(encoded + missing_padding, validate=True),\n [errors.InvalidBase64PaddingDefect()] if pad_err else [],\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "documentation": {} }, { "label": "encode_b", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "peekOfCode": "def encode_b(bstring):\n return base64.b64encode(bstring).decode('ascii')\ndef len_b(bstring):\n groups_of_3, leftover = divmod(len(bstring), 3)\n # 4 bytes out for each 3 bytes (or nonzero fraction thereof) in.\n return groups_of_3 * 4 + (4 if leftover else 0)\n_cte_decoders = {\n 'q': decode_q,\n 'b': decode_b,\n }", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "documentation": {} }, { "label": "len_b", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "peekOfCode": "def len_b(bstring):\n groups_of_3, leftover = divmod(len(bstring), 3)\n # 4 bytes out for each 3 bytes (or nonzero fraction thereof) in.\n return groups_of_3 * 4 + (4 if leftover else 0)\n_cte_decoders = {\n 'q': decode_q,\n 'b': decode_b,\n }\ndef decode(ew):\n \"\"\"Decode encoded word and return (string, charset, lang, defects) tuple.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "documentation": {} }, { "label": "decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "peekOfCode": "def decode(ew):\n \"\"\"Decode encoded word and return (string, charset, lang, defects) tuple.\n An RFC 2047/2243 encoded word has the form:\n =?charset*lang?cte?encoded_string?=\n where '*lang' may be omitted but the other parts may not be.\n This function expects exactly such a string (that is, it does not check the\n syntax and may raise errors if the string is not well formed), and returns\n the encoded_string decoded first from its Content Transfer Encoding and\n then from the resulting bytes into unicode using the specified charset. If\n the cte-decoded string does not successfully decode using the specified", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "documentation": {} }, { "label": "encode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "peekOfCode": "def encode(string, charset='utf-8', encoding=None, lang=''):\n \"\"\"Encode string using the CTE encoding that produces the shorter result.\n Produces an RFC 2047/2243 encoded word of the form:\n =?charset*lang?cte?encoded_string?=\n where '*lang' is omitted unless the 'lang' parameter is given a value.\n Optional argument charset (defaults to utf-8) specifies the charset to use\n to encode the string to binary before CTE encoding it. Optional argument\n 'encoding' is the cte specifier for the encoding that should be used ('q'\n or 'b'); if it is None (the default) the encoding which produces the\n shortest encoded sequence is used, except that 'q' is preferred if it is up", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "peekOfCode": "__all__ = ['decode_q',\n 'encode_q',\n 'decode_b',\n 'encode_b',\n 'len_q',\n 'len_b',\n 'decode',\n 'encode',\n ]\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "documentation": {} }, { "label": "_q_byte_subber", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "peekOfCode": "_q_byte_subber = functools.partial(re.compile(br'=([a-fA-F0-9]{2})').sub,\n lambda m: bytes.fromhex(m.group(1).decode()))\ndef decode_q(encoded):\n encoded = encoded.replace(b'_', b' ')\n return _q_byte_subber(encoded), []\n# dict mapping bytes to their encoded form\nclass _QByteMap(dict):\n safe = b'-!*+/' + ascii_letters.encode('ascii') + digits.encode('ascii')\n def __missing__(self, key):\n if key in self.safe:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "documentation": {} }, { "label": "_q_byte_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "peekOfCode": "_q_byte_map = _QByteMap()\n# In headers spaces are mapped to '_'.\n_q_byte_map[ord(' ')] = '_'\ndef encode_q(bstring):\n return ''.join(_q_byte_map[x] for x in bstring)\ndef len_q(bstring):\n return sum(len(_q_byte_map[x]) for x in bstring)\n#\n# Base64\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "documentation": {} }, { "label": "_cte_decoders", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "peekOfCode": "_cte_decoders = {\n 'q': decode_q,\n 'b': decode_b,\n }\ndef decode(ew):\n \"\"\"Decode encoded word and return (string, charset, lang, defects) tuple.\n An RFC 2047/2243 encoded word has the form:\n =?charset*lang?cte?encoded_string?=\n where '*lang' may be omitted but the other parts may not be.\n This function expects exactly such a string (that is, it does not check the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "documentation": {} }, { "label": "_cte_encoders", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "peekOfCode": "_cte_encoders = {\n 'q': encode_q,\n 'b': encode_b,\n }\n_cte_encode_length = {\n 'q': len_q,\n 'b': len_b,\n }\ndef encode(string, charset='utf-8', encoding=None, lang=''):\n \"\"\"Encode string using the CTE encoding that produces the shorter result.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "documentation": {} }, { "label": "_cte_encode_length", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "peekOfCode": "_cte_encode_length = {\n 'q': len_q,\n 'b': len_b,\n }\ndef encode(string, charset='utf-8', encoding=None, lang=''):\n \"\"\"Encode string using the CTE encoding that produces the shorter result.\n Produces an RFC 2047/2243 encoded word of the form:\n =?charset*lang?cte?encoded_string?=\n where '*lang' is omitted unless the 'lang' parameter is given a value.\n Optional argument charset (defaults to utf-8) specifies the charset to use", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._encoded_words", "documentation": {} }, { "label": "TokenList", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class TokenList(list):\n token_type = None\n syntactic_break = True\n ew_combine_allowed = True\n def __init__(self, *args, **kw):\n super().__init__(*args, **kw)\n self.defects = []\n def __str__(self):\n return ''.join(str(x) for x in self)\n def __repr__(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "WhiteSpaceTokenList", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class WhiteSpaceTokenList(TokenList):\n @property\n def value(self):\n return ' '\n @property\n def comments(self):\n return [x.content for x in self if x.token_type=='comment']\nclass UnstructuredTokenList(TokenList):\n token_type = 'unstructured'\nclass Phrase(TokenList):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "UnstructuredTokenList", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class UnstructuredTokenList(TokenList):\n token_type = 'unstructured'\nclass Phrase(TokenList):\n token_type = 'phrase'\nclass Word(TokenList):\n token_type = 'word'\nclass CFWSList(WhiteSpaceTokenList):\n token_type = 'cfws'\nclass Atom(TokenList):\n token_type = 'atom'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "Phrase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class Phrase(TokenList):\n token_type = 'phrase'\nclass Word(TokenList):\n token_type = 'word'\nclass CFWSList(WhiteSpaceTokenList):\n token_type = 'cfws'\nclass Atom(TokenList):\n token_type = 'atom'\nclass Token(TokenList):\n token_type = 'token'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "Word", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class Word(TokenList):\n token_type = 'word'\nclass CFWSList(WhiteSpaceTokenList):\n token_type = 'cfws'\nclass Atom(TokenList):\n token_type = 'atom'\nclass Token(TokenList):\n token_type = 'token'\n encode_as_ew = False\nclass EncodedWord(TokenList):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "CFWSList", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class CFWSList(WhiteSpaceTokenList):\n token_type = 'cfws'\nclass Atom(TokenList):\n token_type = 'atom'\nclass Token(TokenList):\n token_type = 'token'\n encode_as_ew = False\nclass EncodedWord(TokenList):\n token_type = 'encoded-word'\n cte = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "Atom", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class Atom(TokenList):\n token_type = 'atom'\nclass Token(TokenList):\n token_type = 'token'\n encode_as_ew = False\nclass EncodedWord(TokenList):\n token_type = 'encoded-word'\n cte = None\n charset = None\n lang = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "Token", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class Token(TokenList):\n token_type = 'token'\n encode_as_ew = False\nclass EncodedWord(TokenList):\n token_type = 'encoded-word'\n cte = None\n charset = None\n lang = None\nclass QuotedString(TokenList):\n token_type = 'quoted-string'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "EncodedWord", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class EncodedWord(TokenList):\n token_type = 'encoded-word'\n cte = None\n charset = None\n lang = None\nclass QuotedString(TokenList):\n token_type = 'quoted-string'\n @property\n def content(self):\n for x in self:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "QuotedString", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class QuotedString(TokenList):\n token_type = 'quoted-string'\n @property\n def content(self):\n for x in self:\n if x.token_type == 'bare-quoted-string':\n return x.value\n @property\n def quoted_value(self):\n res = []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "BareQuotedString", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class BareQuotedString(QuotedString):\n token_type = 'bare-quoted-string'\n def __str__(self):\n return quote_string(''.join(str(x) for x in self))\n @property\n def value(self):\n return ''.join(str(x) for x in self)\nclass Comment(WhiteSpaceTokenList):\n token_type = 'comment'\n def __str__(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "Comment", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class Comment(WhiteSpaceTokenList):\n token_type = 'comment'\n def __str__(self):\n return ''.join(sum([\n [\"(\"],\n [self.quote(x) for x in self],\n [\")\"],\n ], []))\n def quote(self, value):\n if value.token_type == 'comment':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "AddressList", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class AddressList(TokenList):\n token_type = 'address-list'\n @property\n def addresses(self):\n return [x for x in self if x.token_type=='address']\n @property\n def mailboxes(self):\n return sum((x.mailboxes\n for x in self if x.token_type=='address'), [])\n @property", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "Address", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class Address(TokenList):\n token_type = 'address'\n @property\n def display_name(self):\n if self[0].token_type == 'group':\n return self[0].display_name\n @property\n def mailboxes(self):\n if self[0].token_type == 'mailbox':\n return [self[0]]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "MailboxList", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class MailboxList(TokenList):\n token_type = 'mailbox-list'\n @property\n def mailboxes(self):\n return [x for x in self if x.token_type=='mailbox']\n @property\n def all_mailboxes(self):\n return [x for x in self\n if x.token_type in ('mailbox', 'invalid-mailbox')]\nclass GroupList(TokenList):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "GroupList", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class GroupList(TokenList):\n token_type = 'group-list'\n @property\n def mailboxes(self):\n if not self or self[0].token_type != 'mailbox-list':\n return []\n return self[0].mailboxes\n @property\n def all_mailboxes(self):\n if not self or self[0].token_type != 'mailbox-list':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "Group", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class Group(TokenList):\n token_type = \"group\"\n @property\n def mailboxes(self):\n if self[2].token_type != 'group-list':\n return []\n return self[2].mailboxes\n @property\n def all_mailboxes(self):\n if self[2].token_type != 'group-list':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "NameAddr", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class NameAddr(TokenList):\n token_type = 'name-addr'\n @property\n def display_name(self):\n if len(self) == 1:\n return None\n return self[0].display_name\n @property\n def local_part(self):\n return self[-1].local_part", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "AngleAddr", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class AngleAddr(TokenList):\n token_type = 'angle-addr'\n @property\n def local_part(self):\n for x in self:\n if x.token_type == 'addr-spec':\n return x.local_part\n @property\n def domain(self):\n for x in self:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "ObsRoute", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class ObsRoute(TokenList):\n token_type = 'obs-route'\n @property\n def domains(self):\n return [x.domain for x in self if x.token_type == 'domain']\nclass Mailbox(TokenList):\n token_type = 'mailbox'\n @property\n def display_name(self):\n if self[0].token_type == 'name-addr':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "Mailbox", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class Mailbox(TokenList):\n token_type = 'mailbox'\n @property\n def display_name(self):\n if self[0].token_type == 'name-addr':\n return self[0].display_name\n @property\n def local_part(self):\n return self[0].local_part\n @property", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "InvalidMailbox", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class InvalidMailbox(TokenList):\n token_type = 'invalid-mailbox'\n @property\n def display_name(self):\n return None\n local_part = domain = route = addr_spec = display_name\nclass Domain(TokenList):\n token_type = 'domain'\n as_ew_allowed = False\n @property", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "Domain", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class Domain(TokenList):\n token_type = 'domain'\n as_ew_allowed = False\n @property\n def domain(self):\n return ''.join(super().value.split())\nclass DotAtom(TokenList):\n token_type = 'dot-atom'\nclass DotAtomText(TokenList):\n token_type = 'dot-atom-text'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "DotAtom", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class DotAtom(TokenList):\n token_type = 'dot-atom'\nclass DotAtomText(TokenList):\n token_type = 'dot-atom-text'\n as_ew_allowed = True\nclass NoFoldLiteral(TokenList):\n token_type = 'no-fold-literal'\n as_ew_allowed = False\nclass AddrSpec(TokenList):\n token_type = 'addr-spec'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "DotAtomText", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class DotAtomText(TokenList):\n token_type = 'dot-atom-text'\n as_ew_allowed = True\nclass NoFoldLiteral(TokenList):\n token_type = 'no-fold-literal'\n as_ew_allowed = False\nclass AddrSpec(TokenList):\n token_type = 'addr-spec'\n as_ew_allowed = False\n @property", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "NoFoldLiteral", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class NoFoldLiteral(TokenList):\n token_type = 'no-fold-literal'\n as_ew_allowed = False\nclass AddrSpec(TokenList):\n token_type = 'addr-spec'\n as_ew_allowed = False\n @property\n def local_part(self):\n return self[0].local_part\n @property", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "AddrSpec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class AddrSpec(TokenList):\n token_type = 'addr-spec'\n as_ew_allowed = False\n @property\n def local_part(self):\n return self[0].local_part\n @property\n def domain(self):\n if len(self) < 3:\n return None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "ObsLocalPart", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class ObsLocalPart(TokenList):\n token_type = 'obs-local-part'\n as_ew_allowed = False\nclass DisplayName(Phrase):\n token_type = 'display-name'\n ew_combine_allowed = False\n @property\n def display_name(self):\n res = TokenList(self)\n if len(res) == 0:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "DisplayName", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class DisplayName(Phrase):\n token_type = 'display-name'\n ew_combine_allowed = False\n @property\n def display_name(self):\n res = TokenList(self)\n if len(res) == 0:\n return res.value\n if res[0].token_type == 'cfws':\n res.pop(0)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "LocalPart", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class LocalPart(TokenList):\n token_type = 'local-part'\n as_ew_allowed = False\n @property\n def value(self):\n if self[0].token_type == \"quoted-string\":\n return self[0].quoted_value\n else:\n return self[0].value\n @property", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "DomainLiteral", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class DomainLiteral(TokenList):\n token_type = 'domain-literal'\n as_ew_allowed = False\n @property\n def domain(self):\n return ''.join(super().value.split())\n @property\n def ip(self):\n for x in self:\n if x.token_type == 'ptext':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "MIMEVersion", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class MIMEVersion(TokenList):\n token_type = 'mime-version'\n major = None\n minor = None\nclass Parameter(TokenList):\n token_type = 'parameter'\n sectioned = False\n extended = False\n charset = 'us-ascii'\n @property", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "Parameter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class Parameter(TokenList):\n token_type = 'parameter'\n sectioned = False\n extended = False\n charset = 'us-ascii'\n @property\n def section_number(self):\n # Because the first token, the attribute (name) eats CFWS, the second\n # token is always the section if there is one.\n return self[1].number if self.sectioned else 0", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "InvalidParameter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class InvalidParameter(Parameter):\n token_type = 'invalid-parameter'\nclass Attribute(TokenList):\n token_type = 'attribute'\n @property\n def stripped_value(self):\n for token in self:\n if token.token_type.endswith('attrtext'):\n return token.value\nclass Section(TokenList):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "Attribute", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class Attribute(TokenList):\n token_type = 'attribute'\n @property\n def stripped_value(self):\n for token in self:\n if token.token_type.endswith('attrtext'):\n return token.value\nclass Section(TokenList):\n token_type = 'section'\n number = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "Section", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class Section(TokenList):\n token_type = 'section'\n number = None\nclass Value(TokenList):\n token_type = 'value'\n @property\n def stripped_value(self):\n token = self[0]\n if token.token_type == 'cfws':\n token = self[1]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "Value", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class Value(TokenList):\n token_type = 'value'\n @property\n def stripped_value(self):\n token = self[0]\n if token.token_type == 'cfws':\n token = self[1]\n if token.token_type.endswith(\n ('quoted-string', 'attribute', 'extended-attribute')):\n return token.stripped_value", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "MimeParameters", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class MimeParameters(TokenList):\n token_type = 'mime-parameters'\n syntactic_break = False\n @property\n def params(self):\n # The RFC specifically states that the ordering of parameters is not\n # guaranteed and may be reordered by the transport layer. So we have\n # to assume the RFC 2231 pieces can come in any order. However, we\n # output them in the order that we first see a given name, which gives\n # us a stable __str__.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "ParameterizedHeaderValue", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class ParameterizedHeaderValue(TokenList):\n # Set this false so that the value doesn't wind up on a new line even\n # if it and the parameters would fit there but not on the first line.\n syntactic_break = False\n @property\n def params(self):\n for token in reversed(self):\n if token.token_type == 'mime-parameters':\n return token.params\n return {}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "ContentType", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class ContentType(ParameterizedHeaderValue):\n token_type = 'content-type'\n as_ew_allowed = False\n maintype = 'text'\n subtype = 'plain'\nclass ContentDisposition(ParameterizedHeaderValue):\n token_type = 'content-disposition'\n as_ew_allowed = False\n content_disposition = None\nclass ContentTransferEncoding(TokenList):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "ContentDisposition", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class ContentDisposition(ParameterizedHeaderValue):\n token_type = 'content-disposition'\n as_ew_allowed = False\n content_disposition = None\nclass ContentTransferEncoding(TokenList):\n token_type = 'content-transfer-encoding'\n as_ew_allowed = False\n cte = '7bit'\nclass HeaderLabel(TokenList):\n token_type = 'header-label'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "ContentTransferEncoding", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class ContentTransferEncoding(TokenList):\n token_type = 'content-transfer-encoding'\n as_ew_allowed = False\n cte = '7bit'\nclass HeaderLabel(TokenList):\n token_type = 'header-label'\n as_ew_allowed = False\nclass MsgID(TokenList):\n token_type = 'msg-id'\n as_ew_allowed = False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "HeaderLabel", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class HeaderLabel(TokenList):\n token_type = 'header-label'\n as_ew_allowed = False\nclass MsgID(TokenList):\n token_type = 'msg-id'\n as_ew_allowed = False\n def fold(self, policy):\n # message-id tokens may not be folded.\n return str(self) + policy.linesep\nclass MessageID(MsgID):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "MsgID", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class MsgID(TokenList):\n token_type = 'msg-id'\n as_ew_allowed = False\n def fold(self, policy):\n # message-id tokens may not be folded.\n return str(self) + policy.linesep\nclass MessageID(MsgID):\n token_type = 'message-id'\nclass InvalidMessageID(MessageID):\n token_type = 'invalid-message-id'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "MessageID", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class MessageID(MsgID):\n token_type = 'message-id'\nclass InvalidMessageID(MessageID):\n token_type = 'invalid-message-id'\nclass Header(TokenList):\n token_type = 'header'\n#\n# Terminal classes and instances\n#\nclass Terminal(str):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "InvalidMessageID", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class InvalidMessageID(MessageID):\n token_type = 'invalid-message-id'\nclass Header(TokenList):\n token_type = 'header'\n#\n# Terminal classes and instances\n#\nclass Terminal(str):\n as_ew_allowed = True\n ew_combine_allowed = True", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "Header", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class Header(TokenList):\n token_type = 'header'\n#\n# Terminal classes and instances\n#\nclass Terminal(str):\n as_ew_allowed = True\n ew_combine_allowed = True\n syntactic_break = True\n def __new__(cls, value, token_type):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "Terminal", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class Terminal(str):\n as_ew_allowed = True\n ew_combine_allowed = True\n syntactic_break = True\n def __new__(cls, value, token_type):\n self = super().__new__(cls, value)\n self.token_type = token_type\n self.defects = []\n return self\n def __repr__(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "WhiteSpaceTerminal", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class WhiteSpaceTerminal(Terminal):\n @property\n def value(self):\n return ' '\n def startswith_fws(self):\n return True\nclass ValueTerminal(Terminal):\n @property\n def value(self):\n return self", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "ValueTerminal", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class ValueTerminal(Terminal):\n @property\n def value(self):\n return self\n def startswith_fws(self):\n return False\nclass EWWhiteSpaceTerminal(WhiteSpaceTerminal):\n @property\n def value(self):\n return ''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "EWWhiteSpaceTerminal", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class EWWhiteSpaceTerminal(WhiteSpaceTerminal):\n @property\n def value(self):\n return ''\n def __str__(self):\n return ''\nclass _InvalidEwError(errors.HeaderParseError):\n \"\"\"Invalid encoded word found while parsing headers.\"\"\"\n# XXX these need to become classes and used as instances so\n# that a program can't change them in a parse tree and screw", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "_InvalidEwError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "class _InvalidEwError(errors.HeaderParseError):\n \"\"\"Invalid encoded word found while parsing headers.\"\"\"\n# XXX these need to become classes and used as instances so\n# that a program can't change them in a parse tree and screw\n# up other parse trees. Maybe should have tests for that, too.\nDOT = ValueTerminal('.', 'dot')\nListSeparator = ValueTerminal(',', 'list-separator')\nRouteComponentMarker = ValueTerminal('@', 'route-component-marker')\n#\n# Parser", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "quote_string", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def quote_string(value):\n return '\"'+str(value).replace('\\\\', '\\\\\\\\').replace('\"', r'\\\"')+'\"'\n# Match a RFC 2047 word, looks like =?utf-8?q?someword?=\nrfc2047_matcher = re.compile(r'''\n =\\? # literal =?\n [^?]* # charset\n \\? # literal ?\n [qQbB] # literal 'q' or 'b', case insensitive\n \\? # literal ?\n .*? # encoded word", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_fws", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_fws(value):\n \"\"\"FWS = 1*WSP\n This isn't the RFC definition. We're using fws to represent tokens where\n folding can be done, but when we are parsing the *un*folding has already\n been done so we don't need to watch out for CRLF.\n \"\"\"\n newvalue = value.lstrip()\n fws = WhiteSpaceTerminal(value[:len(value)-len(newvalue)], 'fws')\n return fws, newvalue\ndef get_encoded_word(value):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_encoded_word", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_encoded_word(value):\n \"\"\" encoded-word = \"=?\" charset \"?\" encoding \"?\" encoded-text \"?=\"\n \"\"\"\n ew = EncodedWord()\n if not value.startswith('=?'):\n raise errors.HeaderParseError(\n \"expected encoded word but found {}\".format(value))\n tok, *remainder = value[2:].split('?=', 1)\n if tok == value[2:]:\n raise errors.HeaderParseError(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_unstructured", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_unstructured(value):\n \"\"\"unstructured = (*([FWS] vchar) *WSP) / obs-unstruct\n obs-unstruct = *((*LF *CR *(obs-utext) *LF *CR)) / FWS)\n obs-utext = %d0 / obs-NO-WS-CTL / LF / CR\n obs-NO-WS-CTL is control characters except WSP/CR/LF.\n So, basically, we have printable runs, plus control characters or nulls in\n the obsolete syntax, separated by whitespace. Since RFC 2047 uses the\n obsolete syntax in its specification, but requires whitespace on either\n side of the encoded words, I can see no reason to need to separate the\n non-printable-non-whitespace from the printable runs if they occur, so we", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_qp_ctext", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_qp_ctext(value):\n r\"\"\"ctext = <printable ascii except \\ ( )>\n This is not the RFC ctext, since we are handling nested comments in comment\n and unquoting quoted-pairs here. We allow anything except the '()'\n characters, but if we find any ASCII other than the RFC defined printable\n ASCII, a NonPrintableDefect is added to the token's defects list. Since\n quoted pairs are converted to their unquoted values, what is returned is\n a 'ptext' token. In this case it is a WhiteSpaceTerminal, so it's value\n is ' '.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_qcontent", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_qcontent(value):\n \"\"\"qcontent = qtext / quoted-pair\n We allow anything except the DQUOTE character, but if we find any ASCII\n other than the RFC defined printable ASCII, a NonPrintableDefect is\n added to the token's defects list. Any quoted pairs are converted to their\n unquoted values, so what is returned is a 'ptext' token. In this case it\n is a ValueTerminal.\n \"\"\"\n ptext, value, _ = _get_ptext_to_endchars(value, '\"')\n ptext = ValueTerminal(ptext, 'ptext')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_atext", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_atext(value):\n \"\"\"atext = <matches _atext_matcher>\n We allow any non-ATOM_ENDS in atext, but add an InvalidATextDefect to\n the token's defects list if we find non-atext characters.\n \"\"\"\n m = _non_atom_end_matcher(value)\n if not m:\n raise errors.HeaderParseError(\n \"expected atext but found '{}'\".format(value))\n atext = m.group()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_bare_quoted_string", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_bare_quoted_string(value):\n \"\"\"bare-quoted-string = DQUOTE *([FWS] qcontent) [FWS] DQUOTE\n A quoted-string without the leading or trailing white space. Its\n value is the text between the quote marks, with whitespace\n preserved and quoted pairs decoded.\n \"\"\"\n if value[0] != '\"':\n raise errors.HeaderParseError(\n \"expected '\\\"' but found '{}'\".format(value))\n bare_quoted_string = BareQuotedString()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_comment", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_comment(value):\n \"\"\"comment = \"(\" *([FWS] ccontent) [FWS] \")\"\n ccontent = ctext / quoted-pair / comment\n We handle nested comments here, and quoted-pair in our qp-ctext routine.\n \"\"\"\n if value and value[0] != '(':\n raise errors.HeaderParseError(\n \"expected '(' but found '{}'\".format(value))\n comment = Comment()\n value = value[1:]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_cfws", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_cfws(value):\n \"\"\"CFWS = (1*([FWS] comment) [FWS]) / FWS\n \"\"\"\n cfws = CFWSList()\n while value and value[0] in CFWS_LEADER:\n if value[0] in WSP:\n token, value = get_fws(value)\n else:\n token, value = get_comment(value)\n cfws.append(token)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_quoted_string", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_quoted_string(value):\n \"\"\"quoted-string = [CFWS] <bare-quoted-string> [CFWS]\n 'bare-quoted-string' is an intermediate class defined by this\n parser and not by the RFC grammar. It is the quoted string\n without any attached CFWS.\n \"\"\"\n quoted_string = QuotedString()\n if value and value[0] in CFWS_LEADER:\n token, value = get_cfws(value)\n quoted_string.append(token)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_atom", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_atom(value):\n \"\"\"atom = [CFWS] 1*atext [CFWS]\n An atom could be an rfc2047 encoded word.\n \"\"\"\n atom = Atom()\n if value and value[0] in CFWS_LEADER:\n token, value = get_cfws(value)\n atom.append(token)\n if value and value[0] in ATOM_ENDS:\n raise errors.HeaderParseError(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_dot_atom_text", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_dot_atom_text(value):\n \"\"\" dot-text = 1*atext *(\".\" 1*atext)\n \"\"\"\n dot_atom_text = DotAtomText()\n if not value or value[0] in ATOM_ENDS:\n raise errors.HeaderParseError(\"expected atom at a start of \"\n \"dot-atom-text but found '{}'\".format(value))\n while value and value[0] not in ATOM_ENDS:\n token, value = get_atext(value)\n dot_atom_text.append(token)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_dot_atom", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_dot_atom(value):\n \"\"\" dot-atom = [CFWS] dot-atom-text [CFWS]\n Any place we can have a dot atom, we could instead have an rfc2047 encoded\n word.\n \"\"\"\n dot_atom = DotAtom()\n if value[0] in CFWS_LEADER:\n token, value = get_cfws(value)\n dot_atom.append(token)\n if value.startswith('=?'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_word", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_word(value):\n \"\"\"word = atom / quoted-string\n Either atom or quoted-string may start with CFWS. We have to peel off this\n CFWS first to determine which type of word to parse. Afterward we splice\n the leading CFWS, if any, into the parsed sub-token.\n If neither an atom or a quoted-string is found before the next special, a\n HeaderParseError is raised.\n The token returned is either an Atom or a QuotedString, as appropriate.\n This means the 'word' level of the formal grammar is not represented in the\n parse tree; this is because having that extra layer when manipulating the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_phrase", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_phrase(value):\n \"\"\" phrase = 1*word / obs-phrase\n obs-phrase = word *(word / \".\" / CFWS)\n This means a phrase can be a sequence of words, periods, and CFWS in any\n order as long as it starts with at least one word. If anything other than\n words is detected, an ObsoleteHeaderDefect is added to the token's defect\n list. We also accept a phrase that starts with CFWS followed by a dot;\n this is registered as an InvalidHeaderDefect, since it is not supported by\n even the obsolete grammar.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_local_part", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_local_part(value):\n \"\"\" local-part = dot-atom / quoted-string / obs-local-part\n \"\"\"\n local_part = LocalPart()\n leader = None\n if value[0] in CFWS_LEADER:\n leader, value = get_cfws(value)\n if not value:\n raise errors.HeaderParseError(\n \"expected local-part but found '{}'\".format(value))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_obs_local_part", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_obs_local_part(value):\n \"\"\" obs-local-part = word *(\".\" word)\n \"\"\"\n obs_local_part = ObsLocalPart()\n last_non_ws_was_dot = False\n while value and (value[0]=='\\\\' or value[0] not in PHRASE_ENDS):\n if value[0] == '.':\n if last_non_ws_was_dot:\n obs_local_part.defects.append(errors.InvalidHeaderDefect(\n \"invalid repeated '.'\"))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_dtext", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_dtext(value):\n r\"\"\" dtext = <printable ascii except \\ [ ]> / obs-dtext\n obs-dtext = obs-NO-WS-CTL / quoted-pair\n We allow anything except the excluded characters, but if we find any\n ASCII other than the RFC defined printable ASCII, a NonPrintableDefect is\n added to the token's defects list. Quoted pairs are converted to their\n unquoted values, so what is returned is a ptext token, in this case a\n ValueTerminal. If there were quoted-printables, an ObsoleteHeaderDefect is\n added to the returned token's defect list.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_domain_literal", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_domain_literal(value):\n \"\"\" domain-literal = [CFWS] \"[\" *([FWS] dtext) [FWS] \"]\" [CFWS]\n \"\"\"\n domain_literal = DomainLiteral()\n if value[0] in CFWS_LEADER:\n token, value = get_cfws(value)\n domain_literal.append(token)\n if not value:\n raise errors.HeaderParseError(\"expected domain-literal\")\n if value[0] != '[':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_domain", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_domain(value):\n \"\"\" domain = dot-atom / domain-literal / obs-domain\n obs-domain = atom *(\".\" atom))\n \"\"\"\n domain = Domain()\n leader = None\n if value[0] in CFWS_LEADER:\n leader, value = get_cfws(value)\n if not value:\n raise errors.HeaderParseError(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_addr_spec", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_addr_spec(value):\n \"\"\" addr-spec = local-part \"@\" domain\n \"\"\"\n addr_spec = AddrSpec()\n token, value = get_local_part(value)\n addr_spec.append(token)\n if not value or value[0] != '@':\n addr_spec.defects.append(errors.InvalidHeaderDefect(\n \"addr-spec local part with no domain\"))\n return addr_spec, value", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_obs_route", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_obs_route(value):\n \"\"\" obs-route = obs-domain-list \":\"\n obs-domain-list = *(CFWS / \",\") \"@\" domain *(\",\" [CFWS] [\"@\" domain])\n Returns an obs-route token with the appropriate sub-tokens (that is,\n there is no obs-domain-list in the parse tree).\n \"\"\"\n obs_route = ObsRoute()\n while value and (value[0]==',' or value[0] in CFWS_LEADER):\n if value[0] in CFWS_LEADER:\n token, value = get_cfws(value)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_angle_addr", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_angle_addr(value):\n \"\"\" angle-addr = [CFWS] \"<\" addr-spec \">\" [CFWS] / obs-angle-addr\n obs-angle-addr = [CFWS] \"<\" obs-route addr-spec \">\" [CFWS]\n \"\"\"\n angle_addr = AngleAddr()\n if value[0] in CFWS_LEADER:\n token, value = get_cfws(value)\n angle_addr.append(token)\n if not value or value[0] != '<':\n raise errors.HeaderParseError(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_display_name", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_display_name(value):\n \"\"\" display-name = phrase\n Because this is simply a name-rule, we don't return a display-name\n token containing a phrase, but rather a display-name token with\n the content of the phrase.\n \"\"\"\n display_name = DisplayName()\n token, value = get_phrase(value)\n display_name.extend(token[:])\n display_name.defects = token.defects[:]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_name_addr", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_name_addr(value):\n \"\"\" name-addr = [display-name] angle-addr\n \"\"\"\n name_addr = NameAddr()\n # Both the optional display name and the angle-addr can start with cfws.\n leader = None\n if value[0] in CFWS_LEADER:\n leader, value = get_cfws(value)\n if not value:\n raise errors.HeaderParseError(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_mailbox", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_mailbox(value):\n \"\"\" mailbox = name-addr / addr-spec\n \"\"\"\n # The only way to figure out if we are dealing with a name-addr or an\n # addr-spec is to try parsing each one.\n mailbox = Mailbox()\n try:\n token, value = get_name_addr(value)\n except errors.HeaderParseError:\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_invalid_mailbox", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_invalid_mailbox(value, endchars):\n \"\"\" Read everything up to one of the chars in endchars.\n This is outside the formal grammar. The InvalidMailbox TokenList that is\n returned acts like a Mailbox, but the data attributes are None.\n \"\"\"\n invalid_mailbox = InvalidMailbox()\n while value and value[0] not in endchars:\n if value[0] in PHRASE_ENDS:\n invalid_mailbox.append(ValueTerminal(value[0],\n 'misplaced-special'))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_mailbox_list", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_mailbox_list(value):\n \"\"\" mailbox-list = (mailbox *(\",\" mailbox)) / obs-mbox-list\n obs-mbox-list = *([CFWS] \",\") mailbox *(\",\" [mailbox / CFWS])\n For this routine we go outside the formal grammar in order to improve error\n handling. We recognize the end of the mailbox list only at the end of the\n value or at a ';' (the group terminator). This is so that we can turn\n invalid mailboxes into InvalidMailbox tokens and continue parsing any\n remaining valid mailboxes. We also allow all mailbox entries to be null,\n and this condition is handled appropriately at a higher level.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_group_list", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_group_list(value):\n \"\"\" group-list = mailbox-list / CFWS / obs-group-list\n obs-group-list = 1*([CFWS] \",\") [CFWS]\n \"\"\"\n group_list = GroupList()\n if not value:\n group_list.defects.append(errors.InvalidHeaderDefect(\n \"end of header before group-list\"))\n return group_list, value\n leader = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_group", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_group(value):\n \"\"\" group = display-name \":\" [group-list] \";\" [CFWS]\n \"\"\"\n group = Group()\n token, value = get_display_name(value)\n if not value or value[0] != ':':\n raise errors.HeaderParseError(\"expected ':' at end of group \"\n \"display name but found '{}'\".format(value))\n group.append(token)\n group.append(ValueTerminal(':', 'group-display-name-terminator'))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_address", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_address(value):\n \"\"\" address = mailbox / group\n Note that counter-intuitively, an address can be either a single address or\n a list of addresses (a group). This is why the returned Address object has\n a 'mailboxes' attribute which treats a single address as a list of length\n one. When you need to differentiate between to two cases, extract the single\n element, which is either a mailbox or a group token.\n \"\"\"\n # The formal grammar isn't very helpful when parsing an address. mailbox\n # and group, especially when allowing for obsolete forms, start off very", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_address_list", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_address_list(value):\n \"\"\" address_list = (address *(\",\" address)) / obs-addr-list\n obs-addr-list = *([CFWS] \",\") address *(\",\" [address / CFWS])\n We depart from the formal grammar here by continuing to parse until the end\n of the input, assuming the input to be entirely composed of an\n address-list. This is always true in email parsing, and allows us\n to skip invalid addresses to parse additional valid ones.\n \"\"\"\n address_list = AddressList()\n while value:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_no_fold_literal", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_no_fold_literal(value):\n \"\"\" no-fold-literal = \"[\" *dtext \"]\"\n \"\"\"\n no_fold_literal = NoFoldLiteral()\n if not value:\n raise errors.HeaderParseError(\n \"expected no-fold-literal but found '{}'\".format(value))\n if value[0] != '[':\n raise errors.HeaderParseError(\n \"expected '[' at the start of no-fold-literal \"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_msg_id", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_msg_id(value):\n \"\"\"msg-id = [CFWS] \"<\" id-left '@' id-right \">\" [CFWS]\n id-left = dot-atom-text / obs-id-left\n id-right = dot-atom-text / no-fold-literal / obs-id-right\n no-fold-literal = \"[\" *dtext \"]\"\n \"\"\"\n msg_id = MsgID()\n if value and value[0] in CFWS_LEADER:\n token, value = get_cfws(value)\n msg_id.append(token)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "parse_message_id", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def parse_message_id(value):\n \"\"\"message-id = \"Message-ID:\" msg-id CRLF\n \"\"\"\n message_id = MessageID()\n try:\n token, value = get_msg_id(value)\n message_id.append(token)\n except errors.HeaderParseError as ex:\n token = get_unstructured(value)\n message_id = InvalidMessageID(token)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "parse_mime_version", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def parse_mime_version(value):\n \"\"\" mime-version = [CFWS] 1*digit [CFWS] \".\" [CFWS] 1*digit [CFWS]\n \"\"\"\n # The [CFWS] is implicit in the RFC 2045 BNF.\n # XXX: This routine is a bit verbose, should factor out a get_int method.\n mime_version = MIMEVersion()\n if not value:\n mime_version.defects.append(errors.HeaderMissingRequiredValue(\n \"Missing MIME version number (eg: 1.0)\"))\n return mime_version", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_invalid_parameter", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_invalid_parameter(value):\n \"\"\" Read everything up to the next ';'.\n This is outside the formal grammar. The InvalidParameter TokenList that is\n returned acts like a Parameter, but the data attributes are None.\n \"\"\"\n invalid_parameter = InvalidParameter()\n while value and value[0] != ';':\n if value[0] in PHRASE_ENDS:\n invalid_parameter.append(ValueTerminal(value[0],\n 'misplaced-special'))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_ttext", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_ttext(value):\n \"\"\"ttext = <matches _ttext_matcher>\n We allow any non-TOKEN_ENDS in ttext, but add defects to the token's\n defects list if we find non-ttext characters. We also register defects for\n *any* non-printables even though the RFC doesn't exclude all of them,\n because we follow the spirit of RFC 5322.\n \"\"\"\n m = _non_token_end_matcher(value)\n if not m:\n raise errors.HeaderParseError(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_token", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_token(value):\n \"\"\"token = [CFWS] 1*ttext [CFWS]\n The RFC equivalent of ttext is any US-ASCII chars except space, ctls, or\n tspecials. We also exclude tabs even though the RFC doesn't.\n The RFC implies the CFWS but is not explicit about it in the BNF.\n \"\"\"\n mtoken = Token()\n if value and value[0] in CFWS_LEADER:\n token, value = get_cfws(value)\n mtoken.append(token)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_attrtext", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_attrtext(value):\n \"\"\"attrtext = 1*(any non-ATTRIBUTE_ENDS character)\n We allow any non-ATTRIBUTE_ENDS in attrtext, but add defects to the\n token's defects list if we find non-attrtext characters. We also register\n defects for *any* non-printables even though the RFC doesn't exclude all of\n them, because we follow the spirit of RFC 5322.\n \"\"\"\n m = _non_attribute_end_matcher(value)\n if not m:\n raise errors.HeaderParseError(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_attribute", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_attribute(value):\n \"\"\" [CFWS] 1*attrtext [CFWS]\n This version of the BNF makes the CFWS explicit, and as usual we use a\n value terminal for the actual run of characters. The RFC equivalent of\n attrtext is the token characters, with the subtraction of '*', \"'\", and '%'.\n We include tab in the excluded set just as we do for token.\n \"\"\"\n attribute = Attribute()\n if value and value[0] in CFWS_LEADER:\n token, value = get_cfws(value)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_extended_attrtext", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_extended_attrtext(value):\n \"\"\"attrtext = 1*(any non-ATTRIBUTE_ENDS character plus '%')\n This is a special parsing routine so that we get a value that\n includes % escapes as a single string (which we decode as a single\n string later).\n \"\"\"\n m = _non_extended_attribute_end_matcher(value)\n if not m:\n raise errors.HeaderParseError(\n \"expected extended attrtext but found {!r}\".format(value))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_extended_attribute", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_extended_attribute(value):\n \"\"\" [CFWS] 1*extended_attrtext [CFWS]\n This is like the non-extended version except we allow % characters, so that\n we can pick up an encoded value as a single string.\n \"\"\"\n # XXX: should we have an ExtendedAttribute TokenList?\n attribute = Attribute()\n if value and value[0] in CFWS_LEADER:\n token, value = get_cfws(value)\n attribute.append(token)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_section", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_section(value):\n \"\"\" '*' digits\n The formal BNF is more complicated because leading 0s are not allowed. We\n check for that and add a defect. We also assume no CFWS is allowed between\n the '*' and the digits, though the RFC is not crystal clear on that.\n The caller should already have dealt with leading CFWS.\n \"\"\"\n section = Section()\n if not value or value[0] != '*':\n raise errors.HeaderParseError(\"Expected section but found {}\".format(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_value", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_value(value):\n \"\"\" quoted-string / attribute\n \"\"\"\n v = Value()\n if not value:\n raise errors.HeaderParseError(\"Expected value but found end of string\")\n leader = None\n if value[0] in CFWS_LEADER:\n leader, value = get_cfws(value)\n if not value:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "get_parameter", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def get_parameter(value):\n \"\"\" attribute [section] [\"*\"] [CFWS] \"=\" value\n The CFWS is implied by the RFC but not made explicit in the BNF. This\n simplified form of the BNF from the RFC is made to conform with the RFC BNF\n through some extra checks. We do it this way because it makes both error\n recovery and working with the resulting parse tree easier.\n \"\"\"\n # It is possible CFWS would also be implicitly allowed between the section\n # and the 'extended-attribute' marker (the '*') , but we've never seen that\n # in the wild and we will therefore ignore the possibility.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "parse_mime_parameters", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def parse_mime_parameters(value):\n \"\"\" parameter *( \";\" parameter )\n That BNF is meant to indicate this routine should only be called after\n finding and handling the leading ';'. There is no corresponding rule in\n the formal RFC grammar, but it is more convenient for us for the set of\n parameters to be treated as its own TokenList.\n This is 'parse' routine because it consumes the remaining value, but it\n would never be called to parse a full header. Instead it is called to\n parse everything after the non-parameter value of a specific MIME header.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "parse_content_type_header", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def parse_content_type_header(value):\n \"\"\" maintype \"/\" subtype *( \";\" parameter )\n The maintype and substype are tokens. Theoretically they could\n be checked against the official IANA list + x-token, but we\n don't do that.\n \"\"\"\n ctype = ContentType()\n recover = False\n if not value:\n ctype.defects.append(errors.HeaderMissingRequiredValue(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "parse_content_disposition_header", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def parse_content_disposition_header(value):\n \"\"\" disposition-type *( \";\" parameter )\n \"\"\"\n disp_header = ContentDisposition()\n if not value:\n disp_header.defects.append(errors.HeaderMissingRequiredValue(\n \"Missing content disposition\"))\n return disp_header\n try:\n token, value = get_token(value)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "parse_content_transfer_encoding_header", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "def parse_content_transfer_encoding_header(value):\n \"\"\" mechanism\n \"\"\"\n # We should probably validate the values, since the list is fixed.\n cte_header = ContentTransferEncoding()\n if not value:\n cte_header.defects.append(errors.HeaderMissingRequiredValue(\n \"Missing content transfer encoding\"))\n return cte_header\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "WSP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "WSP = set(' \\t')\nCFWS_LEADER = WSP | set('(')\nSPECIALS = set(r'()<>@,:;.\\\"[]')\nATOM_ENDS = SPECIALS | WSP\nDOT_ATOM_ENDS = ATOM_ENDS - set('.')\n# '.', '\"', and '(' do not end phrases in order to support obs-phrase\nPHRASE_ENDS = SPECIALS - set('.\"(')\nTSPECIALS = (SPECIALS | set('/?=')) - set('.')\nTOKEN_ENDS = TSPECIALS | WSP\nASPECIALS = TSPECIALS | set(\"*'%\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "CFWS_LEADER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "CFWS_LEADER = WSP | set('(')\nSPECIALS = set(r'()<>@,:;.\\\"[]')\nATOM_ENDS = SPECIALS | WSP\nDOT_ATOM_ENDS = ATOM_ENDS - set('.')\n# '.', '\"', and '(' do not end phrases in order to support obs-phrase\nPHRASE_ENDS = SPECIALS - set('.\"(')\nTSPECIALS = (SPECIALS | set('/?=')) - set('.')\nTOKEN_ENDS = TSPECIALS | WSP\nASPECIALS = TSPECIALS | set(\"*'%\")\nATTRIBUTE_ENDS = ASPECIALS | WSP", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "SPECIALS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "SPECIALS = set(r'()<>@,:;.\\\"[]')\nATOM_ENDS = SPECIALS | WSP\nDOT_ATOM_ENDS = ATOM_ENDS - set('.')\n# '.', '\"', and '(' do not end phrases in order to support obs-phrase\nPHRASE_ENDS = SPECIALS - set('.\"(')\nTSPECIALS = (SPECIALS | set('/?=')) - set('.')\nTOKEN_ENDS = TSPECIALS | WSP\nASPECIALS = TSPECIALS | set(\"*'%\")\nATTRIBUTE_ENDS = ASPECIALS | WSP\nEXTENDED_ATTRIBUTE_ENDS = ATTRIBUTE_ENDS - set('%')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "ATOM_ENDS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "ATOM_ENDS = SPECIALS | WSP\nDOT_ATOM_ENDS = ATOM_ENDS - set('.')\n# '.', '\"', and '(' do not end phrases in order to support obs-phrase\nPHRASE_ENDS = SPECIALS - set('.\"(')\nTSPECIALS = (SPECIALS | set('/?=')) - set('.')\nTOKEN_ENDS = TSPECIALS | WSP\nASPECIALS = TSPECIALS | set(\"*'%\")\nATTRIBUTE_ENDS = ASPECIALS | WSP\nEXTENDED_ATTRIBUTE_ENDS = ATTRIBUTE_ENDS - set('%')\ndef quote_string(value):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "DOT_ATOM_ENDS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "DOT_ATOM_ENDS = ATOM_ENDS - set('.')\n# '.', '\"', and '(' do not end phrases in order to support obs-phrase\nPHRASE_ENDS = SPECIALS - set('.\"(')\nTSPECIALS = (SPECIALS | set('/?=')) - set('.')\nTOKEN_ENDS = TSPECIALS | WSP\nASPECIALS = TSPECIALS | set(\"*'%\")\nATTRIBUTE_ENDS = ASPECIALS | WSP\nEXTENDED_ATTRIBUTE_ENDS = ATTRIBUTE_ENDS - set('%')\ndef quote_string(value):\n return '\"'+str(value).replace('\\\\', '\\\\\\\\').replace('\"', r'\\\"')+'\"'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "PHRASE_ENDS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "PHRASE_ENDS = SPECIALS - set('.\"(')\nTSPECIALS = (SPECIALS | set('/?=')) - set('.')\nTOKEN_ENDS = TSPECIALS | WSP\nASPECIALS = TSPECIALS | set(\"*'%\")\nATTRIBUTE_ENDS = ASPECIALS | WSP\nEXTENDED_ATTRIBUTE_ENDS = ATTRIBUTE_ENDS - set('%')\ndef quote_string(value):\n return '\"'+str(value).replace('\\\\', '\\\\\\\\').replace('\"', r'\\\"')+'\"'\n# Match a RFC 2047 word, looks like =?utf-8?q?someword?=\nrfc2047_matcher = re.compile(r'''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "TSPECIALS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "TSPECIALS = (SPECIALS | set('/?=')) - set('.')\nTOKEN_ENDS = TSPECIALS | WSP\nASPECIALS = TSPECIALS | set(\"*'%\")\nATTRIBUTE_ENDS = ASPECIALS | WSP\nEXTENDED_ATTRIBUTE_ENDS = ATTRIBUTE_ENDS - set('%')\ndef quote_string(value):\n return '\"'+str(value).replace('\\\\', '\\\\\\\\').replace('\"', r'\\\"')+'\"'\n# Match a RFC 2047 word, looks like =?utf-8?q?someword?=\nrfc2047_matcher = re.compile(r'''\n =\\? # literal =?", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "TOKEN_ENDS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "TOKEN_ENDS = TSPECIALS | WSP\nASPECIALS = TSPECIALS | set(\"*'%\")\nATTRIBUTE_ENDS = ASPECIALS | WSP\nEXTENDED_ATTRIBUTE_ENDS = ATTRIBUTE_ENDS - set('%')\ndef quote_string(value):\n return '\"'+str(value).replace('\\\\', '\\\\\\\\').replace('\"', r'\\\"')+'\"'\n# Match a RFC 2047 word, looks like =?utf-8?q?someword?=\nrfc2047_matcher = re.compile(r'''\n =\\? # literal =?\n [^?]* # charset", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "ASPECIALS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "ASPECIALS = TSPECIALS | set(\"*'%\")\nATTRIBUTE_ENDS = ASPECIALS | WSP\nEXTENDED_ATTRIBUTE_ENDS = ATTRIBUTE_ENDS - set('%')\ndef quote_string(value):\n return '\"'+str(value).replace('\\\\', '\\\\\\\\').replace('\"', r'\\\"')+'\"'\n# Match a RFC 2047 word, looks like =?utf-8?q?someword?=\nrfc2047_matcher = re.compile(r'''\n =\\? # literal =?\n [^?]* # charset\n \\? # literal ?", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "ATTRIBUTE_ENDS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "ATTRIBUTE_ENDS = ASPECIALS | WSP\nEXTENDED_ATTRIBUTE_ENDS = ATTRIBUTE_ENDS - set('%')\ndef quote_string(value):\n return '\"'+str(value).replace('\\\\', '\\\\\\\\').replace('\"', r'\\\"')+'\"'\n# Match a RFC 2047 word, looks like =?utf-8?q?someword?=\nrfc2047_matcher = re.compile(r'''\n =\\? # literal =?\n [^?]* # charset\n \\? # literal ?\n [qQbB] # literal 'q' or 'b', case insensitive", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "EXTENDED_ATTRIBUTE_ENDS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "EXTENDED_ATTRIBUTE_ENDS = ATTRIBUTE_ENDS - set('%')\ndef quote_string(value):\n return '\"'+str(value).replace('\\\\', '\\\\\\\\').replace('\"', r'\\\"')+'\"'\n# Match a RFC 2047 word, looks like =?utf-8?q?someword?=\nrfc2047_matcher = re.compile(r'''\n =\\? # literal =?\n [^?]* # charset\n \\? # literal ?\n [qQbB] # literal 'q' or 'b', case insensitive\n \\? # literal ?", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "rfc2047_matcher", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "rfc2047_matcher = re.compile(r'''\n =\\? # literal =?\n [^?]* # charset\n \\? # literal ?\n [qQbB] # literal 'q' or 'b', case insensitive\n \\? # literal ?\n .*? # encoded word\n \\?= # literal ?=\n''', re.VERBOSE | re.MULTILINE)\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "DOT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "DOT = ValueTerminal('.', 'dot')\nListSeparator = ValueTerminal(',', 'list-separator')\nRouteComponentMarker = ValueTerminal('@', 'route-component-marker')\n#\n# Parser\n#\n# Parse strings according to RFC822/2047/2822/5322 rules.\n#\n# This is a stateless parser. Each get_XXX function accepts a string and\n# returns either a Terminal or a TokenList representing the RFC object named", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "ListSeparator", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "ListSeparator = ValueTerminal(',', 'list-separator')\nRouteComponentMarker = ValueTerminal('@', 'route-component-marker')\n#\n# Parser\n#\n# Parse strings according to RFC822/2047/2822/5322 rules.\n#\n# This is a stateless parser. Each get_XXX function accepts a string and\n# returns either a Terminal or a TokenList representing the RFC object named\n# by the method and a string containing the remaining unparsed characters", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "RouteComponentMarker", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "RouteComponentMarker = ValueTerminal('@', 'route-component-marker')\n#\n# Parser\n#\n# Parse strings according to RFC822/2047/2822/5322 rules.\n#\n# This is a stateless parser. Each get_XXX function accepts a string and\n# returns either a Terminal or a TokenList representing the RFC object named\n# by the method and a string containing the remaining unparsed characters\n# from the input. Thus a parser method consumes the next syntactic construct", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "_wsp_splitter", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "_wsp_splitter = re.compile(r'([{}]+)'.format(''.join(WSP))).split\n_non_atom_end_matcher = re.compile(r\"[^{}]+\".format(\n re.escape(''.join(ATOM_ENDS)))).match\n_non_printable_finder = re.compile(r\"[\\x00-\\x20\\x7F]\").findall\n_non_token_end_matcher = re.compile(r\"[^{}]+\".format(\n re.escape(''.join(TOKEN_ENDS)))).match\n_non_attribute_end_matcher = re.compile(r\"[^{}]+\".format(\n re.escape(''.join(ATTRIBUTE_ENDS)))).match\n_non_extended_attribute_end_matcher = re.compile(r\"[^{}]+\".format(\n re.escape(''.join(EXTENDED_ATTRIBUTE_ENDS)))).match", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "_non_atom_end_matcher", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "_non_atom_end_matcher = re.compile(r\"[^{}]+\".format(\n re.escape(''.join(ATOM_ENDS)))).match\n_non_printable_finder = re.compile(r\"[\\x00-\\x20\\x7F]\").findall\n_non_token_end_matcher = re.compile(r\"[^{}]+\".format(\n re.escape(''.join(TOKEN_ENDS)))).match\n_non_attribute_end_matcher = re.compile(r\"[^{}]+\".format(\n re.escape(''.join(ATTRIBUTE_ENDS)))).match\n_non_extended_attribute_end_matcher = re.compile(r\"[^{}]+\".format(\n re.escape(''.join(EXTENDED_ATTRIBUTE_ENDS)))).match\ndef _validate_xtext(xtext):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "_non_printable_finder", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "_non_printable_finder = re.compile(r\"[\\x00-\\x20\\x7F]\").findall\n_non_token_end_matcher = re.compile(r\"[^{}]+\".format(\n re.escape(''.join(TOKEN_ENDS)))).match\n_non_attribute_end_matcher = re.compile(r\"[^{}]+\".format(\n re.escape(''.join(ATTRIBUTE_ENDS)))).match\n_non_extended_attribute_end_matcher = re.compile(r\"[^{}]+\".format(\n re.escape(''.join(EXTENDED_ATTRIBUTE_ENDS)))).match\ndef _validate_xtext(xtext):\n \"\"\"If input token contains ASCII non-printables, register a defect.\"\"\"\n non_printables = _non_printable_finder(xtext)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "_non_token_end_matcher", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "_non_token_end_matcher = re.compile(r\"[^{}]+\".format(\n re.escape(''.join(TOKEN_ENDS)))).match\n_non_attribute_end_matcher = re.compile(r\"[^{}]+\".format(\n re.escape(''.join(ATTRIBUTE_ENDS)))).match\n_non_extended_attribute_end_matcher = re.compile(r\"[^{}]+\".format(\n re.escape(''.join(EXTENDED_ATTRIBUTE_ENDS)))).match\ndef _validate_xtext(xtext):\n \"\"\"If input token contains ASCII non-printables, register a defect.\"\"\"\n non_printables = _non_printable_finder(xtext)\n if non_printables:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "_non_attribute_end_matcher", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "_non_attribute_end_matcher = re.compile(r\"[^{}]+\".format(\n re.escape(''.join(ATTRIBUTE_ENDS)))).match\n_non_extended_attribute_end_matcher = re.compile(r\"[^{}]+\".format(\n re.escape(''.join(EXTENDED_ATTRIBUTE_ENDS)))).match\ndef _validate_xtext(xtext):\n \"\"\"If input token contains ASCII non-printables, register a defect.\"\"\"\n non_printables = _non_printable_finder(xtext)\n if non_printables:\n xtext.defects.append(errors.NonPrintableDefect(non_printables))\n if utils._has_surrogates(xtext):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "_non_extended_attribute_end_matcher", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "peekOfCode": "_non_extended_attribute_end_matcher = re.compile(r\"[^{}]+\".format(\n re.escape(''.join(EXTENDED_ATTRIBUTE_ENDS)))).match\ndef _validate_xtext(xtext):\n \"\"\"If input token contains ASCII non-printables, register a defect.\"\"\"\n non_printables = _non_printable_finder(xtext)\n if non_printables:\n xtext.defects.append(errors.NonPrintableDefect(non_printables))\n if utils._has_surrogates(xtext):\n xtext.defects.append(errors.UndecodableBytesDefect(\n \"Non-ASCII characters found in header token\"))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._header_value_parser", "documentation": {} }, { "label": "AddrlistClass", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "peekOfCode": "class AddrlistClass:\n \"\"\"Address parser class by Ben Escoto.\n To understand what this class does, it helps to have a copy of RFC 2822 in\n front of you.\n Note: this class interface is deprecated and may be removed in the future.\n Use email.utils.AddressList instead.\n \"\"\"\n def __init__(self, field):\n \"\"\"Initialize a new instance.\n `field' is an unparsed address header field, containing", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "documentation": {} }, { "label": "AddressList", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "peekOfCode": "class AddressList(AddrlistClass):\n \"\"\"An AddressList encapsulates a list of parsed RFC 2822 addresses.\"\"\"\n def __init__(self, field):\n AddrlistClass.__init__(self, field)\n if field:\n self.addresslist = self.getaddrlist()\n else:\n self.addresslist = []\n def __len__(self):\n return len(self.addresslist)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "documentation": {} }, { "label": "parsedate_tz", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "peekOfCode": "def parsedate_tz(data):\n \"\"\"Convert a date string to a time tuple.\n Accounts for military timezones.\n \"\"\"\n res = _parsedate_tz(data)\n if not res:\n return\n if res[9] is None:\n res[9] = 0\n return tuple(res)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "documentation": {} }, { "label": "parsedate", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "peekOfCode": "def parsedate(data):\n \"\"\"Convert a time string to a time tuple.\"\"\"\n t = parsedate_tz(data)\n if isinstance(t, tuple):\n return t[:9]\n else:\n return t\ndef mktime_tz(data):\n \"\"\"Turn a 10-tuple as returned by parsedate_tz() into a POSIX timestamp.\"\"\"\n if data[9] is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "documentation": {} }, { "label": "mktime_tz", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "peekOfCode": "def mktime_tz(data):\n \"\"\"Turn a 10-tuple as returned by parsedate_tz() into a POSIX timestamp.\"\"\"\n if data[9] is None:\n # No zone info, so localtime is better assumption than GMT\n return time.mktime(data[:8] + (-1,))\n else:\n t = calendar.timegm(data)\n return t - data[9]\ndef quote(str):\n \"\"\"Prepare string to be used in a quoted string.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "documentation": {} }, { "label": "quote", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "peekOfCode": "def quote(str):\n \"\"\"Prepare string to be used in a quoted string.\n Turns backslash and double quote characters into quoted pairs. These\n are the only characters that need to be quoted inside a quoted string.\n Does not add the surrounding double quotes.\n \"\"\"\n return str.replace('\\\\', '\\\\\\\\').replace('\"', '\\\\\"')\nclass AddrlistClass:\n \"\"\"Address parser class by Ben Escoto.\n To understand what this class does, it helps to have a copy of RFC 2822 in", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "peekOfCode": "__all__ = [\n 'mktime_tz',\n 'parsedate',\n 'parsedate_tz',\n 'quote',\n ]\nimport time, calendar\nSPACE = ' '\nEMPTYSTRING = ''\nCOMMASPACE = ', '", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "documentation": {} }, { "label": "SPACE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "peekOfCode": "SPACE = ' '\nEMPTYSTRING = ''\nCOMMASPACE = ', '\n# Parse a date field\n_monthnames = ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul',\n 'aug', 'sep', 'oct', 'nov', 'dec',\n 'january', 'february', 'march', 'april', 'may', 'june', 'july',\n 'august', 'september', 'october', 'november', 'december']\n_daynames = ['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun']\n# The timezone table does not include the military time zones defined", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "documentation": {} }, { "label": "EMPTYSTRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "peekOfCode": "EMPTYSTRING = ''\nCOMMASPACE = ', '\n# Parse a date field\n_monthnames = ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul',\n 'aug', 'sep', 'oct', 'nov', 'dec',\n 'january', 'february', 'march', 'april', 'may', 'june', 'july',\n 'august', 'september', 'october', 'november', 'december']\n_daynames = ['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun']\n# The timezone table does not include the military time zones defined\n# in RFC822, other than Z. According to RFC1123, the description in", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "documentation": {} }, { "label": "COMMASPACE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "peekOfCode": "COMMASPACE = ', '\n# Parse a date field\n_monthnames = ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul',\n 'aug', 'sep', 'oct', 'nov', 'dec',\n 'january', 'february', 'march', 'april', 'may', 'june', 'july',\n 'august', 'september', 'october', 'november', 'december']\n_daynames = ['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun']\n# The timezone table does not include the military time zones defined\n# in RFC822, other than Z. According to RFC1123, the description in\n# RFC822 gets the signs wrong, so we can't rely on any such time", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "documentation": {} }, { "label": "_monthnames", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "peekOfCode": "_monthnames = ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul',\n 'aug', 'sep', 'oct', 'nov', 'dec',\n 'january', 'february', 'march', 'april', 'may', 'june', 'july',\n 'august', 'september', 'october', 'november', 'december']\n_daynames = ['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun']\n# The timezone table does not include the military time zones defined\n# in RFC822, other than Z. According to RFC1123, the description in\n# RFC822 gets the signs wrong, so we can't rely on any such time\n# zones. RFC1123 recommends that numeric timezone indicators be used\n# instead of timezone names.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "documentation": {} }, { "label": "_daynames", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "peekOfCode": "_daynames = ['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun']\n# The timezone table does not include the military time zones defined\n# in RFC822, other than Z. According to RFC1123, the description in\n# RFC822 gets the signs wrong, so we can't rely on any such time\n# zones. RFC1123 recommends that numeric timezone indicators be used\n# instead of timezone names.\n_timezones = {'UT':0, 'UTC':0, 'GMT':0, 'Z':0,\n 'AST': -400, 'ADT': -300, # Atlantic (used in Canada)\n 'EST': -500, 'EDT': -400, # Eastern\n 'CST': -600, 'CDT': -500, # Central", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "documentation": {} }, { "label": "_timezones", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "peekOfCode": "_timezones = {'UT':0, 'UTC':0, 'GMT':0, 'Z':0,\n 'AST': -400, 'ADT': -300, # Atlantic (used in Canada)\n 'EST': -500, 'EDT': -400, # Eastern\n 'CST': -600, 'CDT': -500, # Central\n 'MST': -700, 'MDT': -600, # Mountain\n 'PST': -800, 'PDT': -700 # Pacific\n }\ndef parsedate_tz(data):\n \"\"\"Convert a date string to a time tuple.\n Accounts for military timezones.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._parseaddr", "documentation": {} }, { "label": "_PolicyBase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._policybase", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._policybase", "peekOfCode": "class _PolicyBase:\n \"\"\"Policy Object basic framework.\n This class is useless unless subclassed. A subclass should define\n class attributes with defaults for any values that are to be\n managed by the Policy object. The constructor will then allow\n non-default values to be set for these attributes at instance\n creation time. The instance will be callable, taking these same\n attributes keyword arguments, and returning a new instance\n identical to the called instance except for those values changed\n by the keyword arguments. Instances may be added, yielding new", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._policybase", "documentation": {} }, { "label": "Policy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._policybase", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._policybase", "peekOfCode": "class Policy(_PolicyBase, metaclass=abc.ABCMeta):\n r\"\"\"Controls for how messages are interpreted and formatted.\n Most of the classes and many of the methods in the email package accept\n Policy objects as parameters. A Policy object contains a set of values and\n functions that control how input is interpreted and how output is rendered.\n For example, the parameter 'raise_on_defect' controls whether or not an RFC\n violation results in an error being raised or not, while 'max_line_length'\n controls the maximum length of output lines when a Message is serialized.\n Any valid attribute may be overridden when a Policy is created by passing\n it as a keyword argument to the constructor. Policy objects are immutable,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._policybase", "documentation": {} }, { "label": "Compat32", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._policybase", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._policybase", "peekOfCode": "class Compat32(Policy):\n \"\"\"+\n This particular policy is the backward compatibility Policy. It\n replicates the behavior of the email package version 5.1.\n \"\"\"\n mangle_from_ = True\n def _sanitize_header(self, name, value):\n # If the header value contains surrogates, return a Header using\n # the unknown-8bit charset to encode the bytes as encoded words.\n if not isinstance(value, str):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._policybase", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._policybase", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._policybase", "peekOfCode": "__all__ = [\n 'Policy',\n 'Compat32',\n 'compat32',\n ]\nclass _PolicyBase:\n \"\"\"Policy Object basic framework.\n This class is useless unless subclassed. A subclass should define\n class attributes with defaults for any values that are to be\n managed by the Policy object. The constructor will then allow", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._policybase", "documentation": {} }, { "label": "compat32", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._policybase", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._policybase", "peekOfCode": "compat32 = Compat32()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.email._policybase", "documentation": {} }, { "label": "aliases", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.aliases", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.aliases", "peekOfCode": "aliases = {\n # Please keep this list sorted alphabetically by value !\n # ascii codec\n '646' : 'ascii',\n 'ansi_x3.4_1968' : 'ascii',\n 'ansi_x3_4_1968' : 'ascii', # some email headers use this non-standard name\n 'ansi_x3.4_1986' : 'ascii',\n 'cp367' : 'ascii',\n 'csascii' : 'ascii',\n 'ibm367' : 'ascii',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.aliases", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "peekOfCode": "class Codec(codecs.Codec):\n # Note: Binding these as C functions will result in the class not\n # converting them to methods. This is intended.\n encode = codecs.ascii_encode\n decode = codecs.ascii_decode\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.ascii_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.ascii_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.ascii_decode(input, self.errors)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.ascii_decode(input, self.errors)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\nclass StreamConverter(StreamWriter,StreamReader):\n encode = codecs.ascii_decode\n decode = codecs.ascii_encode", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\nclass StreamConverter(StreamWriter,StreamReader):\n encode = codecs.ascii_decode\n decode = codecs.ascii_encode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\nclass StreamConverter(StreamWriter,StreamReader):\n encode = codecs.ascii_decode\n decode = codecs.ascii_encode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='ascii',\n encode=Codec.encode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "documentation": {} }, { "label": "StreamConverter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "peekOfCode": "class StreamConverter(StreamWriter,StreamReader):\n encode = codecs.ascii_decode\n decode = codecs.ascii_encode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='ascii',\n encode=Codec.encode,\n decode=Codec.decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='ascii',\n encode=Codec.encode,\n decode=Codec.decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamwriter=StreamWriter,\n streamreader=StreamReader,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ascii", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n return base64_encode(input, errors)\n def decode(self, input, errors='strict'):\n return base64_decode(input, errors)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n assert self.errors == 'strict'\n return base64.encodebytes(input)\nclass IncrementalDecoder(codecs.IncrementalDecoder):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n assert self.errors == 'strict'\n return base64.encodebytes(input)\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n assert self.errors == 'strict'\n return base64.decodebytes(input)\nclass StreamWriter(Codec, codecs.StreamWriter):\n charbuffertype = bytes", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n assert self.errors == 'strict'\n return base64.decodebytes(input)\nclass StreamWriter(Codec, codecs.StreamWriter):\n charbuffertype = bytes\nclass StreamReader(Codec, codecs.StreamReader):\n charbuffertype = bytes\n### encodings module API\ndef getregentry():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "peekOfCode": "class StreamWriter(Codec, codecs.StreamWriter):\n charbuffertype = bytes\nclass StreamReader(Codec, codecs.StreamReader):\n charbuffertype = bytes\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='base64',\n encode=base64_encode,\n decode=base64_decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "peekOfCode": "class StreamReader(Codec, codecs.StreamReader):\n charbuffertype = bytes\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='base64',\n encode=base64_encode,\n decode=base64_decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "documentation": {} }, { "label": "base64_encode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "peekOfCode": "def base64_encode(input, errors='strict'):\n assert errors == 'strict'\n return (base64.encodebytes(input), len(input))\ndef base64_decode(input, errors='strict'):\n assert errors == 'strict'\n return (base64.decodebytes(input), len(input))\nclass Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n return base64_encode(input, errors)\n def decode(self, input, errors='strict'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "documentation": {} }, { "label": "base64_decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "peekOfCode": "def base64_decode(input, errors='strict'):\n assert errors == 'strict'\n return (base64.decodebytes(input), len(input))\nclass Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n return base64_encode(input, errors)\n def decode(self, input, errors='strict'):\n return base64_decode(input, errors)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='base64',\n encode=base64_encode,\n decode=base64_decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamwriter=StreamWriter,\n streamreader=StreamReader,\n _is_text_encoding=False,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.base64_codec", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='big5',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='big5',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='big5',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='big5',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "peekOfCode": "codec = _codecs_tw.getcodec('big5')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='big5hkscs',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='big5hkscs',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='big5hkscs',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='big5hkscs',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "peekOfCode": "codec = _codecs_hk.getcodec('big5hkscs')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.big5hkscs", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n return bz2_encode(input, errors)\n def decode(self, input, errors='strict'):\n return bz2_decode(input, errors)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def __init__(self, errors='strict'):\n assert errors == 'strict'\n self.errors = errors\n self.compressobj = bz2.BZ2Compressor()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def __init__(self, errors='strict'):\n assert errors == 'strict'\n self.errors = errors\n self.compressobj = bz2.BZ2Compressor()\n def encode(self, input, final=False):\n if final:\n c = self.compressobj.compress(input)\n return c + self.compressobj.flush()\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def __init__(self, errors='strict'):\n assert errors == 'strict'\n self.errors = errors\n self.decompressobj = bz2.BZ2Decompressor()\n def decode(self, input, final=False):\n try:\n return self.decompressobj.decompress(input)\n except EOFError:\n return ''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "peekOfCode": "class StreamWriter(Codec, codecs.StreamWriter):\n charbuffertype = bytes\nclass StreamReader(Codec, codecs.StreamReader):\n charbuffertype = bytes\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name=\"bz2\",\n encode=bz2_encode,\n decode=bz2_decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "peekOfCode": "class StreamReader(Codec, codecs.StreamReader):\n charbuffertype = bytes\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name=\"bz2\",\n encode=bz2_encode,\n decode=bz2_decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "documentation": {} }, { "label": "bz2_encode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "peekOfCode": "def bz2_encode(input, errors='strict'):\n assert errors == 'strict'\n return (bz2.compress(input), len(input))\ndef bz2_decode(input, errors='strict'):\n assert errors == 'strict'\n return (bz2.decompress(input), len(input))\nclass Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n return bz2_encode(input, errors)\n def decode(self, input, errors='strict'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "documentation": {} }, { "label": "bz2_decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "peekOfCode": "def bz2_decode(input, errors='strict'):\n assert errors == 'strict'\n return (bz2.decompress(input), len(input))\nclass Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n return bz2_encode(input, errors)\n def decode(self, input, errors='strict'):\n return bz2_decode(input, errors)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def __init__(self, errors='strict'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name=\"bz2\",\n encode=bz2_encode,\n decode=bz2_decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamwriter=StreamWriter,\n streamreader=StreamReader,\n _is_text_encoding=False,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.bz2_codec", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.charmap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.charmap", "peekOfCode": "class Codec(codecs.Codec):\n # Note: Binding these as C functions will result in the class not\n # converting them to methods. This is intended.\n encode = codecs.charmap_encode\n decode = codecs.charmap_decode\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def __init__(self, errors='strict', mapping=None):\n codecs.IncrementalEncoder.__init__(self, errors)\n self.mapping = mapping\n def encode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.charmap", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.charmap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.charmap", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def __init__(self, errors='strict', mapping=None):\n codecs.IncrementalEncoder.__init__(self, errors)\n self.mapping = mapping\n def encode(self, input, final=False):\n return codecs.charmap_encode(input, self.errors, self.mapping)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def __init__(self, errors='strict', mapping=None):\n codecs.IncrementalDecoder.__init__(self, errors)\n self.mapping = mapping", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.charmap", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.charmap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.charmap", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def __init__(self, errors='strict', mapping=None):\n codecs.IncrementalDecoder.__init__(self, errors)\n self.mapping = mapping\n def decode(self, input, final=False):\n return codecs.charmap_decode(input, self.errors, self.mapping)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n def __init__(self,stream,errors='strict',mapping=None):\n codecs.StreamWriter.__init__(self,stream,errors)\n self.mapping = mapping", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.charmap", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.charmap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.charmap", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n def __init__(self,stream,errors='strict',mapping=None):\n codecs.StreamWriter.__init__(self,stream,errors)\n self.mapping = mapping\n def encode(self,input,errors='strict'):\n return Codec.encode(input,errors,self.mapping)\nclass StreamReader(Codec,codecs.StreamReader):\n def __init__(self,stream,errors='strict',mapping=None):\n codecs.StreamReader.__init__(self,stream,errors)\n self.mapping = mapping", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.charmap", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.charmap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.charmap", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n def __init__(self,stream,errors='strict',mapping=None):\n codecs.StreamReader.__init__(self,stream,errors)\n self.mapping = mapping\n def decode(self,input,errors='strict'):\n return Codec.decode(input,errors,self.mapping)\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='charmap',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.charmap", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.charmap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.charmap", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='charmap',\n encode=Codec.encode,\n decode=Codec.decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamwriter=StreamWriter,\n streamreader=StreamReader,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.charmap", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp037',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp037',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp037',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x9c' # 0x04 -> CONTROL\n '\\t' # 0x05 -> HORIZONTAL TABULATION\n '\\x86' # 0x06 -> CONTROL\n '\\x7f' # 0x07 -> DELETE\n '\\x97' # 0x08 -> CONTROL", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp037", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1006',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1006',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp1006',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1006", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1026',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1026',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp1026',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x9c' # 0x04 -> CONTROL\n '\\t' # 0x05 -> HORIZONTAL TABULATION\n '\\x86' # 0x06 -> CONTROL\n '\\x7f' # 0x07 -> DELETE\n '\\x97' # 0x08 -> CONTROL", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1026", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_map)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1125',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1125',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp1125',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "documentation": {} }, { "label": "decoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "peekOfCode": "decoding_map = codecs.make_identity_dict(range(256))\ndecoding_map.update({\n 0x0080: 0x0410, # CYRILLIC CAPITAL LETTER A\n 0x0081: 0x0411, # CYRILLIC CAPITAL LETTER BE\n 0x0082: 0x0412, # CYRILLIC CAPITAL LETTER VE\n 0x0083: 0x0413, # CYRILLIC CAPITAL LETTER GHE\n 0x0084: 0x0414, # CYRILLIC CAPITAL LETTER DE\n 0x0085: 0x0415, # CYRILLIC CAPITAL LETTER IE\n 0x0086: 0x0416, # CYRILLIC CAPITAL LETTER ZHE\n 0x0087: 0x0417, # CYRILLIC CAPITAL LETTER ZE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "peekOfCode": "decoding_table = (\n '\\x00' # 0x0000 -> NULL\n '\\x01' # 0x0001 -> START OF HEADING\n '\\x02' # 0x0002 -> START OF TEXT\n '\\x03' # 0x0003 -> END OF TEXT\n '\\x04' # 0x0004 -> END OF TRANSMISSION\n '\\x05' # 0x0005 -> ENQUIRY\n '\\x06' # 0x0006 -> ACKNOWLEDGE\n '\\x07' # 0x0007 -> BELL\n '\\x08' # 0x0008 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "documentation": {} }, { "label": "encoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "peekOfCode": "encoding_map = {\n 0x0000: 0x0000, # NULL\n 0x0001: 0x0001, # START OF HEADING\n 0x0002: 0x0002, # START OF TEXT\n 0x0003: 0x0003, # END OF TEXT\n 0x0004: 0x0004, # END OF TRANSMISSION\n 0x0005: 0x0005, # ENQUIRY\n 0x0006: 0x0006, # ACKNOWLEDGE\n 0x0007: 0x0007, # BELL\n 0x0008: 0x0008, # BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1125", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1140',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1140',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp1140',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x9c' # 0x04 -> CONTROL\n '\\t' # 0x05 -> HORIZONTAL TABULATION\n '\\x86' # 0x06 -> CONTROL\n '\\x7f' # 0x07 -> DELETE\n '\\x97' # 0x08 -> CONTROL", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1140", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1250',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1250',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp1250',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1250", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1251',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1251',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp1251',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1251", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1252',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1252',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp1252',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1252", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1253',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1253',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp1253',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1253", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1254',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1254',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp1254',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1254", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1255',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1255',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp1255',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1255", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1256',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1256',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp1256',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1256", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1257',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1257',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp1257',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1257", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1258',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp1258',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp1258',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp1258", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp273',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp273',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp273',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL (NUL)\n '\\x01' # 0x01 -> START OF HEADING (SOH)\n '\\x02' # 0x02 -> START OF TEXT (STX)\n '\\x03' # 0x03 -> END OF TEXT (ETX)\n '\\x9c' # 0x04 -> STRING TERMINATOR (ST)\n '\\t' # 0x05 -> CHARACTER TABULATION (HT)\n '\\x86' # 0x06 -> START OF SELECTED AREA (SSA)\n '\\x7f' # 0x07 -> DELETE (DEL)\n '\\x97' # 0x08 -> END OF GUARDED AREA (EPA)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp273", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp424',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp424',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp424',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x9c' # 0x04 -> SELECT\n '\\t' # 0x05 -> HORIZONTAL TABULATION\n '\\x86' # 0x06 -> REQUIRED NEW LINE\n '\\x7f' # 0x07 -> DELETE\n '\\x97' # 0x08 -> GRAPHIC ESCAPE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp424", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_map)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp437',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp437',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp437',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "documentation": {} }, { "label": "decoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "peekOfCode": "decoding_map = codecs.make_identity_dict(range(256))\ndecoding_map.update({\n 0x0080: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA\n 0x0081: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS\n 0x0082: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE\n 0x0083: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX\n 0x0084: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS\n 0x0085: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE\n 0x0086: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE\n 0x0087: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "peekOfCode": "decoding_table = (\n '\\x00' # 0x0000 -> NULL\n '\\x01' # 0x0001 -> START OF HEADING\n '\\x02' # 0x0002 -> START OF TEXT\n '\\x03' # 0x0003 -> END OF TEXT\n '\\x04' # 0x0004 -> END OF TRANSMISSION\n '\\x05' # 0x0005 -> ENQUIRY\n '\\x06' # 0x0006 -> ACKNOWLEDGE\n '\\x07' # 0x0007 -> BELL\n '\\x08' # 0x0008 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "documentation": {} }, { "label": "encoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "peekOfCode": "encoding_map = {\n 0x0000: 0x0000, # NULL\n 0x0001: 0x0001, # START OF HEADING\n 0x0002: 0x0002, # START OF TEXT\n 0x0003: 0x0003, # END OF TEXT\n 0x0004: 0x0004, # END OF TRANSMISSION\n 0x0005: 0x0005, # ENQUIRY\n 0x0006: 0x0006, # ACKNOWLEDGE\n 0x0007: 0x0007, # BELL\n 0x0008: 0x0008, # BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp437", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp500',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp500',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp500',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x9c' # 0x04 -> CONTROL\n '\\t' # 0x05 -> HORIZONTAL TABULATION\n '\\x86' # 0x06 -> CONTROL\n '\\x7f' # 0x07 -> DELETE\n '\\x97' # 0x08 -> CONTROL", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp500", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp720',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp720',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp720',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> CONTROL CHARACTER\n '\\x01' # 0x01 -> CONTROL CHARACTER\n '\\x02' # 0x02 -> CONTROL CHARACTER\n '\\x03' # 0x03 -> CONTROL CHARACTER\n '\\x04' # 0x04 -> CONTROL CHARACTER\n '\\x05' # 0x05 -> CONTROL CHARACTER\n '\\x06' # 0x06 -> CONTROL CHARACTER\n '\\x07' # 0x07 -> CONTROL CHARACTER\n '\\x08' # 0x08 -> CONTROL CHARACTER", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp720", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_map)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp737',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp737',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp737',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "documentation": {} }, { "label": "decoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "peekOfCode": "decoding_map = codecs.make_identity_dict(range(256))\ndecoding_map.update({\n 0x0080: 0x0391, # GREEK CAPITAL LETTER ALPHA\n 0x0081: 0x0392, # GREEK CAPITAL LETTER BETA\n 0x0082: 0x0393, # GREEK CAPITAL LETTER GAMMA\n 0x0083: 0x0394, # GREEK CAPITAL LETTER DELTA\n 0x0084: 0x0395, # GREEK CAPITAL LETTER EPSILON\n 0x0085: 0x0396, # GREEK CAPITAL LETTER ZETA\n 0x0086: 0x0397, # GREEK CAPITAL LETTER ETA\n 0x0087: 0x0398, # GREEK CAPITAL LETTER THETA", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "peekOfCode": "decoding_table = (\n '\\x00' # 0x0000 -> NULL\n '\\x01' # 0x0001 -> START OF HEADING\n '\\x02' # 0x0002 -> START OF TEXT\n '\\x03' # 0x0003 -> END OF TEXT\n '\\x04' # 0x0004 -> END OF TRANSMISSION\n '\\x05' # 0x0005 -> ENQUIRY\n '\\x06' # 0x0006 -> ACKNOWLEDGE\n '\\x07' # 0x0007 -> BELL\n '\\x08' # 0x0008 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "documentation": {} }, { "label": "encoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "peekOfCode": "encoding_map = {\n 0x0000: 0x0000, # NULL\n 0x0001: 0x0001, # START OF HEADING\n 0x0002: 0x0002, # START OF TEXT\n 0x0003: 0x0003, # END OF TEXT\n 0x0004: 0x0004, # END OF TRANSMISSION\n 0x0005: 0x0005, # ENQUIRY\n 0x0006: 0x0006, # ACKNOWLEDGE\n 0x0007: 0x0007, # BELL\n 0x0008: 0x0008, # BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp737", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_map)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp775',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp775',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp775',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "documentation": {} }, { "label": "decoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "peekOfCode": "decoding_map = codecs.make_identity_dict(range(256))\ndecoding_map.update({\n 0x0080: 0x0106, # LATIN CAPITAL LETTER C WITH ACUTE\n 0x0081: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS\n 0x0082: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE\n 0x0083: 0x0101, # LATIN SMALL LETTER A WITH MACRON\n 0x0084: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS\n 0x0085: 0x0123, # LATIN SMALL LETTER G WITH CEDILLA\n 0x0086: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE\n 0x0087: 0x0107, # LATIN SMALL LETTER C WITH ACUTE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "peekOfCode": "decoding_table = (\n '\\x00' # 0x0000 -> NULL\n '\\x01' # 0x0001 -> START OF HEADING\n '\\x02' # 0x0002 -> START OF TEXT\n '\\x03' # 0x0003 -> END OF TEXT\n '\\x04' # 0x0004 -> END OF TRANSMISSION\n '\\x05' # 0x0005 -> ENQUIRY\n '\\x06' # 0x0006 -> ACKNOWLEDGE\n '\\x07' # 0x0007 -> BELL\n '\\x08' # 0x0008 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "documentation": {} }, { "label": "encoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "peekOfCode": "encoding_map = {\n 0x0000: 0x0000, # NULL\n 0x0001: 0x0001, # START OF HEADING\n 0x0002: 0x0002, # START OF TEXT\n 0x0003: 0x0003, # END OF TEXT\n 0x0004: 0x0004, # END OF TRANSMISSION\n 0x0005: 0x0005, # ENQUIRY\n 0x0006: 0x0006, # ACKNOWLEDGE\n 0x0007: 0x0007, # BELL\n 0x0008: 0x0008, # BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp775", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_map)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp850',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp850',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp850',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "documentation": {} }, { "label": "decoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "peekOfCode": "decoding_map = codecs.make_identity_dict(range(256))\ndecoding_map.update({\n 0x0080: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA\n 0x0081: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS\n 0x0082: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE\n 0x0083: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX\n 0x0084: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS\n 0x0085: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE\n 0x0086: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE\n 0x0087: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "peekOfCode": "decoding_table = (\n '\\x00' # 0x0000 -> NULL\n '\\x01' # 0x0001 -> START OF HEADING\n '\\x02' # 0x0002 -> START OF TEXT\n '\\x03' # 0x0003 -> END OF TEXT\n '\\x04' # 0x0004 -> END OF TRANSMISSION\n '\\x05' # 0x0005 -> ENQUIRY\n '\\x06' # 0x0006 -> ACKNOWLEDGE\n '\\x07' # 0x0007 -> BELL\n '\\x08' # 0x0008 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "documentation": {} }, { "label": "encoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "peekOfCode": "encoding_map = {\n 0x0000: 0x0000, # NULL\n 0x0001: 0x0001, # START OF HEADING\n 0x0002: 0x0002, # START OF TEXT\n 0x0003: 0x0003, # END OF TEXT\n 0x0004: 0x0004, # END OF TRANSMISSION\n 0x0005: 0x0005, # ENQUIRY\n 0x0006: 0x0006, # ACKNOWLEDGE\n 0x0007: 0x0007, # BELL\n 0x0008: 0x0008, # BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp850", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_map)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp852',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp852',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp852',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "documentation": {} }, { "label": "decoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "peekOfCode": "decoding_map = codecs.make_identity_dict(range(256))\ndecoding_map.update({\n 0x0080: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA\n 0x0081: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS\n 0x0082: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE\n 0x0083: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX\n 0x0084: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS\n 0x0085: 0x016f, # LATIN SMALL LETTER U WITH RING ABOVE\n 0x0086: 0x0107, # LATIN SMALL LETTER C WITH ACUTE\n 0x0087: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "peekOfCode": "decoding_table = (\n '\\x00' # 0x0000 -> NULL\n '\\x01' # 0x0001 -> START OF HEADING\n '\\x02' # 0x0002 -> START OF TEXT\n '\\x03' # 0x0003 -> END OF TEXT\n '\\x04' # 0x0004 -> END OF TRANSMISSION\n '\\x05' # 0x0005 -> ENQUIRY\n '\\x06' # 0x0006 -> ACKNOWLEDGE\n '\\x07' # 0x0007 -> BELL\n '\\x08' # 0x0008 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "documentation": {} }, { "label": "encoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "peekOfCode": "encoding_map = {\n 0x0000: 0x0000, # NULL\n 0x0001: 0x0001, # START OF HEADING\n 0x0002: 0x0002, # START OF TEXT\n 0x0003: 0x0003, # END OF TEXT\n 0x0004: 0x0004, # END OF TRANSMISSION\n 0x0005: 0x0005, # ENQUIRY\n 0x0006: 0x0006, # ACKNOWLEDGE\n 0x0007: 0x0007, # BELL\n 0x0008: 0x0008, # BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp852", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_map)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp855',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp855',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp855',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "documentation": {} }, { "label": "decoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "peekOfCode": "decoding_map = codecs.make_identity_dict(range(256))\ndecoding_map.update({\n 0x0080: 0x0452, # CYRILLIC SMALL LETTER DJE\n 0x0081: 0x0402, # CYRILLIC CAPITAL LETTER DJE\n 0x0082: 0x0453, # CYRILLIC SMALL LETTER GJE\n 0x0083: 0x0403, # CYRILLIC CAPITAL LETTER GJE\n 0x0084: 0x0451, # CYRILLIC SMALL LETTER IO\n 0x0085: 0x0401, # CYRILLIC CAPITAL LETTER IO\n 0x0086: 0x0454, # CYRILLIC SMALL LETTER UKRAINIAN IE\n 0x0087: 0x0404, # CYRILLIC CAPITAL LETTER UKRAINIAN IE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "peekOfCode": "decoding_table = (\n '\\x00' # 0x0000 -> NULL\n '\\x01' # 0x0001 -> START OF HEADING\n '\\x02' # 0x0002 -> START OF TEXT\n '\\x03' # 0x0003 -> END OF TEXT\n '\\x04' # 0x0004 -> END OF TRANSMISSION\n '\\x05' # 0x0005 -> ENQUIRY\n '\\x06' # 0x0006 -> ACKNOWLEDGE\n '\\x07' # 0x0007 -> BELL\n '\\x08' # 0x0008 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "documentation": {} }, { "label": "encoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "peekOfCode": "encoding_map = {\n 0x0000: 0x0000, # NULL\n 0x0001: 0x0001, # START OF HEADING\n 0x0002: 0x0002, # START OF TEXT\n 0x0003: 0x0003, # END OF TEXT\n 0x0004: 0x0004, # END OF TRANSMISSION\n 0x0005: 0x0005, # ENQUIRY\n 0x0006: 0x0006, # ACKNOWLEDGE\n 0x0007: 0x0007, # BELL\n 0x0008: 0x0008, # BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp855", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp856',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp856',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp856',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp856", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_map)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp857',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp857',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp857',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "documentation": {} }, { "label": "decoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "peekOfCode": "decoding_map = codecs.make_identity_dict(range(256))\ndecoding_map.update({\n 0x0080: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA\n 0x0081: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS\n 0x0082: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE\n 0x0083: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX\n 0x0084: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS\n 0x0085: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE\n 0x0086: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE\n 0x0087: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "peekOfCode": "decoding_table = (\n '\\x00' # 0x0000 -> NULL\n '\\x01' # 0x0001 -> START OF HEADING\n '\\x02' # 0x0002 -> START OF TEXT\n '\\x03' # 0x0003 -> END OF TEXT\n '\\x04' # 0x0004 -> END OF TRANSMISSION\n '\\x05' # 0x0005 -> ENQUIRY\n '\\x06' # 0x0006 -> ACKNOWLEDGE\n '\\x07' # 0x0007 -> BELL\n '\\x08' # 0x0008 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "documentation": {} }, { "label": "encoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "peekOfCode": "encoding_map = {\n 0x0000: 0x0000, # NULL\n 0x0001: 0x0001, # START OF HEADING\n 0x0002: 0x0002, # START OF TEXT\n 0x0003: 0x0003, # END OF TEXT\n 0x0004: 0x0004, # END OF TRANSMISSION\n 0x0005: 0x0005, # ENQUIRY\n 0x0006: 0x0006, # ACKNOWLEDGE\n 0x0007: 0x0007, # BELL\n 0x0008: 0x0008, # BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp857", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_map)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp858',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp858',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp858',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "documentation": {} }, { "label": "decoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "peekOfCode": "decoding_map = codecs.make_identity_dict(range(256))\ndecoding_map.update({\n 0x0080: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA\n 0x0081: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS\n 0x0082: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE\n 0x0083: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX\n 0x0084: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS\n 0x0085: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE\n 0x0086: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE\n 0x0087: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "peekOfCode": "decoding_table = (\n '\\x00' # 0x0000 -> NULL\n '\\x01' # 0x0001 -> START OF HEADING\n '\\x02' # 0x0002 -> START OF TEXT\n '\\x03' # 0x0003 -> END OF TEXT\n '\\x04' # 0x0004 -> END OF TRANSMISSION\n '\\x05' # 0x0005 -> ENQUIRY\n '\\x06' # 0x0006 -> ACKNOWLEDGE\n '\\x07' # 0x0007 -> BELL\n '\\x08' # 0x0008 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "documentation": {} }, { "label": "encoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "peekOfCode": "encoding_map = {\n 0x0000: 0x0000, # NULL\n 0x0001: 0x0001, # START OF HEADING\n 0x0002: 0x0002, # START OF TEXT\n 0x0003: 0x0003, # END OF TEXT\n 0x0004: 0x0004, # END OF TRANSMISSION\n 0x0005: 0x0005, # ENQUIRY\n 0x0006: 0x0006, # ACKNOWLEDGE\n 0x0007: 0x0007, # BELL\n 0x0008: 0x0008, # BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp858", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_map)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp860',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp860',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp860',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "documentation": {} }, { "label": "decoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "peekOfCode": "decoding_map = codecs.make_identity_dict(range(256))\ndecoding_map.update({\n 0x0080: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA\n 0x0081: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS\n 0x0082: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE\n 0x0083: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX\n 0x0084: 0x00e3, # LATIN SMALL LETTER A WITH TILDE\n 0x0085: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE\n 0x0086: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE\n 0x0087: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "peekOfCode": "decoding_table = (\n '\\x00' # 0x0000 -> NULL\n '\\x01' # 0x0001 -> START OF HEADING\n '\\x02' # 0x0002 -> START OF TEXT\n '\\x03' # 0x0003 -> END OF TEXT\n '\\x04' # 0x0004 -> END OF TRANSMISSION\n '\\x05' # 0x0005 -> ENQUIRY\n '\\x06' # 0x0006 -> ACKNOWLEDGE\n '\\x07' # 0x0007 -> BELL\n '\\x08' # 0x0008 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "documentation": {} }, { "label": "encoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "peekOfCode": "encoding_map = {\n 0x0000: 0x0000, # NULL\n 0x0001: 0x0001, # START OF HEADING\n 0x0002: 0x0002, # START OF TEXT\n 0x0003: 0x0003, # END OF TEXT\n 0x0004: 0x0004, # END OF TRANSMISSION\n 0x0005: 0x0005, # ENQUIRY\n 0x0006: 0x0006, # ACKNOWLEDGE\n 0x0007: 0x0007, # BELL\n 0x0008: 0x0008, # BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp860", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_map)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp861',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp861',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp861',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "documentation": {} }, { "label": "decoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "peekOfCode": "decoding_map = codecs.make_identity_dict(range(256))\ndecoding_map.update({\n 0x0080: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA\n 0x0081: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS\n 0x0082: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE\n 0x0083: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX\n 0x0084: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS\n 0x0085: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE\n 0x0086: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE\n 0x0087: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "peekOfCode": "decoding_table = (\n '\\x00' # 0x0000 -> NULL\n '\\x01' # 0x0001 -> START OF HEADING\n '\\x02' # 0x0002 -> START OF TEXT\n '\\x03' # 0x0003 -> END OF TEXT\n '\\x04' # 0x0004 -> END OF TRANSMISSION\n '\\x05' # 0x0005 -> ENQUIRY\n '\\x06' # 0x0006 -> ACKNOWLEDGE\n '\\x07' # 0x0007 -> BELL\n '\\x08' # 0x0008 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "documentation": {} }, { "label": "encoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "peekOfCode": "encoding_map = {\n 0x0000: 0x0000, # NULL\n 0x0001: 0x0001, # START OF HEADING\n 0x0002: 0x0002, # START OF TEXT\n 0x0003: 0x0003, # END OF TEXT\n 0x0004: 0x0004, # END OF TRANSMISSION\n 0x0005: 0x0005, # ENQUIRY\n 0x0006: 0x0006, # ACKNOWLEDGE\n 0x0007: 0x0007, # BELL\n 0x0008: 0x0008, # BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp861", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_map)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp862',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp862',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp862',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "documentation": {} }, { "label": "decoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "peekOfCode": "decoding_map = codecs.make_identity_dict(range(256))\ndecoding_map.update({\n 0x0080: 0x05d0, # HEBREW LETTER ALEF\n 0x0081: 0x05d1, # HEBREW LETTER BET\n 0x0082: 0x05d2, # HEBREW LETTER GIMEL\n 0x0083: 0x05d3, # HEBREW LETTER DALET\n 0x0084: 0x05d4, # HEBREW LETTER HE\n 0x0085: 0x05d5, # HEBREW LETTER VAV\n 0x0086: 0x05d6, # HEBREW LETTER ZAYIN\n 0x0087: 0x05d7, # HEBREW LETTER HET", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "peekOfCode": "decoding_table = (\n '\\x00' # 0x0000 -> NULL\n '\\x01' # 0x0001 -> START OF HEADING\n '\\x02' # 0x0002 -> START OF TEXT\n '\\x03' # 0x0003 -> END OF TEXT\n '\\x04' # 0x0004 -> END OF TRANSMISSION\n '\\x05' # 0x0005 -> ENQUIRY\n '\\x06' # 0x0006 -> ACKNOWLEDGE\n '\\x07' # 0x0007 -> BELL\n '\\x08' # 0x0008 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "documentation": {} }, { "label": "encoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "peekOfCode": "encoding_map = {\n 0x0000: 0x0000, # NULL\n 0x0001: 0x0001, # START OF HEADING\n 0x0002: 0x0002, # START OF TEXT\n 0x0003: 0x0003, # END OF TEXT\n 0x0004: 0x0004, # END OF TRANSMISSION\n 0x0005: 0x0005, # ENQUIRY\n 0x0006: 0x0006, # ACKNOWLEDGE\n 0x0007: 0x0007, # BELL\n 0x0008: 0x0008, # BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp862", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_map)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp863',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp863',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp863',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "documentation": {} }, { "label": "decoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "peekOfCode": "decoding_map = codecs.make_identity_dict(range(256))\ndecoding_map.update({\n 0x0080: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA\n 0x0081: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS\n 0x0082: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE\n 0x0083: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX\n 0x0084: 0x00c2, # LATIN CAPITAL LETTER A WITH CIRCUMFLEX\n 0x0085: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE\n 0x0086: 0x00b6, # PILCROW SIGN\n 0x0087: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "peekOfCode": "decoding_table = (\n '\\x00' # 0x0000 -> NULL\n '\\x01' # 0x0001 -> START OF HEADING\n '\\x02' # 0x0002 -> START OF TEXT\n '\\x03' # 0x0003 -> END OF TEXT\n '\\x04' # 0x0004 -> END OF TRANSMISSION\n '\\x05' # 0x0005 -> ENQUIRY\n '\\x06' # 0x0006 -> ACKNOWLEDGE\n '\\x07' # 0x0007 -> BELL\n '\\x08' # 0x0008 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "documentation": {} }, { "label": "encoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "peekOfCode": "encoding_map = {\n 0x0000: 0x0000, # NULL\n 0x0001: 0x0001, # START OF HEADING\n 0x0002: 0x0002, # START OF TEXT\n 0x0003: 0x0003, # END OF TEXT\n 0x0004: 0x0004, # END OF TRANSMISSION\n 0x0005: 0x0005, # ENQUIRY\n 0x0006: 0x0006, # ACKNOWLEDGE\n 0x0007: 0x0007, # BELL\n 0x0008: 0x0008, # BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp863", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_map)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp864',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp864',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp864',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "documentation": {} }, { "label": "decoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "peekOfCode": "decoding_map = codecs.make_identity_dict(range(256))\ndecoding_map.update({\n 0x0025: 0x066a, # ARABIC PERCENT SIGN\n 0x0080: 0x00b0, # DEGREE SIGN\n 0x0081: 0x00b7, # MIDDLE DOT\n 0x0082: 0x2219, # BULLET OPERATOR\n 0x0083: 0x221a, # SQUARE ROOT\n 0x0084: 0x2592, # MEDIUM SHADE\n 0x0085: 0x2500, # FORMS LIGHT HORIZONTAL\n 0x0086: 0x2502, # FORMS LIGHT VERTICAL", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "peekOfCode": "decoding_table = (\n '\\x00' # 0x0000 -> NULL\n '\\x01' # 0x0001 -> START OF HEADING\n '\\x02' # 0x0002 -> START OF TEXT\n '\\x03' # 0x0003 -> END OF TEXT\n '\\x04' # 0x0004 -> END OF TRANSMISSION\n '\\x05' # 0x0005 -> ENQUIRY\n '\\x06' # 0x0006 -> ACKNOWLEDGE\n '\\x07' # 0x0007 -> BELL\n '\\x08' # 0x0008 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "documentation": {} }, { "label": "encoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "peekOfCode": "encoding_map = {\n 0x0000: 0x0000, # NULL\n 0x0001: 0x0001, # START OF HEADING\n 0x0002: 0x0002, # START OF TEXT\n 0x0003: 0x0003, # END OF TEXT\n 0x0004: 0x0004, # END OF TRANSMISSION\n 0x0005: 0x0005, # ENQUIRY\n 0x0006: 0x0006, # ACKNOWLEDGE\n 0x0007: 0x0007, # BELL\n 0x0008: 0x0008, # BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp864", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_map)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp865',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp865',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp865',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "documentation": {} }, { "label": "decoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "peekOfCode": "decoding_map = codecs.make_identity_dict(range(256))\ndecoding_map.update({\n 0x0080: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA\n 0x0081: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS\n 0x0082: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE\n 0x0083: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX\n 0x0084: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS\n 0x0085: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE\n 0x0086: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE\n 0x0087: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "peekOfCode": "decoding_table = (\n '\\x00' # 0x0000 -> NULL\n '\\x01' # 0x0001 -> START OF HEADING\n '\\x02' # 0x0002 -> START OF TEXT\n '\\x03' # 0x0003 -> END OF TEXT\n '\\x04' # 0x0004 -> END OF TRANSMISSION\n '\\x05' # 0x0005 -> ENQUIRY\n '\\x06' # 0x0006 -> ACKNOWLEDGE\n '\\x07' # 0x0007 -> BELL\n '\\x08' # 0x0008 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "documentation": {} }, { "label": "encoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "peekOfCode": "encoding_map = {\n 0x0000: 0x0000, # NULL\n 0x0001: 0x0001, # START OF HEADING\n 0x0002: 0x0002, # START OF TEXT\n 0x0003: 0x0003, # END OF TEXT\n 0x0004: 0x0004, # END OF TRANSMISSION\n 0x0005: 0x0005, # ENQUIRY\n 0x0006: 0x0006, # ACKNOWLEDGE\n 0x0007: 0x0007, # BELL\n 0x0008: 0x0008, # BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp865", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_map)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp866',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp866',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp866',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "documentation": {} }, { "label": "decoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "peekOfCode": "decoding_map = codecs.make_identity_dict(range(256))\ndecoding_map.update({\n 0x0080: 0x0410, # CYRILLIC CAPITAL LETTER A\n 0x0081: 0x0411, # CYRILLIC CAPITAL LETTER BE\n 0x0082: 0x0412, # CYRILLIC CAPITAL LETTER VE\n 0x0083: 0x0413, # CYRILLIC CAPITAL LETTER GHE\n 0x0084: 0x0414, # CYRILLIC CAPITAL LETTER DE\n 0x0085: 0x0415, # CYRILLIC CAPITAL LETTER IE\n 0x0086: 0x0416, # CYRILLIC CAPITAL LETTER ZHE\n 0x0087: 0x0417, # CYRILLIC CAPITAL LETTER ZE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "peekOfCode": "decoding_table = (\n '\\x00' # 0x0000 -> NULL\n '\\x01' # 0x0001 -> START OF HEADING\n '\\x02' # 0x0002 -> START OF TEXT\n '\\x03' # 0x0003 -> END OF TEXT\n '\\x04' # 0x0004 -> END OF TRANSMISSION\n '\\x05' # 0x0005 -> ENQUIRY\n '\\x06' # 0x0006 -> ACKNOWLEDGE\n '\\x07' # 0x0007 -> BELL\n '\\x08' # 0x0008 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "documentation": {} }, { "label": "encoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "peekOfCode": "encoding_map = {\n 0x0000: 0x0000, # NULL\n 0x0001: 0x0001, # START OF HEADING\n 0x0002: 0x0002, # START OF TEXT\n 0x0003: 0x0003, # END OF TEXT\n 0x0004: 0x0004, # END OF TRANSMISSION\n 0x0005: 0x0005, # ENQUIRY\n 0x0006: 0x0006, # ACKNOWLEDGE\n 0x0007: 0x0007, # BELL\n 0x0008: 0x0008, # BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp866", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_map)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp869',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp869',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp869',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "documentation": {} }, { "label": "decoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "peekOfCode": "decoding_map = codecs.make_identity_dict(range(256))\ndecoding_map.update({\n 0x0080: None, # UNDEFINED\n 0x0081: None, # UNDEFINED\n 0x0082: None, # UNDEFINED\n 0x0083: None, # UNDEFINED\n 0x0084: None, # UNDEFINED\n 0x0085: None, # UNDEFINED\n 0x0086: 0x0386, # GREEK CAPITAL LETTER ALPHA WITH TONOS\n 0x0087: None, # UNDEFINED", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "peekOfCode": "decoding_table = (\n '\\x00' # 0x0000 -> NULL\n '\\x01' # 0x0001 -> START OF HEADING\n '\\x02' # 0x0002 -> START OF TEXT\n '\\x03' # 0x0003 -> END OF TEXT\n '\\x04' # 0x0004 -> END OF TRANSMISSION\n '\\x05' # 0x0005 -> ENQUIRY\n '\\x06' # 0x0006 -> ACKNOWLEDGE\n '\\x07' # 0x0007 -> BELL\n '\\x08' # 0x0008 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "documentation": {} }, { "label": "encoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "peekOfCode": "encoding_map = {\n 0x0000: 0x0000, # NULL\n 0x0001: 0x0001, # START OF HEADING\n 0x0002: 0x0002, # START OF TEXT\n 0x0003: 0x0003, # END OF TEXT\n 0x0004: 0x0004, # END OF TRANSMISSION\n 0x0005: 0x0005, # ENQUIRY\n 0x0006: 0x0006, # ACKNOWLEDGE\n 0x0007: 0x0007, # BELL\n 0x0008: 0x0008, # BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp869", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp874',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp874',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp874',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp874", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp875',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='cp875',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp875',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x9c' # 0x04 -> CONTROL\n '\\t' # 0x05 -> HORIZONTAL TABULATION\n '\\x86' # 0x06 -> CONTROL\n '\\x7f' # 0x07 -> DELETE\n '\\x97' # 0x08 -> CONTROL", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp875", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='cp932',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='cp932',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='cp932',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp932',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "peekOfCode": "codec = _codecs_jp.getcodec('cp932')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp932", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='cp949',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='cp949',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='cp949',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp949',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "peekOfCode": "codec = _codecs_kr.getcodec('cp949')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp949", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='cp950',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='cp950',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='cp950',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='cp950',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "peekOfCode": "codec = _codecs_tw.getcodec('cp950')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.cp950", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='euc_jisx0213',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='euc_jisx0213',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='euc_jisx0213',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='euc_jisx0213',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "peekOfCode": "codec = _codecs_jp.getcodec('euc_jisx0213')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jisx0213", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='euc_jis_2004',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='euc_jis_2004',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='euc_jis_2004',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='euc_jis_2004',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "peekOfCode": "codec = _codecs_jp.getcodec('euc_jis_2004')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jis_2004", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='euc_jp',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='euc_jp',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='euc_jp',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='euc_jp',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "peekOfCode": "codec = _codecs_jp.getcodec('euc_jp')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_jp", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='euc_kr',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='euc_kr',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='euc_kr',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='euc_kr',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "peekOfCode": "codec = _codecs_kr.getcodec('euc_kr')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.euc_kr", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='gb18030',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='gb18030',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='gb18030',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='gb18030',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "peekOfCode": "codec = _codecs_cn.getcodec('gb18030')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb18030", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='gb2312',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='gb2312',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='gb2312',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='gb2312',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "peekOfCode": "codec = _codecs_cn.getcodec('gb2312')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gb2312", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='gbk',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='gbk',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='gbk',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='gbk',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "peekOfCode": "codec = _codecs_cn.getcodec('gbk')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.gbk", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n return hex_encode(input, errors)\n def decode(self, input, errors='strict'):\n return hex_decode(input, errors)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n assert self.errors == 'strict'\n return binascii.b2a_hex(input)\nclass IncrementalDecoder(codecs.IncrementalDecoder):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n assert self.errors == 'strict'\n return binascii.b2a_hex(input)\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n assert self.errors == 'strict'\n return binascii.a2b_hex(input)\nclass StreamWriter(Codec, codecs.StreamWriter):\n charbuffertype = bytes", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n assert self.errors == 'strict'\n return binascii.a2b_hex(input)\nclass StreamWriter(Codec, codecs.StreamWriter):\n charbuffertype = bytes\nclass StreamReader(Codec, codecs.StreamReader):\n charbuffertype = bytes\n### encodings module API\ndef getregentry():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "peekOfCode": "class StreamWriter(Codec, codecs.StreamWriter):\n charbuffertype = bytes\nclass StreamReader(Codec, codecs.StreamReader):\n charbuffertype = bytes\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='hex',\n encode=hex_encode,\n decode=hex_decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "peekOfCode": "class StreamReader(Codec, codecs.StreamReader):\n charbuffertype = bytes\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='hex',\n encode=hex_encode,\n decode=hex_decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "documentation": {} }, { "label": "hex_encode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "peekOfCode": "def hex_encode(input, errors='strict'):\n assert errors == 'strict'\n return (binascii.b2a_hex(input), len(input))\ndef hex_decode(input, errors='strict'):\n assert errors == 'strict'\n return (binascii.a2b_hex(input), len(input))\nclass Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n return hex_encode(input, errors)\n def decode(self, input, errors='strict'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "documentation": {} }, { "label": "hex_decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "peekOfCode": "def hex_decode(input, errors='strict'):\n assert errors == 'strict'\n return (binascii.a2b_hex(input), len(input))\nclass Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n return hex_encode(input, errors)\n def decode(self, input, errors='strict'):\n return hex_decode(input, errors)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='hex',\n encode=hex_encode,\n decode=hex_decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamwriter=StreamWriter,\n streamreader=StreamReader,\n _is_text_encoding=False,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hex_codec", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='hp-roman8',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='hp-roman8',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='hp-roman8',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamwriter=StreamWriter,\n streamreader=StreamReader,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hp_roman8", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='hz',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='hz',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='hz',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='hz',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "peekOfCode": "codec = _codecs_cn.getcodec('hz')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.hz", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n if errors != 'strict':\n # IDNA is quite clear that implementations must be strict\n raise UnicodeError(\"unsupported error handling \"+errors)\n if not input:\n return b'', 0\n try:\n result = input.encode('ascii')\n except UnicodeEncodeError:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "peekOfCode": "class IncrementalEncoder(codecs.BufferedIncrementalEncoder):\n def _buffer_encode(self, input, errors, final):\n if errors != 'strict':\n # IDNA is quite clear that implementations must be strict\n raise UnicodeError(\"unsupported error handling \"+errors)\n if not input:\n return (b'', 0)\n labels = dots.split(input)\n trailing_dot = b''\n if labels:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "peekOfCode": "class IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n def _buffer_decode(self, input, errors, final):\n if errors != 'strict':\n raise UnicodeError(\"Unsupported error handling \"+errors)\n if not input:\n return (\"\", 0)\n # IDNA allows decoding to operate on Unicode strings, too.\n if isinstance(input, str):\n labels = dots.split(input)\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='idna',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='idna',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "documentation": {} }, { "label": "nameprep", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "peekOfCode": "def nameprep(label):\n # Map\n newlabel = []\n for c in label:\n if stringprep.in_table_b1(c):\n # Map to nothing\n continue\n newlabel.append(stringprep.map_table_b2(c))\n label = \"\".join(newlabel)\n # Normalize", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "documentation": {} }, { "label": "ToASCII", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "peekOfCode": "def ToASCII(label):\n try:\n # Step 1: try ASCII\n label = label.encode(\"ascii\")\n except UnicodeError:\n pass\n else:\n # Skip to step 3: UseSTD3ASCIIRules is false, so\n # Skip to step 8.\n if 0 < len(label) < 64:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "documentation": {} }, { "label": "ToUnicode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "peekOfCode": "def ToUnicode(label):\n # Step 1: Check for ASCII\n if isinstance(label, bytes):\n pure_ascii = True\n else:\n try:\n label = label.encode(\"ascii\")\n pure_ascii = True\n except UnicodeError:\n pure_ascii = False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='idna',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamwriter=StreamWriter,\n streamreader=StreamReader,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "documentation": {} }, { "label": "dots", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "peekOfCode": "dots = re.compile(\"[\\u002E\\u3002\\uFF0E\\uFF61]\")\n# IDNA section 5\nace_prefix = b\"xn--\"\nsace_prefix = \"xn--\"\n# This assumes query strings, so AllowUnassigned is true\ndef nameprep(label):\n # Map\n newlabel = []\n for c in label:\n if stringprep.in_table_b1(c):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "documentation": {} }, { "label": "ace_prefix", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "peekOfCode": "ace_prefix = b\"xn--\"\nsace_prefix = \"xn--\"\n# This assumes query strings, so AllowUnassigned is true\ndef nameprep(label):\n # Map\n newlabel = []\n for c in label:\n if stringprep.in_table_b1(c):\n # Map to nothing\n continue", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "documentation": {} }, { "label": "sace_prefix", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "peekOfCode": "sace_prefix = \"xn--\"\n# This assumes query strings, so AllowUnassigned is true\ndef nameprep(label):\n # Map\n newlabel = []\n for c in label:\n if stringprep.in_table_b1(c):\n # Map to nothing\n continue\n newlabel.append(stringprep.map_table_b2(c))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.idna", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "peekOfCode": "codec = _codecs_iso2022.getcodec('iso2022_jp')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_1',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_1',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_1',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_1',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "peekOfCode": "codec = _codecs_iso2022.getcodec('iso2022_jp_1')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_1", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_2',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_2',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_2',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_2',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "peekOfCode": "codec = _codecs_iso2022.getcodec('iso2022_jp_2')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_2004',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_2004',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_2004',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_2004',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "peekOfCode": "codec = _codecs_iso2022.getcodec('iso2022_jp_2004')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_2004", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_3',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_3',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_3',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_3',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "peekOfCode": "codec = _codecs_iso2022.getcodec('iso2022_jp_3')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_3", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_ext',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_ext',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_ext',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso2022_jp_ext',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "peekOfCode": "codec = _codecs_iso2022.getcodec('iso2022_jp_ext')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_jp_ext", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_kr',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_kr',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='iso2022_kr',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso2022_kr',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "peekOfCode": "codec = _codecs_iso2022.getcodec('iso2022_kr')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso2022_kr", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-1',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-1',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso8859-1',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_1", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-10',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-10',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso8859-10',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_10", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-11',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-11',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso8859-11',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_11", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-13',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-13',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso8859-13',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_13", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-14',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-14',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso8859-14',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_14", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-15',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-15',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso8859-15',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_15", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-16',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-16',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso8859-16',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_16", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-2',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-2',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso8859-2',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_2", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-3',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-3',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso8859-3',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_3", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-4',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-4',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso8859-4',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_4", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-5',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-5',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso8859-5',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_5", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-6',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-6',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso8859-6',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_6", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-7',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-7',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso8859-7',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_7", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-8',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-8',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso8859-8',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_8", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-9',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-9',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso8859-9',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.iso8859_9", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='johab',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='johab',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='johab',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='johab',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "peekOfCode": "codec = _codecs_kr.getcodec('johab')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.johab", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='koi8-r',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='koi8-r',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='koi8-r',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_r", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='koi8-t',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='koi8-t',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='koi8-t',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_t", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='koi8-u',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='koi8-u',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='koi8-u',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.koi8_u", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n return codecs.charmap_encode(input, errors, encoding_table)\n def decode(self, input, errors='strict'):\n return codecs.charmap_decode(input, errors, decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input, self.errors, encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input, self.errors, encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input, self.errors, decoding_table)[0]\nclass StreamWriter(Codec, codecs.StreamWriter):\n pass\nclass StreamReader(Codec, codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input, self.errors, decoding_table)[0]\nclass StreamWriter(Codec, codecs.StreamWriter):\n pass\nclass StreamReader(Codec, codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "peekOfCode": "class StreamWriter(Codec, codecs.StreamWriter):\n pass\nclass StreamReader(Codec, codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='kz1048',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "peekOfCode": "class StreamReader(Codec, codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='kz1048',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='kz1048',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "documentation": {} }, { "label": "encoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "peekOfCode": "encoding_table = codecs.charmap_build(decoding_table)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.kz1048", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "peekOfCode": "class Codec(codecs.Codec):\n # Note: Binding these as C functions will result in the class not\n # converting them to methods. This is intended.\n encode = codecs.latin_1_encode\n decode = codecs.latin_1_decode\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.latin_1_encode(input,self.errors)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.latin_1_encode(input,self.errors)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.latin_1_decode(input,self.errors)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.latin_1_decode(input,self.errors)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\nclass StreamConverter(StreamWriter,StreamReader):\n encode = codecs.latin_1_decode\n decode = codecs.latin_1_encode", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\nclass StreamConverter(StreamWriter,StreamReader):\n encode = codecs.latin_1_decode\n decode = codecs.latin_1_encode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\nclass StreamConverter(StreamWriter,StreamReader):\n encode = codecs.latin_1_decode\n decode = codecs.latin_1_encode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-1',\n encode=Codec.encode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "documentation": {} }, { "label": "StreamConverter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "peekOfCode": "class StreamConverter(StreamWriter,StreamReader):\n encode = codecs.latin_1_decode\n decode = codecs.latin_1_encode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='iso8859-1',\n encode=Codec.encode,\n decode=Codec.decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='iso8859-1',\n encode=Codec.encode,\n decode=Codec.decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.latin_1", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_map)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_map)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-arabic',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-arabic',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='mac-arabic',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "documentation": {} }, { "label": "decoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "peekOfCode": "decoding_map = codecs.make_identity_dict(range(256))\ndecoding_map.update({\n 0x0080: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS\n 0x0081: 0x00a0, # NO-BREAK SPACE, right-left\n 0x0082: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA\n 0x0083: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE\n 0x0084: 0x00d1, # LATIN CAPITAL LETTER N WITH TILDE\n 0x0085: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS\n 0x0086: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS\n 0x0087: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "peekOfCode": "decoding_table = (\n '\\x00' # 0x0000 -> CONTROL CHARACTER\n '\\x01' # 0x0001 -> CONTROL CHARACTER\n '\\x02' # 0x0002 -> CONTROL CHARACTER\n '\\x03' # 0x0003 -> CONTROL CHARACTER\n '\\x04' # 0x0004 -> CONTROL CHARACTER\n '\\x05' # 0x0005 -> CONTROL CHARACTER\n '\\x06' # 0x0006 -> CONTROL CHARACTER\n '\\x07' # 0x0007 -> CONTROL CHARACTER\n '\\x08' # 0x0008 -> CONTROL CHARACTER", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "documentation": {} }, { "label": "encoding_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "peekOfCode": "encoding_map = {\n 0x0000: 0x0000, # CONTROL CHARACTER\n 0x0001: 0x0001, # CONTROL CHARACTER\n 0x0002: 0x0002, # CONTROL CHARACTER\n 0x0003: 0x0003, # CONTROL CHARACTER\n 0x0004: 0x0004, # CONTROL CHARACTER\n 0x0005: 0x0005, # CONTROL CHARACTER\n 0x0006: 0x0006, # CONTROL CHARACTER\n 0x0007: 0x0007, # CONTROL CHARACTER\n 0x0008: 0x0008, # CONTROL CHARACTER", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_arabic", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-croatian',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-croatian',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='mac-croatian',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> CONTROL CHARACTER\n '\\x01' # 0x01 -> CONTROL CHARACTER\n '\\x02' # 0x02 -> CONTROL CHARACTER\n '\\x03' # 0x03 -> CONTROL CHARACTER\n '\\x04' # 0x04 -> CONTROL CHARACTER\n '\\x05' # 0x05 -> CONTROL CHARACTER\n '\\x06' # 0x06 -> CONTROL CHARACTER\n '\\x07' # 0x07 -> CONTROL CHARACTER\n '\\x08' # 0x08 -> CONTROL CHARACTER", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_croatian", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-cyrillic',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-cyrillic',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='mac-cyrillic',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> CONTROL CHARACTER\n '\\x01' # 0x01 -> CONTROL CHARACTER\n '\\x02' # 0x02 -> CONTROL CHARACTER\n '\\x03' # 0x03 -> CONTROL CHARACTER\n '\\x04' # 0x04 -> CONTROL CHARACTER\n '\\x05' # 0x05 -> CONTROL CHARACTER\n '\\x06' # 0x06 -> CONTROL CHARACTER\n '\\x07' # 0x07 -> CONTROL CHARACTER\n '\\x08' # 0x08 -> CONTROL CHARACTER", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_cyrillic", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-farsi',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-farsi',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='mac-farsi',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> CONTROL CHARACTER\n '\\x01' # 0x01 -> CONTROL CHARACTER\n '\\x02' # 0x02 -> CONTROL CHARACTER\n '\\x03' # 0x03 -> CONTROL CHARACTER\n '\\x04' # 0x04 -> CONTROL CHARACTER\n '\\x05' # 0x05 -> CONTROL CHARACTER\n '\\x06' # 0x06 -> CONTROL CHARACTER\n '\\x07' # 0x07 -> CONTROL CHARACTER\n '\\x08' # 0x08 -> CONTROL CHARACTER", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_farsi", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-greek',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-greek',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='mac-greek',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> CONTROL CHARACTER\n '\\x01' # 0x01 -> CONTROL CHARACTER\n '\\x02' # 0x02 -> CONTROL CHARACTER\n '\\x03' # 0x03 -> CONTROL CHARACTER\n '\\x04' # 0x04 -> CONTROL CHARACTER\n '\\x05' # 0x05 -> CONTROL CHARACTER\n '\\x06' # 0x06 -> CONTROL CHARACTER\n '\\x07' # 0x07 -> CONTROL CHARACTER\n '\\x08' # 0x08 -> CONTROL CHARACTER", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_greek", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-iceland',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-iceland',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='mac-iceland',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> CONTROL CHARACTER\n '\\x01' # 0x01 -> CONTROL CHARACTER\n '\\x02' # 0x02 -> CONTROL CHARACTER\n '\\x03' # 0x03 -> CONTROL CHARACTER\n '\\x04' # 0x04 -> CONTROL CHARACTER\n '\\x05' # 0x05 -> CONTROL CHARACTER\n '\\x06' # 0x06 -> CONTROL CHARACTER\n '\\x07' # 0x07 -> CONTROL CHARACTER\n '\\x08' # 0x08 -> CONTROL CHARACTER", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_iceland", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-latin2',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-latin2',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='mac-latin2',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_latin2", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-roman',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-roman',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='mac-roman',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> CONTROL CHARACTER\n '\\x01' # 0x01 -> CONTROL CHARACTER\n '\\x02' # 0x02 -> CONTROL CHARACTER\n '\\x03' # 0x03 -> CONTROL CHARACTER\n '\\x04' # 0x04 -> CONTROL CHARACTER\n '\\x05' # 0x05 -> CONTROL CHARACTER\n '\\x06' # 0x06 -> CONTROL CHARACTER\n '\\x07' # 0x07 -> CONTROL CHARACTER\n '\\x08' # 0x08 -> CONTROL CHARACTER", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_roman", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-romanian',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-romanian',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='mac-romanian',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> CONTROL CHARACTER\n '\\x01' # 0x01 -> CONTROL CHARACTER\n '\\x02' # 0x02 -> CONTROL CHARACTER\n '\\x03' # 0x03 -> CONTROL CHARACTER\n '\\x04' # 0x04 -> CONTROL CHARACTER\n '\\x05' # 0x05 -> CONTROL CHARACTER\n '\\x06' # 0x06 -> CONTROL CHARACTER\n '\\x07' # 0x07 -> CONTROL CHARACTER\n '\\x08' # 0x08 -> CONTROL CHARACTER", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_romanian", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-turkish',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mac-turkish',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='mac-turkish',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> CONTROL CHARACTER\n '\\x01' # 0x01 -> CONTROL CHARACTER\n '\\x02' # 0x02 -> CONTROL CHARACTER\n '\\x03' # 0x03 -> CONTROL CHARACTER\n '\\x04' # 0x04 -> CONTROL CHARACTER\n '\\x05' # 0x05 -> CONTROL CHARACTER\n '\\x06' # 0x06 -> CONTROL CHARACTER\n '\\x07' # 0x07 -> CONTROL CHARACTER\n '\\x08' # 0x08 -> CONTROL CHARACTER", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mac_turkish", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return mbcs_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = mbcs_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = mbcs_encode\nclass StreamReader(codecs.StreamReader):\n decode = mbcs_decode\n### encodings module API", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "peekOfCode": "class IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = mbcs_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = mbcs_encode\nclass StreamReader(codecs.StreamReader):\n decode = mbcs_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mbcs',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "peekOfCode": "class StreamWriter(codecs.StreamWriter):\n encode = mbcs_encode\nclass StreamReader(codecs.StreamReader):\n decode = mbcs_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mbcs',\n encode=encode,\n decode=decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "peekOfCode": "class StreamReader(codecs.StreamReader):\n decode = mbcs_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='mbcs',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "documentation": {} }, { "label": "decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "peekOfCode": "def decode(input, errors='strict'):\n return mbcs_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return mbcs_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = mbcs_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = mbcs_encode\nclass StreamReader(codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='mbcs',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "documentation": {} }, { "label": "encode", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "peekOfCode": "encode = mbcs_encode\ndef decode(input, errors='strict'):\n return mbcs_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return mbcs_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = mbcs_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = mbcs_encode", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.mbcs", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return oem_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = oem_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = oem_encode\nclass StreamReader(codecs.StreamReader):\n decode = oem_decode\n### encodings module API", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "peekOfCode": "class IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = oem_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = oem_encode\nclass StreamReader(codecs.StreamReader):\n decode = oem_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='oem',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "peekOfCode": "class StreamWriter(codecs.StreamWriter):\n encode = oem_encode\nclass StreamReader(codecs.StreamReader):\n decode = oem_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='oem',\n encode=encode,\n decode=decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "peekOfCode": "class StreamReader(codecs.StreamReader):\n decode = oem_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='oem',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "documentation": {} }, { "label": "decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "peekOfCode": "def decode(input, errors='strict'):\n return oem_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return oem_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = oem_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = oem_encode\nclass StreamReader(codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='oem',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "documentation": {} }, { "label": "encode", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "peekOfCode": "encode = oem_encode\ndef decode(input, errors='strict'):\n return oem_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return oem_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = oem_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = oem_encode", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.oem", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='palmos',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='palmos',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='palmos',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.palmos", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='ptcp154',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='ptcp154',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='ptcp154',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.ptcp154", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n res = punycode_encode(input)\n return res, len(input)\n def decode(self, input, errors='strict'):\n if errors not in ('strict', 'replace', 'ignore'):\n raise UnicodeError(\"Unsupported error handling \"+errors)\n res = punycode_decode(input, errors)\n return res, len(input)\nclass IncrementalEncoder(codecs.IncrementalEncoder):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return punycode_encode(input)\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n if self.errors not in ('strict', 'replace', 'ignore'):\n raise UnicodeError(\"Unsupported error handling \"+self.errors)\n return punycode_decode(input, self.errors)\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n if self.errors not in ('strict', 'replace', 'ignore'):\n raise UnicodeError(\"Unsupported error handling \"+self.errors)\n return punycode_decode(input, self.errors)\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='punycode',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='punycode',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "segregate", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "def segregate(str):\n \"\"\"3.1 Basic code point segregation\"\"\"\n base = bytearray()\n extended = set()\n for c in str:\n if ord(c) < 128:\n base.append(ord(c))\n else:\n extended.add(c)\n extended = sorted(extended)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "selective_len", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "def selective_len(str, max):\n \"\"\"Return the length of str, considering only characters below max.\"\"\"\n res = 0\n for c in str:\n if ord(c) < max:\n res += 1\n return res\ndef selective_find(str, char, index, pos):\n \"\"\"Return a pair (index, pos), indicating the next occurrence of\n char in str. index is the position of the character considering", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "selective_find", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "def selective_find(str, char, index, pos):\n \"\"\"Return a pair (index, pos), indicating the next occurrence of\n char in str. index is the position of the character considering\n only ordinals up to and including char, and pos is the position in\n the full string. index/pos is the starting position in the full\n string.\"\"\"\n l = len(str)\n while 1:\n pos += 1\n if pos == l:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "insertion_unsort", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "def insertion_unsort(str, extended):\n \"\"\"3.2 Insertion unsort coding\"\"\"\n oldchar = 0x80\n result = []\n oldindex = -1\n for c in extended:\n index = pos = -1\n char = ord(c)\n curlen = selective_len(str, char)\n delta = (curlen+1) * (char - oldchar)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "T", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "def T(j, bias):\n # Punycode parameters: tmin = 1, tmax = 26, base = 36\n res = 36 * (j + 1) - bias\n if res < 1: return 1\n if res > 26: return 26\n return res\ndigits = b\"abcdefghijklmnopqrstuvwxyz0123456789\"\ndef generate_generalized_integer(N, bias):\n \"\"\"3.3 Generalized variable-length integers\"\"\"\n result = bytearray()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "generate_generalized_integer", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "def generate_generalized_integer(N, bias):\n \"\"\"3.3 Generalized variable-length integers\"\"\"\n result = bytearray()\n j = 0\n while 1:\n t = T(j, bias)\n if N < t:\n result.append(digits[N])\n return bytes(result)\n result.append(digits[t + ((N - t) % (36 - t))])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "adapt", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "def adapt(delta, first, numchars):\n if first:\n delta //= 700\n else:\n delta //= 2\n delta += delta // numchars\n # ((base - tmin) * tmax) // 2 == 455\n divisions = 0\n while delta > 455:\n delta = delta // 35 # base - tmin", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "generate_integers", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "def generate_integers(baselen, deltas):\n \"\"\"3.4 Bias adaptation\"\"\"\n # Punycode parameters: initial bias = 72, damp = 700, skew = 38\n result = bytearray()\n bias = 72\n for points, delta in enumerate(deltas):\n s = generate_generalized_integer(delta, bias)\n result.extend(s)\n bias = adapt(delta, points==0, baselen+points+1)\n return bytes(result)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "punycode_encode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "def punycode_encode(text):\n base, extended = segregate(text)\n deltas = insertion_unsort(text, extended)\n extended = generate_integers(len(base), deltas)\n if base:\n return base + b\"-\" + extended\n return extended\n##################### Decoding #####################################\ndef decode_generalized_number(extended, extpos, bias, errors):\n \"\"\"3.3 Generalized variable-length integers\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "decode_generalized_number", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "def decode_generalized_number(extended, extpos, bias, errors):\n \"\"\"3.3 Generalized variable-length integers\"\"\"\n result = 0\n w = 1\n j = 0\n while 1:\n try:\n char = ord(extended[extpos])\n except IndexError:\n if errors == \"strict\":", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "insertion_sort", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "def insertion_sort(base, extended, errors):\n \"\"\"3.2 Insertion unsort coding\"\"\"\n char = 0x80\n pos = -1\n bias = 72\n extpos = 0\n while extpos < len(extended):\n newpos, delta = decode_generalized_number(extended, extpos,\n bias, errors)\n if delta is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "punycode_decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "def punycode_decode(text, errors):\n if isinstance(text, str):\n text = text.encode(\"ascii\")\n if isinstance(text, memoryview):\n text = bytes(text)\n pos = text.rfind(b\"-\")\n if pos == -1:\n base = \"\"\n extended = str(text, \"ascii\").upper()\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='punycode',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamwriter=StreamWriter,\n streamreader=StreamReader,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "digits", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "peekOfCode": "digits = b\"abcdefghijklmnopqrstuvwxyz0123456789\"\ndef generate_generalized_integer(N, bias):\n \"\"\"3.3 Generalized variable-length integers\"\"\"\n result = bytearray()\n j = 0\n while 1:\n t = T(j, bias)\n if N < t:\n result.append(digits[N])\n return bytes(result)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.punycode", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n return quopri_encode(input, errors)\n def decode(self, input, errors='strict'):\n return quopri_decode(input, errors)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return quopri_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return quopri_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return quopri_decode(input, self.errors)[0]\nclass StreamWriter(Codec, codecs.StreamWriter):\n charbuffertype = bytes\nclass StreamReader(Codec, codecs.StreamReader):\n charbuffertype = bytes", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return quopri_decode(input, self.errors)[0]\nclass StreamWriter(Codec, codecs.StreamWriter):\n charbuffertype = bytes\nclass StreamReader(Codec, codecs.StreamReader):\n charbuffertype = bytes\n# encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "peekOfCode": "class StreamWriter(Codec, codecs.StreamWriter):\n charbuffertype = bytes\nclass StreamReader(Codec, codecs.StreamReader):\n charbuffertype = bytes\n# encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='quopri',\n encode=quopri_encode,\n decode=quopri_decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "peekOfCode": "class StreamReader(Codec, codecs.StreamReader):\n charbuffertype = bytes\n# encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='quopri',\n encode=quopri_encode,\n decode=quopri_decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "documentation": {} }, { "label": "quopri_encode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "peekOfCode": "def quopri_encode(input, errors='strict'):\n assert errors == 'strict'\n f = BytesIO(input)\n g = BytesIO()\n quopri.encode(f, g, quotetabs=True)\n return (g.getvalue(), len(input))\ndef quopri_decode(input, errors='strict'):\n assert errors == 'strict'\n f = BytesIO(input)\n g = BytesIO()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "documentation": {} }, { "label": "quopri_decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "peekOfCode": "def quopri_decode(input, errors='strict'):\n assert errors == 'strict'\n f = BytesIO(input)\n g = BytesIO()\n quopri.decode(f, g)\n return (g.getvalue(), len(input))\nclass Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n return quopri_encode(input, errors)\n def decode(self, input, errors='strict'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='quopri',\n encode=quopri_encode,\n decode=quopri_decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamwriter=StreamWriter,\n streamreader=StreamReader,\n _is_text_encoding=False,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.quopri_codec", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.raw_unicode_escape", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.raw_unicode_escape", "peekOfCode": "class Codec(codecs.Codec):\n # Note: Binding these as C functions will result in the class not\n # converting them to methods. This is intended.\n encode = codecs.raw_unicode_escape_encode\n decode = codecs.raw_unicode_escape_decode\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.raw_unicode_escape_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n def _buffer_decode(self, input, errors, final):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.raw_unicode_escape", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.raw_unicode_escape", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.raw_unicode_escape", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.raw_unicode_escape_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n def _buffer_decode(self, input, errors, final):\n return codecs.raw_unicode_escape_decode(input, errors, final)\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n def decode(self, input, errors='strict'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.raw_unicode_escape", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.raw_unicode_escape", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.raw_unicode_escape", "peekOfCode": "class IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n def _buffer_decode(self, input, errors, final):\n return codecs.raw_unicode_escape_decode(input, errors, final)\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n def decode(self, input, errors='strict'):\n return codecs.raw_unicode_escape_decode(input, errors, False)\n### encodings module API\ndef getregentry():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.raw_unicode_escape", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.raw_unicode_escape", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.raw_unicode_escape", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n def decode(self, input, errors='strict'):\n return codecs.raw_unicode_escape_decode(input, errors, False)\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='raw-unicode-escape',\n encode=Codec.encode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.raw_unicode_escape", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.raw_unicode_escape", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.raw_unicode_escape", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n def decode(self, input, errors='strict'):\n return codecs.raw_unicode_escape_decode(input, errors, False)\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='raw-unicode-escape',\n encode=Codec.encode,\n decode=Codec.decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.raw_unicode_escape", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.raw_unicode_escape", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.raw_unicode_escape", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='raw-unicode-escape',\n encode=Codec.encode,\n decode=Codec.decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamwriter=StreamWriter,\n streamreader=StreamReader,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.raw_unicode_escape", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n return (str.translate(input, rot13_map), len(input))\n def decode(self, input, errors='strict'):\n return (str.translate(input, rot13_map), len(input))\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return str.translate(input, rot13_map)\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return str.translate(input, rot13_map)\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return str.translate(input, rot13_map)\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return str.translate(input, rot13_map)\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='rot-13',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='rot-13',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='rot-13',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamwriter=StreamWriter,\n streamreader=StreamReader,\n _is_text_encoding=False,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "documentation": {} }, { "label": "rot13", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "peekOfCode": "def rot13(infile, outfile):\n outfile.write(codecs.encode(infile.read(), 'rot-13'))\nif __name__ == '__main__':\n import sys\n rot13(sys.stdin, sys.stdout)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "documentation": {} }, { "label": "rot13_map", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "peekOfCode": "rot13_map = codecs.make_identity_dict(range(256))\nrot13_map.update({\n 0x0041: 0x004e,\n 0x0042: 0x004f,\n 0x0043: 0x0050,\n 0x0044: 0x0051,\n 0x0045: 0x0052,\n 0x0046: 0x0053,\n 0x0047: 0x0054,\n 0x0048: 0x0055,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.rot_13", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='shift_jis',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='shift_jis',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='shift_jis',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='shift_jis',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "peekOfCode": "codec = _codecs_jp.getcodec('shift_jis')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='shift_jisx0213',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='shift_jisx0213',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='shift_jisx0213',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='shift_jisx0213',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "peekOfCode": "codec = _codecs_jp.getcodec('shift_jisx0213')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jisx0213", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "peekOfCode": "class Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "peekOfCode": "class IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "peekOfCode": "class IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec\nclass StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='shift_jis_2004',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "peekOfCode": "class StreamReader(Codec, mbc.MultibyteStreamReader, codecs.StreamReader):\n codec = codec\nclass StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='shift_jis_2004',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "peekOfCode": "class StreamWriter(Codec, mbc.MultibyteStreamWriter, codecs.StreamWriter):\n codec = codec\ndef getregentry():\n return codecs.CodecInfo(\n name='shift_jis_2004',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='shift_jis_2004',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "documentation": {} }, { "label": "codec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "peekOfCode": "codec = _codecs_jp.getcodec('shift_jis_2004')\nclass Codec(codecs.Codec):\n encode = codec.encode\n decode = codec.decode\nclass IncrementalEncoder(mbc.MultibyteIncrementalEncoder,\n codecs.IncrementalEncoder):\n codec = codec\nclass IncrementalDecoder(mbc.MultibyteIncrementalDecoder,\n codecs.IncrementalDecoder):\n codec = codec", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.shift_jis_2004", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n return codecs.charmap_encode(input,errors,encoding_table)\n def decode(self,input,errors='strict'):\n return codecs.charmap_decode(input,errors,decoding_table)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.charmap_encode(input,self.errors,encoding_table)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return codecs.charmap_decode(input,self.errors,decoding_table)[0]\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='tis-620',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='tis-620',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='tis-620',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "documentation": {} }, { "label": "decoding_table", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "peekOfCode": "decoding_table = (\n '\\x00' # 0x00 -> NULL\n '\\x01' # 0x01 -> START OF HEADING\n '\\x02' # 0x02 -> START OF TEXT\n '\\x03' # 0x03 -> END OF TEXT\n '\\x04' # 0x04 -> END OF TRANSMISSION\n '\\x05' # 0x05 -> ENQUIRY\n '\\x06' # 0x06 -> ACKNOWLEDGE\n '\\x07' # 0x07 -> BELL\n '\\x08' # 0x08 -> BACKSPACE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.tis_620", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.undefined", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.undefined", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self,input,errors='strict'):\n raise UnicodeError(\"undefined encoding\")\n def decode(self,input,errors='strict'):\n raise UnicodeError(\"undefined encoding\")\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n raise UnicodeError(\"undefined encoding\")\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.undefined", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.undefined", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.undefined", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n raise UnicodeError(\"undefined encoding\")\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n raise UnicodeError(\"undefined encoding\")\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.undefined", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.undefined", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.undefined", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n raise UnicodeError(\"undefined encoding\")\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.undefined", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.undefined", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.undefined", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='undefined',\n encode=Codec().encode,\n decode=Codec().decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.undefined", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.undefined", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.undefined", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n pass\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='undefined',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.undefined", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.undefined", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.undefined", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='undefined',\n encode=Codec().encode,\n decode=Codec().decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamwriter=StreamWriter,\n streamreader=StreamReader,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.undefined", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.unicode_escape", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.unicode_escape", "peekOfCode": "class Codec(codecs.Codec):\n # Note: Binding these as C functions will result in the class not\n # converting them to methods. This is intended.\n encode = codecs.unicode_escape_encode\n decode = codecs.unicode_escape_decode\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.unicode_escape_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n def _buffer_decode(self, input, errors, final):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.unicode_escape", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.unicode_escape", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.unicode_escape", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.unicode_escape_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n def _buffer_decode(self, input, errors, final):\n return codecs.unicode_escape_decode(input, errors, final)\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n def decode(self, input, errors='strict'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.unicode_escape", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.unicode_escape", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.unicode_escape", "peekOfCode": "class IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n def _buffer_decode(self, input, errors, final):\n return codecs.unicode_escape_decode(input, errors, final)\nclass StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n def decode(self, input, errors='strict'):\n return codecs.unicode_escape_decode(input, errors, False)\n### encodings module API\ndef getregentry():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.unicode_escape", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.unicode_escape", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.unicode_escape", "peekOfCode": "class StreamWriter(Codec,codecs.StreamWriter):\n pass\nclass StreamReader(Codec,codecs.StreamReader):\n def decode(self, input, errors='strict'):\n return codecs.unicode_escape_decode(input, errors, False)\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='unicode-escape',\n encode=Codec.encode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.unicode_escape", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.unicode_escape", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.unicode_escape", "peekOfCode": "class StreamReader(Codec,codecs.StreamReader):\n def decode(self, input, errors='strict'):\n return codecs.unicode_escape_decode(input, errors, False)\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='unicode-escape',\n encode=Codec.encode,\n decode=Codec.decode,\n incrementalencoder=IncrementalEncoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.unicode_escape", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.unicode_escape", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.unicode_escape", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='unicode-escape',\n encode=Codec.encode,\n decode=Codec.decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamwriter=StreamWriter,\n streamreader=StreamReader,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.unicode_escape", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def __init__(self, errors='strict'):\n codecs.IncrementalEncoder.__init__(self, errors)\n self.encoder = None\n def encode(self, input, final=False):\n if self.encoder is None:\n result = codecs.utf_16_encode(input, self.errors)[0]\n if sys.byteorder == 'little':\n self.encoder = codecs.utf_16_le_encode\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "peekOfCode": "class IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n def __init__(self, errors='strict'):\n codecs.BufferedIncrementalDecoder.__init__(self, errors)\n self.decoder = None\n def _buffer_decode(self, input, errors, final):\n if self.decoder is None:\n (output, consumed, byteorder) = \\\n codecs.utf_16_ex_decode(input, errors, 0, final)\n if byteorder == -1:\n self.decoder = codecs.utf_16_le_decode", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "peekOfCode": "class StreamWriter(codecs.StreamWriter):\n def __init__(self, stream, errors='strict'):\n codecs.StreamWriter.__init__(self, stream, errors)\n self.encoder = None\n def reset(self):\n codecs.StreamWriter.reset(self)\n self.encoder = None\n def encode(self, input, errors='strict'):\n if self.encoder is None:\n result = codecs.utf_16_encode(input, errors)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "peekOfCode": "class StreamReader(codecs.StreamReader):\n def reset(self):\n codecs.StreamReader.reset(self)\n try:\n del self.decode\n except AttributeError:\n pass\n def decode(self, input, errors='strict'):\n (object, consumed, byteorder) = \\\n codecs.utf_16_ex_decode(input, errors, 0, False)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "documentation": {} }, { "label": "decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "peekOfCode": "def decode(input, errors='strict'):\n return codecs.utf_16_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def __init__(self, errors='strict'):\n codecs.IncrementalEncoder.__init__(self, errors)\n self.encoder = None\n def encode(self, input, final=False):\n if self.encoder is None:\n result = codecs.utf_16_encode(input, self.errors)[0]\n if sys.byteorder == 'little':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='utf-16',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "documentation": {} }, { "label": "encode", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "peekOfCode": "encode = codecs.utf_16_encode\ndef decode(input, errors='strict'):\n return codecs.utf_16_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def __init__(self, errors='strict'):\n codecs.IncrementalEncoder.__init__(self, errors)\n self.encoder = None\n def encode(self, input, final=False):\n if self.encoder is None:\n result = codecs.utf_16_encode(input, self.errors)[0]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.utf_16_be_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_16_be_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_16_be_encode\nclass StreamReader(codecs.StreamReader):\n decode = codecs.utf_16_be_decode\n### encodings module API", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "peekOfCode": "class IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_16_be_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_16_be_encode\nclass StreamReader(codecs.StreamReader):\n decode = codecs.utf_16_be_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='utf-16-be',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "peekOfCode": "class StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_16_be_encode\nclass StreamReader(codecs.StreamReader):\n decode = codecs.utf_16_be_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='utf-16-be',\n encode=encode,\n decode=decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "peekOfCode": "class StreamReader(codecs.StreamReader):\n decode = codecs.utf_16_be_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='utf-16-be',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "documentation": {} }, { "label": "decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "peekOfCode": "def decode(input, errors='strict'):\n return codecs.utf_16_be_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.utf_16_be_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_16_be_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_16_be_encode\nclass StreamReader(codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='utf-16-be',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "documentation": {} }, { "label": "encode", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "peekOfCode": "encode = codecs.utf_16_be_encode\ndef decode(input, errors='strict'):\n return codecs.utf_16_be_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.utf_16_be_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_16_be_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_16_be_encode", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_be", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.utf_16_le_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_16_le_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_16_le_encode\nclass StreamReader(codecs.StreamReader):\n decode = codecs.utf_16_le_decode\n### encodings module API", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "peekOfCode": "class IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_16_le_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_16_le_encode\nclass StreamReader(codecs.StreamReader):\n decode = codecs.utf_16_le_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='utf-16-le',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "peekOfCode": "class StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_16_le_encode\nclass StreamReader(codecs.StreamReader):\n decode = codecs.utf_16_le_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='utf-16-le',\n encode=encode,\n decode=decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "peekOfCode": "class StreamReader(codecs.StreamReader):\n decode = codecs.utf_16_le_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='utf-16-le',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "documentation": {} }, { "label": "decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "peekOfCode": "def decode(input, errors='strict'):\n return codecs.utf_16_le_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.utf_16_le_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_16_le_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_16_le_encode\nclass StreamReader(codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='utf-16-le',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "documentation": {} }, { "label": "encode", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "peekOfCode": "encode = codecs.utf_16_le_encode\ndef decode(input, errors='strict'):\n return codecs.utf_16_le_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.utf_16_le_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_16_le_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_16_le_encode", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_16_le", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def __init__(self, errors='strict'):\n codecs.IncrementalEncoder.__init__(self, errors)\n self.encoder = None\n def encode(self, input, final=False):\n if self.encoder is None:\n result = codecs.utf_32_encode(input, self.errors)[0]\n if sys.byteorder == 'little':\n self.encoder = codecs.utf_32_le_encode\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "peekOfCode": "class IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n def __init__(self, errors='strict'):\n codecs.BufferedIncrementalDecoder.__init__(self, errors)\n self.decoder = None\n def _buffer_decode(self, input, errors, final):\n if self.decoder is None:\n (output, consumed, byteorder) = \\\n codecs.utf_32_ex_decode(input, errors, 0, final)\n if byteorder == -1:\n self.decoder = codecs.utf_32_le_decode", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "peekOfCode": "class StreamWriter(codecs.StreamWriter):\n def __init__(self, stream, errors='strict'):\n self.encoder = None\n codecs.StreamWriter.__init__(self, stream, errors)\n def reset(self):\n codecs.StreamWriter.reset(self)\n self.encoder = None\n def encode(self, input, errors='strict'):\n if self.encoder is None:\n result = codecs.utf_32_encode(input, errors)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "peekOfCode": "class StreamReader(codecs.StreamReader):\n def reset(self):\n codecs.StreamReader.reset(self)\n try:\n del self.decode\n except AttributeError:\n pass\n def decode(self, input, errors='strict'):\n (object, consumed, byteorder) = \\\n codecs.utf_32_ex_decode(input, errors, 0, False)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "documentation": {} }, { "label": "decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "peekOfCode": "def decode(input, errors='strict'):\n return codecs.utf_32_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def __init__(self, errors='strict'):\n codecs.IncrementalEncoder.__init__(self, errors)\n self.encoder = None\n def encode(self, input, final=False):\n if self.encoder is None:\n result = codecs.utf_32_encode(input, self.errors)[0]\n if sys.byteorder == 'little':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='utf-32',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "documentation": {} }, { "label": "encode", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "peekOfCode": "encode = codecs.utf_32_encode\ndef decode(input, errors='strict'):\n return codecs.utf_32_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def __init__(self, errors='strict'):\n codecs.IncrementalEncoder.__init__(self, errors)\n self.encoder = None\n def encode(self, input, final=False):\n if self.encoder is None:\n result = codecs.utf_32_encode(input, self.errors)[0]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.utf_32_be_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_32_be_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_32_be_encode\nclass StreamReader(codecs.StreamReader):\n decode = codecs.utf_32_be_decode\n### encodings module API", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "peekOfCode": "class IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_32_be_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_32_be_encode\nclass StreamReader(codecs.StreamReader):\n decode = codecs.utf_32_be_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='utf-32-be',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "peekOfCode": "class StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_32_be_encode\nclass StreamReader(codecs.StreamReader):\n decode = codecs.utf_32_be_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='utf-32-be',\n encode=encode,\n decode=decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "peekOfCode": "class StreamReader(codecs.StreamReader):\n decode = codecs.utf_32_be_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='utf-32-be',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "documentation": {} }, { "label": "decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "peekOfCode": "def decode(input, errors='strict'):\n return codecs.utf_32_be_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.utf_32_be_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_32_be_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_32_be_encode\nclass StreamReader(codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='utf-32-be',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "documentation": {} }, { "label": "encode", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "peekOfCode": "encode = codecs.utf_32_be_encode\ndef decode(input, errors='strict'):\n return codecs.utf_32_be_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.utf_32_be_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_32_be_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_32_be_encode", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_be", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.utf_32_le_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_32_le_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_32_le_encode\nclass StreamReader(codecs.StreamReader):\n decode = codecs.utf_32_le_decode\n### encodings module API", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "peekOfCode": "class IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_32_le_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_32_le_encode\nclass StreamReader(codecs.StreamReader):\n decode = codecs.utf_32_le_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='utf-32-le',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "peekOfCode": "class StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_32_le_encode\nclass StreamReader(codecs.StreamReader):\n decode = codecs.utf_32_le_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='utf-32-le',\n encode=encode,\n decode=decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "peekOfCode": "class StreamReader(codecs.StreamReader):\n decode = codecs.utf_32_le_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='utf-32-le',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "documentation": {} }, { "label": "decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "peekOfCode": "def decode(input, errors='strict'):\n return codecs.utf_32_le_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.utf_32_le_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_32_le_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_32_le_encode\nclass StreamReader(codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='utf-32-le',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "documentation": {} }, { "label": "encode", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "peekOfCode": "encode = codecs.utf_32_le_encode\ndef decode(input, errors='strict'):\n return codecs.utf_32_le_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.utf_32_le_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_32_le_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_32_le_encode", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_32_le", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.utf_7_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_7_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_7_encode\nclass StreamReader(codecs.StreamReader):\n decode = codecs.utf_7_decode\n### encodings module API", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "peekOfCode": "class IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_7_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_7_encode\nclass StreamReader(codecs.StreamReader):\n decode = codecs.utf_7_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='utf-7',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "peekOfCode": "class StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_7_encode\nclass StreamReader(codecs.StreamReader):\n decode = codecs.utf_7_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='utf-7',\n encode=encode,\n decode=decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "peekOfCode": "class StreamReader(codecs.StreamReader):\n decode = codecs.utf_7_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='utf-7',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "documentation": {} }, { "label": "decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "peekOfCode": "def decode(input, errors='strict'):\n return codecs.utf_7_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.utf_7_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_7_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_7_encode\nclass StreamReader(codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='utf-7',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "documentation": {} }, { "label": "encode", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "peekOfCode": "encode = codecs.utf_7_encode\ndef decode(input, errors='strict'):\n return codecs.utf_7_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.utf_7_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_7_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_7_encode", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_7", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.utf_8_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_8_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_8_encode\nclass StreamReader(codecs.StreamReader):\n decode = codecs.utf_8_decode\n### encodings module API", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "peekOfCode": "class IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_8_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_8_encode\nclass StreamReader(codecs.StreamReader):\n decode = codecs.utf_8_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='utf-8',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "peekOfCode": "class StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_8_encode\nclass StreamReader(codecs.StreamReader):\n decode = codecs.utf_8_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='utf-8',\n encode=encode,\n decode=decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "peekOfCode": "class StreamReader(codecs.StreamReader):\n decode = codecs.utf_8_decode\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='utf-8',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "documentation": {} }, { "label": "decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "peekOfCode": "def decode(input, errors='strict'):\n return codecs.utf_8_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.utf_8_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_8_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_8_encode\nclass StreamReader(codecs.StreamReader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='utf-8',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "documentation": {} }, { "label": "encode", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "peekOfCode": "encode = codecs.utf_8_encode\ndef decode(input, errors='strict'):\n return codecs.utf_8_decode(input, errors, True)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return codecs.utf_8_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n _buffer_decode = codecs.utf_8_decode\nclass StreamWriter(codecs.StreamWriter):\n encode = codecs.utf_8_encode", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def __init__(self, errors='strict'):\n codecs.IncrementalEncoder.__init__(self, errors)\n self.first = 1\n def encode(self, input, final=False):\n if self.first:\n self.first = 0\n return codecs.BOM_UTF8 + \\\n codecs.utf_8_encode(input, self.errors)[0]\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "peekOfCode": "class IncrementalDecoder(codecs.BufferedIncrementalDecoder):\n def __init__(self, errors='strict'):\n codecs.BufferedIncrementalDecoder.__init__(self, errors)\n self.first = 1\n def _buffer_decode(self, input, errors, final):\n if self.first:\n if len(input) < 3:\n if codecs.BOM_UTF8.startswith(input):\n # not enough data to decide if this really is a BOM\n # => try again on the next call", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "peekOfCode": "class StreamWriter(codecs.StreamWriter):\n def reset(self):\n codecs.StreamWriter.reset(self)\n try:\n del self.encode\n except AttributeError:\n pass\n def encode(self, input, errors='strict'):\n self.encode = codecs.utf_8_encode\n return encode(input, errors)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "peekOfCode": "class StreamReader(codecs.StreamReader):\n def reset(self):\n codecs.StreamReader.reset(self)\n try:\n del self.decode\n except AttributeError:\n pass\n def decode(self, input, errors='strict'):\n if len(input) < 3:\n if codecs.BOM_UTF8.startswith(input):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "documentation": {} }, { "label": "encode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "peekOfCode": "def encode(input, errors='strict'):\n return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0],\n len(input))\ndef decode(input, errors='strict'):\n prefix = 0\n if input[:3] == codecs.BOM_UTF8:\n input = input[3:]\n prefix = 3\n (output, consumed) = codecs.utf_8_decode(input, errors, True)\n return (output, consumed+prefix)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "documentation": {} }, { "label": "decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "peekOfCode": "def decode(input, errors='strict'):\n prefix = 0\n if input[:3] == codecs.BOM_UTF8:\n input = input[3:]\n prefix = 3\n (output, consumed) = codecs.utf_8_decode(input, errors, True)\n return (output, consumed+prefix)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def __init__(self, errors='strict'):\n codecs.IncrementalEncoder.__init__(self, errors)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='utf-8-sig',\n encode=encode,\n decode=decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.utf_8_sig", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n return uu_encode(input, errors)\n def decode(self, input, errors='strict'):\n return uu_decode(input, errors)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return uu_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def encode(self, input, final=False):\n return uu_encode(input, self.errors)[0]\nclass IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return uu_decode(input, self.errors)[0]\nclass StreamWriter(Codec, codecs.StreamWriter):\n charbuffertype = bytes\nclass StreamReader(Codec, codecs.StreamReader):\n charbuffertype = bytes", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def decode(self, input, final=False):\n return uu_decode(input, self.errors)[0]\nclass StreamWriter(Codec, codecs.StreamWriter):\n charbuffertype = bytes\nclass StreamReader(Codec, codecs.StreamReader):\n charbuffertype = bytes\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "peekOfCode": "class StreamWriter(Codec, codecs.StreamWriter):\n charbuffertype = bytes\nclass StreamReader(Codec, codecs.StreamReader):\n charbuffertype = bytes\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='uu',\n encode=uu_encode,\n decode=uu_decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "peekOfCode": "class StreamReader(Codec, codecs.StreamReader):\n charbuffertype = bytes\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='uu',\n encode=uu_encode,\n decode=uu_decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "documentation": {} }, { "label": "uu_encode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "peekOfCode": "def uu_encode(input, errors='strict', filename='<data>', mode=0o666):\n assert errors == 'strict'\n infile = BytesIO(input)\n outfile = BytesIO()\n read = infile.read\n write = outfile.write\n # Remove newline chars from filename\n filename = filename.replace('\\n','\\\\n')\n filename = filename.replace('\\r','\\\\r')\n # Encode", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "documentation": {} }, { "label": "uu_decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "peekOfCode": "def uu_decode(input, errors='strict'):\n assert errors == 'strict'\n infile = BytesIO(input)\n outfile = BytesIO()\n readline = infile.readline\n write = outfile.write\n # Find start of encoded data\n while 1:\n s = readline()\n if not s:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='uu',\n encode=uu_encode,\n decode=uu_decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n _is_text_encoding=False,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.uu_codec", "documentation": {} }, { "label": "Codec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "peekOfCode": "class Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n return zlib_encode(input, errors)\n def decode(self, input, errors='strict'):\n return zlib_decode(input, errors)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def __init__(self, errors='strict'):\n assert errors == 'strict'\n self.errors = errors\n self.compressobj = zlib.compressobj()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "documentation": {} }, { "label": "IncrementalEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "peekOfCode": "class IncrementalEncoder(codecs.IncrementalEncoder):\n def __init__(self, errors='strict'):\n assert errors == 'strict'\n self.errors = errors\n self.compressobj = zlib.compressobj()\n def encode(self, input, final=False):\n if final:\n c = self.compressobj.compress(input)\n return c + self.compressobj.flush()\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "documentation": {} }, { "label": "IncrementalDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "peekOfCode": "class IncrementalDecoder(codecs.IncrementalDecoder):\n def __init__(self, errors='strict'):\n assert errors == 'strict'\n self.errors = errors\n self.decompressobj = zlib.decompressobj()\n def decode(self, input, final=False):\n if final:\n c = self.decompressobj.decompress(input)\n return c + self.decompressobj.flush()\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "documentation": {} }, { "label": "StreamWriter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "peekOfCode": "class StreamWriter(Codec, codecs.StreamWriter):\n charbuffertype = bytes\nclass StreamReader(Codec, codecs.StreamReader):\n charbuffertype = bytes\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='zlib',\n encode=zlib_encode,\n decode=zlib_decode,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "documentation": {} }, { "label": "StreamReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "peekOfCode": "class StreamReader(Codec, codecs.StreamReader):\n charbuffertype = bytes\n### encodings module API\ndef getregentry():\n return codecs.CodecInfo(\n name='zlib',\n encode=zlib_encode,\n decode=zlib_decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "documentation": {} }, { "label": "zlib_encode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "peekOfCode": "def zlib_encode(input, errors='strict'):\n assert errors == 'strict'\n return (zlib.compress(input), len(input))\ndef zlib_decode(input, errors='strict'):\n assert errors == 'strict'\n return (zlib.decompress(input), len(input))\nclass Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n return zlib_encode(input, errors)\n def decode(self, input, errors='strict'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "documentation": {} }, { "label": "zlib_decode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "peekOfCode": "def zlib_decode(input, errors='strict'):\n assert errors == 'strict'\n return (zlib.decompress(input), len(input))\nclass Codec(codecs.Codec):\n def encode(self, input, errors='strict'):\n return zlib_encode(input, errors)\n def decode(self, input, errors='strict'):\n return zlib_decode(input, errors)\nclass IncrementalEncoder(codecs.IncrementalEncoder):\n def __init__(self, errors='strict'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "documentation": {} }, { "label": "getregentry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "peekOfCode": "def getregentry():\n return codecs.CodecInfo(\n name='zlib',\n encode=zlib_encode,\n decode=zlib_decode,\n incrementalencoder=IncrementalEncoder,\n incrementaldecoder=IncrementalDecoder,\n streamreader=StreamReader,\n streamwriter=StreamWriter,\n _is_text_encoding=False,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.encodings.zlib_codec", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.entities", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.entities", "peekOfCode": "__all__ = ['html5', 'name2codepoint', 'codepoint2name', 'entitydefs']\n# maps the HTML entity name to the Unicode code point\nname2codepoint = {\n 'AElig': 0x00c6, # latin capital letter AE = latin capital ligature AE, U+00C6 ISOlat1\n 'Aacute': 0x00c1, # latin capital letter A with acute, U+00C1 ISOlat1\n 'Acirc': 0x00c2, # latin capital letter A with circumflex, U+00C2 ISOlat1\n 'Agrave': 0x00c0, # latin capital letter A with grave = latin capital letter A grave, U+00C0 ISOlat1\n 'Alpha': 0x0391, # greek capital letter alpha, U+0391\n 'Aring': 0x00c5, # latin capital letter A with ring above = latin capital letter A ring, U+00C5 ISOlat1\n 'Atilde': 0x00c3, # latin capital letter A with tilde, U+00C3 ISOlat1", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.entities", "documentation": {} }, { "label": "name2codepoint", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.entities", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.entities", "peekOfCode": "name2codepoint = {\n 'AElig': 0x00c6, # latin capital letter AE = latin capital ligature AE, U+00C6 ISOlat1\n 'Aacute': 0x00c1, # latin capital letter A with acute, U+00C1 ISOlat1\n 'Acirc': 0x00c2, # latin capital letter A with circumflex, U+00C2 ISOlat1\n 'Agrave': 0x00c0, # latin capital letter A with grave = latin capital letter A grave, U+00C0 ISOlat1\n 'Alpha': 0x0391, # greek capital letter alpha, U+0391\n 'Aring': 0x00c5, # latin capital letter A with ring above = latin capital letter A ring, U+00C5 ISOlat1\n 'Atilde': 0x00c3, # latin capital letter A with tilde, U+00C3 ISOlat1\n 'Auml': 0x00c4, # latin capital letter A with diaeresis, U+00C4 ISOlat1\n 'Beta': 0x0392, # greek capital letter beta, U+0392", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.entities", "documentation": {} }, { "label": "html5", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.entities", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.entities", "peekOfCode": "html5 = {\n 'Aacute': '\\xc1',\n 'aacute': '\\xe1',\n 'Aacute;': '\\xc1',\n 'aacute;': '\\xe1',\n 'Abreve;': '\\u0102',\n 'abreve;': '\\u0103',\n 'ac;': '\\u223e',\n 'acd;': '\\u223f',\n 'acE;': '\\u223e\\u0333',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.entities", "documentation": {} }, { "label": "codepoint2name", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.entities", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.entities", "peekOfCode": "codepoint2name = {}\n# maps the HTML entity name to the character\n# (or a character reference if the character is outside the Latin-1 range)\nentitydefs = {}\nfor (name, codepoint) in name2codepoint.items():\n codepoint2name[codepoint] = name\n entitydefs[name] = chr(codepoint)\ndel name, codepoint", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.entities", "documentation": {} }, { "label": "entitydefs", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.entities", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.entities", "peekOfCode": "entitydefs = {}\nfor (name, codepoint) in name2codepoint.items():\n codepoint2name[codepoint] = name\n entitydefs[name] = chr(codepoint)\ndel name, codepoint", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.entities", "documentation": {} }, { "label": "HTMLParser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "peekOfCode": "class HTMLParser(_markupbase.ParserBase):\n \"\"\"Find tags and other markup and call handler functions.\n Usage:\n p = HTMLParser()\n p.feed(data)\n ...\n p.close()\n Start tags are handled by calling self.handle_starttag() or\n self.handle_startendtag(); end tags by self.handle_endtag(). The\n data between tags is passed from the parser to the derived class", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "peekOfCode": "__all__ = ['HTMLParser']\n# Regular expressions used for parsing\ninteresting_normal = re.compile('[&<]')\nincomplete = re.compile('&[a-zA-Z#]')\nentityref = re.compile('&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]')\ncharref = re.compile('&#(?:[0-9]+|[xX][0-9a-fA-F]+)[^0-9a-fA-F]')\nstarttagopen = re.compile('<[a-zA-Z]')\npiclose = re.compile('>')\ncommentclose = re.compile(r'--\\s*>')\n# Note:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "documentation": {} }, { "label": "interesting_normal", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "peekOfCode": "interesting_normal = re.compile('[&<]')\nincomplete = re.compile('&[a-zA-Z#]')\nentityref = re.compile('&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]')\ncharref = re.compile('&#(?:[0-9]+|[xX][0-9a-fA-F]+)[^0-9a-fA-F]')\nstarttagopen = re.compile('<[a-zA-Z]')\npiclose = re.compile('>')\ncommentclose = re.compile(r'--\\s*>')\n# Note:\n# 1) if you change tagfind/attrfind remember to update locatestarttagend too;\n# 2) if you change tagfind/attrfind and/or locatestarttagend the parser will", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "documentation": {} }, { "label": "incomplete", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "peekOfCode": "incomplete = re.compile('&[a-zA-Z#]')\nentityref = re.compile('&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]')\ncharref = re.compile('&#(?:[0-9]+|[xX][0-9a-fA-F]+)[^0-9a-fA-F]')\nstarttagopen = re.compile('<[a-zA-Z]')\npiclose = re.compile('>')\ncommentclose = re.compile(r'--\\s*>')\n# Note:\n# 1) if you change tagfind/attrfind remember to update locatestarttagend too;\n# 2) if you change tagfind/attrfind and/or locatestarttagend the parser will\n# explode, so don't do it.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "documentation": {} }, { "label": "entityref", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "peekOfCode": "entityref = re.compile('&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]')\ncharref = re.compile('&#(?:[0-9]+|[xX][0-9a-fA-F]+)[^0-9a-fA-F]')\nstarttagopen = re.compile('<[a-zA-Z]')\npiclose = re.compile('>')\ncommentclose = re.compile(r'--\\s*>')\n# Note:\n# 1) if you change tagfind/attrfind remember to update locatestarttagend too;\n# 2) if you change tagfind/attrfind and/or locatestarttagend the parser will\n# explode, so don't do it.\n# see http://www.w3.org/TR/html5/tokenization.html#tag-open-state", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "documentation": {} }, { "label": "charref", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "peekOfCode": "charref = re.compile('&#(?:[0-9]+|[xX][0-9a-fA-F]+)[^0-9a-fA-F]')\nstarttagopen = re.compile('<[a-zA-Z]')\npiclose = re.compile('>')\ncommentclose = re.compile(r'--\\s*>')\n# Note:\n# 1) if you change tagfind/attrfind remember to update locatestarttagend too;\n# 2) if you change tagfind/attrfind and/or locatestarttagend the parser will\n# explode, so don't do it.\n# see http://www.w3.org/TR/html5/tokenization.html#tag-open-state\n# and http://www.w3.org/TR/html5/tokenization.html#tag-name-state", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "documentation": {} }, { "label": "starttagopen", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "peekOfCode": "starttagopen = re.compile('<[a-zA-Z]')\npiclose = re.compile('>')\ncommentclose = re.compile(r'--\\s*>')\n# Note:\n# 1) if you change tagfind/attrfind remember to update locatestarttagend too;\n# 2) if you change tagfind/attrfind and/or locatestarttagend the parser will\n# explode, so don't do it.\n# see http://www.w3.org/TR/html5/tokenization.html#tag-open-state\n# and http://www.w3.org/TR/html5/tokenization.html#tag-name-state\ntagfind_tolerant = re.compile(r'([a-zA-Z][^\\t\\n\\r\\f />\\x00]*)(?:\\s|/(?!>))*')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "documentation": {} }, { "label": "piclose", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "peekOfCode": "piclose = re.compile('>')\ncommentclose = re.compile(r'--\\s*>')\n# Note:\n# 1) if you change tagfind/attrfind remember to update locatestarttagend too;\n# 2) if you change tagfind/attrfind and/or locatestarttagend the parser will\n# explode, so don't do it.\n# see http://www.w3.org/TR/html5/tokenization.html#tag-open-state\n# and http://www.w3.org/TR/html5/tokenization.html#tag-name-state\ntagfind_tolerant = re.compile(r'([a-zA-Z][^\\t\\n\\r\\f />\\x00]*)(?:\\s|/(?!>))*')\nattrfind_tolerant = re.compile(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "documentation": {} }, { "label": "commentclose", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "peekOfCode": "commentclose = re.compile(r'--\\s*>')\n# Note:\n# 1) if you change tagfind/attrfind remember to update locatestarttagend too;\n# 2) if you change tagfind/attrfind and/or locatestarttagend the parser will\n# explode, so don't do it.\n# see http://www.w3.org/TR/html5/tokenization.html#tag-open-state\n# and http://www.w3.org/TR/html5/tokenization.html#tag-name-state\ntagfind_tolerant = re.compile(r'([a-zA-Z][^\\t\\n\\r\\f />\\x00]*)(?:\\s|/(?!>))*')\nattrfind_tolerant = re.compile(\n r'((?<=[\\'\"\\s/])[^\\s/>][^\\s/=>]*)(\\s*=+\\s*'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "documentation": {} }, { "label": "tagfind_tolerant", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "peekOfCode": "tagfind_tolerant = re.compile(r'([a-zA-Z][^\\t\\n\\r\\f />\\x00]*)(?:\\s|/(?!>))*')\nattrfind_tolerant = re.compile(\n r'((?<=[\\'\"\\s/])[^\\s/>][^\\s/=>]*)(\\s*=+\\s*'\n r'(\\'[^\\']*\\'|\"[^\"]*\"|(?![\\'\"])[^>\\s]*))?(?:\\s|/(?!>))*')\nlocatestarttagend_tolerant = re.compile(r\"\"\"\n <[a-zA-Z][^\\t\\n\\r\\f />\\x00]* # tag name\n (?:[\\s/]* # optional whitespace before attribute name\n (?:(?<=['\"\\s/])[^\\s/>][^\\s/=>]* # attribute name\n (?:\\s*=+\\s* # value indicator\n (?:'[^']*' # LITA-enclosed value", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "documentation": {} }, { "label": "attrfind_tolerant", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "peekOfCode": "attrfind_tolerant = re.compile(\n r'((?<=[\\'\"\\s/])[^\\s/>][^\\s/=>]*)(\\s*=+\\s*'\n r'(\\'[^\\']*\\'|\"[^\"]*\"|(?![\\'\"])[^>\\s]*))?(?:\\s|/(?!>))*')\nlocatestarttagend_tolerant = re.compile(r\"\"\"\n <[a-zA-Z][^\\t\\n\\r\\f />\\x00]* # tag name\n (?:[\\s/]* # optional whitespace before attribute name\n (?:(?<=['\"\\s/])[^\\s/>][^\\s/=>]* # attribute name\n (?:\\s*=+\\s* # value indicator\n (?:'[^']*' # LITA-enclosed value\n |\"[^\"]*\" # LIT-enclosed value", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "documentation": {} }, { "label": "locatestarttagend_tolerant", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "peekOfCode": "locatestarttagend_tolerant = re.compile(r\"\"\"\n <[a-zA-Z][^\\t\\n\\r\\f />\\x00]* # tag name\n (?:[\\s/]* # optional whitespace before attribute name\n (?:(?<=['\"\\s/])[^\\s/>][^\\s/=>]* # attribute name\n (?:\\s*=+\\s* # value indicator\n (?:'[^']*' # LITA-enclosed value\n |\"[^\"]*\" # LIT-enclosed value\n |(?!['\"])[^>\\s]* # bare value\n )\n \\s* # possibly followed by a space", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "documentation": {} }, { "label": "endendtag", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "peekOfCode": "endendtag = re.compile('>')\n# the HTML 5 spec, section 8.1.2.2, doesn't allow spaces between\n# </ and the tag name, so maybe this should be fixed\nendtagfind = re.compile(r'</\\s*([a-zA-Z][-.a-zA-Z0-9:_]*)\\s*>')\nclass HTMLParser(_markupbase.ParserBase):\n \"\"\"Find tags and other markup and call handler functions.\n Usage:\n p = HTMLParser()\n p.feed(data)\n ...", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "documentation": {} }, { "label": "endtagfind", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "peekOfCode": "endtagfind = re.compile(r'</\\s*([a-zA-Z][-.a-zA-Z0-9:_]*)\\s*>')\nclass HTMLParser(_markupbase.ParserBase):\n \"\"\"Find tags and other markup and call handler functions.\n Usage:\n p = HTMLParser()\n p.feed(data)\n ...\n p.close()\n Start tags are handled by calling self.handle_starttag() or\n self.handle_startendtag(); end tags by self.handle_endtag(). The", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.html.parser", "documentation": {} }, { "label": "HTTPMessage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "class HTTPMessage(email.message.Message):\n # XXX The only usage of this method is in\n # http.server.CGIHTTPRequestHandler. Maybe move the code there so\n # that it doesn't need to be part of the public API. The API has\n # never been defined so this could cause backwards compatibility\n # issues.\n def getallmatchingheaders(self, name):\n \"\"\"Find all header lines matching a given header name.\n Look through the list of headers and find all lines matching a given\n header name (and their continuation lines). A list of the lines is", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "HTTPResponse", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "class HTTPResponse(io.BufferedIOBase):\n # See RFC 2616 sec 19.6 and RFC 1945 sec 6 for details.\n # The bytes from the socket object are iso-8859-1 strings.\n # See RFC 2616 sec 2.2 which notes an exception for MIME-encoded\n # text following RFC 2047. The basic status line parsing only\n # accepts iso-8859-1.\n def __init__(self, sock, debuglevel=0, method=None, url=None):\n # If the response includes a content-length header, we need to\n # make sure that the client doesn't read more than the\n # specified number of bytes. If it does, it will block until", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "HTTPConnection", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "class HTTPConnection:\n _http_vsn = 11\n _http_vsn_str = 'HTTP/1.1'\n response_class = HTTPResponse\n default_port = HTTP_PORT\n auto_open = 1\n debuglevel = 0\n @staticmethod\n def _is_textIO(stream):\n \"\"\"Test whether a file-like object is a text or a binary stream.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "HTTPException", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "class HTTPException(Exception):\n # Subclasses that define an __init__ must call Exception.__init__\n # or define self.args. Otherwise, str() will fail.\n pass\nclass NotConnected(HTTPException):\n pass\nclass InvalidURL(HTTPException):\n pass\nclass UnknownProtocol(HTTPException):\n def __init__(self, version):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "NotConnected", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "class NotConnected(HTTPException):\n pass\nclass InvalidURL(HTTPException):\n pass\nclass UnknownProtocol(HTTPException):\n def __init__(self, version):\n self.args = version,\n self.version = version\nclass UnknownTransferEncoding(HTTPException):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "InvalidURL", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "class InvalidURL(HTTPException):\n pass\nclass UnknownProtocol(HTTPException):\n def __init__(self, version):\n self.args = version,\n self.version = version\nclass UnknownTransferEncoding(HTTPException):\n pass\nclass UnimplementedFileMode(HTTPException):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "UnknownProtocol", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "class UnknownProtocol(HTTPException):\n def __init__(self, version):\n self.args = version,\n self.version = version\nclass UnknownTransferEncoding(HTTPException):\n pass\nclass UnimplementedFileMode(HTTPException):\n pass\nclass IncompleteRead(HTTPException):\n def __init__(self, partial, expected=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "UnknownTransferEncoding", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "class UnknownTransferEncoding(HTTPException):\n pass\nclass UnimplementedFileMode(HTTPException):\n pass\nclass IncompleteRead(HTTPException):\n def __init__(self, partial, expected=None):\n self.args = partial,\n self.partial = partial\n self.expected = expected\n def __repr__(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "UnimplementedFileMode", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "class UnimplementedFileMode(HTTPException):\n pass\nclass IncompleteRead(HTTPException):\n def __init__(self, partial, expected=None):\n self.args = partial,\n self.partial = partial\n self.expected = expected\n def __repr__(self):\n if self.expected is not None:\n e = ', %i more expected' % self.expected", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "IncompleteRead", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "class IncompleteRead(HTTPException):\n def __init__(self, partial, expected=None):\n self.args = partial,\n self.partial = partial\n self.expected = expected\n def __repr__(self):\n if self.expected is not None:\n e = ', %i more expected' % self.expected\n else:\n e = ''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "ImproperConnectionState", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "class ImproperConnectionState(HTTPException):\n pass\nclass CannotSendRequest(ImproperConnectionState):\n pass\nclass CannotSendHeader(ImproperConnectionState):\n pass\nclass ResponseNotReady(ImproperConnectionState):\n pass\nclass BadStatusLine(HTTPException):\n def __init__(self, line):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "CannotSendRequest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "class CannotSendRequest(ImproperConnectionState):\n pass\nclass CannotSendHeader(ImproperConnectionState):\n pass\nclass ResponseNotReady(ImproperConnectionState):\n pass\nclass BadStatusLine(HTTPException):\n def __init__(self, line):\n if not line:\n line = repr(line)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "CannotSendHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "class CannotSendHeader(ImproperConnectionState):\n pass\nclass ResponseNotReady(ImproperConnectionState):\n pass\nclass BadStatusLine(HTTPException):\n def __init__(self, line):\n if not line:\n line = repr(line)\n self.args = line,\n self.line = line", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "ResponseNotReady", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "class ResponseNotReady(ImproperConnectionState):\n pass\nclass BadStatusLine(HTTPException):\n def __init__(self, line):\n if not line:\n line = repr(line)\n self.args = line,\n self.line = line\nclass LineTooLong(HTTPException):\n def __init__(self, line_type):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "BadStatusLine", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "class BadStatusLine(HTTPException):\n def __init__(self, line):\n if not line:\n line = repr(line)\n self.args = line,\n self.line = line\nclass LineTooLong(HTTPException):\n def __init__(self, line_type):\n HTTPException.__init__(self, \"got more than %d bytes when reading %s\"\n % (_MAXLINE, line_type))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "LineTooLong", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "class LineTooLong(HTTPException):\n def __init__(self, line_type):\n HTTPException.__init__(self, \"got more than %d bytes when reading %s\"\n % (_MAXLINE, line_type))\nclass RemoteDisconnected(ConnectionResetError, BadStatusLine):\n def __init__(self, *pos, **kw):\n BadStatusLine.__init__(self, \"\")\n ConnectionResetError.__init__(self, *pos, **kw)\n# for backwards compatibility\nerror = HTTPException", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "RemoteDisconnected", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "class RemoteDisconnected(ConnectionResetError, BadStatusLine):\n def __init__(self, *pos, **kw):\n BadStatusLine.__init__(self, \"\")\n ConnectionResetError.__init__(self, *pos, **kw)\n# for backwards compatibility\nerror = HTTPException", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "parse_headers", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "def parse_headers(fp, _class=HTTPMessage):\n \"\"\"Parses only RFC2822 headers from a file pointer.\n email Parser wants to see strings rather than bytes.\n But a TextIOWrapper around self.rfile would buffer too many bytes\n from the stream, bytes which we later need to read as bytes.\n So we read the correct bytes here, as bytes, for email Parser\n to parse.\n \"\"\"\n headers = _read_headers(fp)\n hstring = b''.join(headers).decode('iso-8859-1')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "__all__ = [\"HTTPResponse\", \"HTTPConnection\",\n \"HTTPException\", \"NotConnected\", \"UnknownProtocol\",\n \"UnknownTransferEncoding\", \"UnimplementedFileMode\",\n \"IncompleteRead\", \"InvalidURL\", \"ImproperConnectionState\",\n \"CannotSendRequest\", \"CannotSendHeader\", \"ResponseNotReady\",\n \"BadStatusLine\", \"LineTooLong\", \"RemoteDisconnected\", \"error\",\n \"responses\"]\nHTTP_PORT = 80\nHTTPS_PORT = 443\n_UNKNOWN = 'UNKNOWN'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "HTTP_PORT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "HTTP_PORT = 80\nHTTPS_PORT = 443\n_UNKNOWN = 'UNKNOWN'\n# connection states\n_CS_IDLE = 'Idle'\n_CS_REQ_STARTED = 'Request-started'\n_CS_REQ_SENT = 'Request-sent'\n# hack to maintain backwards compatibility\nglobals().update(http.HTTPStatus.__members__)\n# another hack to maintain backwards compatibility", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "HTTPS_PORT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "HTTPS_PORT = 443\n_UNKNOWN = 'UNKNOWN'\n# connection states\n_CS_IDLE = 'Idle'\n_CS_REQ_STARTED = 'Request-started'\n_CS_REQ_SENT = 'Request-sent'\n# hack to maintain backwards compatibility\nglobals().update(http.HTTPStatus.__members__)\n# another hack to maintain backwards compatibility\n# Mapping status codes to official W3C names", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "_UNKNOWN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "_UNKNOWN = 'UNKNOWN'\n# connection states\n_CS_IDLE = 'Idle'\n_CS_REQ_STARTED = 'Request-started'\n_CS_REQ_SENT = 'Request-sent'\n# hack to maintain backwards compatibility\nglobals().update(http.HTTPStatus.__members__)\n# another hack to maintain backwards compatibility\n# Mapping status codes to official W3C names\nresponses = {v: v.phrase for v in http.HTTPStatus.__members__.values()}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "_CS_IDLE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "_CS_IDLE = 'Idle'\n_CS_REQ_STARTED = 'Request-started'\n_CS_REQ_SENT = 'Request-sent'\n# hack to maintain backwards compatibility\nglobals().update(http.HTTPStatus.__members__)\n# another hack to maintain backwards compatibility\n# Mapping status codes to official W3C names\nresponses = {v: v.phrase for v in http.HTTPStatus.__members__.values()}\n# maximal line length when calling readline().\n_MAXLINE = 65536", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "_CS_REQ_STARTED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "_CS_REQ_STARTED = 'Request-started'\n_CS_REQ_SENT = 'Request-sent'\n# hack to maintain backwards compatibility\nglobals().update(http.HTTPStatus.__members__)\n# another hack to maintain backwards compatibility\n# Mapping status codes to official W3C names\nresponses = {v: v.phrase for v in http.HTTPStatus.__members__.values()}\n# maximal line length when calling readline().\n_MAXLINE = 65536\n_MAXHEADERS = 100", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "_CS_REQ_SENT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "_CS_REQ_SENT = 'Request-sent'\n# hack to maintain backwards compatibility\nglobals().update(http.HTTPStatus.__members__)\n# another hack to maintain backwards compatibility\n# Mapping status codes to official W3C names\nresponses = {v: v.phrase for v in http.HTTPStatus.__members__.values()}\n# maximal line length when calling readline().\n_MAXLINE = 65536\n_MAXHEADERS = 100\n# Header name/value ABNF (http://tools.ietf.org/html/rfc7230#section-3.2)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "responses", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "responses = {v: v.phrase for v in http.HTTPStatus.__members__.values()}\n# maximal line length when calling readline().\n_MAXLINE = 65536\n_MAXHEADERS = 100\n# Header name/value ABNF (http://tools.ietf.org/html/rfc7230#section-3.2)\n#\n# VCHAR = %x21-7E\n# obs-text = %x80-FF\n# header-field = field-name \":\" OWS field-value OWS\n# field-name = token", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "_MAXLINE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "_MAXLINE = 65536\n_MAXHEADERS = 100\n# Header name/value ABNF (http://tools.ietf.org/html/rfc7230#section-3.2)\n#\n# VCHAR = %x21-7E\n# obs-text = %x80-FF\n# header-field = field-name \":\" OWS field-value OWS\n# field-name = token\n# field-value = *( field-content / obs-fold )\n# field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "_MAXHEADERS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "_MAXHEADERS = 100\n# Header name/value ABNF (http://tools.ietf.org/html/rfc7230#section-3.2)\n#\n# VCHAR = %x21-7E\n# obs-text = %x80-FF\n# header-field = field-name \":\" OWS field-value OWS\n# field-name = token\n# field-value = *( field-content / obs-fold )\n# field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]\n# field-vchar = VCHAR / obs-text", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "_is_legal_header_name", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "_is_legal_header_name = re.compile(rb'[^:\\s][^:\\r\\n]*').fullmatch\n_is_illegal_header_value = re.compile(rb'\\n(?![ \\t])|\\r(?![ \\t\\n])').search\n# These characters are not allowed within HTTP URL paths.\n# See https://tools.ietf.org/html/rfc3986#section-3.3 and the\n# https://tools.ietf.org/html/rfc3986#appendix-A pchar definition.\n# Prevents CVE-2019-9740. Includes control characters such as \\r\\n.\n# We don't restrict chars above \\x7f as putrequest() limits us to ASCII.\n_contains_disallowed_url_pchar_re = re.compile('[\\x00-\\x20\\x7f]')\n# Arguably only these _should_ allowed:\n# _is_allowed_url_pchars_re = re.compile(r\"^[/!$&'()*+,;=:@%a-zA-Z0-9._~-]+$\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "_is_illegal_header_value", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "_is_illegal_header_value = re.compile(rb'\\n(?![ \\t])|\\r(?![ \\t\\n])').search\n# These characters are not allowed within HTTP URL paths.\n# See https://tools.ietf.org/html/rfc3986#section-3.3 and the\n# https://tools.ietf.org/html/rfc3986#appendix-A pchar definition.\n# Prevents CVE-2019-9740. Includes control characters such as \\r\\n.\n# We don't restrict chars above \\x7f as putrequest() limits us to ASCII.\n_contains_disallowed_url_pchar_re = re.compile('[\\x00-\\x20\\x7f]')\n# Arguably only these _should_ allowed:\n# _is_allowed_url_pchars_re = re.compile(r\"^[/!$&'()*+,;=:@%a-zA-Z0-9._~-]+$\")\n# We are more lenient for assumed real world compatibility purposes.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "_contains_disallowed_url_pchar_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "_contains_disallowed_url_pchar_re = re.compile('[\\x00-\\x20\\x7f]')\n# Arguably only these _should_ allowed:\n# _is_allowed_url_pchars_re = re.compile(r\"^[/!$&'()*+,;=:@%a-zA-Z0-9._~-]+$\")\n# We are more lenient for assumed real world compatibility purposes.\n# These characters are not allowed within HTTP method names\n# to prevent http header injection.\n_contains_disallowed_method_pchar_re = re.compile('[\\x00-\\x1f]')\n# We always set the Content-Length header for these methods because some\n# servers will otherwise respond with a 411\n_METHODS_EXPECTING_BODY = {'PATCH', 'POST', 'PUT'}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "_contains_disallowed_method_pchar_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "_contains_disallowed_method_pchar_re = re.compile('[\\x00-\\x1f]')\n# We always set the Content-Length header for these methods because some\n# servers will otherwise respond with a 411\n_METHODS_EXPECTING_BODY = {'PATCH', 'POST', 'PUT'}\ndef _encode(data, name='data'):\n \"\"\"Call data.encode(\"latin-1\") but show a better error message.\"\"\"\n try:\n return data.encode(\"latin-1\")\n except UnicodeEncodeError as err:\n raise UnicodeEncodeError(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "_METHODS_EXPECTING_BODY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "_METHODS_EXPECTING_BODY = {'PATCH', 'POST', 'PUT'}\ndef _encode(data, name='data'):\n \"\"\"Call data.encode(\"latin-1\") but show a better error message.\"\"\"\n try:\n return data.encode(\"latin-1\")\n except UnicodeEncodeError as err:\n raise UnicodeEncodeError(\n err.encoding,\n err.object,\n err.start,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "error", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "peekOfCode": "error = HTTPException", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.client", "documentation": {} }, { "label": "Cookie", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "class Cookie:\n \"\"\"HTTP Cookie.\n This class represents both Netscape and RFC 2965 cookies.\n This is deliberately a very simple class. It just holds attributes. It's\n possible to construct Cookie instances that don't comply with the cookie\n standards. CookieJar.make_cookies is the factory function for Cookie\n objects -- it deals with cookie parsing, supplying defaults, and\n normalising to the representation used in this class. CookiePolicy is\n responsible for checking them to see whether they should be accepted from\n and returned to the server.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "CookiePolicy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "class CookiePolicy:\n \"\"\"Defines which cookies get accepted from and returned to server.\n May also modify cookies, though this is probably a bad idea.\n The subclass DefaultCookiePolicy defines the standard rules for Netscape\n and RFC 2965 cookies -- override that if you want a customized policy.\n \"\"\"\n def set_ok(self, cookie, request):\n \"\"\"Return true if (and only if) cookie should be accepted from server.\n Currently, pre-expired cookies never get this far -- the CookieJar\n class deletes such cookies itself.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "DefaultCookiePolicy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "class DefaultCookiePolicy(CookiePolicy):\n \"\"\"Implements the standard rules for accepting and returning cookies.\"\"\"\n DomainStrictNoDots = 1\n DomainStrictNonDomain = 2\n DomainRFC2965Match = 4\n DomainLiberal = 0\n DomainStrict = DomainStrictNoDots|DomainStrictNonDomain\n def __init__(self,\n blocked_domains=None, allowed_domains=None,\n netscape=True, rfc2965=False,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "Absent", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "class Absent: pass\nclass CookieJar:\n \"\"\"Collection of HTTP cookies.\n You may not need to know about this class: try\n urllib.request.build_opener(HTTPCookieProcessor).open(url).\n \"\"\"\n non_word_re = re.compile(r\"\\W\")\n quote_re = re.compile(r\"([\\\"\\\\])\")\n strict_domain_re = re.compile(r\"\\.?[^.]*\")\n domain_re = re.compile(r\"[^.]*\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "CookieJar", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "class CookieJar:\n \"\"\"Collection of HTTP cookies.\n You may not need to know about this class: try\n urllib.request.build_opener(HTTPCookieProcessor).open(url).\n \"\"\"\n non_word_re = re.compile(r\"\\W\")\n quote_re = re.compile(r\"([\\\"\\\\])\")\n strict_domain_re = re.compile(r\"\\.?[^.]*\")\n domain_re = re.compile(r\"[^.]*\")\n dots_re = re.compile(r\"^\\.+\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "LoadError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "class LoadError(OSError): pass\nclass FileCookieJar(CookieJar):\n \"\"\"CookieJar that can be loaded from and saved to a file.\"\"\"\n def __init__(self, filename=None, delayload=False, policy=None):\n \"\"\"\n Cookies are NOT loaded from the named file until either the .load() or\n .revert() method is called.\n \"\"\"\n CookieJar.__init__(self, policy)\n if filename is not None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "FileCookieJar", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "class FileCookieJar(CookieJar):\n \"\"\"CookieJar that can be loaded from and saved to a file.\"\"\"\n def __init__(self, filename=None, delayload=False, policy=None):\n \"\"\"\n Cookies are NOT loaded from the named file until either the .load() or\n .revert() method is called.\n \"\"\"\n CookieJar.__init__(self, policy)\n if filename is not None:\n filename = os.fspath(filename)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "LWPCookieJar", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "class LWPCookieJar(FileCookieJar):\n \"\"\"\n The LWPCookieJar saves a sequence of \"Set-Cookie3\" lines.\n \"Set-Cookie3\" is the format used by the libwww-perl library, not known\n to be compatible with any browser, but which is easy to read and\n doesn't lose information about RFC 2965 cookies.\n Additional methods\n as_lwp_str(ignore_discard=True, ignore_expired=True)\n \"\"\"\n def as_lwp_str(self, ignore_discard=True, ignore_expires=True):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "MozillaCookieJar", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "class MozillaCookieJar(FileCookieJar):\n \"\"\"\n WARNING: you may want to backup your browser's cookies file if you use\n this class to save cookies. I *think* it works, but there have been\n bugs in the past!\n This class differs from CookieJar only in the format it uses to save and\n load cookies to and from a file. This class uses the Mozilla/Netscape\n `cookies.txt' format. lynx uses this file format, too.\n Don't expect cookies saved while the browser is running to be noticed by\n the browser (in fact, Mozilla on unix will overwrite your saved cookies if", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "time2isoz", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def time2isoz(t=None):\n \"\"\"Return a string representing time in seconds since epoch, t.\n If the function is called without an argument, it will use the current\n time.\n The format of the returned string is like \"YYYY-MM-DD hh:mm:ssZ\",\n representing Universal Time (UTC, aka GMT). An example of this format is:\n 1994-11-24 08:49:37Z\n \"\"\"\n if t is None:\n dt = datetime.datetime.utcnow()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "time2netscape", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def time2netscape(t=None):\n \"\"\"Return a string representing time in seconds since epoch, t.\n If the function is called without an argument, it will use the current\n time.\n The format of the returned string is like this:\n Wed, DD-Mon-YYYY HH:MM:SS GMT\n \"\"\"\n if t is None:\n dt = datetime.datetime.utcnow()\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "offset_from_tz_string", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def offset_from_tz_string(tz):\n offset = None\n if tz in UTC_ZONES:\n offset = 0\n else:\n m = TIMEZONE_RE.search(tz)\n if m:\n offset = 3600 * int(m.group(2))\n if m.group(3):\n offset = offset + 60 * int(m.group(3))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "http2time", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def http2time(text):\n \"\"\"Returns time in seconds since epoch of time represented by a string.\n Return value is an integer.\n None is returned if the format of str is unrecognized, the time is outside\n the representable range, or the timezone string is not recognized. If the\n string contains no timezone, UTC is assumed.\n The timezone in the string may be numerical (like \"-0800\" or \"+0100\") or a\n string timezone (like \"UTC\", \"GMT\", \"BST\" or \"EST\"). Currently, only the\n timezone strings equivalent to UTC (zero offset) are known to the function.\n The function loosely parses the following formats:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "iso2time", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def iso2time(text):\n \"\"\"\n As for http2time, but parses the ISO 8601 formats:\n 1994-02-03 14:15:29 -0100 -- ISO 8601 format\n 1994-02-03 14:15:29 -- zone is optional\n 1994-02-03 -- only date\n 1994-02-03T14:15:29 -- Use T as separator\n 19940203T141529Z -- ISO 8601 compact format\n 19940203 -- only date\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "unmatched", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def unmatched(match):\n \"\"\"Return unmatched part of re.Match object.\"\"\"\n start, end = match.span(0)\n return match.string[:start]+match.string[end:]\nHEADER_TOKEN_RE = re.compile(r\"^\\s*([^=\\s;,]+)\")\nHEADER_QUOTED_VALUE_RE = re.compile(r\"^\\s*=\\s*\\\"([^\\\"\\\\]*(?:\\\\.[^\\\"\\\\]*)*)\\\"\")\nHEADER_VALUE_RE = re.compile(r\"^\\s*=\\s*([^\\s;,]*)\")\nHEADER_ESCAPE_RE = re.compile(r\"\\\\(.)\")\ndef split_header_words(header_values):\n r\"\"\"Parse header values into a list of lists containing key,value pairs.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "split_header_words", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def split_header_words(header_values):\n r\"\"\"Parse header values into a list of lists containing key,value pairs.\n The function knows how to deal with \",\", \";\" and \"=\" as well as quoted\n values after \"=\". A list of space separated tokens are parsed as if they\n were separated by \";\".\n If the header_values passed as argument contains multiple values, then they\n are treated as if they were a single value separated by comma \",\".\n This means that this function is useful for parsing header fields that\n follow this syntax (BNF as from the HTTP/1.1 specification, but we relax\n the requirement for tokens).", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "join_header_words", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def join_header_words(lists):\n \"\"\"Do the inverse (almost) of the conversion done by split_header_words.\n Takes a list of lists of (key, value) pairs and produces a single header\n value. Attribute values are quoted if needed.\n >>> join_header_words([[(\"text/plain\", None), (\"charset\", \"iso-8859-1\")]])\n 'text/plain; charset=\"iso-8859-1\"'\n >>> join_header_words([[(\"text/plain\", None)], [(\"charset\", \"iso-8859-1\")]])\n 'text/plain, charset=\"iso-8859-1\"'\n \"\"\"\n headers = []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "strip_quotes", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def strip_quotes(text):\n if text.startswith('\"'):\n text = text[1:]\n if text.endswith('\"'):\n text = text[:-1]\n return text\ndef parse_ns_headers(ns_headers):\n \"\"\"Ad-hoc parser for Netscape protocol cookie-attributes.\n The old Netscape cookie format for Set-Cookie can for instance contain\n an unquoted \",\" in the expires field, so we have to use this ad-hoc", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "parse_ns_headers", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def parse_ns_headers(ns_headers):\n \"\"\"Ad-hoc parser for Netscape protocol cookie-attributes.\n The old Netscape cookie format for Set-Cookie can for instance contain\n an unquoted \",\" in the expires field, so we have to use this ad-hoc\n parser instead of split_header_words.\n XXX This may not make the best possible effort to parse all the crap\n that Netscape Cookie headers contain. Ronald Tschalar's HTTPClient\n parser is probably better, so could do worse than following that if\n this ever gives any trouble.\n Currently, this is also used for parsing RFC 2109 cookies.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "is_HDN", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def is_HDN(text):\n \"\"\"Return True if text is a host domain name.\"\"\"\n # XXX\n # This may well be wrong. Which RFC is HDN defined in, if any (for\n # the purposes of RFC 2965)?\n # For the current implementation, what about IPv6? Remember to look\n # at other uses of IPV4_RE also, if change this.\n if IPV4_RE.search(text):\n return False\n if text == \"\":", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "domain_match", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def domain_match(A, B):\n \"\"\"Return True if domain A domain-matches domain B, according to RFC 2965.\n A and B may be host domain names or IP addresses.\n RFC 2965, section 1:\n Host names can be specified either as an IP address or a HDN string.\n Sometimes we compare one host name with another. (Such comparisons SHALL\n be case-insensitive.) Host A's name domain-matches host B's if\n * their host name strings string-compare equal; or\n * A is a HDN string and has the form NB, where N is a non-empty\n name string, B has the form .B', and B' is a HDN string. (So,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "liberal_is_HDN", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def liberal_is_HDN(text):\n \"\"\"Return True if text is a sort-of-like a host domain name.\n For accepting/blocking domains.\n \"\"\"\n if IPV4_RE.search(text):\n return False\n return True\ndef user_domain_match(A, B):\n \"\"\"For blocking/accepting domains.\n A and B may be host domain names or IP addresses.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "user_domain_match", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def user_domain_match(A, B):\n \"\"\"For blocking/accepting domains.\n A and B may be host domain names or IP addresses.\n \"\"\"\n A = A.lower()\n B = B.lower()\n if not (liberal_is_HDN(A) and liberal_is_HDN(B)):\n if A == B:\n # equal IP addresses\n return True", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "request_host", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def request_host(request):\n \"\"\"Return request-host, as defined by RFC 2965.\n Variation from RFC: returned value is lowercased, for convenient\n comparison.\n \"\"\"\n url = request.get_full_url()\n host = urllib.parse.urlparse(url)[1]\n if host == \"\":\n host = request.get_header(\"Host\", \"\")\n # remove port, if present", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "eff_request_host", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def eff_request_host(request):\n \"\"\"Return a tuple (request-host, effective request-host name).\n As defined by RFC 2965, except both are lowercased.\n \"\"\"\n erhn = req_host = request_host(request)\n if req_host.find(\".\") == -1 and not IPV4_RE.search(req_host):\n erhn = req_host + \".local\"\n return req_host, erhn\ndef request_path(request):\n \"\"\"Path component of request-URI, as defined by RFC 2965.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "request_path", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def request_path(request):\n \"\"\"Path component of request-URI, as defined by RFC 2965.\"\"\"\n url = request.get_full_url()\n parts = urllib.parse.urlsplit(url)\n path = escape_path(parts.path)\n if not path.startswith(\"/\"):\n # fix bad RFC 2396 absoluteURI\n path = \"/\" + path\n return path\ndef request_port(request):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "request_port", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def request_port(request):\n host = request.host\n i = host.find(':')\n if i >= 0:\n port = host[i+1:]\n try:\n int(port)\n except ValueError:\n _debug(\"nonnumeric port: '%s'\", port)\n return None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "uppercase_escaped_char", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def uppercase_escaped_char(match):\n return \"%%%s\" % match.group(1).upper()\ndef escape_path(path):\n \"\"\"Escape any invalid characters in HTTP URL, and uppercase all escapes.\"\"\"\n # There's no knowing what character encoding was used to create URLs\n # containing %-escapes, but since we have to pick one to escape invalid\n # path characters, we pick UTF-8, as recommended in the HTML 4.0\n # specification:\n # http://www.w3.org/TR/REC-html40/appendix/notes.html#h-B.2.1\n # And here, kind of: draft-fielding-uri-rfc2396bis-03", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "escape_path", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def escape_path(path):\n \"\"\"Escape any invalid characters in HTTP URL, and uppercase all escapes.\"\"\"\n # There's no knowing what character encoding was used to create URLs\n # containing %-escapes, but since we have to pick one to escape invalid\n # path characters, we pick UTF-8, as recommended in the HTML 4.0\n # specification:\n # http://www.w3.org/TR/REC-html40/appendix/notes.html#h-B.2.1\n # And here, kind of: draft-fielding-uri-rfc2396bis-03\n # (And in draft IRI specification: draft-duerst-iri-05)\n # (And here, for new URI schemes: RFC 2718)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "reach", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def reach(h):\n \"\"\"Return reach of host h, as defined by RFC 2965, section 1.\n The reach R of a host name H is defined as follows:\n * If\n - H is the host domain name of a host; and,\n - H has the form A.B; and\n - A has no embedded (that is, interior) dots; and\n - B has at least one embedded dot, or B is the string \"local\".\n then the reach of H is .B.\n * Otherwise, the reach of H is H.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "is_third_party", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def is_third_party(request):\n \"\"\"\n RFC 2965, section 3.3.6:\n An unverifiable transaction is to a third-party host if its request-\n host U does not domain-match the reach R of the request-host O in the\n origin transaction.\n \"\"\"\n req_host = request_host(request)\n if not domain_match(req_host, reach(request.origin_req_host)):\n return True", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "vals_sorted_by_key", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def vals_sorted_by_key(adict):\n keys = sorted(adict.keys())\n return map(adict.get, keys)\ndef deepvalues(mapping):\n \"\"\"Iterates over nested mapping, depth-first, in sorted order by key.\"\"\"\n values = vals_sorted_by_key(mapping)\n for obj in values:\n mapping = False\n try:\n obj.items", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "deepvalues", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def deepvalues(mapping):\n \"\"\"Iterates over nested mapping, depth-first, in sorted order by key.\"\"\"\n values = vals_sorted_by_key(mapping)\n for obj in values:\n mapping = False\n try:\n obj.items\n except AttributeError:\n pass\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "lwp_cookie_str", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "def lwp_cookie_str(cookie):\n \"\"\"Return string representation of Cookie in the LWP cookie file format.\n Actually, the format is extended a bit -- see module docstring.\n \"\"\"\n h = [(cookie.name, cookie.value),\n (\"path\", cookie.path),\n (\"domain\", cookie.domain)]\n if cookie.port is not None: h.append((\"port\", cookie.port))\n if cookie.path_specified: h.append((\"path_spec\", None))\n if cookie.port_specified: h.append((\"port_spec\", None))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "__all__ = ['Cookie', 'CookieJar', 'CookiePolicy', 'DefaultCookiePolicy',\n 'FileCookieJar', 'LWPCookieJar', 'LoadError', 'MozillaCookieJar']\nimport os\nimport copy\nimport datetime\nimport re\nimport time\nimport urllib.parse, urllib.request\nimport threading as _threading\nimport http.client # only for the default HTTP port", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "debug", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "debug = False # set to True to enable debugging via the logging module\nlogger = None\ndef _debug(*args):\n if not debug:\n return\n global logger\n if not logger:\n import logging\n logger = logging.getLogger(\"http.cookiejar\")\n return logger.debug(*args)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "logger", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "logger = None\ndef _debug(*args):\n if not debug:\n return\n global logger\n if not logger:\n import logging\n logger = logging.getLogger(\"http.cookiejar\")\n return logger.debug(*args)\nHTTPONLY_ATTR = \"HTTPOnly\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "HTTPONLY_ATTR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "HTTPONLY_ATTR = \"HTTPOnly\"\nHTTPONLY_PREFIX = \"#HttpOnly_\"\nDEFAULT_HTTP_PORT = str(http.client.HTTP_PORT)\nNETSCAPE_MAGIC_RGX = re.compile(\"#( Netscape)? HTTP Cookie File\")\nMISSING_FILENAME_TEXT = (\"a filename was not supplied (nor was the CookieJar \"\n \"instance initialised with one)\")\nNETSCAPE_HEADER_TEXT = \"\"\"\\\n# Netscape HTTP Cookie File\n# http://curl.haxx.se/rfc/cookie_spec.html\n# This is a generated file! Do not edit.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "HTTPONLY_PREFIX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "HTTPONLY_PREFIX = \"#HttpOnly_\"\nDEFAULT_HTTP_PORT = str(http.client.HTTP_PORT)\nNETSCAPE_MAGIC_RGX = re.compile(\"#( Netscape)? HTTP Cookie File\")\nMISSING_FILENAME_TEXT = (\"a filename was not supplied (nor was the CookieJar \"\n \"instance initialised with one)\")\nNETSCAPE_HEADER_TEXT = \"\"\"\\\n# Netscape HTTP Cookie File\n# http://curl.haxx.se/rfc/cookie_spec.html\n# This is a generated file! Do not edit.\n\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "DEFAULT_HTTP_PORT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "DEFAULT_HTTP_PORT = str(http.client.HTTP_PORT)\nNETSCAPE_MAGIC_RGX = re.compile(\"#( Netscape)? HTTP Cookie File\")\nMISSING_FILENAME_TEXT = (\"a filename was not supplied (nor was the CookieJar \"\n \"instance initialised with one)\")\nNETSCAPE_HEADER_TEXT = \"\"\"\\\n# Netscape HTTP Cookie File\n# http://curl.haxx.se/rfc/cookie_spec.html\n# This is a generated file! Do not edit.\n\"\"\"\ndef _warn_unhandled_exception():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "NETSCAPE_MAGIC_RGX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "NETSCAPE_MAGIC_RGX = re.compile(\"#( Netscape)? HTTP Cookie File\")\nMISSING_FILENAME_TEXT = (\"a filename was not supplied (nor was the CookieJar \"\n \"instance initialised with one)\")\nNETSCAPE_HEADER_TEXT = \"\"\"\\\n# Netscape HTTP Cookie File\n# http://curl.haxx.se/rfc/cookie_spec.html\n# This is a generated file! Do not edit.\n\"\"\"\ndef _warn_unhandled_exception():\n # There are a few catch-all except: statements in this module, for", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "MISSING_FILENAME_TEXT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "MISSING_FILENAME_TEXT = (\"a filename was not supplied (nor was the CookieJar \"\n \"instance initialised with one)\")\nNETSCAPE_HEADER_TEXT = \"\"\"\\\n# Netscape HTTP Cookie File\n# http://curl.haxx.se/rfc/cookie_spec.html\n# This is a generated file! Do not edit.\n\"\"\"\ndef _warn_unhandled_exception():\n # There are a few catch-all except: statements in this module, for\n # catching input that's bad in unexpected ways. Warn if any", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "NETSCAPE_HEADER_TEXT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "NETSCAPE_HEADER_TEXT = \"\"\"\\\n# Netscape HTTP Cookie File\n# http://curl.haxx.se/rfc/cookie_spec.html\n# This is a generated file! Do not edit.\n\"\"\"\ndef _warn_unhandled_exception():\n # There are a few catch-all except: statements in this module, for\n # catching input that's bad in unexpected ways. Warn if any\n # exceptions are caught there.\n import io, warnings, traceback", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "EPOCH_YEAR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "EPOCH_YEAR = 1970\ndef _timegm(tt):\n year, month, mday, hour, min, sec = tt[:6]\n if ((year >= EPOCH_YEAR) and (1 <= month <= 12) and (1 <= mday <= 31) and\n (0 <= hour <= 24) and (0 <= min <= 59) and (0 <= sec <= 61)):\n return timegm(tt)\n else:\n return None\nDAYS = [\"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\", \"Sun\"]\nMONTHS = [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\",", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "DAYS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "DAYS = [\"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\", \"Sun\"]\nMONTHS = [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\",\n \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"]\nMONTHS_LOWER = []\nfor month in MONTHS: MONTHS_LOWER.append(month.lower())\ndef time2isoz(t=None):\n \"\"\"Return a string representing time in seconds since epoch, t.\n If the function is called without an argument, it will use the current\n time.\n The format of the returned string is like \"YYYY-MM-DD hh:mm:ssZ\",", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "MONTHS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "MONTHS = [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\",\n \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"]\nMONTHS_LOWER = []\nfor month in MONTHS: MONTHS_LOWER.append(month.lower())\ndef time2isoz(t=None):\n \"\"\"Return a string representing time in seconds since epoch, t.\n If the function is called without an argument, it will use the current\n time.\n The format of the returned string is like \"YYYY-MM-DD hh:mm:ssZ\",\n representing Universal Time (UTC, aka GMT). An example of this format is:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "MONTHS_LOWER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "MONTHS_LOWER = []\nfor month in MONTHS: MONTHS_LOWER.append(month.lower())\ndef time2isoz(t=None):\n \"\"\"Return a string representing time in seconds since epoch, t.\n If the function is called without an argument, it will use the current\n time.\n The format of the returned string is like \"YYYY-MM-DD hh:mm:ssZ\",\n representing Universal Time (UTC, aka GMT). An example of this format is:\n 1994-11-24 08:49:37Z\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "UTC_ZONES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "UTC_ZONES = {\"GMT\": None, \"UTC\": None, \"UT\": None, \"Z\": None}\nTIMEZONE_RE = re.compile(r\"^([-+])?(\\d\\d?):?(\\d\\d)?$\", re.ASCII)\ndef offset_from_tz_string(tz):\n offset = None\n if tz in UTC_ZONES:\n offset = 0\n else:\n m = TIMEZONE_RE.search(tz)\n if m:\n offset = 3600 * int(m.group(2))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "TIMEZONE_RE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "TIMEZONE_RE = re.compile(r\"^([-+])?(\\d\\d?):?(\\d\\d)?$\", re.ASCII)\ndef offset_from_tz_string(tz):\n offset = None\n if tz in UTC_ZONES:\n offset = 0\n else:\n m = TIMEZONE_RE.search(tz)\n if m:\n offset = 3600 * int(m.group(2))\n if m.group(3):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "STRICT_DATE_RE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "STRICT_DATE_RE = re.compile(\n r\"^[SMTWF][a-z][a-z], (\\d\\d) ([JFMASOND][a-z][a-z]) \"\n r\"(\\d\\d\\d\\d) (\\d\\d):(\\d\\d):(\\d\\d) GMT$\", re.ASCII)\nWEEKDAY_RE = re.compile(\n r\"^(?:Sun|Mon|Tue|Wed|Thu|Fri|Sat)[a-z]*,?\\s*\", re.I | re.ASCII)\nLOOSE_HTTP_DATE_RE = re.compile(\n r\"\"\"^\n (\\d\\d?) # day\n (?:\\s+|[-\\/])\n (\\w+) # month", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "WEEKDAY_RE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "WEEKDAY_RE = re.compile(\n r\"^(?:Sun|Mon|Tue|Wed|Thu|Fri|Sat)[a-z]*,?\\s*\", re.I | re.ASCII)\nLOOSE_HTTP_DATE_RE = re.compile(\n r\"\"\"^\n (\\d\\d?) # day\n (?:\\s+|[-\\/])\n (\\w+) # month\n (?:\\s+|[-\\/])\n (\\d+) # year\n (?:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "LOOSE_HTTP_DATE_RE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "LOOSE_HTTP_DATE_RE = re.compile(\n r\"\"\"^\n (\\d\\d?) # day\n (?:\\s+|[-\\/])\n (\\w+) # month\n (?:\\s+|[-\\/])\n (\\d+) # year\n (?:\n (?:\\s+|:) # separator before clock\n (\\d\\d?):(\\d\\d) # hour:min", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "ISO_DATE_RE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "ISO_DATE_RE = re.compile(\n r\"\"\"^\n (\\d{4}) # year\n [-\\/]?\n (\\d\\d?) # numerical month\n [-\\/]?\n (\\d\\d?) # day\n (?:\n (?:\\s+|[-:Tt]) # separator before clock\n (\\d\\d?):?(\\d\\d) # hour:min", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "HEADER_TOKEN_RE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "HEADER_TOKEN_RE = re.compile(r\"^\\s*([^=\\s;,]+)\")\nHEADER_QUOTED_VALUE_RE = re.compile(r\"^\\s*=\\s*\\\"([^\\\"\\\\]*(?:\\\\.[^\\\"\\\\]*)*)\\\"\")\nHEADER_VALUE_RE = re.compile(r\"^\\s*=\\s*([^\\s;,]*)\")\nHEADER_ESCAPE_RE = re.compile(r\"\\\\(.)\")\ndef split_header_words(header_values):\n r\"\"\"Parse header values into a list of lists containing key,value pairs.\n The function knows how to deal with \",\", \";\" and \"=\" as well as quoted\n values after \"=\". A list of space separated tokens are parsed as if they\n were separated by \";\".\n If the header_values passed as argument contains multiple values, then they", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "HEADER_QUOTED_VALUE_RE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "HEADER_QUOTED_VALUE_RE = re.compile(r\"^\\s*=\\s*\\\"([^\\\"\\\\]*(?:\\\\.[^\\\"\\\\]*)*)\\\"\")\nHEADER_VALUE_RE = re.compile(r\"^\\s*=\\s*([^\\s;,]*)\")\nHEADER_ESCAPE_RE = re.compile(r\"\\\\(.)\")\ndef split_header_words(header_values):\n r\"\"\"Parse header values into a list of lists containing key,value pairs.\n The function knows how to deal with \",\", \";\" and \"=\" as well as quoted\n values after \"=\". A list of space separated tokens are parsed as if they\n were separated by \";\".\n If the header_values passed as argument contains multiple values, then they\n are treated as if they were a single value separated by comma \",\".", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "HEADER_VALUE_RE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "HEADER_VALUE_RE = re.compile(r\"^\\s*=\\s*([^\\s;,]*)\")\nHEADER_ESCAPE_RE = re.compile(r\"\\\\(.)\")\ndef split_header_words(header_values):\n r\"\"\"Parse header values into a list of lists containing key,value pairs.\n The function knows how to deal with \",\", \";\" and \"=\" as well as quoted\n values after \"=\". A list of space separated tokens are parsed as if they\n were separated by \";\".\n If the header_values passed as argument contains multiple values, then they\n are treated as if they were a single value separated by comma \",\".\n This means that this function is useful for parsing header fields that", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "HEADER_ESCAPE_RE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "HEADER_ESCAPE_RE = re.compile(r\"\\\\(.)\")\ndef split_header_words(header_values):\n r\"\"\"Parse header values into a list of lists containing key,value pairs.\n The function knows how to deal with \",\", \";\" and \"=\" as well as quoted\n values after \"=\". A list of space separated tokens are parsed as if they\n were separated by \";\".\n If the header_values passed as argument contains multiple values, then they\n are treated as if they were a single value separated by comma \",\".\n This means that this function is useful for parsing header fields that\n follow this syntax (BNF as from the HTTP/1.1 specification, but we relax", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "HEADER_JOIN_ESCAPE_RE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "HEADER_JOIN_ESCAPE_RE = re.compile(r\"([\\\"\\\\])\")\ndef join_header_words(lists):\n \"\"\"Do the inverse (almost) of the conversion done by split_header_words.\n Takes a list of lists of (key, value) pairs and produces a single header\n value. Attribute values are quoted if needed.\n >>> join_header_words([[(\"text/plain\", None), (\"charset\", \"iso-8859-1\")]])\n 'text/plain; charset=\"iso-8859-1\"'\n >>> join_header_words([[(\"text/plain\", None)], [(\"charset\", \"iso-8859-1\")]])\n 'text/plain, charset=\"iso-8859-1\"'\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "IPV4_RE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "IPV4_RE = re.compile(r\"\\.\\d+$\", re.ASCII)\ndef is_HDN(text):\n \"\"\"Return True if text is a host domain name.\"\"\"\n # XXX\n # This may well be wrong. Which RFC is HDN defined in, if any (for\n # the purposes of RFC 2965)?\n # For the current implementation, what about IPv6? Remember to look\n # at other uses of IPV4_RE also, if change this.\n if IPV4_RE.search(text):\n return False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "cut_port_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "cut_port_re = re.compile(r\":\\d+$\", re.ASCII)\ndef request_host(request):\n \"\"\"Return request-host, as defined by RFC 2965.\n Variation from RFC: returned value is lowercased, for convenient\n comparison.\n \"\"\"\n url = request.get_full_url()\n host = urllib.parse.urlparse(url)[1]\n if host == \"\":\n host = request.get_header(\"Host\", \"\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "HTTP_PATH_SAFE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "HTTP_PATH_SAFE = \"%/;:@&=+$,!~*'()\"\nESCAPED_CHAR_RE = re.compile(r\"%([0-9a-fA-F][0-9a-fA-F])\")\ndef uppercase_escaped_char(match):\n return \"%%%s\" % match.group(1).upper()\ndef escape_path(path):\n \"\"\"Escape any invalid characters in HTTP URL, and uppercase all escapes.\"\"\"\n # There's no knowing what character encoding was used to create URLs\n # containing %-escapes, but since we have to pick one to escape invalid\n # path characters, we pick UTF-8, as recommended in the HTML 4.0\n # specification:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "ESCAPED_CHAR_RE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "peekOfCode": "ESCAPED_CHAR_RE = re.compile(r\"%([0-9a-fA-F][0-9a-fA-F])\")\ndef uppercase_escaped_char(match):\n return \"%%%s\" % match.group(1).upper()\ndef escape_path(path):\n \"\"\"Escape any invalid characters in HTTP URL, and uppercase all escapes.\"\"\"\n # There's no knowing what character encoding was used to create URLs\n # containing %-escapes, but since we have to pick one to escape invalid\n # path characters, we pick UTF-8, as recommended in the HTML 4.0\n # specification:\n # http://www.w3.org/TR/REC-html40/appendix/notes.html#h-B.2.1", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookiejar", "documentation": {} }, { "label": "CookieError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "peekOfCode": "class CookieError(Exception):\n pass\n# These quoting routines conform to the RFC2109 specification, which in\n# turn references the character definitions from RFC2068. They provide\n# a two-way quoting algorithm. Any non-text character is translated\n# into a 4 character sequence: a forward-slash followed by the\n# three-digit octal equivalent of the character. Any '\\' or '\"' is\n# quoted with a preceding '\\' slash.\n# Because of the way browsers really handle cookies (as opposed to what\n# the RFC says) we also encode \",\" and \";\".", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "documentation": {} }, { "label": "Morsel", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "peekOfCode": "class Morsel(dict):\n \"\"\"A class to hold ONE (key, value) pair.\n In a cookie, each such pair may have several attributes, so this class is\n used to keep the attributes associated with the appropriate key,value pair.\n This class also includes a coded_value attribute, which is used to hold\n the network representation of the value.\n \"\"\"\n # RFC 2109 lists these attributes as reserved:\n # path comment domain\n # max-age secure version", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "documentation": {} }, { "label": "BaseCookie", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "peekOfCode": "class BaseCookie(dict):\n \"\"\"A container class for a set of Morsels.\"\"\"\n def value_decode(self, val):\n \"\"\"real_value, coded_value = value_decode(STRING)\n Called prior to setting a cookie's value from the network\n representation. The VALUE is the value read from HTTP\n header.\n Override this function to modify the behavior of cookies.\n \"\"\"\n return val, val", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "documentation": {} }, { "label": "SimpleCookie", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "peekOfCode": "class SimpleCookie(BaseCookie):\n \"\"\"\n SimpleCookie supports strings as cookie values. When setting\n the value using the dictionary assignment notation, SimpleCookie\n calls the builtin str() to convert the value to a string. Values\n received from HTTP are kept as strings.\n \"\"\"\n def value_decode(self, val):\n return _unquote(val), val\n def value_encode(self, val):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "peekOfCode": "__all__ = [\"CookieError\", \"BaseCookie\", \"SimpleCookie\"]\n_nulljoin = ''.join\n_semispacejoin = '; '.join\n_spacejoin = ' '.join\n#\n# Define an exception visible to External modules\n#\nclass CookieError(Exception):\n pass\n# These quoting routines conform to the RFC2109 specification, which in", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "documentation": {} }, { "label": "_nulljoin", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "peekOfCode": "_nulljoin = ''.join\n_semispacejoin = '; '.join\n_spacejoin = ' '.join\n#\n# Define an exception visible to External modules\n#\nclass CookieError(Exception):\n pass\n# These quoting routines conform to the RFC2109 specification, which in\n# turn references the character definitions from RFC2068. They provide", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "documentation": {} }, { "label": "_semispacejoin", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "peekOfCode": "_semispacejoin = '; '.join\n_spacejoin = ' '.join\n#\n# Define an exception visible to External modules\n#\nclass CookieError(Exception):\n pass\n# These quoting routines conform to the RFC2109 specification, which in\n# turn references the character definitions from RFC2068. They provide\n# a two-way quoting algorithm. Any non-text character is translated", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "documentation": {} }, { "label": "_spacejoin", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "peekOfCode": "_spacejoin = ' '.join\n#\n# Define an exception visible to External modules\n#\nclass CookieError(Exception):\n pass\n# These quoting routines conform to the RFC2109 specification, which in\n# turn references the character definitions from RFC2068. They provide\n# a two-way quoting algorithm. Any non-text character is translated\n# into a 4 character sequence: a forward-slash followed by the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "documentation": {} }, { "label": "_LegalChars", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "peekOfCode": "_LegalChars = string.ascii_letters + string.digits + \"!#$%&'*+-.^_`|~:\"\n_UnescapedChars = _LegalChars + ' ()/<=>?@[]{}'\n_Translator = {n: '\\\\%03o' % n\n for n in set(range(256)) - set(map(ord, _UnescapedChars))}\n_Translator.update({\n ord('\"'): '\\\\\"',\n ord('\\\\'): '\\\\\\\\',\n})\n_is_legal_key = re.compile('[%s]+' % re.escape(_LegalChars)).fullmatch\ndef _quote(str):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "documentation": {} }, { "label": "_UnescapedChars", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "peekOfCode": "_UnescapedChars = _LegalChars + ' ()/<=>?@[]{}'\n_Translator = {n: '\\\\%03o' % n\n for n in set(range(256)) - set(map(ord, _UnescapedChars))}\n_Translator.update({\n ord('\"'): '\\\\\"',\n ord('\\\\'): '\\\\\\\\',\n})\n_is_legal_key = re.compile('[%s]+' % re.escape(_LegalChars)).fullmatch\ndef _quote(str):\n r\"\"\"Quote a string for use in a cookie header.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "documentation": {} }, { "label": "_Translator", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "peekOfCode": "_Translator = {n: '\\\\%03o' % n\n for n in set(range(256)) - set(map(ord, _UnescapedChars))}\n_Translator.update({\n ord('\"'): '\\\\\"',\n ord('\\\\'): '\\\\\\\\',\n})\n_is_legal_key = re.compile('[%s]+' % re.escape(_LegalChars)).fullmatch\ndef _quote(str):\n r\"\"\"Quote a string for use in a cookie header.\n If the string does not need to be double-quoted, then just return the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "documentation": {} }, { "label": "_is_legal_key", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "peekOfCode": "_is_legal_key = re.compile('[%s]+' % re.escape(_LegalChars)).fullmatch\ndef _quote(str):\n r\"\"\"Quote a string for use in a cookie header.\n If the string does not need to be double-quoted, then just return the\n string. Otherwise, surround the string in doublequotes and quote\n (with a \\) special characters.\n \"\"\"\n if str is None or _is_legal_key(str):\n return str\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "documentation": {} }, { "label": "_OctalPatt", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "peekOfCode": "_OctalPatt = re.compile(r\"\\\\[0-3][0-7][0-7]\")\n_QuotePatt = re.compile(r\"[\\\\].\")\ndef _unquote(str):\n # If there aren't any doublequotes,\n # then there can't be any special characters. See RFC 2109.\n if str is None or len(str) < 2:\n return str\n if str[0] != '\"' or str[-1] != '\"':\n return str\n # We have to assume that we must decode this string.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "documentation": {} }, { "label": "_QuotePatt", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "peekOfCode": "_QuotePatt = re.compile(r\"[\\\\].\")\ndef _unquote(str):\n # If there aren't any doublequotes,\n # then there can't be any special characters. See RFC 2109.\n if str is None or len(str) < 2:\n return str\n if str[0] != '\"' or str[-1] != '\"':\n return str\n # We have to assume that we must decode this string.\n # Down to work.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "documentation": {} }, { "label": "_weekdayname", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "peekOfCode": "_weekdayname = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']\n_monthname = [None,\n 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',\n 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']\ndef _getdate(future=0, weekdayname=_weekdayname, monthname=_monthname):\n from time import gmtime, time\n now = time()\n year, month, day, hh, mm, ss, wd, y, z = gmtime(now + future)\n return \"%s, %02d %3s %4d %02d:%02d:%02d GMT\" % \\\n (weekdayname[wd], day, monthname[month], year, hh, mm, ss)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "documentation": {} }, { "label": "_monthname", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "peekOfCode": "_monthname = [None,\n 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',\n 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']\ndef _getdate(future=0, weekdayname=_weekdayname, monthname=_monthname):\n from time import gmtime, time\n now = time()\n year, month, day, hh, mm, ss, wd, y, z = gmtime(now + future)\n return \"%s, %02d %3s %4d %02d:%02d:%02d GMT\" % \\\n (weekdayname[wd], day, monthname[month], year, hh, mm, ss)\nclass Morsel(dict):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "documentation": {} }, { "label": "_LegalValueChars", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "peekOfCode": "_LegalValueChars = _LegalKeyChars + r'\\[\\]'\n_CookiePattern = re.compile(r\"\"\"\n \\s* # Optional whitespace at start of cookie\n (?P<key> # Start of group 'key'\n [\"\"\" + _LegalKeyChars + r\"\"\"]+? # Any word of at least one letter\n ) # End of group 'key'\n ( # Optional group: there may not be a value.\n \\s*=\\s* # Equal Sign\n (?P<val> # Start of group 'val'\n \"(?:[^\\\\\"]|\\\\.)*\" # Any doublequoted string", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "documentation": {} }, { "label": "_CookiePattern", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "peekOfCode": "_CookiePattern = re.compile(r\"\"\"\n \\s* # Optional whitespace at start of cookie\n (?P<key> # Start of group 'key'\n [\"\"\" + _LegalKeyChars + r\"\"\"]+? # Any word of at least one letter\n ) # End of group 'key'\n ( # Optional group: there may not be a value.\n \\s*=\\s* # Equal Sign\n (?P<val> # Start of group 'val'\n \"(?:[^\\\\\"]|\\\\.)*\" # Any doublequoted string\n | # or", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.cookies", "documentation": {} }, { "label": "HTTPServer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "peekOfCode": "class HTTPServer(socketserver.TCPServer):\n allow_reuse_address = 1 # Seems to make sense in testing environment\n def server_bind(self):\n \"\"\"Override server_bind to store the server name.\"\"\"\n socketserver.TCPServer.server_bind(self)\n host, port = self.server_address[:2]\n self.server_name = socket.getfqdn(host)\n self.server_port = port\nclass ThreadingHTTPServer(socketserver.ThreadingMixIn, HTTPServer):\n daemon_threads = True", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "documentation": {} }, { "label": "ThreadingHTTPServer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "peekOfCode": "class ThreadingHTTPServer(socketserver.ThreadingMixIn, HTTPServer):\n daemon_threads = True\nclass BaseHTTPRequestHandler(socketserver.StreamRequestHandler):\n \"\"\"HTTP request handler base class.\n The following explanation of HTTP serves to guide you through the\n code as well as to expose any misunderstandings I may have about\n HTTP (so you don't need to read the code to figure out I'm wrong\n :-).\n HTTP (HyperText Transfer Protocol) is an extensible protocol on\n top of a reliable stream transport (e.g. TCP/IP). The protocol", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "documentation": {} }, { "label": "BaseHTTPRequestHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "peekOfCode": "class BaseHTTPRequestHandler(socketserver.StreamRequestHandler):\n \"\"\"HTTP request handler base class.\n The following explanation of HTTP serves to guide you through the\n code as well as to expose any misunderstandings I may have about\n HTTP (so you don't need to read the code to figure out I'm wrong\n :-).\n HTTP (HyperText Transfer Protocol) is an extensible protocol on\n top of a reliable stream transport (e.g. TCP/IP). The protocol\n recognizes three parts to a request:\n 1. One line identifying the request type and path", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "documentation": {} }, { "label": "SimpleHTTPRequestHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "peekOfCode": "class SimpleHTTPRequestHandler(BaseHTTPRequestHandler):\n \"\"\"Simple HTTP request handler with GET and HEAD commands.\n This serves files from the current directory and any of its\n subdirectories. The MIME type for files is determined by\n calling the .guess_type() method.\n The GET and HEAD requests are identical except that the HEAD\n request omits the actual contents of the file.\n \"\"\"\n server_version = \"SimpleHTTP/\" + __version__\n extensions_map = _encodings_map_default = {", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "documentation": {} }, { "label": "CGIHTTPRequestHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "peekOfCode": "class CGIHTTPRequestHandler(SimpleHTTPRequestHandler):\n \"\"\"Complete HTTP server with GET, HEAD and POST commands.\n GET and HEAD also support running CGI scripts.\n The POST command is *only* implemented for CGI scripts.\n \"\"\"\n # Determine platform specifics\n have_fork = hasattr(os, 'fork')\n # Make rfile unbuffered -- we need to read one line and then pass\n # the rest to a subprocess, so we can't use buffered input.\n rbufsize = 0", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "documentation": {} }, { "label": "nobody_uid", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "peekOfCode": "def nobody_uid():\n \"\"\"Internal routine to get nobody's uid\"\"\"\n global nobody\n if nobody:\n return nobody\n try:\n import pwd\n except ImportError:\n return -1\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "documentation": {} }, { "label": "executable", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "peekOfCode": "def executable(path):\n \"\"\"Test for executable file.\"\"\"\n return os.access(path, os.X_OK)\nclass CGIHTTPRequestHandler(SimpleHTTPRequestHandler):\n \"\"\"Complete HTTP server with GET, HEAD and POST commands.\n GET and HEAD also support running CGI scripts.\n The POST command is *only* implemented for CGI scripts.\n \"\"\"\n # Determine platform specifics\n have_fork = hasattr(os, 'fork')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "documentation": {} }, { "label": "test", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "peekOfCode": "def test(HandlerClass=BaseHTTPRequestHandler,\n ServerClass=ThreadingHTTPServer,\n protocol=\"HTTP/1.0\", port=8000, bind=None):\n \"\"\"Test the HTTP request handler class.\n This runs an HTTP server on port 8000 (or the port argument).\n \"\"\"\n ServerClass.address_family, addr = _get_best_family(bind, port)\n HandlerClass.protocol_version = protocol\n with ServerClass(addr, HandlerClass) as httpd:\n host, port = httpd.socket.getsockname()[:2]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "documentation": {} }, { "label": "__version__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "peekOfCode": "__version__ = \"0.6\"\n__all__ = [\n \"HTTPServer\", \"ThreadingHTTPServer\", \"BaseHTTPRequestHandler\",\n \"SimpleHTTPRequestHandler\", \"CGIHTTPRequestHandler\",\n]\nimport copy\nimport datetime\nimport email.utils\nimport html\nimport http.client", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "peekOfCode": "__all__ = [\n \"HTTPServer\", \"ThreadingHTTPServer\", \"BaseHTTPRequestHandler\",\n \"SimpleHTTPRequestHandler\", \"CGIHTTPRequestHandler\",\n]\nimport copy\nimport datetime\nimport email.utils\nimport html\nimport http.client\nimport io", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "documentation": {} }, { "label": "DEFAULT_ERROR_MESSAGE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "peekOfCode": "DEFAULT_ERROR_MESSAGE = \"\"\"\\\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\n \"http://www.w3.org/TR/html4/strict.dtd\">\n<html>\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\">\n <title>Error response\n \n \n

    Error response

    ", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "documentation": {} }, { "label": "DEFAULT_ERROR_CONTENT_TYPE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "peekOfCode": "DEFAULT_ERROR_CONTENT_TYPE = \"text/html;charset=utf-8\"\nclass HTTPServer(socketserver.TCPServer):\n allow_reuse_address = 1 # Seems to make sense in testing environment\n def server_bind(self):\n \"\"\"Override server_bind to store the server name.\"\"\"\n socketserver.TCPServer.server_bind(self)\n host, port = self.server_address[:2]\n self.server_name = socket.getfqdn(host)\n self.server_port = port\nclass ThreadingHTTPServer(socketserver.ThreadingMixIn, HTTPServer):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "documentation": {} }, { "label": "nobody", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "peekOfCode": "nobody = None\ndef nobody_uid():\n \"\"\"Internal routine to get nobody's uid\"\"\"\n global nobody\n if nobody:\n return nobody\n try:\n import pwd\n except ImportError:\n return -1", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.http.server", "documentation": {} }, { "label": "run", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "def run(*tests):\n root = tk.Tk()\n root.title('IDLE htest')\n root.resizable(0, 0)\n # a scrollable Label like constant width text widget.\n frameLabel = tk.Frame(root, padx=10)\n frameLabel.pack()\n text = tk.Text(frameLabel, wrap='word')\n text.configure(bg=root.cget('bg'), relief='flat', height=4, width=70)\n scrollbar = Scrollbar(frameLabel, command=text.yview)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "exclude_lines", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "exclude_lines =\n .*# htest #\n if __name__ == .__main__.:\n(The \".\" instead of \"'\" is intentional and necessary.)\nTo run any X, this file must contain a matching instance of the\nfollowing template, with X.__name__ prepended to '_spec'.\nWhen all tests are run, the prefix is use to get X.\n_spec = {\n 'file': '',\n 'kwds': {'title': ''},", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_spec = {\n 'file': '',\n 'kwds': {'title': ''},\n 'msg': \"\"\n }\nfile (no .py): run() imports file.py.\nkwds: augmented with {'parent':root} and passed to X as **kwds.\ntitle: an example kwd; some widgets need this, delete if not.\nmsg: master window hints about testing the widget.\nModules and classes not being tested at the moment:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "AboutDialog_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "AboutDialog_spec = {\n 'file': 'help_about',\n 'kwds': {'title': 'help_about test',\n '_htest': True,\n },\n 'msg': \"Click on URL to open in default browser.\\n\"\n \"Verify x.y.z versions and test each button, including Close.\\n \"\n }\n# TODO implement ^\\; adding '' to function does not work.\n_calltip_window_spec = {", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_calltip_window_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_calltip_window_spec = {\n 'file': 'calltip_w',\n 'kwds': {},\n 'msg': \"Typing '(' should display a calltip.\\n\"\n \"Typing ') should hide the calltip.\\n\"\n \"So should moving cursor out of argument area.\\n\"\n \"Force-open-calltip does not work here.\\n\"\n }\n_module_browser_spec = {\n 'file': 'browser',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_module_browser_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_module_browser_spec = {\n 'file': 'browser',\n 'kwds': {},\n 'msg': \"Inspect names of module, class(with superclass if \"\n \"applicable), methods and functions.\\nToggle nested items.\\n\"\n \"Double clicking on items prints a traceback for an exception \"\n \"that is ignored.\"\n }\n_color_delegator_spec = {\n 'file': 'colorizer',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_color_delegator_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_color_delegator_spec = {\n 'file': 'colorizer',\n 'kwds': {},\n 'msg': \"The text is sample Python code.\\n\"\n \"Ensure components like comments, keywords, builtins,\\n\"\n \"string, definitions, and break are correctly colored.\\n\"\n \"The default color scheme is in idlelib/config-highlight.def\"\n }\nCustomRun_spec = {\n 'file': 'query',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "CustomRun_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "CustomRun_spec = {\n 'file': 'query',\n 'kwds': {'title': 'Customize query.py Run',\n '_htest': True},\n 'msg': \"Enter with or [Run]. Print valid entry to Shell\\n\"\n \"Arguments are parsed into a list\\n\"\n \"Mode is currently restart True or False\\n\"\n \"Close dialog with valid entry, , [Cancel], [X]\"\n }\nConfigDialog_spec = {", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "ConfigDialog_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "ConfigDialog_spec = {\n 'file': 'configdialog',\n 'kwds': {'title': 'ConfigDialogTest',\n '_htest': True,},\n 'msg': \"IDLE preferences dialog.\\n\"\n \"In the 'Fonts/Tabs' tab, changing font face, should update the \"\n \"font face of the text in the area below it.\\nIn the \"\n \"'Highlighting' tab, try different color schemes. Clicking \"\n \"items in the sample program should update the choices above it.\"\n \"\\nIn the 'Keys', 'General' and 'Extensions' tabs, test settings \"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_dyn_option_menu_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_dyn_option_menu_spec = {\n 'file': 'dynoption',\n 'kwds': {},\n 'msg': \"Select one of the many options in the 'old option set'.\\n\"\n \"Click the button to change the option set.\\n\"\n \"Select one of the many options in the 'new option set'.\"\n }\n# TODO edit wrapper\n_editor_window_spec = {\n 'file': 'editor',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_editor_window_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_editor_window_spec = {\n 'file': 'editor',\n 'kwds': {},\n 'msg': \"Test editor functions of interest.\\n\"\n \"Best to close editor first.\"\n }\nGetKeysDialog_spec = {\n 'file': 'config_key',\n 'kwds': {'title': 'Test keybindings',\n 'action': 'find-again',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "GetKeysDialog_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "GetKeysDialog_spec = {\n 'file': 'config_key',\n 'kwds': {'title': 'Test keybindings',\n 'action': 'find-again',\n 'current_key_sequences': [['', '', '']],\n '_htest': True,\n },\n 'msg': \"Test for different key modifier sequences.\\n\"\n \" is invalid.\\n\"\n \"No modifier key is invalid.\\n\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_grep_dialog_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_grep_dialog_spec = {\n 'file': 'grep',\n 'kwds': {},\n 'msg': \"Click the 'Show GrepDialog' button.\\n\"\n \"Test the various 'Find-in-files' functions.\\n\"\n \"The results should be displayed in a new '*Output*' window.\\n\"\n \"'Right-click'->'Go to file/line' anywhere in the search results \"\n \"should open that file \\nin a new EditorWindow.\"\n }\nHelpSource_spec = {", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "HelpSource_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "HelpSource_spec = {\n 'file': 'query',\n 'kwds': {'title': 'Help name and source',\n 'menuitem': 'test',\n 'filepath': __file__,\n 'used_names': {'abc'},\n '_htest': True},\n 'msg': \"Enter menu item name and help file path\\n\"\n \"'', > than 30 chars, and 'abc' are invalid menu item names.\\n\"\n \"'' and file does not exist are invalid path items.\\n\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_io_binding_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_io_binding_spec = {\n 'file': 'iomenu',\n 'kwds': {},\n 'msg': \"Test the following bindings.\\n\"\n \" to open file from dialog.\\n\"\n \"Edit the file.\\n\"\n \" to print the file.\\n\"\n \" to save the file.\\n\"\n \" to save-as another file.\\n\"\n \" to save-copy-as another file.\\n\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_linenumbers_drag_scrolling_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_linenumbers_drag_scrolling_spec = {\n 'file': 'sidebar',\n 'kwds': {},\n 'msg': textwrap.dedent(\"\"\"\\\n 1. Click on the line numbers and drag down below the edge of the\n window, moving the mouse a bit and then leaving it there for a while.\n The text and line numbers should gradually scroll down, with the\n selection updated continuously.\n 2. With the lines still selected, click on a line number above the\n selected lines. Only the line whose number was clicked should be", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_multi_call_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_multi_call_spec = {\n 'file': 'multicall',\n 'kwds': {},\n 'msg': \"The following actions should trigger a print to console or IDLE\"\n \" Shell.\\nEntering and leaving the text area, key entry, \"\n \",\\n, , \"\n \", \\n, and \"\n \"focusing out of the window\\nare sequences to be tested.\"\n }\n_multistatus_bar_spec = {", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_multistatus_bar_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_multistatus_bar_spec = {\n 'file': 'statusbar',\n 'kwds': {},\n 'msg': \"Ensure presence of multi-status bar below text area.\\n\"\n \"Click 'Update Status' to change the multi-status text\"\n }\n_object_browser_spec = {\n 'file': 'debugobj',\n 'kwds': {},\n 'msg': \"Double click on items up to the lowest level.\\n\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_object_browser_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_object_browser_spec = {\n 'file': 'debugobj',\n 'kwds': {},\n 'msg': \"Double click on items up to the lowest level.\\n\"\n \"Attributes of the objects and related information \"\n \"will be displayed side-by-side at each level.\"\n }\n_path_browser_spec = {\n 'file': 'pathbrowser',\n 'kwds': {},", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_path_browser_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_path_browser_spec = {\n 'file': 'pathbrowser',\n 'kwds': {},\n 'msg': \"Test for correct display of all paths in sys.path.\\n\"\n \"Toggle nested items up to the lowest level.\\n\"\n \"Double clicking on an item prints a traceback\\n\"\n \"for an exception that is ignored.\"\n }\n_percolator_spec = {\n 'file': 'percolator',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_percolator_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_percolator_spec = {\n 'file': 'percolator',\n 'kwds': {},\n 'msg': \"There are two tracers which can be toggled using a checkbox.\\n\"\n \"Toggling a tracer 'on' by checking it should print tracer \"\n \"output to the console or to the IDLE shell.\\n\"\n \"If both the tracers are 'on', the output from the tracer which \"\n \"was switched 'on' later, should be printed first\\n\"\n \"Test for actions like text entry, and removal.\"\n }", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "Query_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "Query_spec = {\n 'file': 'query',\n 'kwds': {'title': 'Query',\n 'message': 'Enter something',\n 'text0': 'Go',\n '_htest': True},\n 'msg': \"Enter with or [Ok]. Print valid entry to Shell\\n\"\n \"Blank line, after stripping, is ignored\\n\"\n \"Close dialog with valid entry, , [Cancel], [X]\"\n }", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_replace_dialog_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_replace_dialog_spec = {\n 'file': 'replace',\n 'kwds': {},\n 'msg': \"Click the 'Replace' button.\\n\"\n \"Test various replace options in the 'Replace dialog'.\\n\"\n \"Click [Close] or [X] to close the 'Replace Dialog'.\"\n }\n_search_dialog_spec = {\n 'file': 'search',\n 'kwds': {},", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_search_dialog_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_search_dialog_spec = {\n 'file': 'search',\n 'kwds': {},\n 'msg': \"Click the 'Search' button.\\n\"\n \"Test various search options in the 'Search dialog'.\\n\"\n \"Click [Close] or [X] to close the 'Search Dialog'.\"\n }\n_searchbase_spec = {\n 'file': 'searchbase',\n 'kwds': {},", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_searchbase_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_searchbase_spec = {\n 'file': 'searchbase',\n 'kwds': {},\n 'msg': \"Check the appearance of the base search dialog\\n\"\n \"Its only action is to close.\"\n }\n_scrolled_list_spec = {\n 'file': 'scrolledlist',\n 'kwds': {},\n 'msg': \"You should see a scrollable list of items\\n\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_scrolled_list_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_scrolled_list_spec = {\n 'file': 'scrolledlist',\n 'kwds': {},\n 'msg': \"You should see a scrollable list of items\\n\"\n \"Selecting (clicking) or double clicking an item \"\n \"prints the name to the console or Idle shell.\\n\"\n \"Right clicking an item will display a popup.\"\n }\nshow_idlehelp_spec = {\n 'file': 'help',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "show_idlehelp_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "show_idlehelp_spec = {\n 'file': 'help',\n 'kwds': {},\n 'msg': \"If the help text displays, this works.\\n\"\n \"Text is selectable. Window is scrollable.\"\n }\n_stack_viewer_spec = {\n 'file': 'stackviewer',\n 'kwds': {},\n 'msg': \"A stacktrace for a NameError exception.\\n\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_stack_viewer_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_stack_viewer_spec = {\n 'file': 'stackviewer',\n 'kwds': {},\n 'msg': \"A stacktrace for a NameError exception.\\n\"\n \"Expand 'idlelib ...' and ''.\\n\"\n \"Check that exc_value, exc_tb, and exc_type are correct.\\n\"\n }\n_tooltip_spec = {\n 'file': 'tooltip',\n 'kwds': {},", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_tooltip_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_tooltip_spec = {\n 'file': 'tooltip',\n 'kwds': {},\n 'msg': \"Place mouse cursor over both the buttons\\n\"\n \"A tooltip should appear with some text.\"\n }\n_tree_widget_spec = {\n 'file': 'tree',\n 'kwds': {},\n 'msg': \"The canvas is scrollable.\\n\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_tree_widget_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_tree_widget_spec = {\n 'file': 'tree',\n 'kwds': {},\n 'msg': \"The canvas is scrollable.\\n\"\n \"Click on folders up to to the lowest level.\"\n }\n_undo_delegator_spec = {\n 'file': 'undo',\n 'kwds': {},\n 'msg': \"Click [Undo] to undo any action.\\n\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_undo_delegator_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_undo_delegator_spec = {\n 'file': 'undo',\n 'kwds': {},\n 'msg': \"Click [Undo] to undo any action.\\n\"\n \"Click [Redo] to redo any action.\\n\"\n \"Click [Dump] to dump the current state \"\n \"by printing to the console or the IDLE shell.\\n\"\n }\nViewWindow_spec = {\n 'file': 'textview',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "ViewWindow_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "ViewWindow_spec = {\n 'file': 'textview',\n 'kwds': {'title': 'Test textview',\n 'contents': 'The quick brown fox jumps over the lazy dog.\\n'*35,\n '_htest': True},\n 'msg': \"Test for read-only property of text.\\n\"\n \"Select text, scroll window, close\"\n }\n_widget_redirector_spec = {\n 'file': 'redirector',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "_widget_redirector_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "peekOfCode": "_widget_redirector_spec = {\n 'file': 'redirector',\n 'kwds': {},\n 'msg': \"Every text insert should be printed to the console \"\n \"or the IDLE shell.\"\n }\ndef run(*tests):\n root = tk.Tk()\n root.title('IDLE htest')\n root.resizable(0, 0)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.htest", "documentation": {} }, { "label": "Func", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_idle", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_idle", "peekOfCode": "class Func:\n '''Record call, capture args, return/raise result set by test.\n When mock function is called, set or use attributes:\n self.called - increment call number even if no args, kwds passed.\n self.args - capture positional arguments.\n self.kwds - capture keyword arguments.\n self.result - return or raise value set in __init__.\n self.return_self - return self instead, to mock query class return.\n Most common use will probably be to mock instance methods.\n Given class instance, can set and delete as instance attribute.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_idle", "documentation": {} }, { "label": "Editor", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_idle", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_idle", "peekOfCode": "class Editor:\n '''Minimally imitate editor.EditorWindow class.\n '''\n def __init__(self, flist=None, filename=None, key=None, root=None,\n text=None): # Allow real Text with mock Editor.\n self.text = text or Text()\n self.undo = UndoDelegator()\n def get_selection_indices(self):\n first = self.text.index('1.0')\n last = self.text.index('end')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_idle", "documentation": {} }, { "label": "UndoDelegator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_idle", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_idle", "peekOfCode": "class UndoDelegator:\n '''Minimally imitate undo.UndoDelegator class.\n '''\n # A real undo block is only needed for user interaction.\n def undo_block_start(*args):\n pass\n def undo_block_stop(*args):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_idle", "documentation": {} }, { "label": "Event", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "peekOfCode": "class Event:\n '''Minimal mock with attributes for testing event handlers.\n This is not a gui object, but is used as an argument for callbacks\n that access attributes of the event passed. If a callback ignores\n the event, other than the fact that is happened, pass 'event'.\n Keyboard, mouse, window, and other sources generate Event instances.\n Event instances have the following attributes: serial (number of\n event), time (of event), type (of event as number), widget (in which\n event occurred), and x,y (position of mouse). There are other\n attributes for specific events, such as keycode for key events.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Var", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "peekOfCode": "class Var:\n \"Use for String/Int/BooleanVar: incomplete\"\n def __init__(self, master=None, value=None, name=None):\n self.master = master\n self.value = value\n self.name = name\n def set(self, value):\n self.value = value\n def get(self):\n return self.value", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Mbox_func", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "peekOfCode": "class Mbox_func:\n \"\"\"Generic mock for messagebox functions, which all have the same signature.\n Instead of displaying a message box, the mock's call method saves the\n arguments as instance attributes, which test functions can then examine.\n The test can set the result returned to ask function\n \"\"\"\n def __init__(self, result=None):\n self.result = result # Return None for all show funcs\n def __call__(self, title, message, *args, **kwds):\n # Save all args for possible examination by tester", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Mbox", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "peekOfCode": "class Mbox:\n \"\"\"Mock for tkinter.messagebox with an Mbox_func for each function.\n Example usage in test_module.py for testing functions in module.py:\n ---\nfrom idlelib.idle_test.mock_tk import Mbox\nimport module\norig_mbox = module.messagebox\nshowerror = Mbox.showerror # example, for attribute access in test methods\nclass Test(unittest.TestCase):\n @classmethod", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "peekOfCode": "class Test(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n module.messagebox = Mbox\n @classmethod\n def tearDownClass(cls):\n module.messagebox = orig_mbox\n ---\n For 'ask' functions, set func.result return value before calling the method\n that uses the message function. When messagebox functions are the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Text", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "peekOfCode": "class Text:\n \"\"\"A semi-functional non-gui replacement for tkinter.Text text editors.\n The mock's data model is that a text is a list of \\n-terminated lines.\n The mock adds an empty string at the beginning of the list so that the\n index of actual lines start at 1, as with Tk. The methods never see this.\n Tk initializes files with a terminal \\n that cannot be deleted. It is\n invisible in the sense that one cannot move the cursor beyond it.\n This class is only tested (and valid) with strings of ascii chars.\n For testing, we are not concerned with Tk Text's treatment of,\n for instance, 0-width characters or character + accent.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Entry", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "peekOfCode": "class Entry:\n \"Mock for tkinter.Entry.\"\n def focus_set(self):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "orig_mbox", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "peekOfCode": "orig_mbox = module.messagebox\nshowerror = Mbox.showerror # example, for attribute access in test methods\nclass Test(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n module.messagebox = Mbox\n @classmethod\n def tearDownClass(cls):\n module.messagebox = orig_mbox\n ---", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "showerror", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "peekOfCode": "showerror = Mbox.showerror # example, for attribute access in test methods\nclass Test(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n module.messagebox = Mbox\n @classmethod\n def tearDownClass(cls):\n module.messagebox = orig_mbox\n ---\n For 'ask' functions, set func.result return value before calling the method", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.mock_tk", "documentation": {} }, { "label": "Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.template", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.template", "peekOfCode": "class Test(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n @classmethod\n def tearDownClass(cls):\n cls.root.update_idletasks()\n## for id in cls.root.tk.call('after', 'info'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.template", "documentation": {} }, { "label": "DummyEditwin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_autocomplete", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_autocomplete", "peekOfCode": "class DummyEditwin:\n def __init__(self, root, text):\n self.root = root\n self.text = text\n self.indentwidth = 8\n self.tabwidth = 8\n self.prompt_last_line = '>>>' # Currently not used by autocomplete.\nclass AutoCompleteTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_autocomplete", "documentation": {} }, { "label": "AutoCompleteTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_autocomplete", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_autocomplete", "peekOfCode": "class AutoCompleteTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.text = Text(cls.root)\n cls.editor = DummyEditwin(cls.root, cls.text)\n @classmethod\n def tearDownClass(cls):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_autocomplete", "documentation": {} }, { "label": "AutoCompleteWindowTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_autocomplete_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_autocomplete_w", "peekOfCode": "class AutoCompleteWindowTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.text = Text(cls.root)\n cls.acw = acw.AutoCompleteWindow(cls.text, tags=None)\n @classmethod\n def tearDownClass(cls):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_autocomplete_w", "documentation": {} }, { "label": "DummyEditwin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_autoexpand", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_autoexpand", "peekOfCode": "class DummyEditwin:\n # AutoExpand.__init__ only needs .text\n def __init__(self, text):\n self.text = text\nclass AutoExpandTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.tk = Tk()\n cls.text = Text(cls.tk)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_autoexpand", "documentation": {} }, { "label": "AutoExpandTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_autoexpand", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_autoexpand", "peekOfCode": "class AutoExpandTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.tk = Tk()\n cls.text = Text(cls.tk)\n cls.auto_expand = AutoExpand(DummyEditwin(cls.text))\n cls.auto_expand.bell = lambda: None\n# If mock_tk.Text._decode understood indexes 'insert' with suffixed 'linestart',\n# 'wordstart', and 'lineend', used by autoexpand, we could use the following", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_autoexpand", "documentation": {} }, { "label": "ModuleBrowserTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "peekOfCode": "class ModuleBrowserTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.mb = browser.ModuleBrowser(cls.root, __file__, _utest=True)\n @classmethod\n def tearDownClass(cls):\n cls.mb.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "documentation": {} }, { "label": "TransformChildrenTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "peekOfCode": "class TransformChildrenTest(unittest.TestCase):\n def test_transform_module_children(self):\n eq = self.assertEqual\n transform = browser.transform_children\n # Parameter matches tree module.\n tcl = list(transform(mock_pyclbr_tree, 'test'))\n eq(tcl, [C0, f0])\n eq(tcl[0].name, 'C0(base)')\n eq(tcl[1].name, 'f0')\n # Check that second call does not change suffix.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "documentation": {} }, { "label": "ModuleBrowserTreeItemTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "peekOfCode": "class ModuleBrowserTreeItemTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.mbt = browser.ModuleBrowserTreeItem(fname)\n def test_init(self):\n self.assertEqual(self.mbt.file, fname)\n def test_gettext(self):\n self.assertEqual(self.mbt.GetText(), fname)\n def test_geticonname(self):\n self.assertEqual(self.mbt.GetIconName(), 'python')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "documentation": {} }, { "label": "ChildBrowserTreeItemTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "peekOfCode": "class ChildBrowserTreeItemTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n CBT = browser.ChildBrowserTreeItem\n cls.cbt_f1 = CBT(f1)\n cls.cbt_C1 = CBT(C1)\n cls.cbt_F1 = CBT(F1)\n @classmethod\n def tearDownClass(cls):\n del cls.cbt_C1, cls.cbt_f1, cls.cbt_F1", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "documentation": {} }, { "label": "NestedChildrenTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "peekOfCode": "class NestedChildrenTest(unittest.TestCase):\n \"Test that all the nodes in a nested tree are added to the BrowserTree.\"\n def test_nested(self):\n queue = deque()\n actual_names = []\n # The tree items are processed in breadth first order.\n # Verify that processing each sublist hits every node and\n # in the right order.\n expected_names = ['f0', 'C0(base)',\n 'f1', 'c1', 'F1', 'C1()',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "documentation": {} }, { "label": "mb", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "peekOfCode": "mb = pyclbr\nmodule, fname = 'test', 'test.py'\nC0 = mb.Class(module, 'C0', ['base'], fname, 1, end_lineno=9)\nF1 = mb._nest_function(C0, 'F1', 3, 5)\nC1 = mb._nest_class(C0, 'C1', 6, 9, [''])\nC2 = mb._nest_class(C1, 'C2', 7, 9)\nF3 = mb._nest_function(C2, 'F3', 9, 9)\nf0 = mb.Function(module, 'f0', fname, 11, end_lineno=15)\nf1 = mb._nest_function(f0, 'f1', 12, 14)\nf2 = mb._nest_function(f1, 'f2', 13, 13)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "documentation": {} }, { "label": "C0", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "peekOfCode": "C0 = mb.Class(module, 'C0', ['base'], fname, 1, end_lineno=9)\nF1 = mb._nest_function(C0, 'F1', 3, 5)\nC1 = mb._nest_class(C0, 'C1', 6, 9, [''])\nC2 = mb._nest_class(C1, 'C2', 7, 9)\nF3 = mb._nest_function(C2, 'F3', 9, 9)\nf0 = mb.Function(module, 'f0', fname, 11, end_lineno=15)\nf1 = mb._nest_function(f0, 'f1', 12, 14)\nf2 = mb._nest_function(f1, 'f2', 13, 13)\nc1 = mb._nest_class(f0, 'c1', 15, 15)\nmock_pyclbr_tree = {'C0': C0, 'f0': f0}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "documentation": {} }, { "label": "F1", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "peekOfCode": "F1 = mb._nest_function(C0, 'F1', 3, 5)\nC1 = mb._nest_class(C0, 'C1', 6, 9, [''])\nC2 = mb._nest_class(C1, 'C2', 7, 9)\nF3 = mb._nest_function(C2, 'F3', 9, 9)\nf0 = mb.Function(module, 'f0', fname, 11, end_lineno=15)\nf1 = mb._nest_function(f0, 'f1', 12, 14)\nf2 = mb._nest_function(f1, 'f2', 13, 13)\nc1 = mb._nest_class(f0, 'c1', 15, 15)\nmock_pyclbr_tree = {'C0': C0, 'f0': f0}\n# Adjust C0.name, C1.name so tests do not depend on order.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "documentation": {} }, { "label": "C1", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "peekOfCode": "C1 = mb._nest_class(C0, 'C1', 6, 9, [''])\nC2 = mb._nest_class(C1, 'C2', 7, 9)\nF3 = mb._nest_function(C2, 'F3', 9, 9)\nf0 = mb.Function(module, 'f0', fname, 11, end_lineno=15)\nf1 = mb._nest_function(f0, 'f1', 12, 14)\nf2 = mb._nest_function(f1, 'f2', 13, 13)\nc1 = mb._nest_class(f0, 'c1', 15, 15)\nmock_pyclbr_tree = {'C0': C0, 'f0': f0}\n# Adjust C0.name, C1.name so tests do not depend on order.\nbrowser.transform_children(mock_pyclbr_tree, 'test') # C0(base)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "documentation": {} }, { "label": "C2", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "peekOfCode": "C2 = mb._nest_class(C1, 'C2', 7, 9)\nF3 = mb._nest_function(C2, 'F3', 9, 9)\nf0 = mb.Function(module, 'f0', fname, 11, end_lineno=15)\nf1 = mb._nest_function(f0, 'f1', 12, 14)\nf2 = mb._nest_function(f1, 'f2', 13, 13)\nc1 = mb._nest_class(f0, 'c1', 15, 15)\nmock_pyclbr_tree = {'C0': C0, 'f0': f0}\n# Adjust C0.name, C1.name so tests do not depend on order.\nbrowser.transform_children(mock_pyclbr_tree, 'test') # C0(base)\nbrowser.transform_children(C0.children) # C1()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "documentation": {} }, { "label": "F3", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "peekOfCode": "F3 = mb._nest_function(C2, 'F3', 9, 9)\nf0 = mb.Function(module, 'f0', fname, 11, end_lineno=15)\nf1 = mb._nest_function(f0, 'f1', 12, 14)\nf2 = mb._nest_function(f1, 'f2', 13, 13)\nc1 = mb._nest_class(f0, 'c1', 15, 15)\nmock_pyclbr_tree = {'C0': C0, 'f0': f0}\n# Adjust C0.name, C1.name so tests do not depend on order.\nbrowser.transform_children(mock_pyclbr_tree, 'test') # C0(base)\nbrowser.transform_children(C0.children) # C1()\n# The class below checks that the calls above are correct", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "documentation": {} }, { "label": "f0", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "peekOfCode": "f0 = mb.Function(module, 'f0', fname, 11, end_lineno=15)\nf1 = mb._nest_function(f0, 'f1', 12, 14)\nf2 = mb._nest_function(f1, 'f2', 13, 13)\nc1 = mb._nest_class(f0, 'c1', 15, 15)\nmock_pyclbr_tree = {'C0': C0, 'f0': f0}\n# Adjust C0.name, C1.name so tests do not depend on order.\nbrowser.transform_children(mock_pyclbr_tree, 'test') # C0(base)\nbrowser.transform_children(C0.children) # C1()\n# The class below checks that the calls above are correct\n# and that duplicate calls have no effect.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "documentation": {} }, { "label": "f1", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "peekOfCode": "f1 = mb._nest_function(f0, 'f1', 12, 14)\nf2 = mb._nest_function(f1, 'f2', 13, 13)\nc1 = mb._nest_class(f0, 'c1', 15, 15)\nmock_pyclbr_tree = {'C0': C0, 'f0': f0}\n# Adjust C0.name, C1.name so tests do not depend on order.\nbrowser.transform_children(mock_pyclbr_tree, 'test') # C0(base)\nbrowser.transform_children(C0.children) # C1()\n# The class below checks that the calls above are correct\n# and that duplicate calls have no effect.\nclass TransformChildrenTest(unittest.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "documentation": {} }, { "label": "f2", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "peekOfCode": "f2 = mb._nest_function(f1, 'f2', 13, 13)\nc1 = mb._nest_class(f0, 'c1', 15, 15)\nmock_pyclbr_tree = {'C0': C0, 'f0': f0}\n# Adjust C0.name, C1.name so tests do not depend on order.\nbrowser.transform_children(mock_pyclbr_tree, 'test') # C0(base)\nbrowser.transform_children(C0.children) # C1()\n# The class below checks that the calls above are correct\n# and that duplicate calls have no effect.\nclass TransformChildrenTest(unittest.TestCase):\n def test_transform_module_children(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "documentation": {} }, { "label": "c1", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "peekOfCode": "c1 = mb._nest_class(f0, 'c1', 15, 15)\nmock_pyclbr_tree = {'C0': C0, 'f0': f0}\n# Adjust C0.name, C1.name so tests do not depend on order.\nbrowser.transform_children(mock_pyclbr_tree, 'test') # C0(base)\nbrowser.transform_children(C0.children) # C1()\n# The class below checks that the calls above are correct\n# and that duplicate calls have no effect.\nclass TransformChildrenTest(unittest.TestCase):\n def test_transform_module_children(self):\n eq = self.assertEqual", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "documentation": {} }, { "label": "mock_pyclbr_tree", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "peekOfCode": "mock_pyclbr_tree = {'C0': C0, 'f0': f0}\n# Adjust C0.name, C1.name so tests do not depend on order.\nbrowser.transform_children(mock_pyclbr_tree, 'test') # C0(base)\nbrowser.transform_children(C0.children) # C1()\n# The class below checks that the calls above are correct\n# and that duplicate calls have no effect.\nclass TransformChildrenTest(unittest.TestCase):\n def test_transform_module_children(self):\n eq = self.assertEqual\n transform = browser.transform_children", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_browser", "documentation": {} }, { "label": "TC", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "peekOfCode": "class TC:\n 'doc'\n tip = \"(ai=None, *b)\"\n def __init__(self, ai=None, *b): 'doc'\n __init__.tip = \"(self, ai=None, *b)\"\n def t1(self): 'doc'\n t1.tip = \"(self)\"\n def t2(self, ai, b=None): 'doc'\n t2.tip = \"(self, ai, b=None)\"\n def t3(self, ai, *args): 'doc'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "documentation": {} }, { "label": "Get_argspecTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "peekOfCode": "class Get_argspecTest(unittest.TestCase):\n # The get_spec function must return a string, even if blank.\n # Test a variety of objects to be sure that none cause it to raise\n # (quite aside from getting as correct an answer as possible).\n # The tests of builtins may break if inspect or the docstrings change,\n # but a red buildbot is better than a user crash (as has happened).\n # For a simple mismatch, change the expected output to the actual.\n def test_builtins(self):\n def tiptest(obj, out):\n self.assertEqual(get_spec(obj), out)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "documentation": {} }, { "label": "Get_entityTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "peekOfCode": "class Get_entityTest(unittest.TestCase):\n def test_bad_entity(self):\n self.assertIsNone(calltip.get_entity('1/0'))\n def test_good_entity(self):\n self.assertIs(calltip.get_entity('int'), int)\n# Test the 9 Calltip methods.\n# open_calltip is about half the code; the others are fairly trivial.\n# The default mocks are what are needed for open_calltip.\nclass mock_Shell:\n \"Return mock sufficient to pass to hyperparser.\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "documentation": {} }, { "label": "mock_Shell", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "peekOfCode": "class mock_Shell:\n \"Return mock sufficient to pass to hyperparser.\"\n def __init__(self, text):\n text.tag_prevrange = Mock(return_value=None)\n self.text = text\n self.prompt_last_line = \">>> \"\n self.indentwidth = 4\n self.tabwidth = 8\nclass mock_TipWindow:\n def __init__(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "documentation": {} }, { "label": "mock_TipWindow", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "peekOfCode": "class mock_TipWindow:\n def __init__(self):\n pass\n def showtip(self, text, parenleft, parenright):\n self.args = parenleft, parenright\n self.parenline, self.parencol = map(int, parenleft.split('.'))\nclass WrappedCalltip(calltip.Calltip):\n def _make_tk_calltip_window(self):\n return mock_TipWindow()\n def remove_calltip_window(self, event=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "documentation": {} }, { "label": "WrappedCalltip", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "peekOfCode": "class WrappedCalltip(calltip.Calltip):\n def _make_tk_calltip_window(self):\n return mock_TipWindow()\n def remove_calltip_window(self, event=None):\n if self.active_calltip: # Setup to None.\n self.active_calltip = None\n self.tips_removed += 1 # Setup to 0.\n def fetch_tip(self, expression):\n return 'tip'\nclass CalltipTest(unittest.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "documentation": {} }, { "label": "CalltipTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "peekOfCode": "class CalltipTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.text = Text()\n cls.ct = WrappedCalltip(mock_Shell(cls.text))\n def setUp(self):\n self.text.delete('1.0', 'end') # Insert and call\n self.ct.active_calltip = None\n # Test .active_calltip, +args\n self.ct.tips_removed = 0", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "documentation": {} }, { "label": "tc", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "peekOfCode": "tc = TC()\ndefault_tip = calltip._default_callable_argspec\nget_spec = calltip.get_argspec\nclass Get_argspecTest(unittest.TestCase):\n # The get_spec function must return a string, even if blank.\n # Test a variety of objects to be sure that none cause it to raise\n # (quite aside from getting as correct an answer as possible).\n # The tests of builtins may break if inspect or the docstrings change,\n # but a red buildbot is better than a user crash (as has happened).\n # For a simple mismatch, change the expected output to the actual.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "documentation": {} }, { "label": "default_tip", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "peekOfCode": "default_tip = calltip._default_callable_argspec\nget_spec = calltip.get_argspec\nclass Get_argspecTest(unittest.TestCase):\n # The get_spec function must return a string, even if blank.\n # Test a variety of objects to be sure that none cause it to raise\n # (quite aside from getting as correct an answer as possible).\n # The tests of builtins may break if inspect or the docstrings change,\n # but a red buildbot is better than a user crash (as has happened).\n # For a simple mismatch, change the expected output to the actual.\n def test_builtins(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "documentation": {} }, { "label": "get_spec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "peekOfCode": "get_spec = calltip.get_argspec\nclass Get_argspecTest(unittest.TestCase):\n # The get_spec function must return a string, even if blank.\n # Test a variety of objects to be sure that none cause it to raise\n # (quite aside from getting as correct an answer as possible).\n # The tests of builtins may break if inspect or the docstrings change,\n # but a red buildbot is better than a user crash (as has happened).\n # For a simple mismatch, change the expected output to the actual.\n def test_builtins(self):\n def tiptest(obj, out):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip", "documentation": {} }, { "label": "CallTipWindowTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip_w", "peekOfCode": "class CallTipWindowTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.text = Text(cls.root)\n cls.calltip = calltip_w.CalltipWindow(cls.text)\n @classmethod\n def tearDownClass(cls):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_calltip_w", "documentation": {} }, { "label": "C1", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "peekOfCode": "class C1:\n # Class comment.\n def __init__(self, a, b):\n self.a = a\n self.b = b\n def compare(self):\n if a > b:\n return a\n elif a < b:\n return b", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "documentation": {} }, { "label": "DummyEditwin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "peekOfCode": "class DummyEditwin:\n def __init__(self, root, frame, text):\n self.root = root\n self.top = root\n self.text_frame = frame\n self.text = text\n self.label = ''\n def getlineno(self, index):\n return int(float(self.text.index(index)))\n def update_menu_label(self, **kwargs):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "documentation": {} }, { "label": "CodeContextTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "peekOfCode": "class CodeContextTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n root = cls.root = Tk()\n root.withdraw()\n frame = cls.frame = Frame(root)\n text = cls.text = Text(frame)\n text.insert('1.0', code_sample)\n # Need to pack for creation of code context text widget.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "documentation": {} }, { "label": "HelperFunctionText", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "peekOfCode": "class HelperFunctionText(unittest.TestCase):\n def test_get_spaces_firstword(self):\n get = codecontext.get_spaces_firstword\n test_lines = (\n (' first word', (' ', 'first')),\n ('\\tfirst word', ('\\t', 'first')),\n (' \\u19D4\\u19D2: ', (' ', '\\u19D4\\u19D2')),\n ('no spaces', ('', 'no')),\n ('', ('', '')),\n ('# TEST COMMENT', ('', '')),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "documentation": {} }, { "label": "usercfg", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "peekOfCode": "usercfg = codecontext.idleConf.userCfg\ntestcfg = {\n 'main': config.IdleUserConfParser(''),\n 'highlight': config.IdleUserConfParser(''),\n 'keys': config.IdleUserConfParser(''),\n 'extensions': config.IdleUserConfParser(''),\n}\ncode_sample = \"\"\"\\\nclass C1:\n # Class comment.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "documentation": {} }, { "label": "testcfg", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "peekOfCode": "testcfg = {\n 'main': config.IdleUserConfParser(''),\n 'highlight': config.IdleUserConfParser(''),\n 'keys': config.IdleUserConfParser(''),\n 'extensions': config.IdleUserConfParser(''),\n}\ncode_sample = \"\"\"\\\nclass C1:\n # Class comment.\n def __init__(self, a, b):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "documentation": {} }, { "label": "code_sample", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "peekOfCode": "code_sample = \"\"\"\\\nclass C1:\n # Class comment.\n def __init__(self, a, b):\n self.a = a\n self.b = b\n def compare(self):\n if a > b:\n return a\n elif a < b:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_codecontext", "documentation": {} }, { "label": "FunctionTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "peekOfCode": "class FunctionTest(unittest.TestCase):\n def test_any(self):\n self.assertEqual(colorizer.any('test', ('a', 'b', 'cd')),\n '(?Pa|b|cd)')\n def test_make_pat(self):\n # Tested in more detail by testing prog.\n self.assertTrue(colorizer.make_pat())\n def test_prog(self):\n prog = colorizer.prog\n eq = self.assertEqual", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "documentation": {} }, { "label": "ColorConfigTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "peekOfCode": "class ColorConfigTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n root = cls.root = Tk()\n root.withdraw()\n cls.text = Text(root)\n @classmethod\n def tearDownClass(cls):\n del cls.text", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "documentation": {} }, { "label": "ColorDelegatorInstantiationTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "peekOfCode": "class ColorDelegatorInstantiationTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n root = cls.root = Tk()\n root.withdraw()\n cls.text = Text(root)\n @classmethod\n def tearDownClass(cls):\n del cls.text", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "documentation": {} }, { "label": "ColorDelegatorTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "peekOfCode": "class ColorDelegatorTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n root = cls.root = Tk()\n root.withdraw()\n text = cls.text = Text(root)\n cls.percolator = Percolator(text)\n # Delegator stack = [Delegator(text)]\n @classmethod", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "documentation": {} }, { "label": "setUpModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "peekOfCode": "def setUpModule():\n colorizer.idleConf.userCfg = testcfg\ndef tearDownModule():\n colorizer.idleConf.userCfg = usercfg\nclass FunctionTest(unittest.TestCase):\n def test_any(self):\n self.assertEqual(colorizer.any('test', ('a', 'b', 'cd')),\n '(?Pa|b|cd)')\n def test_make_pat(self):\n # Tested in more detail by testing prog.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "peekOfCode": "def tearDownModule():\n colorizer.idleConf.userCfg = usercfg\nclass FunctionTest(unittest.TestCase):\n def test_any(self):\n self.assertEqual(colorizer.any('test', ('a', 'b', 'cd')),\n '(?Pa|b|cd)')\n def test_make_pat(self):\n # Tested in more detail by testing prog.\n self.assertTrue(colorizer.make_pat())\n def test_prog(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "documentation": {} }, { "label": "usercfg", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "peekOfCode": "usercfg = colorizer.idleConf.userCfg\ntestcfg = {\n 'main': config.IdleUserConfParser(''),\n 'highlight': config.IdleUserConfParser(''),\n 'keys': config.IdleUserConfParser(''),\n 'extensions': config.IdleUserConfParser(''),\n}\nsource = textwrap.dedent(\"\"\"\\\n if True: int ('1') # keyword, builtin, string, comment\n elif False: print(0) # 'string' in comment", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "documentation": {} }, { "label": "testcfg", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "peekOfCode": "testcfg = {\n 'main': config.IdleUserConfParser(''),\n 'highlight': config.IdleUserConfParser(''),\n 'keys': config.IdleUserConfParser(''),\n 'extensions': config.IdleUserConfParser(''),\n}\nsource = textwrap.dedent(\"\"\"\\\n if True: int ('1') # keyword, builtin, string, comment\n elif False: print(0) # 'string' in comment\n else: float(None) # if in comment", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "documentation": {} }, { "label": "source", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "peekOfCode": "source = textwrap.dedent(\"\"\"\\\n if True: int ('1') # keyword, builtin, string, comment\n elif False: print(0) # 'string' in comment\n else: float(None) # if in comment\n if iF + If + IF: 'keyword matching must respect case'\n if'': x or'' # valid keyword-string no-space combinations\n async def f(): await g()\n # Strings should be entirely colored, including quotes.\n 'x', '''x''', \"x\", \\\"\"\"x\\\"\"\"\n 'abc\\\\", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_colorizer", "documentation": {} }, { "label": "IdleConfParserTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "peekOfCode": "class IdleConfParserTest(unittest.TestCase):\n \"\"\"Test that IdleConfParser works\"\"\"\n config = \"\"\"\n [one]\n one = false\n two = true\n three = 10\n [two]\n one = a string\n two = true", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "documentation": {} }, { "label": "IdleUserConfParserTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "peekOfCode": "class IdleUserConfParserTest(unittest.TestCase):\n \"\"\"Test that IdleUserConfParser works\"\"\"\n def new_parser(self, path=''):\n return config.IdleUserConfParser(path)\n def test_set_option(self):\n parser = self.new_parser()\n parser.add_section('Foo')\n # Setting new option in existing section should return True.\n self.assertTrue(parser.SetOption('Foo', 'bar', 'true'))\n # Setting existing option with same value should return False.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "documentation": {} }, { "label": "IdleConfTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "peekOfCode": "class IdleConfTest(unittest.TestCase):\n \"\"\"Test for idleConf\"\"\"\n @classmethod\n def setUpClass(cls):\n cls.config_string = {}\n conf = config.IdleConf(_utest=True)\n if __name__ != '__main__':\n idle_dir = os.path.dirname(__file__)\n else:\n idle_dir = os.path.abspath(sys.path[0])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "documentation": {} }, { "label": "CurrentColorKeysTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "peekOfCode": "class CurrentColorKeysTest(unittest.TestCase):\n \"\"\" Test colorkeys function with user config [Theme] and [Keys] patterns.\n colorkeys = config.IdleConf.current_colors_and_keys\n Test all patterns written by IDLE and some errors\n Item 'default' should really be 'builtin' (versus 'custom).\n \"\"\"\n colorkeys = idleConf.current_colors_and_keys\n default_theme = 'IDLE Classic'\n default_keys = idleConf.default_keys()\n def test_old_builtin_theme(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "documentation": {} }, { "label": "ChangesTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "peekOfCode": "class ChangesTest(unittest.TestCase):\n empty = {'main':{}, 'highlight':{}, 'keys':{}, 'extensions':{}}\n def load(self): # Test_add_option verifies that this works.\n changes = self.changes\n changes.add_option('main', 'Msec', 'mitem', 'mval')\n changes.add_option('highlight', 'Hsec', 'hitem', 'hval')\n changes.add_option('keys', 'Ksec', 'kitem', 'kval')\n return changes\n loaded = {'main': {'Msec': {'mitem': 'mval'}},\n 'highlight': {'Hsec': {'hitem': 'hval'}},", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "documentation": {} }, { "label": "WarningTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "peekOfCode": "class WarningTest(unittest.TestCase):\n def test_warn(self):\n Equal = self.assertEqual\n config._warned = set()\n with captured_stderr() as stderr:\n config._warn('warning', 'key')\n Equal(config._warned, {('warning','key')})\n Equal(stderr.getvalue(), 'warning'+'\\n')\n with captured_stderr() as stderr:\n config._warn('warning', 'key')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "documentation": {} }, { "label": "setUpModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "peekOfCode": "def setUpModule():\n idleConf.userCfg = testcfg\n idlelib.testing = True\ndef tearDownModule():\n idleConf.userCfg = usercfg\n idlelib.testing = False\nclass IdleConfParserTest(unittest.TestCase):\n \"\"\"Test that IdleConfParser works\"\"\"\n config = \"\"\"\n [one]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "peekOfCode": "def tearDownModule():\n idleConf.userCfg = usercfg\n idlelib.testing = False\nclass IdleConfParserTest(unittest.TestCase):\n \"\"\"Test that IdleConfParser works\"\"\"\n config = \"\"\"\n [one]\n one = false\n two = true\n three = 10", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "documentation": {} }, { "label": "idleConf", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "peekOfCode": "idleConf = config.idleConf\nusercfg = idleConf.userCfg\ntestcfg = {}\nusermain = testcfg['main'] = config.IdleUserConfParser('')\nuserhigh = testcfg['highlight'] = config.IdleUserConfParser('')\nuserkeys = testcfg['keys'] = config.IdleUserConfParser('')\nuserextn = testcfg['extensions'] = config.IdleUserConfParser('')\ndef setUpModule():\n idleConf.userCfg = testcfg\n idlelib.testing = True", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "documentation": {} }, { "label": "usercfg", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "peekOfCode": "usercfg = idleConf.userCfg\ntestcfg = {}\nusermain = testcfg['main'] = config.IdleUserConfParser('')\nuserhigh = testcfg['highlight'] = config.IdleUserConfParser('')\nuserkeys = testcfg['keys'] = config.IdleUserConfParser('')\nuserextn = testcfg['extensions'] = config.IdleUserConfParser('')\ndef setUpModule():\n idleConf.userCfg = testcfg\n idlelib.testing = True\ndef tearDownModule():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "documentation": {} }, { "label": "testcfg", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "peekOfCode": "testcfg = {}\nusermain = testcfg['main'] = config.IdleUserConfParser('')\nuserhigh = testcfg['highlight'] = config.IdleUserConfParser('')\nuserkeys = testcfg['keys'] = config.IdleUserConfParser('')\nuserextn = testcfg['extensions'] = config.IdleUserConfParser('')\ndef setUpModule():\n idleConf.userCfg = testcfg\n idlelib.testing = True\ndef tearDownModule():\n idleConf.userCfg = usercfg", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "documentation": {} }, { "label": "usermain", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "peekOfCode": "usermain = testcfg['main'] = config.IdleUserConfParser('')\nuserhigh = testcfg['highlight'] = config.IdleUserConfParser('')\nuserkeys = testcfg['keys'] = config.IdleUserConfParser('')\nuserextn = testcfg['extensions'] = config.IdleUserConfParser('')\ndef setUpModule():\n idleConf.userCfg = testcfg\n idlelib.testing = True\ndef tearDownModule():\n idleConf.userCfg = usercfg\n idlelib.testing = False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "documentation": {} }, { "label": "userhigh", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "peekOfCode": "userhigh = testcfg['highlight'] = config.IdleUserConfParser('')\nuserkeys = testcfg['keys'] = config.IdleUserConfParser('')\nuserextn = testcfg['extensions'] = config.IdleUserConfParser('')\ndef setUpModule():\n idleConf.userCfg = testcfg\n idlelib.testing = True\ndef tearDownModule():\n idleConf.userCfg = usercfg\n idlelib.testing = False\nclass IdleConfParserTest(unittest.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "documentation": {} }, { "label": "userkeys", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "peekOfCode": "userkeys = testcfg['keys'] = config.IdleUserConfParser('')\nuserextn = testcfg['extensions'] = config.IdleUserConfParser('')\ndef setUpModule():\n idleConf.userCfg = testcfg\n idlelib.testing = True\ndef tearDownModule():\n idleConf.userCfg = usercfg\n idlelib.testing = False\nclass IdleConfParserTest(unittest.TestCase):\n \"\"\"Test that IdleConfParser works\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "documentation": {} }, { "label": "userextn", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "peekOfCode": "userextn = testcfg['extensions'] = config.IdleUserConfParser('')\ndef setUpModule():\n idleConf.userCfg = testcfg\n idlelib.testing = True\ndef tearDownModule():\n idleConf.userCfg = usercfg\n idlelib.testing = False\nclass IdleConfParserTest(unittest.TestCase):\n \"\"\"Test that IdleConfParser works\"\"\"\n config = \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config", "documentation": {} }, { "label": "ConfigDialogTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "class ConfigDialogTest(unittest.TestCase):\n def test_deactivate_current_config(self):\n pass\n def activate_config_changes(self):\n pass\nclass ButtonTest(unittest.TestCase):\n def test_click_ok(self):\n d = dialog\n apply = d.apply = mock.Mock()\n destroy = d.destroy = mock.Mock()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "ButtonTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "class ButtonTest(unittest.TestCase):\n def test_click_ok(self):\n d = dialog\n apply = d.apply = mock.Mock()\n destroy = d.destroy = mock.Mock()\n d.buttons['Ok'].invoke()\n apply.assert_called_once()\n destroy.assert_called_once()\n del d.destroy, d.apply\n def test_click_apply(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "FontPageTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "class FontPageTest(unittest.TestCase):\n \"\"\"Test that font widgets enable users to make font changes.\n Test that widget actions set vars, that var changes add three\n options to changes and call set_samples, and that set_samples\n changes the font of both sample boxes.\n \"\"\"\n @classmethod\n def setUpClass(cls):\n page = cls.page = dialog.fontpage\n dialog.note.select(page)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "HighPageTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "class HighPageTest(unittest.TestCase):\n \"\"\"Test that highlight tab widgets enable users to make changes.\n Test that widget actions set vars, that var changes add\n options to changes and that themes work correctly.\n \"\"\"\n @classmethod\n def setUpClass(cls):\n page = cls.page = dialog.highpage\n dialog.note.select(page)\n page.set_theme_type = Func()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "KeysPageTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "class KeysPageTest(unittest.TestCase):\n \"\"\"Test that keys tab widgets enable users to make changes.\n Test that widget actions set vars, that var changes add\n options to changes and that key sets works correctly.\n \"\"\"\n @classmethod\n def setUpClass(cls):\n page = cls.page = dialog.keyspage\n dialog.note.select(page)\n page.set_keys_type = Func()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "WinPageTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "class WinPageTest(unittest.TestCase):\n \"\"\"Test that general tab widgets enable users to make changes.\n Test that widget actions set vars, that var changes add\n options to changes.\n \"\"\"\n @classmethod\n def setUpClass(cls):\n page = cls.page = dialog.winpage\n dialog.note.select(page)\n page.update()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "ShedPageTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "class ShedPageTest(unittest.TestCase):\n \"\"\"Test that shed tab widgets enable users to make changes.\n Test that widget actions set vars, that var changes add\n options to changes.\n \"\"\"\n @classmethod\n def setUpClass(cls):\n page = cls.page = dialog.shedpage\n dialog.note.select(page)\n page.update()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "ExtPageTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "class ExtPageTest(unittest.TestCase):\n \"\"\"Test that the help source list works correctly.\"\"\"\n @classmethod\n def setUpClass(cls):\n page = dialog.extpage\n dialog.note.select(page)\nclass HelpSourceTest(unittest.TestCase):\n \"\"\"Test that the help source list works correctly.\"\"\"\n @classmethod\n def setUpClass(cls):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "HelpSourceTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "class HelpSourceTest(unittest.TestCase):\n \"\"\"Test that the help source list works correctly.\"\"\"\n @classmethod\n def setUpClass(cls):\n page = dialog.extpage\n dialog.note.select(page)\n frame = cls.frame = page.frame_help\n frame.set = frame.set_add_delete_state = Func()\n frame.upc = frame.update_help_changes = Func()\n frame.update()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "VarTraceTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "class VarTraceTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.tracers = configdialog.VarTrace()\n cls.iv = IntVar(root)\n cls.bv = BooleanVar(root)\n @classmethod\n def tearDownClass(cls):\n del cls.tracers, cls.iv, cls.bv\n def setUp(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "setUpModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "def setUpModule():\n global root, dialog\n idleConf.userCfg = testcfg\n root = Tk()\n # root.withdraw() # Comment out, see issue 30870\n dialog = configdialog.ConfigDialog(root, 'Test', _utest=True)\ndef tearDownModule():\n global root, dialog\n idleConf.userCfg = usercfg\n tracers.detach()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "def tearDownModule():\n global root, dialog\n idleConf.userCfg = usercfg\n tracers.detach()\n tracers.clear()\n changes.clear()\n root.update_idletasks()\n root.destroy()\n root = dialog = None\nclass ConfigDialogTest(unittest.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "usercfg", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "usercfg = idleConf.userCfg\ntestcfg = {\n 'main': config.IdleUserConfParser(''),\n 'highlight': config.IdleUserConfParser(''),\n 'keys': config.IdleUserConfParser(''),\n 'extensions': config.IdleUserConfParser(''),\n}\nroot = None\ndialog = None\nmainpage = changes['main']", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "testcfg", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "testcfg = {\n 'main': config.IdleUserConfParser(''),\n 'highlight': config.IdleUserConfParser(''),\n 'keys': config.IdleUserConfParser(''),\n 'extensions': config.IdleUserConfParser(''),\n}\nroot = None\ndialog = None\nmainpage = changes['main']\nhighpage = changes['highlight']", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "root", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "root = None\ndialog = None\nmainpage = changes['main']\nhighpage = changes['highlight']\nkeyspage = changes['keys']\nextpage = changes['extensions']\ndef setUpModule():\n global root, dialog\n idleConf.userCfg = testcfg\n root = Tk()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "dialog", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "dialog = None\nmainpage = changes['main']\nhighpage = changes['highlight']\nkeyspage = changes['keys']\nextpage = changes['extensions']\ndef setUpModule():\n global root, dialog\n idleConf.userCfg = testcfg\n root = Tk()\n # root.withdraw() # Comment out, see issue 30870", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "mainpage", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "mainpage = changes['main']\nhighpage = changes['highlight']\nkeyspage = changes['keys']\nextpage = changes['extensions']\ndef setUpModule():\n global root, dialog\n idleConf.userCfg = testcfg\n root = Tk()\n # root.withdraw() # Comment out, see issue 30870\n dialog = configdialog.ConfigDialog(root, 'Test', _utest=True)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "highpage", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "highpage = changes['highlight']\nkeyspage = changes['keys']\nextpage = changes['extensions']\ndef setUpModule():\n global root, dialog\n idleConf.userCfg = testcfg\n root = Tk()\n # root.withdraw() # Comment out, see issue 30870\n dialog = configdialog.ConfigDialog(root, 'Test', _utest=True)\ndef tearDownModule():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "keyspage", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "keyspage = changes['keys']\nextpage = changes['extensions']\ndef setUpModule():\n global root, dialog\n idleConf.userCfg = testcfg\n root = Tk()\n # root.withdraw() # Comment out, see issue 30870\n dialog = configdialog.ConfigDialog(root, 'Test', _utest=True)\ndef tearDownModule():\n global root, dialog", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "extpage", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "peekOfCode": "extpage = changes['extensions']\ndef setUpModule():\n global root, dialog\n idleConf.userCfg = testcfg\n root = Tk()\n # root.withdraw() # Comment out, see issue 30870\n dialog = configdialog.ConfigDialog(root, 'Test', _utest=True)\ndef tearDownModule():\n global root, dialog\n idleConf.userCfg = usercfg", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_configdialog", "documentation": {} }, { "label": "ValidationTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config_key", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config_key", "peekOfCode": "class ValidationTest(unittest.TestCase):\n \"Test validation methods: ok, keys_ok, bind_ok.\"\n class Validator(gkd):\n def __init__(self, *args, **kwargs):\n config_key.GetKeysDialog.__init__(self, *args, **kwargs)\n class list_keys_final:\n get = Func()\n self.list_keys_final = list_keys_final\n get_modifiers = Func()\n showerror = Mbox_func()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config_key", "documentation": {} }, { "label": "ToggleLevelTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config_key", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config_key", "peekOfCode": "class ToggleLevelTest(unittest.TestCase):\n \"Test toggle between Basic and Advanced frames.\"\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.dialog = gkd(cls.root, 'Title', '<>', [], _utest=True)\n @classmethod\n def tearDownClass(cls):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config_key", "documentation": {} }, { "label": "KeySelectionTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config_key", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config_key", "peekOfCode": "class KeySelectionTest(unittest.TestCase):\n \"Test selecting key on Basic frames.\"\n class Basic(gkd):\n def __init__(self, *args, **kwargs):\n super().__init__(*args, **kwargs)\n class list_keys_final:\n get = Func()\n select_clear = Func()\n yview = Func()\n self.list_keys_final = list_keys_final", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config_key", "documentation": {} }, { "label": "CancelTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config_key", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config_key", "peekOfCode": "class CancelTest(unittest.TestCase):\n \"Simulate user clicking [Cancel] button.\"\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.dialog = gkd(cls.root, 'Title', '<>', [], _utest=True)\n @classmethod\n def tearDownClass(cls):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config_key", "documentation": {} }, { "label": "HelperTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config_key", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config_key", "peekOfCode": "class HelperTest(unittest.TestCase):\n \"Test module level helper functions.\"\n def test_translate_key(self):\n tr = config_key.translate_key\n eq = self.assertEqual\n # Letters return unchanged with no 'Shift'.\n eq(tr('q', []), 'Key-q')\n eq(tr('q', ['Control', 'Alt']), 'Key-q')\n # 'Shift' uppercases single lowercase letters.\n eq(tr('q', ['Shift']), 'Key-Q')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config_key", "documentation": {} }, { "label": "gkd", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config_key", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config_key", "peekOfCode": "gkd = config_key.GetKeysDialog\nclass ValidationTest(unittest.TestCase):\n \"Test validation methods: ok, keys_ok, bind_ok.\"\n class Validator(gkd):\n def __init__(self, *args, **kwargs):\n config_key.GetKeysDialog.__init__(self, *args, **kwargs)\n class list_keys_final:\n get = Func()\n self.list_keys_final = list_keys_final\n get_modifiers = Func()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_config_key", "documentation": {} }, { "label": "NameSpaceTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugger", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugger", "peekOfCode": "class NameSpaceTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.root = Tk()\n cls.root.withdraw()\n @classmethod\n def tearDownClass(cls):\n cls.root.destroy()\n del cls.root\n def test_init(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugger", "documentation": {} }, { "label": "Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugger_r", "peekOfCode": "class Test(unittest.TestCase):\n## @classmethod\n## def setUpClass(cls):\n## requires('gui')\n## cls.root = Tk()\n##\n## @classmethod\n## def tearDownClass(cls):\n## cls.root.destroy()\n## del cls.root", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugger_r", "documentation": {} }, { "label": "IdbAdapterTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugger_r", "peekOfCode": "class IdbAdapterTest(unittest.TestCase):\n def test_dict_item_noattr(self): # Issue 33065.\n class BinData:\n def __repr__(self):\n return self.length\n debugger_r.dicttable[0] = {'BinData': BinData()}\n idb = debugger_r.IdbAdapter(None)\n self.assertTrue(idb.dict_item(0, 'BinData'))\n debugger_r.dicttable.clear()\nif __name__ == '__main__':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugger_r", "documentation": {} }, { "label": "ObjectTreeItemTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj", "peekOfCode": "class ObjectTreeItemTest(unittest.TestCase):\n def test_init(self):\n ti = debugobj.ObjectTreeItem('label', 22)\n self.assertEqual(ti.labeltext, 'label')\n self.assertEqual(ti.object, 22)\n self.assertEqual(ti.setfunction, None)\nclass ClassTreeItemTest(unittest.TestCase):\n def test_isexpandable(self):\n ti = debugobj.ClassTreeItem('label', 0)\n self.assertTrue(ti.IsExpandable())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj", "documentation": {} }, { "label": "ClassTreeItemTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj", "peekOfCode": "class ClassTreeItemTest(unittest.TestCase):\n def test_isexpandable(self):\n ti = debugobj.ClassTreeItem('label', 0)\n self.assertTrue(ti.IsExpandable())\nclass AtomicObjectTreeItemTest(unittest.TestCase):\n def test_isexpandable(self):\n ti = debugobj.AtomicObjectTreeItem('label', 0)\n self.assertFalse(ti.IsExpandable())\nclass SequenceTreeItemTest(unittest.TestCase):\n def test_isexpandable(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj", "documentation": {} }, { "label": "AtomicObjectTreeItemTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj", "peekOfCode": "class AtomicObjectTreeItemTest(unittest.TestCase):\n def test_isexpandable(self):\n ti = debugobj.AtomicObjectTreeItem('label', 0)\n self.assertFalse(ti.IsExpandable())\nclass SequenceTreeItemTest(unittest.TestCase):\n def test_isexpandable(self):\n ti = debugobj.SequenceTreeItem('label', ())\n self.assertFalse(ti.IsExpandable())\n ti = debugobj.SequenceTreeItem('label', (1,))\n self.assertTrue(ti.IsExpandable())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj", "documentation": {} }, { "label": "SequenceTreeItemTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj", "peekOfCode": "class SequenceTreeItemTest(unittest.TestCase):\n def test_isexpandable(self):\n ti = debugobj.SequenceTreeItem('label', ())\n self.assertFalse(ti.IsExpandable())\n ti = debugobj.SequenceTreeItem('label', (1,))\n self.assertTrue(ti.IsExpandable())\n def test_keys(self):\n ti = debugobj.SequenceTreeItem('label', 'abc')\n self.assertEqual(list(ti.keys()), [0, 1, 2])\nclass DictTreeItemTest(unittest.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj", "documentation": {} }, { "label": "DictTreeItemTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj", "peekOfCode": "class DictTreeItemTest(unittest.TestCase):\n def test_isexpandable(self):\n ti = debugobj.DictTreeItem('label', {})\n self.assertFalse(ti.IsExpandable())\n ti = debugobj.DictTreeItem('label', {1:1})\n self.assertTrue(ti.IsExpandable())\n def test_keys(self):\n ti = debugobj.DictTreeItem('label', {1:1, 0:0, 2:2})\n self.assertEqual(ti.keys(), [0, 1, 2])\nif __name__ == '__main__':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj", "documentation": {} }, { "label": "WrappedObjectTreeItemTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj_r", "peekOfCode": "class WrappedObjectTreeItemTest(unittest.TestCase):\n def test_getattr(self):\n ti = debugobj_r.WrappedObjectTreeItem(list)\n self.assertEqual(ti.append, list.append)\nclass StubObjectTreeItemTest(unittest.TestCase):\n def test_init(self):\n ti = debugobj_r.StubObjectTreeItem('socket', 1111)\n self.assertEqual(ti.sockio, 'socket')\n self.assertEqual(ti.oid, 1111)\nif __name__ == '__main__':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj_r", "documentation": {} }, { "label": "StubObjectTreeItemTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj_r", "peekOfCode": "class StubObjectTreeItemTest(unittest.TestCase):\n def test_init(self):\n ti = debugobj_r.StubObjectTreeItem('socket', 1111)\n self.assertEqual(ti.sockio, 'socket')\n self.assertEqual(ti.oid, 1111)\nif __name__ == '__main__':\n unittest.main(verbosity=2)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_debugobj_r", "documentation": {} }, { "label": "DelegatorTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_delegator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_delegator", "peekOfCode": "class DelegatorTest(unittest.TestCase):\n def test_mydel(self):\n # Test a simple use scenario.\n # Initialize an int delegator.\n mydel = Delegator(int)\n self.assertIs(mydel.delegate, int)\n self.assertEqual(mydel._Delegator__cache, set())\n # Trying to access a non-attribute of int fails.\n self.assertRaises(AttributeError, mydel.__getattr__, 'xyz')\n # Add real int attribute 'bit_length' by accessing it.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_delegator", "documentation": {} }, { "label": "PasteTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editmenu", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editmenu", "peekOfCode": "class PasteTest(unittest.TestCase):\n '''Test pasting into widgets that allow pasting.\n On X11, replacing selections requires tk fix.\n '''\n @classmethod\n def setUpClass(cls):\n cls.root = root = tk.Tk()\n cls.root.withdraw()\n pyshell.fix_x11_paste(root)\n cls.text = tk.Text(root)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editmenu", "documentation": {} }, { "label": "EditorWindowTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editor", "peekOfCode": "class EditorWindowTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n @classmethod\n def tearDownClass(cls):\n cls.root.update_idletasks()\n for id in cls.root.tk.call('after', 'info'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editor", "documentation": {} }, { "label": "TestGetLineIndent", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editor", "peekOfCode": "class TestGetLineIndent(unittest.TestCase):\n def test_empty_lines(self):\n for tabwidth in [1, 2, 4, 6, 8]:\n for line in ['', '\\n']:\n with self.subTest(line=line, tabwidth=tabwidth):\n self.assertEqual(\n editor.get_line_indent(line, tabwidth=tabwidth),\n (0, 0),\n )\n def test_tabwidth_4(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editor", "documentation": {} }, { "label": "IndentAndNewlineTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editor", "peekOfCode": "class IndentAndNewlineTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.window = Editor(root=cls.root)\n cls.window.indentwidth = 2\n cls.window.tabwidth = 2\n @classmethod", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editor", "documentation": {} }, { "label": "RMenuTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editor", "peekOfCode": "class RMenuTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.window = Editor(root=cls.root)\n @classmethod\n def tearDownClass(cls):\n cls.window._close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editor", "documentation": {} }, { "label": "insert", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editor", "peekOfCode": "def insert(text, string):\n text.delete('1.0', 'end')\n text.insert('end', string)\n text.update() # Force update for colorizer to finish.\nclass IndentAndNewlineTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editor", "documentation": {} }, { "label": "Editor", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editor", "peekOfCode": "Editor = editor.EditorWindow\nclass EditorWindowTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n @classmethod\n def tearDownClass(cls):\n cls.root.update_idletasks()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_editor", "documentation": {} }, { "label": "FileListTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_filelist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_filelist", "peekOfCode": "class FileListTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n @classmethod\n def tearDownClass(cls):\n cls.root.update_idletasks()\n for id in cls.root.tk.call('after', 'info'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_filelist", "documentation": {} }, { "label": "Is_Get_Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "peekOfCode": "class Is_Get_Test(unittest.TestCase):\n \"\"\"Test the is_ and get_ functions\"\"\"\n test_comment = '# This is a comment'\n test_nocomment = 'This is not a comment'\n trailingws_comment = '# This is a comment '\n leadingws_comment = ' # This is a comment'\n leadingws_nocomment = ' This is not a comment'\n def test_is_all_white(self):\n self.assertTrue(ft.is_all_white(''))\n self.assertTrue(ft.is_all_white('\\t\\n\\r\\f\\v'))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "documentation": {} }, { "label": "FindTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "peekOfCode": "class FindTest(unittest.TestCase):\n \"\"\"Test the find_paragraph function in paragraph module.\n Using the runcase() function, find_paragraph() is called with 'mark' set at\n multiple indexes before and inside the test paragraph.\n It appears that code with the same indentation as a quoted string is grouped\n as part of the same paragraph, which is probably incorrect behavior.\n \"\"\"\n @classmethod\n def setUpClass(cls):\n from idlelib.idle_test.mock_tk import Text", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "documentation": {} }, { "label": "ReformatFunctionTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "peekOfCode": "class ReformatFunctionTest(unittest.TestCase):\n \"\"\"Test the reformat_paragraph function without the editor window.\"\"\"\n def test_reformat_paragraph(self):\n Equal = self.assertEqual\n reform = ft.reformat_paragraph\n hw = \"O hello world\"\n Equal(reform(' ', 1), ' ')\n Equal(reform(\"Hello world\", 20), \"Hello world\")\n # Test without leading newline\n Equal(reform(hw, 1), \"O\\nhello\\nworld\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "documentation": {} }, { "label": "ReformatCommentTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "peekOfCode": "class ReformatCommentTest(unittest.TestCase):\n \"\"\"Test the reformat_comment function without the editor window.\"\"\"\n def test_reformat_comment(self):\n Equal = self.assertEqual\n # reformat_comment formats to a minimum of 20 characters\n test_string = (\n \" \\\"\\\"\\\"this is a test of a reformat for a triple quoted string\"\n \" will it reformat to less than 70 characters for me?\\\"\\\"\\\"\")\n result = ft.reformat_comment(test_string, 70, \" \")\n expected = (", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "documentation": {} }, { "label": "FormatClassTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "peekOfCode": "class FormatClassTest(unittest.TestCase):\n def test_init_close(self):\n instance = ft.FormatParagraph('editor')\n self.assertEqual(instance.editwin, 'editor')\n instance.close()\n self.assertEqual(instance.editwin, None)\n# For testing format_paragraph_event, Initialize FormatParagraph with\n# a mock Editor with .text and .get_selection_indices. The text must\n# be a Text wrapper that adds two methods\n# A real EditorWindow creates unneeded, time-consuming baggage and", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "documentation": {} }, { "label": "TextWrapper", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "peekOfCode": "class TextWrapper:\n def __init__(self, master):\n self.text = Text(master=master)\n def __getattr__(self, name):\n return getattr(self.text, name)\n def undo_block_start(self): pass\n def undo_block_stop(self): pass\nclass Editor:\n def __init__(self, root):\n self.text = TextWrapper(root)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "documentation": {} }, { "label": "Editor", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "peekOfCode": "class Editor:\n def __init__(self, root):\n self.text = TextWrapper(root)\n get_selection_indices = EditorWindow. get_selection_indices\nclass FormatEventTest(unittest.TestCase):\n \"\"\"Test the formatting of text inside a Text widget.\n This is done with FormatParagraph.format.paragraph_event,\n which calls functions in the module as appropriate.\n \"\"\"\n test_string = (", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "documentation": {} }, { "label": "FormatEventTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "peekOfCode": "class FormatEventTest(unittest.TestCase):\n \"\"\"Test the formatting of text inside a Text widget.\n This is done with FormatParagraph.format.paragraph_event,\n which calls functions in the module as appropriate.\n \"\"\"\n test_string = (\n \" '''this is a test of a reformat for a triple \"\n \"quoted string will it reformat to less than 70 \"\n \"characters for me?'''\\n\")\n multiline_test_string = (", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "documentation": {} }, { "label": "DummyEditwin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "peekOfCode": "class DummyEditwin:\n def __init__(self, root, text):\n self.root = root\n self.text = text\n self.indentwidth = 4\n self.tabwidth = 4\n self.usetabs = False\n self.context_use_ps1 = True\n _make_blanks = EditorWindow._make_blanks\n get_selection_indices = EditorWindow.get_selection_indices", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "documentation": {} }, { "label": "FormatRegionTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "peekOfCode": "class FormatRegionTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.text = Text(cls.root)\n cls.text.undo_block_start = mock.Mock()\n cls.text.undo_block_stop = mock.Mock()\n cls.editor = DummyEditwin(cls.root, cls.text)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "documentation": {} }, { "label": "C1", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "peekOfCode": "class C1:\n # Class comment.\n def __init__(self, a, b):\n self.a = a\n self.b = b\n def compare(self):\n if a > b:\n return a\n elif a < b:\n return b", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "documentation": {} }, { "label": "IndentsTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "peekOfCode": "class IndentsTest(unittest.TestCase):\n @mock.patch.object(ft, \"askyesno\")\n def test_toggle_tabs(self, askyesno):\n editor = DummyEditwin(None, None) # usetabs == False.\n indents = ft.Indents(editor)\n askyesno.return_value = True\n indents.toggle_tabs_event(None)\n self.assertEqual(editor.usetabs, True)\n self.assertEqual(editor.indentwidth, 8)\n indents.toggle_tabs_event(None)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "documentation": {} }, { "label": "RstripTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "peekOfCode": "class RstripTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.text = Text(cls.root)\n cls.editor = MockEditor(text=cls.text)\n cls.do_rstrip = ft.Rstrip(cls.editor).do_rstrip\n @classmethod", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_format", "documentation": {} }, { "label": "Dummy_searchengine", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "peekOfCode": "class Dummy_searchengine:\n '''GrepDialog.__init__ calls parent SearchDiabolBase which attaches the\n passed in SearchEngine instance as attribute 'engine'. Only a few of the\n many possible self.engine.x attributes are needed here.\n '''\n def getpat(self):\n return self._pat\nsearchengine = Dummy_searchengine()\nclass Dummy_grep:\n # Methods tested", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "documentation": {} }, { "label": "Dummy_grep", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "peekOfCode": "class Dummy_grep:\n # Methods tested\n #default_command = GrepDialog.default_command\n grep_it = grep.GrepDialog.grep_it\n # Other stuff needed\n recvar = Var(False)\n engine = searchengine\n def close(self): # gui method\n pass\n_grep = Dummy_grep()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "documentation": {} }, { "label": "FindfilesTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "peekOfCode": "class FindfilesTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.realpath = os.path.realpath(__file__)\n cls.path = os.path.dirname(cls.realpath)\n @classmethod\n def tearDownClass(cls):\n del cls.realpath, cls.path\n def test_invaliddir(self):\n with captured_stdout() as s:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "documentation": {} }, { "label": "Grep_itTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "peekOfCode": "class Grep_itTest(unittest.TestCase):\n # Test captured reports with 0 and some hits.\n # Should test file names, but Windows reports have mixed / and \\ separators\n # from incomplete replacement, so 'later'.\n def report(self, pat):\n _grep.engine._pat = pat\n with captured_stdout() as s:\n _grep.grep_it(re.compile(pat), __file__)\n lines = s.getvalue().split('\\n')\n lines.pop() # remove bogus '' after last \\n", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "documentation": {} }, { "label": "Default_commandTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "peekOfCode": "class Default_commandTest(unittest.TestCase):\n # To write this, move outwin import to top of GrepDialog\n # so it can be replaced by captured_stdout in class setup/teardown.\n pass\nif __name__ == '__main__':\n unittest.main(verbosity=2)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "documentation": {} }, { "label": "searchengine", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "peekOfCode": "searchengine = Dummy_searchengine()\nclass Dummy_grep:\n # Methods tested\n #default_command = GrepDialog.default_command\n grep_it = grep.GrepDialog.grep_it\n # Other stuff needed\n recvar = Var(False)\n engine = searchengine\n def close(self): # gui method\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "documentation": {} }, { "label": "_grep", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "peekOfCode": "_grep = Dummy_grep()\nclass FindfilesTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.realpath = os.path.realpath(__file__)\n cls.path = os.path.dirname(cls.realpath)\n @classmethod\n def tearDownClass(cls):\n del cls.realpath, cls.path\n def test_invaliddir(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_grep", "documentation": {} }, { "label": "HelpFrameTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help", "peekOfCode": "class HelpFrameTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n \"By itself, this tests that file parsed without exception.\"\n cls.root = root = Tk()\n root.withdraw()\n helpfile = join(dirname(dirname(abspath(__file__))), 'help.html')\n cls.frame = help.HelpFrame(root, helpfile)\n @classmethod\n def tearDownClass(cls):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help", "documentation": {} }, { "label": "LiveDialogTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help_about", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help_about", "peekOfCode": "class LiveDialogTest(unittest.TestCase):\n \"\"\"Simulate user clicking buttons other than [Close].\n Test that invoked textview has text from source.\n \"\"\"\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.dialog = About(cls.root, 'About IDLE', _utest=True)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help_about", "documentation": {} }, { "label": "DefaultTitleTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help_about", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help_about", "peekOfCode": "class DefaultTitleTest(unittest.TestCase):\n \"Test default title.\"\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.dialog = About(cls.root, _utest=True)\n @classmethod\n def tearDownClass(cls):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help_about", "documentation": {} }, { "label": "CloseTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help_about", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help_about", "peekOfCode": "class CloseTest(unittest.TestCase):\n \"\"\"Simulate user clicking [Close] button\"\"\"\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.dialog = About(cls.root, 'About IDLE', _utest=True)\n @classmethod\n def tearDownClass(cls):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help_about", "documentation": {} }, { "label": "Dummy_about_dialog", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help_about", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help_about", "peekOfCode": "class Dummy_about_dialog:\n # Dummy class for testing file display functions.\n idle_credits = About.show_idle_credits\n idle_readme = About.show_readme\n idle_news = About.show_idle_news\n # Called by the above\n display_file_text = About.display_file_text\n _utest = True\nclass DisplayFileTest(unittest.TestCase):\n \"\"\"Test functions that display files.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help_about", "documentation": {} }, { "label": "DisplayFileTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help_about", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help_about", "peekOfCode": "class DisplayFileTest(unittest.TestCase):\n \"\"\"Test functions that display files.\n While somewhat redundant with gui-based test_file_dialog,\n these unit tests run on all buildbots, not just a few.\n \"\"\"\n dialog = Dummy_about_dialog()\n @classmethod\n def setUpClass(cls):\n cls.orig_error = textview.showerror\n cls.orig_view = textview.view_text", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help_about", "documentation": {} }, { "label": "About", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help_about", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help_about", "peekOfCode": "About = help_about.AboutDialog\nclass LiveDialogTest(unittest.TestCase):\n \"\"\"Simulate user clicking buttons other than [Close].\n Test that invoked textview has text from source.\n \"\"\"\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_help_about", "documentation": {} }, { "label": "StoreTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_history", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_history", "peekOfCode": "class StoreTest(unittest.TestCase):\n '''Tests History.__init__ and History.store with mock Text'''\n @classmethod\n def setUpClass(cls):\n cls.text = mkText()\n cls.history = History(cls.text)\n def tearDown(self):\n self.text.delete('1.0', 'end')\n self.history.history = []\n def test_init(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_history", "documentation": {} }, { "label": "TextWrapper", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_history", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_history", "peekOfCode": "class TextWrapper:\n def __init__(self, master):\n self.text = tkText(master=master)\n self._bell = False\n def __getattr__(self, name):\n return getattr(self.text, name)\n def bell(self):\n self._bell = True\nclass FetchTest(unittest.TestCase):\n '''Test History.fetch with wrapped tk.Text.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_history", "documentation": {} }, { "label": "FetchTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_history", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_history", "peekOfCode": "class FetchTest(unittest.TestCase):\n '''Test History.fetch with wrapped tk.Text.\n '''\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = tk.Tk()\n cls.root.withdraw()\n def setUp(self):\n self.text = text = TextWrapper(self.root)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_history", "documentation": {} }, { "label": "line1", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_history", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_history", "peekOfCode": "line1 = 'a = 7'\nline2 = 'b = a'\nclass StoreTest(unittest.TestCase):\n '''Tests History.__init__ and History.store with mock Text'''\n @classmethod\n def setUpClass(cls):\n cls.text = mkText()\n cls.history = History(cls.text)\n def tearDown(self):\n self.text.delete('1.0', 'end')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_history", "documentation": {} }, { "label": "line2", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_history", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_history", "peekOfCode": "line2 = 'b = a'\nclass StoreTest(unittest.TestCase):\n '''Tests History.__init__ and History.store with mock Text'''\n @classmethod\n def setUpClass(cls):\n cls.text = mkText()\n cls.history = History(cls.text)\n def tearDown(self):\n self.text.delete('1.0', 'end')\n self.history.history = []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_history", "documentation": {} }, { "label": "DummyEditwin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_hyperparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_hyperparser", "peekOfCode": "class DummyEditwin:\n def __init__(self, text):\n self.text = text\n self.indentwidth = 8\n self.tabwidth = 8\n self.prompt_last_line = '>>>'\n self.num_context_lines = 50, 500, 1000\n _build_char_in_string_func = EditorWindow._build_char_in_string_func\n is_char_in_string = EditorWindow.is_char_in_string\nclass HyperParserTest(unittest.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_hyperparser", "documentation": {} }, { "label": "HyperParserTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_hyperparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_hyperparser", "peekOfCode": "class HyperParserTest(unittest.TestCase):\n code = (\n '\"\"\"This is a module docstring\"\"\"\\n'\n '# this line is a comment\\n'\n 'x = \"this is a string\"\\n'\n \"y = 'this is also a string'\\n\"\n 'l = [i for i in range(10)]\\n'\n 'm = [py*py for # comment\\n'\n ' py in l]\\n'\n 'x.__len__\\n'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_hyperparser", "documentation": {} }, { "label": "IOBindingTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_iomenu", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_iomenu", "peekOfCode": "class IOBindingTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.editwin = EditorWindow(root=cls.root)\n cls.io = iomenu.IOBinding(cls.editwin)\n @classmethod\n def tearDownClass(cls):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_iomenu", "documentation": {} }, { "label": "FiletypesTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_iomenu", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_iomenu", "peekOfCode": "class FiletypesTest(unittest.TestCase):\n def test_python_source_files(self):\n for extension in util.py_extensions:\n with self.subTest(extension=extension):\n self.assertTrue(\n _extension_in_filetypes(extension)\n )\n def test_text_files(self):\n self.assertTrue(_extension_in_filetypes('.txt'))\n def test_all_files(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_iomenu", "documentation": {} }, { "label": "InitTktypeTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "peekOfCode": "class InitTktypeTest(unittest.TestCase):\n \"Test _init_tk_type.\"\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = tk.Tk()\n cls.root.withdraw()\n cls.orig_platform = macosx.platform\n @classmethod\n def tearDownClass(cls):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "documentation": {} }, { "label": "IsTypeTkTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "peekOfCode": "class IsTypeTkTest(unittest.TestCase):\n \"Test each of the four isTypeTk predecates.\"\n isfuncs = ((macosx.isAquaTk, ('carbon', 'cocoa')),\n (macosx.isCarbonTk, ('carbon')),\n (macosx.isCocoaTk, ('cocoa')),\n (macosx.isXQuartz, ('xquartz')),\n )\n @mock.patch('idlelib.macosx._init_tk_type')\n def test_is_calls_init(self, mockinit):\n \"Test that each isTypeTk calls _init_tk_type when _tk_type is None.\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "documentation": {} }, { "label": "SetupTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "peekOfCode": "class SetupTest(unittest.TestCase):\n \"Test setupApp.\"\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = tk.Tk()\n cls.root.withdraw()\n def cmd(tkpath, func):\n assert isinstance(tkpath, str)\n assert isinstance(func, type(cmd))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "documentation": {} }, { "label": "setUpModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "peekOfCode": "def setUpModule():\n global orig_tktype\n orig_tktype = macosx._tk_type\ndef tearDownModule():\n macosx._tk_type = orig_tktype\nclass InitTktypeTest(unittest.TestCase):\n \"Test _init_tk_type.\"\n @classmethod\n def setUpClass(cls):\n requires('gui')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "peekOfCode": "def tearDownModule():\n macosx._tk_type = orig_tktype\nclass InitTktypeTest(unittest.TestCase):\n \"Test _init_tk_type.\"\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = tk.Tk()\n cls.root.withdraw()\n cls.orig_platform = macosx.platform", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "documentation": {} }, { "label": "mactypes", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "peekOfCode": "mactypes = {'carbon', 'cocoa', 'xquartz'}\nnontypes = {'other'}\nalltypes = mactypes | nontypes\ndef setUpModule():\n global orig_tktype\n orig_tktype = macosx._tk_type\ndef tearDownModule():\n macosx._tk_type = orig_tktype\nclass InitTktypeTest(unittest.TestCase):\n \"Test _init_tk_type.\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "documentation": {} }, { "label": "nontypes", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "peekOfCode": "nontypes = {'other'}\nalltypes = mactypes | nontypes\ndef setUpModule():\n global orig_tktype\n orig_tktype = macosx._tk_type\ndef tearDownModule():\n macosx._tk_type = orig_tktype\nclass InitTktypeTest(unittest.TestCase):\n \"Test _init_tk_type.\"\n @classmethod", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "documentation": {} }, { "label": "alltypes", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "peekOfCode": "alltypes = mactypes | nontypes\ndef setUpModule():\n global orig_tktype\n orig_tktype = macosx._tk_type\ndef tearDownModule():\n macosx._tk_type = orig_tktype\nclass InitTktypeTest(unittest.TestCase):\n \"Test _init_tk_type.\"\n @classmethod\n def setUpClass(cls):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_macosx", "documentation": {} }, { "label": "MainMenuTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_mainmenu", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_mainmenu", "peekOfCode": "class MainMenuTest(unittest.TestCase):\n def test_menudefs(self):\n actual = [item[0] for item in mainmenu.menudefs]\n expect = ['file', 'edit', 'format', 'run', 'shell',\n 'debug', 'options', 'window', 'help']\n self.assertEqual(actual, expect)\n def test_default_keydefs(self):\n self.assertGreaterEqual(len(mainmenu.default_keydefs), 50)\n def test_tcl_indexes(self):\n # Test tcl patterns used to find menuitem to alter.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_mainmenu", "documentation": {} }, { "label": "MultiCallTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_multicall", "peekOfCode": "class MultiCallTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.mc = multicall.MultiCallCreator(Text)\n @classmethod\n def tearDownClass(cls):\n del cls.mc", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_multicall", "documentation": {} }, { "label": "OutputWindowTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_outwin", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_outwin", "peekOfCode": "class OutputWindowTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n root = cls.root = Tk()\n root.withdraw()\n w = cls.window = outwin.OutputWindow(None, None, None, root)\n cls.text = w.text = Text(root)\n @classmethod\n def tearDownClass(cls):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_outwin", "documentation": {} }, { "label": "ModuleFunctionTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_outwin", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_outwin", "peekOfCode": "class ModuleFunctionTest(unittest.TestCase):\n @classmethod\n def setUp(cls):\n outwin.file_line_progs = None\n def test_compile_progs(self):\n outwin.compile_progs()\n for pat, regex in zip(outwin.file_line_pats, outwin.file_line_progs):\n self.assertEqual(regex.pattern, pat)\n @mock.patch('builtins.open')\n def test_file_line_helper(self, mock_open):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_outwin", "documentation": {} }, { "label": "DummyEditwin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_parenmatch", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_parenmatch", "peekOfCode": "class DummyEditwin:\n def __init__(self, text):\n self.text = text\n self.indentwidth = 8\n self.tabwidth = 8\n self.prompt_last_line = '>>>' # Currently not used by parenmatch.\nclass ParenMatchTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.root = Tk()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_parenmatch", "documentation": {} }, { "label": "ParenMatchTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_parenmatch", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_parenmatch", "peekOfCode": "class ParenMatchTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.root = Tk()\n cls.root.withdraw()\n cls.text = Text(cls.root)\n cls.editwin = DummyEditwin(cls.text)\n cls.editwin.text_frame = Mock()\n @classmethod\n def tearDownClass(cls):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_parenmatch", "documentation": {} }, { "label": "PathBrowserTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pathbrowser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pathbrowser", "peekOfCode": "class PathBrowserTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.pb = pathbrowser.PathBrowser(cls.root, _utest=True)\n @classmethod\n def tearDownClass(cls):\n cls.pb.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pathbrowser", "documentation": {} }, { "label": "DirBrowserTreeItemTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pathbrowser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pathbrowser", "peekOfCode": "class DirBrowserTreeItemTest(unittest.TestCase):\n def test_DirBrowserTreeItem(self):\n # Issue16226 - make sure that getting a sublist works\n d = pathbrowser.DirBrowserTreeItem('')\n d.GetSubList()\n self.assertEqual('', d.GetText())\n dir = os.path.split(os.path.abspath(idlelib.__file__))[0]\n self.assertEqual(d.ispackagedir(dir), True)\n self.assertEqual(d.ispackagedir(dir + '/Icons'), False)\nclass PathBrowserTreeItemTest(unittest.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pathbrowser", "documentation": {} }, { "label": "PathBrowserTreeItemTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pathbrowser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pathbrowser", "peekOfCode": "class PathBrowserTreeItemTest(unittest.TestCase):\n def test_PathBrowserTreeItem(self):\n p = pathbrowser.PathBrowserTreeItem()\n self.assertEqual(p.GetText(), 'sys.path')\n sub = p.GetSubList()\n self.assertEqual(len(sub), len(sys.path))\n self.assertEqual(type(sub[0]), pathbrowser.DirBrowserTreeItem)\nif __name__ == '__main__':\n unittest.main(verbosity=2, exit=False)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pathbrowser", "documentation": {} }, { "label": "MyFilter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_percolator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_percolator", "peekOfCode": "class MyFilter(Delegator):\n def __init__(self):\n Delegator.__init__(self, None)\n def insert(self, *args):\n self.insert_called_with = args\n self.delegate.insert(*args)\n def delete(self, *args):\n self.delete_called_with = args\n self.delegate.delete(*args)\n def uppercase_insert(self, index, chars, tags=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_percolator", "documentation": {} }, { "label": "PercolatorTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_percolator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_percolator", "peekOfCode": "class PercolatorTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.root = Tk()\n cls.text = Text(cls.root)\n @classmethod\n def tearDownClass(cls):\n del cls.text\n cls.root.destroy()\n del cls.root", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_percolator", "documentation": {} }, { "label": "ParseMapTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pyparse", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pyparse", "peekOfCode": "class ParseMapTest(unittest.TestCase):\n def test_parsemap(self):\n keepwhite = {ord(c): ord(c) for c in ' \\t\\n\\r'}\n mapping = pyparse.ParseMap(keepwhite)\n self.assertEqual(mapping[ord('\\t')], ord('\\t'))\n self.assertEqual(mapping[ord('a')], ord('x'))\n self.assertEqual(mapping[1000], ord('x'))\n def test_trans(self):\n # trans is the production instance of ParseMap, used in _study1\n parser = pyparse.Parser(4, 4)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pyparse", "documentation": {} }, { "label": "PyParseTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pyparse", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pyparse", "peekOfCode": "class PyParseTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.parser = pyparse.Parser(indentwidth=4, tabwidth=4)\n @classmethod\n def tearDownClass(cls):\n del cls.parser\n def test_init(self):\n self.assertEqual(self.parser.indentwidth, 4)\n self.assertEqual(self.parser.tabwidth, 4)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pyparse", "documentation": {} }, { "label": "FunctionTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pyshell", "peekOfCode": "class FunctionTest(unittest.TestCase):\n # Test stand-alone module level non-gui functions.\n def test_restart_line_wide(self):\n eq = self.assertEqual\n for file, mul, extra in (('', 22, ''), ('finame', 21, '=')):\n width = 60\n bar = mul * '='\n with self.subTest(file=file, bar=bar):\n file = file or 'Shell'\n line = pyshell.restart_line(width, file)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pyshell", "documentation": {} }, { "label": "PyShellFileListTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pyshell", "peekOfCode": "class PyShellFileListTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n @classmethod\n def tearDownClass(cls):\n #cls.root.update_idletasks()\n## for id in cls.root.tk.call('after', 'info'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pyshell", "documentation": {} }, { "label": "PyShellRemoveLastNewlineAndSurroundingWhitespaceTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pyshell", "peekOfCode": "class PyShellRemoveLastNewlineAndSurroundingWhitespaceTest(unittest.TestCase):\n regexp = pyshell.PyShell._last_newline_re\n def all_removed(self, text):\n self.assertEqual('', self.regexp.sub('', text))\n def none_removed(self, text):\n self.assertEqual(text, self.regexp.sub('', text))\n def check_result(self, text, expected):\n self.assertEqual(expected, self.regexp.sub('', text))\n def test_empty(self):\n self.all_removed('')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_pyshell", "documentation": {} }, { "label": "QueryTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "peekOfCode": "class QueryTest(unittest.TestCase):\n \"Test Query base class.\"\n class Dummy_Query:\n # Test the following Query methods.\n entry_ok = query.Query.entry_ok\n ok = query.Query.ok\n cancel = query.Query.cancel\n # Add attributes and initialization needed for tests.\n def __init__(self, dummy_entry):\n self.entry = Var(value=dummy_entry)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "documentation": {} }, { "label": "SectionNameTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "peekOfCode": "class SectionNameTest(unittest.TestCase):\n \"Test SectionName subclass of Query.\"\n class Dummy_SectionName:\n entry_ok = query.SectionName.entry_ok # Function being tested.\n used_names = ['used']\n def __init__(self, dummy_entry):\n self.entry = Var(value=dummy_entry)\n self.entry_error = {'text': ''}\n def showerror(self, message):\n self.entry_error['text'] = message", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "documentation": {} }, { "label": "ModuleNameTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "peekOfCode": "class ModuleNameTest(unittest.TestCase):\n \"Test ModuleName subclass of Query.\"\n class Dummy_ModuleName:\n entry_ok = query.ModuleName.entry_ok # Function being tested.\n text0 = ''\n def __init__(self, dummy_entry):\n self.entry = Var(value=dummy_entry)\n self.entry_error = {'text': ''}\n def showerror(self, message):\n self.entry_error['text'] = message", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "documentation": {} }, { "label": "GotoTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "peekOfCode": "class GotoTest(unittest.TestCase):\n \"Test Goto subclass of Query.\"\n class Dummy_ModuleName:\n entry_ok = query.Goto.entry_ok # Function being tested.\n def __init__(self, dummy_entry):\n self.entry = Var(value=dummy_entry)\n self.entry_error = {'text': ''}\n def showerror(self, message):\n self.entry_error['text'] = message\n def test_bogus_goto(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "documentation": {} }, { "label": "HelpsourceBrowsefileTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "peekOfCode": "class HelpsourceBrowsefileTest(unittest.TestCase):\n \"Test browse_file method of ModuleName subclass of Query.\"\n class Dummy_HelpSource:\n browse_file = query.HelpSource.browse_file\n pathvar = Var()\n def test_file_replaces_path(self):\n dialog = self.Dummy_HelpSource()\n # Path is widget entry, either '' or something.\n # Func return is file dialog return, either '' or something.\n # Func return should override widget entry.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "documentation": {} }, { "label": "HelpsourcePathokTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "peekOfCode": "class HelpsourcePathokTest(unittest.TestCase):\n \"Test path_ok method of HelpSource subclass of Query.\"\n class Dummy_HelpSource:\n path_ok = query.HelpSource.path_ok\n def __init__(self, dummy_path):\n self.path = Var(value=dummy_path)\n self.path_error = {'text': ''}\n def showerror(self, message, widget=None):\n self.path_error['text'] = message\n orig_platform = query.platform # Set in test_path_ok_file.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "documentation": {} }, { "label": "HelpsourceEntryokTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "peekOfCode": "class HelpsourceEntryokTest(unittest.TestCase):\n \"Test entry_ok method of HelpSource subclass of Query.\"\n class Dummy_HelpSource:\n entry_ok = query.HelpSource.entry_ok\n entry_error = {}\n path_error = {}\n def item_ok(self):\n return self.name\n def path_ok(self):\n return self.path", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "documentation": {} }, { "label": "CustomRunCLIargsokTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "peekOfCode": "class CustomRunCLIargsokTest(unittest.TestCase):\n \"Test cli_ok method of the CustomRun subclass of Query.\"\n class Dummy_CustomRun:\n cli_args_ok = query.CustomRun.cli_args_ok\n def __init__(self, dummy_entry):\n self.entry = Var(value=dummy_entry)\n self.entry_error = {'text': ''}\n def showerror(self, message):\n self.entry_error['text'] = message\n def test_blank_args(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "documentation": {} }, { "label": "CustomRunEntryokTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "peekOfCode": "class CustomRunEntryokTest(unittest.TestCase):\n \"Test entry_ok method of the CustomRun subclass of Query.\"\n class Dummy_CustomRun:\n entry_ok = query.CustomRun.entry_ok\n entry_error = {}\n restartvar = Var()\n def cli_args_ok(self):\n return self.cli_args\n def test_entry_ok_customrun(self):\n dialog = self.Dummy_CustomRun()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "documentation": {} }, { "label": "QueryGuiTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "peekOfCode": "class QueryGuiTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = root = Tk()\n cls.root.withdraw()\n cls.dialog = query.Query(root, 'TEST', 'test', _utest=True)\n cls.dialog.destroy = mock.Mock()\n @classmethod\n def tearDownClass(cls):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "documentation": {} }, { "label": "SectionnameGuiTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "peekOfCode": "class SectionnameGuiTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n def test_click_section_name(self):\n root = Tk()\n root.withdraw()\n dialog = query.SectionName(root, 'T', 't', {'abc'}, _utest=True)\n Equal = self.assertEqual\n self.assertEqual(dialog.used_names, {'abc'})", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "documentation": {} }, { "label": "ModulenameGuiTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "peekOfCode": "class ModulenameGuiTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n def test_click_module_name(self):\n root = Tk()\n root.withdraw()\n dialog = query.ModuleName(root, 'T', 't', 'idlelib', _utest=True)\n self.assertEqual(dialog.text0, 'idlelib')\n self.assertEqual(dialog.entry.get(), 'idlelib')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "documentation": {} }, { "label": "GotoGuiTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "peekOfCode": "class GotoGuiTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n def test_click_module_name(self):\n root = Tk()\n root.withdraw()\n dialog = query.Goto(root, 'T', 't', _utest=True)\n dialog.entry.insert(0, '22')\n dialog.button_ok.invoke()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "documentation": {} }, { "label": "HelpsourceGuiTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "peekOfCode": "class HelpsourceGuiTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n def test_click_help_source(self):\n root = Tk()\n root.withdraw()\n dialog = query.HelpSource(root, 'T', menuitem='__test__',\n filepath=__file__, _utest=True)\n Equal = self.assertEqual", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "documentation": {} }, { "label": "CustomRunGuiTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "peekOfCode": "class CustomRunGuiTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n def test_click_args(self):\n root = Tk()\n root.withdraw()\n dialog = query.CustomRun(root, 'Title',\n cli_args=['a', 'b=1'], _utest=True)\n self.assertEqual(dialog.entry.get(), 'a b=1')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_query", "documentation": {} }, { "label": "InitCloseTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_redirector", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_redirector", "peekOfCode": "class InitCloseTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.text = Text(cls.root)\n @classmethod\n def tearDownClass(cls):\n del cls.text", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_redirector", "documentation": {} }, { "label": "WidgetRedirectorTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_redirector", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_redirector", "peekOfCode": "class WidgetRedirectorTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.text = Text(cls.root)\n @classmethod\n def tearDownClass(cls):\n del cls.text", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_redirector", "documentation": {} }, { "label": "ReplaceDialogTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_replace", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_replace", "peekOfCode": "class ReplaceDialogTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.root = Tk()\n cls.root.withdraw()\n se.messagebox = Mbox\n cls.engine = se.SearchEngine(cls.root)\n cls.dialog = ReplaceDialog(cls.root, cls.engine)\n cls.dialog.bell = lambda: None\n cls.dialog.ok = Mock()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_replace", "documentation": {} }, { "label": "orig_mbox", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_replace", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_replace", "peekOfCode": "orig_mbox = se.messagebox\nshowerror = Mbox.showerror\nclass ReplaceDialogTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.root = Tk()\n cls.root.withdraw()\n se.messagebox = Mbox\n cls.engine = se.SearchEngine(cls.root)\n cls.dialog = ReplaceDialog(cls.root, cls.engine)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_replace", "documentation": {} }, { "label": "showerror", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_replace", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_replace", "peekOfCode": "showerror = Mbox.showerror\nclass ReplaceDialogTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.root = Tk()\n cls.root.withdraw()\n se.messagebox = Mbox\n cls.engine = se.SearchEngine(cls.root)\n cls.dialog = ReplaceDialog(cls.root, cls.engine)\n cls.dialog.bell = lambda: None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_replace", "documentation": {} }, { "label": "CodePicklerTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_rpc", "peekOfCode": "class CodePicklerTest(unittest.TestCase):\n def test_pickle_unpickle(self):\n def f(): return a + b + c\n func, (cbytes,) = rpc.pickle_code(f.__code__)\n self.assertIs(func, rpc.unpickle_code)\n self.assertIn(b'test_rpc.py', cbytes)\n code = rpc.unpickle_code(cbytes)\n self.assertEqual(code.co_names, ('a', 'b', 'c'))\n def test_code_pickler(self):\n self.assertIn(type((lambda:None).__code__),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_rpc", "documentation": {} }, { "label": "ExceptionTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "peekOfCode": "class ExceptionTest(unittest.TestCase):\n def test_print_exception_unhashable(self):\n class UnhashableException(Exception):\n def __eq__(self, other):\n return True\n ex1 = UnhashableException('ex1')\n ex2 = UnhashableException('ex2')\n try:\n raise ex2 from ex1\n except UnhashableException:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "documentation": {} }, { "label": "S", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "peekOfCode": "class S(str):\n def __str__(self):\n return '%s:str' % type(self).__name__\n def __unicode__(self):\n return '%s:unicode' % type(self).__name__\n def __len__(self):\n return 3\n def __iter__(self):\n return iter('abc')\n def __getitem__(self, *args):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "documentation": {} }, { "label": "MockShell", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "peekOfCode": "class MockShell:\n def __init__(self):\n self.reset()\n def write(self, *args):\n self.written.append(args)\n def readline(self):\n return self.lines.pop()\n def close(self):\n pass\n def reset(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "documentation": {} }, { "label": "StdInputFilesTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "peekOfCode": "class StdInputFilesTest(unittest.TestCase):\n def test_misc(self):\n shell = MockShell()\n f = run.StdInputFile(shell, 'stdin')\n self.assertIsInstance(f, io.TextIOBase)\n self.assertEqual(f.encoding, 'utf-8')\n self.assertEqual(f.errors, 'strict')\n self.assertIsNone(f.newlines)\n self.assertEqual(f.name, '')\n self.assertFalse(f.closed)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "documentation": {} }, { "label": "StdOutputFilesTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "peekOfCode": "class StdOutputFilesTest(unittest.TestCase):\n def test_misc(self):\n shell = MockShell()\n f = run.StdOutputFile(shell, 'stdout')\n self.assertIsInstance(f, io.TextIOBase)\n self.assertEqual(f.encoding, 'utf-8')\n self.assertEqual(f.errors, 'strict')\n self.assertIsNone(f.newlines)\n self.assertEqual(f.name, '')\n self.assertFalse(f.closed)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "documentation": {} }, { "label": "RecursionLimitTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "peekOfCode": "class RecursionLimitTest(unittest.TestCase):\n # Test (un)install_recursionlimit_wrappers and fixdoc.\n def test_bad_setrecursionlimit_calls(self):\n run.install_recursionlimit_wrappers()\n self.addCleanup(run.uninstall_recursionlimit_wrappers)\n f = sys.setrecursionlimit\n self.assertRaises(TypeError, f, limit=100)\n self.assertRaises(TypeError, f, 100, 1000)\n self.assertRaises(ValueError, f, 0)\n def test_roundtrip(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "documentation": {} }, { "label": "HandleErrorTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "peekOfCode": "class HandleErrorTest(unittest.TestCase):\n # Method of MyRPCServer\n def test_fatal_error(self):\n eq = self.assertEqual\n with captured_output('__stderr__') as err,\\\n mock.patch('idlelib.run.thread.interrupt_main',\n new_callable=Func) as func:\n try:\n raise EOFError\n except EOFError:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "documentation": {} }, { "label": "ExecRuncodeTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "peekOfCode": "class ExecRuncodeTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.addClassCleanup(setattr,run,'print_exception',run.print_exception)\n cls.prt = Func() # Need reference.\n run.print_exception = cls.prt\n mockrpc = mock.Mock()\n mockrpc.console.getvar = Func(result=False)\n cls.ex = run.Executive(mockrpc)\n @classmethod", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "documentation": {} }, { "label": "idlelib.testing", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "peekOfCode": "idlelib.testing = True # Use {} for executing test user code.\nclass ExceptionTest(unittest.TestCase):\n def test_print_exception_unhashable(self):\n class UnhashableException(Exception):\n def __eq__(self, other):\n return True\n ex1 = UnhashableException('ex1')\n ex2 = UnhashableException('ex2')\n try:\n raise ex2 from ex1", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_run", "documentation": {} }, { "label": "ScriptBindingTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_runscript", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_runscript", "peekOfCode": "class ScriptBindingTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n @classmethod\n def tearDownClass(cls):\n cls.root.update_idletasks()\n for id in cls.root.tk.call('after', 'info'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_runscript", "documentation": {} }, { "label": "ScrolledListTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_scrolledlist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_scrolledlist", "peekOfCode": "class ScrolledListTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.root = Tk()\n @classmethod\n def tearDownClass(cls):\n cls.root.destroy()\n del cls.root\n def test_init(self):\n ScrolledList(self.root)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_scrolledlist", "documentation": {} }, { "label": "SearchDialogTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_search", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_search", "peekOfCode": "class SearchDialogTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.root = Tk()\n @classmethod\n def tearDownClass(cls):\n cls.root.destroy()\n del cls.root\n def setUp(self):\n self.engine = searchengine.SearchEngine(self.root)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_search", "documentation": {} }, { "label": "SearchDialogBaseTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchbase", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchbase", "peekOfCode": "class SearchDialogBaseTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n @classmethod\n def tearDownClass(cls):\n cls.root.update_idletasks()\n cls.root.destroy()\n del cls.root", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchbase", "documentation": {} }, { "label": "Mock", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "peekOfCode": "class Mock:\n def __init__(self, *args, **kwargs): pass\nclass GetTest(unittest.TestCase):\n # SearchEngine.get returns singleton created & saved on first call.\n def test_get(self):\n saved_Engine = se.SearchEngine\n se.SearchEngine = Mock # monkey-patch class\n try:\n root = Mock()\n engine = se.get(root)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "documentation": {} }, { "label": "GetTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "peekOfCode": "class GetTest(unittest.TestCase):\n # SearchEngine.get returns singleton created & saved on first call.\n def test_get(self):\n saved_Engine = se.SearchEngine\n se.SearchEngine = Mock # monkey-patch class\n try:\n root = Mock()\n engine = se.get(root)\n self.assertIsInstance(engine, se.SearchEngine)\n self.assertIs(root._searchengine, engine)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "documentation": {} }, { "label": "GetLineColTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "peekOfCode": "class GetLineColTest(unittest.TestCase):\n # Test simple text-independent helper function\n def test_get_line_col(self):\n self.assertEqual(se.get_line_col('1.0'), (1, 0))\n self.assertEqual(se.get_line_col('1.11'), (1, 11))\n self.assertRaises(ValueError, se.get_line_col, ('1.0 lineend'))\n self.assertRaises(ValueError, se.get_line_col, ('end'))\nclass GetSelectionTest(unittest.TestCase):\n # Test text-dependent helper function.\n## # Need gui for text.index('sel.first/sel.last/insert').", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "documentation": {} }, { "label": "GetSelectionTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "peekOfCode": "class GetSelectionTest(unittest.TestCase):\n # Test text-dependent helper function.\n## # Need gui for text.index('sel.first/sel.last/insert').\n## @classmethod\n## def setUpClass(cls):\n## requires('gui')\n## cls.root = Tk()\n##\n## @classmethod\n## def tearDownClass(cls):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "documentation": {} }, { "label": "ReverseSearchTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "peekOfCode": "class ReverseSearchTest(unittest.TestCase):\n # Test helper function that searches backwards within a line.\n def test_search_reverse(self):\n Equal = self.assertEqual\n line = \"Here is an 'is' test text.\"\n prog = re.compile('is')\n Equal(se.search_reverse(prog, line, len(line)).span(), (12, 14))\n Equal(se.search_reverse(prog, line, 14).span(), (12, 14))\n Equal(se.search_reverse(prog, line, 13).span(), (5, 7))\n Equal(se.search_reverse(prog, line, 7).span(), (5, 7))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "documentation": {} }, { "label": "SearchEngineTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "peekOfCode": "class SearchEngineTest(unittest.TestCase):\n # Test class methods that do not use Text widget.\n def setUp(self):\n self.engine = se.SearchEngine(root=None)\n # Engine.root is only used to create error message boxes.\n # The mock replacement ignores the root argument.\n def test_is_get(self):\n engine = self.engine\n Equal = self.assertEqual\n Equal(engine.getpat(), '')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "documentation": {} }, { "label": "SearchTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "peekOfCode": "class SearchTest(unittest.TestCase):\n # Test that search_text makes right call to right method.\n @classmethod\n def setUpClass(cls):\n## requires('gui')\n## cls.root = Tk()\n## cls.text = Text(master=cls.root)\n cls.text = mockText()\n test_text = (\n 'First line\\n'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "documentation": {} }, { "label": "ForwardBackwardTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "peekOfCode": "class ForwardBackwardTest(unittest.TestCase):\n # Test that search_forward method finds the target.\n## @classmethod\n## def tearDownClass(cls):\n## cls.root.destroy()\n## del cls.root\n @classmethod\n def setUpClass(cls):\n cls.engine = se.SearchEngine(None)\n## requires('gui')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "documentation": {} }, { "label": "setUpModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "peekOfCode": "def setUpModule():\n # Replace s-e module tkinter imports other than non-gui TclError.\n se.BooleanVar = Var\n se.StringVar = Var\n se.messagebox = Mbox\ndef tearDownModule():\n # Restore 'just in case', though other tests should also replace.\n se.BooleanVar = BooleanVar\n se.StringVar = StringVar\n se.messagebox = messagebox", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "peekOfCode": "def tearDownModule():\n # Restore 'just in case', though other tests should also replace.\n se.BooleanVar = BooleanVar\n se.StringVar = StringVar\n se.messagebox = messagebox\nclass Mock:\n def __init__(self, *args, **kwargs): pass\nclass GetTest(unittest.TestCase):\n # SearchEngine.get returns singleton created & saved on first call.\n def test_get(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_searchengine", "documentation": {} }, { "label": "Dummy_editwin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_sidebar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_sidebar", "peekOfCode": "class Dummy_editwin:\n def __init__(self, text):\n self.text = text\n self.text_frame = self.text.master\n self.per = Percolator(text)\n self.undo = Delegator()\n self.per.insertfilter(self.undo)\n def setvar(self, name, value):\n pass\n def getlineno(self, index):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_sidebar", "documentation": {} }, { "label": "LineNumbersTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_sidebar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_sidebar", "peekOfCode": "class LineNumbersTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = tk.Tk()\n cls.root.withdraw()\n cls.text_frame = tk.Frame(cls.root)\n cls.text_frame.pack(side=tk.LEFT, fill=tk.BOTH, expand=True)\n cls.text_frame.rowconfigure(1, weight=1)\n cls.text_frame.columnconfigure(1, weight=1)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_sidebar", "documentation": {} }, { "label": "ShellSidebarTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_sidebar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_sidebar", "peekOfCode": "class ShellSidebarTest(unittest.TestCase):\n root: tk.Tk = None\n shell: PyShell = None\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = root = tk.Tk()\n root.withdraw()\n fix_scaling(root)\n fixwordbreaks(root)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_sidebar", "documentation": {} }, { "label": "CountLinesTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_squeezer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_squeezer", "peekOfCode": "class CountLinesTest(unittest.TestCase):\n \"\"\"Tests for the count_lines_with_wrapping function.\"\"\"\n def check(self, expected, text, linewidth):\n return self.assertEqual(\n expected,\n count_lines_with_wrapping(text, linewidth),\n )\n def test_count_empty(self):\n \"\"\"Test with an empty string.\"\"\"\n self.assertEqual(count_lines_with_wrapping(\"\"), 0)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_squeezer", "documentation": {} }, { "label": "SqueezerTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_squeezer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_squeezer", "peekOfCode": "class SqueezerTest(unittest.TestCase):\n \"\"\"Tests for the Squeezer class.\"\"\"\n def make_mock_editor_window(self, with_text_widget=False):\n \"\"\"Create a mock EditorWindow instance.\"\"\"\n editwin = NonCallableMagicMock()\n editwin.width = 80\n if with_text_widget:\n editwin.root = get_test_tk_root(self)\n text_widget = self.make_text_widget(root=editwin.root)\n editwin.text = editwin.per.bottom = text_widget", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_squeezer", "documentation": {} }, { "label": "ExpandingButtonTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_squeezer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_squeezer", "peekOfCode": "class ExpandingButtonTest(unittest.TestCase):\n \"\"\"Tests for the ExpandingButton class.\"\"\"\n # In these tests the squeezer instance is a mock, but actual tkinter\n # Text and Button instances are created.\n def make_mock_squeezer(self):\n \"\"\"Helper for tests: Create a mock Squeezer object.\"\"\"\n root = get_test_tk_root(self)\n squeezer = Mock()\n squeezer.editwin.text = Text(root)\n squeezer.editwin.per = Percolator(squeezer.editwin.text)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_squeezer", "documentation": {} }, { "label": "get_test_tk_root", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_squeezer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_squeezer", "peekOfCode": "def get_test_tk_root(test_instance):\n \"\"\"Helper for tests: Create a root Tk object.\"\"\"\n requires('gui')\n root = Tk()\n root.withdraw()\n def cleanup_root():\n root.update_idletasks()\n root.destroy()\n test_instance.addCleanup(cleanup_root)\n return root", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_squeezer", "documentation": {} }, { "label": "SENTINEL_VALUE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_squeezer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_squeezer", "peekOfCode": "SENTINEL_VALUE = sentinel.SENTINEL_VALUE\ndef get_test_tk_root(test_instance):\n \"\"\"Helper for tests: Create a root Tk object.\"\"\"\n requires('gui')\n root = Tk()\n root.withdraw()\n def cleanup_root():\n root.update_idletasks()\n root.destroy()\n test_instance.addCleanup(cleanup_root)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_squeezer", "documentation": {} }, { "label": "StackBrowserTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_stackviewer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_stackviewer", "peekOfCode": "class StackBrowserTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n svs = stackviewer.sys\n try:\n abc\n except NameError:\n svs.last_type, svs.last_value, svs.last_traceback = (\n sys.exc_info())\n requires('gui')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_stackviewer", "documentation": {} }, { "label": "Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_statusbar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_statusbar", "peekOfCode": "class Test(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n @classmethod\n def tearDownClass(cls):\n cls.root.update_idletasks()\n cls.root.destroy()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_statusbar", "documentation": {} }, { "label": "TextTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_text", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_text", "peekOfCode": "class TextTest(object):\n \"Define items common to both sets of tests.\"\n hw = 'hello\\nworld' # Several tests insert this after initialization.\n hwn = hw+'\\n' # \\n present at initialization, before insert\n # setUpClass defines cls.Text and maybe cls.root.\n # setUp defines self.text from Text and maybe root.\n def test_init(self):\n self.assertEqual(self.text.get('1.0'), '\\n')\n self.assertEqual(self.text.get('end'), '')\n def test_index_empty(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_text", "documentation": {} }, { "label": "MockTextTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_text", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_text", "peekOfCode": "class MockTextTest(TextTest, unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n from idlelib.idle_test.mock_tk import Text\n cls.Text = Text\n def setUp(self):\n self.text = self.Text()\n def test_decode(self):\n # test endflags (-1, 0) not tested by test_index (which uses +1)\n decode = self.text._decode", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_text", "documentation": {} }, { "label": "TkTextTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_text", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_text", "peekOfCode": "class TkTextTest(TextTest, unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n from tkinter import Tk, Text\n cls.Text = Text\n cls.root = Tk()\n @classmethod\n def tearDownClass(cls):\n cls.root.destroy()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_text", "documentation": {} }, { "label": "VW", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "peekOfCode": "class VW(tv.ViewWindow): # Used in ViewWindowTest.\n transient = Func()\n grab_set = Func()\n wait_window = Func()\n# Call wrapper class VW with mock wait_window.\nclass ViewWindowTest(unittest.TestCase):\n def setUp(self):\n VW.transient.__init__()\n VW.grab_set.__init__()\n VW.wait_window.__init__()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "documentation": {} }, { "label": "ViewWindowTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "peekOfCode": "class ViewWindowTest(unittest.TestCase):\n def setUp(self):\n VW.transient.__init__()\n VW.grab_set.__init__()\n VW.wait_window.__init__()\n def test_init_modal(self):\n view = VW(root, 'Title', 'test text')\n self.assertTrue(VW.transient.called)\n self.assertTrue(VW.grab_set.called)\n self.assertTrue(VW.wait_window.called)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "documentation": {} }, { "label": "AutoHideScrollbarTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "peekOfCode": "class AutoHideScrollbarTest(unittest.TestCase):\n # Method set is tested in ScrollableTextFrameTest\n def test_forbidden_geometry(self):\n scroll = tv.AutoHideScrollbar(root)\n self.assertRaises(TclError, scroll.pack)\n self.assertRaises(TclError, scroll.place)\nclass ScrollableTextFrameTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.root = root = Tk()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "documentation": {} }, { "label": "ScrollableTextFrameTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "peekOfCode": "class ScrollableTextFrameTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.root = root = Tk()\n root.withdraw()\n @classmethod\n def tearDownClass(cls):\n cls.root.update_idletasks()\n cls.root.destroy()\n del cls.root", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "documentation": {} }, { "label": "ViewFrameTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "peekOfCode": "class ViewFrameTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.root = root = Tk()\n root.withdraw()\n cls.frame = tv.ViewFrame(root, 'test text')\n @classmethod\n def tearDownClass(cls):\n del cls.frame\n cls.root.update_idletasks()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "documentation": {} }, { "label": "ViewFunctionTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "peekOfCode": "class ViewFunctionTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.orig_error = tv.showerror\n tv.showerror = Mbox_func()\n @classmethod\n def tearDownClass(cls):\n tv.showerror = cls.orig_error\n del cls.orig_error\n def test_view_text(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "documentation": {} }, { "label": "ButtonClickTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "peekOfCode": "class ButtonClickTest(unittest.TestCase):\n def setUp(self):\n self.view = None\n self.called = False\n def tearDown(self):\n if self.view:\n self.view.destroy()\n def test_view_text_bind_with_button(self):\n def _command():\n self.called = True", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "documentation": {} }, { "label": "setUpModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "peekOfCode": "def setUpModule():\n global root\n root = Tk()\n root.withdraw()\ndef tearDownModule():\n global root\n root.update_idletasks()\n root.destroy()\n del root\n# If we call ViewWindow or wrapper functions with defaults", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "peekOfCode": "def tearDownModule():\n global root\n root.update_idletasks()\n root.destroy()\n del root\n# If we call ViewWindow or wrapper functions with defaults\n# modal=True, _utest=False, test hangs on call to wait_window.\n# Have also gotten tk error 'can't invoke \"event\" command'.\nclass VW(tv.ViewWindow): # Used in ViewWindowTest.\n transient = Func()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_textview", "documentation": {} }, { "label": "ToolTipBaseTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tooltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tooltip", "peekOfCode": "class ToolTipBaseTest(unittest.TestCase):\n def setUp(self):\n self.top, self.button = _make_top_and_button(self)\n def test_base_class_is_unusable(self):\n global root\n top = Toplevel(root)\n self.addCleanup(top.destroy)\n button = Button(top, text='ToolTip test button')\n button.pack()\n self.addCleanup(button.destroy)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tooltip", "documentation": {} }, { "label": "HovertipTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tooltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tooltip", "peekOfCode": "class HovertipTest(unittest.TestCase):\n def setUp(self):\n self.top, self.button = _make_top_and_button(self)\n def is_tipwindow_shown(self, tooltip):\n return tooltip.tipwindow and tooltip.tipwindow.winfo_viewable()\n def test_showtip(self):\n tooltip = Hovertip(self.button, 'ToolTip text')\n self.addCleanup(tooltip.hidetip)\n self.assertFalse(self.is_tipwindow_shown(tooltip))\n tooltip.showtip()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tooltip", "documentation": {} }, { "label": "setUpModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tooltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tooltip", "peekOfCode": "def setUpModule():\n global root\n root = Tk()\ndef tearDownModule():\n global root\n root.update_idletasks()\n root.destroy()\n del root\ndef add_call_counting(func):\n @wraps(func)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tooltip", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tooltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tooltip", "peekOfCode": "def tearDownModule():\n global root\n root.update_idletasks()\n root.destroy()\n del root\ndef add_call_counting(func):\n @wraps(func)\n def wrapped_func(*args, **kwargs):\n wrapped_func.call_args_list.append((args, kwargs))\n return func(*args, **kwargs)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tooltip", "documentation": {} }, { "label": "add_call_counting", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tooltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tooltip", "peekOfCode": "def add_call_counting(func):\n @wraps(func)\n def wrapped_func(*args, **kwargs):\n wrapped_func.call_args_list.append((args, kwargs))\n return func(*args, **kwargs)\n wrapped_func.call_args_list = []\n return wrapped_func\ndef _make_top_and_button(testobj):\n global root\n top = Toplevel(root)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tooltip", "documentation": {} }, { "label": "TreeTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tree", "peekOfCode": "class TreeTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.root = Tk()\n cls.root.withdraw()\n @classmethod\n def tearDownClass(cls):\n cls.root.destroy()\n del cls.root\n def test_init(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tree", "documentation": {} }, { "label": "TestScrollEvent", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tree", "peekOfCode": "class TestScrollEvent(unittest.TestCase):\n def test_wheel_event(self):\n # Fake widget class containing `yview` only.\n class _Widget:\n def __init__(widget, *expected):\n widget.expected = expected\n def yview(widget, *args):\n self.assertTupleEqual(widget.expected, args)\n # Fake event class\n class _Event:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_tree", "documentation": {} }, { "label": "UndoDelegatorTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_undo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_undo", "peekOfCode": "class UndoDelegatorTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.root = Tk()\n cls.text = Text(cls.root)\n cls.percolator = Percolator(cls.text)\n @classmethod\n def tearDownClass(cls):\n cls.percolator.redir.close()\n del cls.percolator, cls.text", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_undo", "documentation": {} }, { "label": "UtilTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_util", "peekOfCode": "class UtilTest(unittest.TestCase):\n def test_extensions(self):\n for extension in {'.pyi', '.py', '.pyw'}:\n self.assertIn(extension, util.py_extensions)\nif __name__ == '__main__':\n unittest.main(verbosity=2)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_util", "documentation": {} }, { "label": "RunWarnTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_warning", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_warning", "peekOfCode": "class RunWarnTest(unittest.TestCase):\n @unittest.skipIf(running_in_idle, \"Does not work when run within Idle.\")\n def test_showwarnings(self):\n self.assertIs(warnings.showwarning, showwarning)\n run.capture_warnings(True)\n self.assertIs(warnings.showwarning, run.idle_showwarning_subproc)\n run.capture_warnings(False)\n self.assertIs(warnings.showwarning, showwarning)\n def test_run_show(self):\n with captured_stderr() as f:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_warning", "documentation": {} }, { "label": "ShellWarnTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_warning", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_warning", "peekOfCode": "class ShellWarnTest(unittest.TestCase):\n @unittest.skipIf(running_in_idle, \"Does not work when run within Idle.\")\n def test_showwarnings(self):\n self.assertIs(warnings.showwarning, showwarning)\n shell.capture_warnings(True)\n self.assertIs(warnings.showwarning, shell.idle_showwarning)\n shell.capture_warnings(False)\n self.assertIs(warnings.showwarning, showwarning)\n def test_idle_formatter(self):\n # Will fail if format changed without regenerating idlemsg", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_warning", "documentation": {} }, { "label": "showwarning", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_warning", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_warning", "peekOfCode": "showwarning = warnings.showwarning\n# But if we run this file within idle, we are in the middle of the run.main loop\n# and default showwarnings has already been replaced.\nrunning_in_idle = 'idle' in showwarning.__name__\n# The following was generated from pyshell.idle_formatwarning\n# and checked as matching expectation.\nidlemsg = '''\nWarning (from warnings module):\n File \"test_warning.py\", line 99\n Line of code", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_warning", "documentation": {} }, { "label": "running_in_idle", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_warning", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_warning", "peekOfCode": "running_in_idle = 'idle' in showwarning.__name__\n# The following was generated from pyshell.idle_formatwarning\n# and checked as matching expectation.\nidlemsg = '''\nWarning (from warnings module):\n File \"test_warning.py\", line 99\n Line of code\nUserWarning: Test\n'''\nshellmsg = idlemsg + \">>> \"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_warning", "documentation": {} }, { "label": "idlemsg", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_warning", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_warning", "peekOfCode": "idlemsg = '''\nWarning (from warnings module):\n File \"test_warning.py\", line 99\n Line of code\nUserWarning: Test\n'''\nshellmsg = idlemsg + \">>> \"\nclass RunWarnTest(unittest.TestCase):\n @unittest.skipIf(running_in_idle, \"Does not work when run within Idle.\")\n def test_showwarnings(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_warning", "documentation": {} }, { "label": "shellmsg", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_warning", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_warning", "peekOfCode": "shellmsg = idlemsg + \">>> \"\nclass RunWarnTest(unittest.TestCase):\n @unittest.skipIf(running_in_idle, \"Does not work when run within Idle.\")\n def test_showwarnings(self):\n self.assertIs(warnings.showwarning, showwarning)\n run.capture_warnings(True)\n self.assertIs(warnings.showwarning, run.idle_showwarning_subproc)\n run.capture_warnings(False)\n self.assertIs(warnings.showwarning, showwarning)\n def test_run_show(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_warning", "documentation": {} }, { "label": "WindowListTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_window", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_window", "peekOfCode": "class WindowListTest(unittest.TestCase):\n def test_init(self):\n wl = window.WindowList()\n self.assertEqual(wl.dict, {})\n self.assertEqual(wl.callbacks, [])\n # Further tests need mock Window.\nclass ListedToplevelTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n window.registry = set()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_window", "documentation": {} }, { "label": "ListedToplevelTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_window", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_window", "peekOfCode": "class ListedToplevelTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n window.registry = set()\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n @classmethod\n def tearDownClass(cls):\n window.registry = window.WindowList()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_window", "documentation": {} }, { "label": "Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zoomheight", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zoomheight", "peekOfCode": "class Test(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n cls.root = Tk()\n cls.root.withdraw()\n cls.editwin = EditorWindow(root=cls.root)\n @classmethod\n def tearDownClass(cls):\n cls.editwin._close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zoomheight", "documentation": {} }, { "label": "C1", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zzdummy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zzdummy", "peekOfCode": "class C1():\n # Class comment.\n def __init__(self, a, b):\n self.a = a\n self.b = b\n\"\"\"\nclass DummyEditwin:\n get_selection_indices = editor.EditorWindow.get_selection_indices\n def __init__(self, root, text):\n self.root = root", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zzdummy", "documentation": {} }, { "label": "DummyEditwin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zzdummy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zzdummy", "peekOfCode": "class DummyEditwin:\n get_selection_indices = editor.EditorWindow.get_selection_indices\n def __init__(self, root, text):\n self.root = root\n self.top = root\n self.text = text\n self.fregion = format.FormatRegion(self)\n self.text.undo_block_start = mock.Mock()\n self.text.undo_block_stop = mock.Mock()\nclass ZZDummyTest(unittest.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zzdummy", "documentation": {} }, { "label": "ZZDummyTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zzdummy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zzdummy", "peekOfCode": "class ZZDummyTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n requires('gui')\n root = cls.root = Tk()\n root.withdraw()\n text = cls.text = Text(cls.root)\n cls.editor = DummyEditwin(root, text)\n zzdummy.idleConf.userCfg = testcfg\n @classmethod", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zzdummy", "documentation": {} }, { "label": "usercfg", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zzdummy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zzdummy", "peekOfCode": "usercfg = zzdummy.idleConf.userCfg\ntestcfg = {\n 'main': config.IdleUserConfParser(''),\n 'highlight': config.IdleUserConfParser(''),\n 'keys': config.IdleUserConfParser(''),\n 'extensions': config.IdleUserConfParser(''),\n}\ncode_sample = \"\"\"\\\nclass C1():\n # Class comment.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zzdummy", "documentation": {} }, { "label": "testcfg", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zzdummy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zzdummy", "peekOfCode": "testcfg = {\n 'main': config.IdleUserConfParser(''),\n 'highlight': config.IdleUserConfParser(''),\n 'keys': config.IdleUserConfParser(''),\n 'extensions': config.IdleUserConfParser(''),\n}\ncode_sample = \"\"\"\\\nclass C1():\n # Class comment.\n def __init__(self, a, b):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zzdummy", "documentation": {} }, { "label": "code_sample", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zzdummy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zzdummy", "peekOfCode": "code_sample = \"\"\"\\\nclass C1():\n # Class comment.\n def __init__(self, a, b):\n self.a = a\n self.b = b\n\"\"\"\nclass DummyEditwin:\n get_selection_indices = editor.EditorWindow.get_selection_indices\n def __init__(self, root, text):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.test_zzdummy", "documentation": {} }, { "label": "run_in_tk_mainloop", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.tkinter_testing_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.tkinter_testing_utils", "peekOfCode": "def run_in_tk_mainloop(delay=1):\n \"\"\"Decorator for running a test method with a real Tk mainloop.\n This starts a Tk mainloop before running the test, and stops it\n at the end. This is faster and more robust than the common\n alternative method of calling .update() and/or .update_idletasks().\n Test methods using this must be written as generator functions,\n using \"yield\" to allow the mainloop to process events and \"after\"\n callbacks, and then continue the test from that point.\n The delay argument is passed into root.after(...) calls as the number\n of ms to wait before passing execution back to the generator function.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle_test.tkinter_testing_utils", "documentation": {} }, { "label": "AutoComplete", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "peekOfCode": "class AutoComplete:\n def __init__(self, editwin=None, tags=None):\n self.editwin = editwin\n if editwin is not None: # not in subprocess or no-gui test\n self.text = editwin.text\n self.tags = tags\n self.autocompletewindow = None\n # id of delayed call, and the index of the text insert when\n # the delayed call was issued. If _delayed_completion_id is\n # None, there is no delayed call.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "documentation": {} }, { "label": "completion_kwds", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "peekOfCode": "completion_kwds = [s for s in keyword.kwlist\n if s not in {'True', 'False', 'None'}] # In builtins.\ncompletion_kwds.extend(('match', 'case')) # Context keywords.\ncompletion_kwds.sort()\n# Two types of completions; defined here for autocomplete_w import below.\nATTRS, FILES = 0, 1\nfrom idlelib import autocomplete_w\nfrom idlelib.config import idleConf\nfrom idlelib.hyperparser import HyperParser\n# Tuples passed to open_completions.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "documentation": {} }, { "label": "FORCE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "peekOfCode": "FORCE = True, False, True, None # Control-Space.\nTAB = False, True, True, None # Tab.\nTRY_A = False, False, False, ATTRS # '.' for attributes.\nTRY_F = False, False, False, FILES # '/' in quotes for file name.\n# This string includes all chars that may be in an identifier.\n# TODO Update this here and elsewhere.\nID_CHARS = string.ascii_letters + string.digits + \"_\"\nSEPS = f\"{os.sep}{os.altsep if os.altsep else ''}\"\nTRIGGERS = f\".{SEPS}\"\nclass AutoComplete:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "documentation": {} }, { "label": "TRY_A", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "peekOfCode": "TRY_A = False, False, False, ATTRS # '.' for attributes.\nTRY_F = False, False, False, FILES # '/' in quotes for file name.\n# This string includes all chars that may be in an identifier.\n# TODO Update this here and elsewhere.\nID_CHARS = string.ascii_letters + string.digits + \"_\"\nSEPS = f\"{os.sep}{os.altsep if os.altsep else ''}\"\nTRIGGERS = f\".{SEPS}\"\nclass AutoComplete:\n def __init__(self, editwin=None, tags=None):\n self.editwin = editwin", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "documentation": {} }, { "label": "TRY_F", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "peekOfCode": "TRY_F = False, False, False, FILES # '/' in quotes for file name.\n# This string includes all chars that may be in an identifier.\n# TODO Update this here and elsewhere.\nID_CHARS = string.ascii_letters + string.digits + \"_\"\nSEPS = f\"{os.sep}{os.altsep if os.altsep else ''}\"\nTRIGGERS = f\".{SEPS}\"\nclass AutoComplete:\n def __init__(self, editwin=None, tags=None):\n self.editwin = editwin\n if editwin is not None: # not in subprocess or no-gui test", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "documentation": {} }, { "label": "ID_CHARS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "peekOfCode": "ID_CHARS = string.ascii_letters + string.digits + \"_\"\nSEPS = f\"{os.sep}{os.altsep if os.altsep else ''}\"\nTRIGGERS = f\".{SEPS}\"\nclass AutoComplete:\n def __init__(self, editwin=None, tags=None):\n self.editwin = editwin\n if editwin is not None: # not in subprocess or no-gui test\n self.text = editwin.text\n self.tags = tags\n self.autocompletewindow = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "documentation": {} }, { "label": "SEPS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "peekOfCode": "SEPS = f\"{os.sep}{os.altsep if os.altsep else ''}\"\nTRIGGERS = f\".{SEPS}\"\nclass AutoComplete:\n def __init__(self, editwin=None, tags=None):\n self.editwin = editwin\n if editwin is not None: # not in subprocess or no-gui test\n self.text = editwin.text\n self.tags = tags\n self.autocompletewindow = None\n # id of delayed call, and the index of the text insert when", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "documentation": {} }, { "label": "TRIGGERS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "peekOfCode": "TRIGGERS = f\".{SEPS}\"\nclass AutoComplete:\n def __init__(self, editwin=None, tags=None):\n self.editwin = editwin\n if editwin is not None: # not in subprocess or no-gui test\n self.text = editwin.text\n self.tags = tags\n self.autocompletewindow = None\n # id of delayed call, and the index of the text insert when\n # the delayed call was issued. If _delayed_completion_id is", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete", "documentation": {} }, { "label": "AutoCompleteWindow", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "peekOfCode": "class AutoCompleteWindow:\n def __init__(self, widget, tags):\n # The widget (Text) on which we place the AutoCompleteWindow\n self.widget = widget\n # Tags to mark inserted text with\n self.tags = tags\n # The widgets we create\n self.autocompletewindow = self.listbox = self.scrollbar = None\n # The default foreground and background of a selection. Saved because\n # they are changed to the regular colors of list items when the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "documentation": {} }, { "label": "HIDE_VIRTUAL_EVENT_NAME", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "peekOfCode": "HIDE_VIRTUAL_EVENT_NAME = \"<>\"\nHIDE_FOCUS_OUT_SEQUENCE = \"\"\nHIDE_SEQUENCES = (HIDE_FOCUS_OUT_SEQUENCE, \"\")\nKEYPRESS_VIRTUAL_EVENT_NAME = \"<>\"\n# We need to bind event beyond so that the function will be called\n# before the default specific IDLE function\nKEYPRESS_SEQUENCES = (\"\", \"\", \"\", \"\",\n \"\", \"\", \"\", \"\",\n \"\", \"\", \"\")\nKEYRELEASE_VIRTUAL_EVENT_NAME = \"<>\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "documentation": {} }, { "label": "HIDE_FOCUS_OUT_SEQUENCE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "peekOfCode": "HIDE_FOCUS_OUT_SEQUENCE = \"\"\nHIDE_SEQUENCES = (HIDE_FOCUS_OUT_SEQUENCE, \"\")\nKEYPRESS_VIRTUAL_EVENT_NAME = \"<>\"\n# We need to bind event beyond so that the function will be called\n# before the default specific IDLE function\nKEYPRESS_SEQUENCES = (\"\", \"\", \"\", \"\",\n \"\", \"\", \"\", \"\",\n \"\", \"\", \"\")\nKEYRELEASE_VIRTUAL_EVENT_NAME = \"<>\"\nKEYRELEASE_SEQUENCE = \"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "documentation": {} }, { "label": "HIDE_SEQUENCES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "peekOfCode": "HIDE_SEQUENCES = (HIDE_FOCUS_OUT_SEQUENCE, \"\")\nKEYPRESS_VIRTUAL_EVENT_NAME = \"<>\"\n# We need to bind event beyond so that the function will be called\n# before the default specific IDLE function\nKEYPRESS_SEQUENCES = (\"\", \"\", \"\", \"\",\n \"\", \"\", \"\", \"\",\n \"\", \"\", \"\")\nKEYRELEASE_VIRTUAL_EVENT_NAME = \"<>\"\nKEYRELEASE_SEQUENCE = \"\"\nLISTUPDATE_SEQUENCE = \"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "documentation": {} }, { "label": "KEYPRESS_VIRTUAL_EVENT_NAME", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "peekOfCode": "KEYPRESS_VIRTUAL_EVENT_NAME = \"<>\"\n# We need to bind event beyond so that the function will be called\n# before the default specific IDLE function\nKEYPRESS_SEQUENCES = (\"\", \"\", \"\", \"\",\n \"\", \"\", \"\", \"\",\n \"\", \"\", \"\")\nKEYRELEASE_VIRTUAL_EVENT_NAME = \"<>\"\nKEYRELEASE_SEQUENCE = \"\"\nLISTUPDATE_SEQUENCE = \"\"\nWINCONFIG_SEQUENCE = \"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "documentation": {} }, { "label": "KEYPRESS_SEQUENCES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "peekOfCode": "KEYPRESS_SEQUENCES = (\"\", \"\", \"\", \"\",\n \"\", \"\", \"\", \"\",\n \"\", \"\", \"\")\nKEYRELEASE_VIRTUAL_EVENT_NAME = \"<>\"\nKEYRELEASE_SEQUENCE = \"\"\nLISTUPDATE_SEQUENCE = \"\"\nWINCONFIG_SEQUENCE = \"\"\nDOUBLECLICK_SEQUENCE = \"\"\nclass AutoCompleteWindow:\n def __init__(self, widget, tags):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "documentation": {} }, { "label": "KEYRELEASE_VIRTUAL_EVENT_NAME", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "peekOfCode": "KEYRELEASE_VIRTUAL_EVENT_NAME = \"<>\"\nKEYRELEASE_SEQUENCE = \"\"\nLISTUPDATE_SEQUENCE = \"\"\nWINCONFIG_SEQUENCE = \"\"\nDOUBLECLICK_SEQUENCE = \"\"\nclass AutoCompleteWindow:\n def __init__(self, widget, tags):\n # The widget (Text) on which we place the AutoCompleteWindow\n self.widget = widget\n # Tags to mark inserted text with", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "documentation": {} }, { "label": "KEYRELEASE_SEQUENCE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "peekOfCode": "KEYRELEASE_SEQUENCE = \"\"\nLISTUPDATE_SEQUENCE = \"\"\nWINCONFIG_SEQUENCE = \"\"\nDOUBLECLICK_SEQUENCE = \"\"\nclass AutoCompleteWindow:\n def __init__(self, widget, tags):\n # The widget (Text) on which we place the AutoCompleteWindow\n self.widget = widget\n # Tags to mark inserted text with\n self.tags = tags", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "documentation": {} }, { "label": "LISTUPDATE_SEQUENCE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "peekOfCode": "LISTUPDATE_SEQUENCE = \"\"\nWINCONFIG_SEQUENCE = \"\"\nDOUBLECLICK_SEQUENCE = \"\"\nclass AutoCompleteWindow:\n def __init__(self, widget, tags):\n # The widget (Text) on which we place the AutoCompleteWindow\n self.widget = widget\n # Tags to mark inserted text with\n self.tags = tags\n # The widgets we create", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "documentation": {} }, { "label": "WINCONFIG_SEQUENCE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "peekOfCode": "WINCONFIG_SEQUENCE = \"\"\nDOUBLECLICK_SEQUENCE = \"\"\nclass AutoCompleteWindow:\n def __init__(self, widget, tags):\n # The widget (Text) on which we place the AutoCompleteWindow\n self.widget = widget\n # Tags to mark inserted text with\n self.tags = tags\n # The widgets we create\n self.autocompletewindow = self.listbox = self.scrollbar = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "documentation": {} }, { "label": "DOUBLECLICK_SEQUENCE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "peekOfCode": "DOUBLECLICK_SEQUENCE = \"\"\nclass AutoCompleteWindow:\n def __init__(self, widget, tags):\n # The widget (Text) on which we place the AutoCompleteWindow\n self.widget = widget\n # Tags to mark inserted text with\n self.tags = tags\n # The widgets we create\n self.autocompletewindow = self.listbox = self.scrollbar = None\n # The default foreground and background of a selection. Saved because", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autocomplete_w", "documentation": {} }, { "label": "AutoExpand", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autoexpand", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autoexpand", "peekOfCode": "class AutoExpand:\n wordchars = string.ascii_letters + string.digits + \"_\"\n def __init__(self, editwin):\n self.text = editwin.text\n self.bell = self.text.bell\n self.state = None\n def expand_word_event(self, event):\n \"Replace the current word with the next expansion.\"\n curinsert = self.text.index(\"insert\")\n curline = self.text.get(\"insert linestart\", \"insert lineend\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.autoexpand", "documentation": {} }, { "label": "ModuleBrowser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.browser", "peekOfCode": "class ModuleBrowser:\n \"\"\"Browse module classes and functions in IDLE.\n \"\"\"\n # This class is also the base class for pathbrowser.PathBrowser.\n # Init and close are inherited, other methods are overridden.\n # PathBrowser.__init__ does not call __init__ below.\n def __init__(self, master, path, *, _htest=False, _utest=False):\n \"\"\"Create a window for browsing a module's structure.\n Args:\n master: parent for widgets.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.browser", "documentation": {} }, { "label": "ModuleBrowserTreeItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.browser", "peekOfCode": "class ModuleBrowserTreeItem(TreeItem):\n \"\"\"Browser tree for Python module.\n Uses TreeItem as the basis for the structure of the tree.\n Used by both browsers.\n \"\"\"\n def __init__(self, file):\n \"\"\"Create a TreeItem for the file.\n Args:\n file: Full path and module name.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.browser", "documentation": {} }, { "label": "ChildBrowserTreeItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.browser", "peekOfCode": "class ChildBrowserTreeItem(TreeItem):\n \"\"\"Browser tree for child nodes within the module.\n Uses TreeItem as the basis for the structure of the tree.\n \"\"\"\n def __init__(self, obj):\n \"Create a TreeItem for a pyclbr class/function object.\"\n self.obj = obj\n self.name = obj.name\n self.isfunction = isinstance(obj, pyclbr.Function)\n def GetText(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.browser", "documentation": {} }, { "label": "transform_children", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.browser", "peekOfCode": "def transform_children(child_dict, modname=None):\n \"\"\"Transform a child dictionary to an ordered sequence of objects.\n The dictionary maps names to pyclbr information objects.\n Filter out imported objects.\n Augment class names with bases.\n The insertion order of the dictionary is assumed to have been in line\n number order, so sorting is not necessary.\n The current tree only calls this once per child_dict as it saves\n TreeItems once created. A future tree and tests might violate this,\n so a check prevents multiple in-place augmentations.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.browser", "documentation": {} }, { "label": "file_open", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.browser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.browser", "peekOfCode": "file_open = None # Method...Item and Class...Item use this.\n# Normally pyshell.flist.open, but there is no pyshell.flist for htest.\ndef transform_children(child_dict, modname=None):\n \"\"\"Transform a child dictionary to an ordered sequence of objects.\n The dictionary maps names to pyclbr information objects.\n Filter out imported objects.\n Augment class names with bases.\n The insertion order of the dictionary is assumed to have been in line\n number order, so sorting is not necessary.\n The current tree only calls this once per child_dict as it saves", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.browser", "documentation": {} }, { "label": "Calltip", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "peekOfCode": "class Calltip:\n def __init__(self, editwin=None):\n if editwin is None: # subprocess and test\n self.editwin = None\n else:\n self.editwin = editwin\n self.text = editwin.text\n self.active_calltip = None\n self._calltip_window = self._make_tk_calltip_window\n def close(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "documentation": {} }, { "label": "get_entity", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "peekOfCode": "def get_entity(expression):\n \"\"\"Return the object corresponding to expression evaluated\n in a namespace spanning sys.modules and __main.dict__.\n \"\"\"\n if expression:\n namespace = {**sys.modules, **__main__.__dict__}\n try:\n return eval(expression, namespace) # Only protect user code.\n except BaseException:\n # An uncaught exception closes idle, and eval can raise any", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "documentation": {} }, { "label": "get_argspec", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "peekOfCode": "def get_argspec(ob):\n '''Return a string describing the signature of a callable object, or ''.\n For Python-coded functions and methods, the first line is introspected.\n Delete 'self' parameter for classes (.__init__) and bound methods.\n The next lines are the first lines of the doc string up to the first\n empty line or _MAX_LINES. For builtins, this typically includes\n the arguments in addition to the return value.\n '''\n # Determine function object fob to inspect.\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "documentation": {} }, { "label": "_MAX_COLS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "peekOfCode": "_MAX_COLS = 85\n_MAX_LINES = 5 # enough for bytes\n_INDENT = ' '*4 # for wrapped signatures\n_first_param = re.compile(r'(?<=\\()\\w*\\,?\\s*')\n_default_callable_argspec = \"See source or doc\"\n_invalid_method = \"invalid method signature\"\ndef get_argspec(ob):\n '''Return a string describing the signature of a callable object, or ''.\n For Python-coded functions and methods, the first line is introspected.\n Delete 'self' parameter for classes (.__init__) and bound methods.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "documentation": {} }, { "label": "_MAX_LINES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "peekOfCode": "_MAX_LINES = 5 # enough for bytes\n_INDENT = ' '*4 # for wrapped signatures\n_first_param = re.compile(r'(?<=\\()\\w*\\,?\\s*')\n_default_callable_argspec = \"See source or doc\"\n_invalid_method = \"invalid method signature\"\ndef get_argspec(ob):\n '''Return a string describing the signature of a callable object, or ''.\n For Python-coded functions and methods, the first line is introspected.\n Delete 'self' parameter for classes (.__init__) and bound methods.\n The next lines are the first lines of the doc string up to the first", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "documentation": {} }, { "label": "_INDENT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "peekOfCode": "_INDENT = ' '*4 # for wrapped signatures\n_first_param = re.compile(r'(?<=\\()\\w*\\,?\\s*')\n_default_callable_argspec = \"See source or doc\"\n_invalid_method = \"invalid method signature\"\ndef get_argspec(ob):\n '''Return a string describing the signature of a callable object, or ''.\n For Python-coded functions and methods, the first line is introspected.\n Delete 'self' parameter for classes (.__init__) and bound methods.\n The next lines are the first lines of the doc string up to the first\n empty line or _MAX_LINES. For builtins, this typically includes", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "documentation": {} }, { "label": "_first_param", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "peekOfCode": "_first_param = re.compile(r'(?<=\\()\\w*\\,?\\s*')\n_default_callable_argspec = \"See source or doc\"\n_invalid_method = \"invalid method signature\"\ndef get_argspec(ob):\n '''Return a string describing the signature of a callable object, or ''.\n For Python-coded functions and methods, the first line is introspected.\n Delete 'self' parameter for classes (.__init__) and bound methods.\n The next lines are the first lines of the doc string up to the first\n empty line or _MAX_LINES. For builtins, this typically includes\n the arguments in addition to the return value.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "documentation": {} }, { "label": "_default_callable_argspec", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "peekOfCode": "_default_callable_argspec = \"See source or doc\"\n_invalid_method = \"invalid method signature\"\ndef get_argspec(ob):\n '''Return a string describing the signature of a callable object, or ''.\n For Python-coded functions and methods, the first line is introspected.\n Delete 'self' parameter for classes (.__init__) and bound methods.\n The next lines are the first lines of the doc string up to the first\n empty line or _MAX_LINES. For builtins, this typically includes\n the arguments in addition to the return value.\n '''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "documentation": {} }, { "label": "_invalid_method", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "peekOfCode": "_invalid_method = \"invalid method signature\"\ndef get_argspec(ob):\n '''Return a string describing the signature of a callable object, or ''.\n For Python-coded functions and methods, the first line is introspected.\n Delete 'self' parameter for classes (.__init__) and bound methods.\n The next lines are the first lines of the doc string up to the first\n empty line or _MAX_LINES. For builtins, this typically includes\n the arguments in addition to the return value.\n '''\n # Determine function object fob to inspect.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip", "documentation": {} }, { "label": "CalltipWindow", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "peekOfCode": "class CalltipWindow(TooltipBase):\n \"\"\"A call-tip widget for tkinter text widgets.\"\"\"\n def __init__(self, text_widget):\n \"\"\"Create a call-tip; shown by showtip().\n text_widget: a Text widget with code for which call-tips are desired\n \"\"\"\n # Note: The Text widget will be accessible as self.anchor_widget\n super(CalltipWindow, self).__init__(text_widget)\n self.label = self.text = None\n self.parenline = self.parencol = self.lastline = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "documentation": {} }, { "label": "HIDE_EVENT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "peekOfCode": "HIDE_EVENT = \"<>\"\nHIDE_SEQUENCES = (\"\", \"\")\nCHECKHIDE_EVENT = \"<>\"\nCHECKHIDE_SEQUENCES = (\"\", \"\")\nCHECKHIDE_TIME = 100 # milliseconds\nMARK_RIGHT = \"calltipwindowregion_right\"\nclass CalltipWindow(TooltipBase):\n \"\"\"A call-tip widget for tkinter text widgets.\"\"\"\n def __init__(self, text_widget):\n \"\"\"Create a call-tip; shown by showtip().", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "documentation": {} }, { "label": "HIDE_SEQUENCES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "peekOfCode": "HIDE_SEQUENCES = (\"\", \"\")\nCHECKHIDE_EVENT = \"<>\"\nCHECKHIDE_SEQUENCES = (\"\", \"\")\nCHECKHIDE_TIME = 100 # milliseconds\nMARK_RIGHT = \"calltipwindowregion_right\"\nclass CalltipWindow(TooltipBase):\n \"\"\"A call-tip widget for tkinter text widgets.\"\"\"\n def __init__(self, text_widget):\n \"\"\"Create a call-tip; shown by showtip().\n text_widget: a Text widget with code for which call-tips are desired", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "documentation": {} }, { "label": "CHECKHIDE_EVENT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "peekOfCode": "CHECKHIDE_EVENT = \"<>\"\nCHECKHIDE_SEQUENCES = (\"\", \"\")\nCHECKHIDE_TIME = 100 # milliseconds\nMARK_RIGHT = \"calltipwindowregion_right\"\nclass CalltipWindow(TooltipBase):\n \"\"\"A call-tip widget for tkinter text widgets.\"\"\"\n def __init__(self, text_widget):\n \"\"\"Create a call-tip; shown by showtip().\n text_widget: a Text widget with code for which call-tips are desired\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "documentation": {} }, { "label": "CHECKHIDE_SEQUENCES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "peekOfCode": "CHECKHIDE_SEQUENCES = (\"\", \"\")\nCHECKHIDE_TIME = 100 # milliseconds\nMARK_RIGHT = \"calltipwindowregion_right\"\nclass CalltipWindow(TooltipBase):\n \"\"\"A call-tip widget for tkinter text widgets.\"\"\"\n def __init__(self, text_widget):\n \"\"\"Create a call-tip; shown by showtip().\n text_widget: a Text widget with code for which call-tips are desired\n \"\"\"\n # Note: The Text widget will be accessible as self.anchor_widget", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "documentation": {} }, { "label": "CHECKHIDE_TIME", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "peekOfCode": "CHECKHIDE_TIME = 100 # milliseconds\nMARK_RIGHT = \"calltipwindowregion_right\"\nclass CalltipWindow(TooltipBase):\n \"\"\"A call-tip widget for tkinter text widgets.\"\"\"\n def __init__(self, text_widget):\n \"\"\"Create a call-tip; shown by showtip().\n text_widget: a Text widget with code for which call-tips are desired\n \"\"\"\n # Note: The Text widget will be accessible as self.anchor_widget\n super(CalltipWindow, self).__init__(text_widget)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "documentation": {} }, { "label": "MARK_RIGHT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "peekOfCode": "MARK_RIGHT = \"calltipwindowregion_right\"\nclass CalltipWindow(TooltipBase):\n \"\"\"A call-tip widget for tkinter text widgets.\"\"\"\n def __init__(self, text_widget):\n \"\"\"Create a call-tip; shown by showtip().\n text_widget: a Text widget with code for which call-tips are desired\n \"\"\"\n # Note: The Text widget will be accessible as self.anchor_widget\n super(CalltipWindow, self).__init__(text_widget)\n self.label = self.text = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.calltip_w", "documentation": {} }, { "label": "CodeContext", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.codecontext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.codecontext", "peekOfCode": "class CodeContext:\n \"Display block context above the edit window.\"\n UPDATEINTERVAL = 100 # millisec\n def __init__(self, editwin):\n \"\"\"Initialize settings for context block.\n editwin is the Editor window for the context block.\n self.text is the editor window text widget.\n self.context displays the code context text above the editor text.\n Initially None, it is toggled via <>.\n self.topvisible is the number of the top text line displayed.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.codecontext", "documentation": {} }, { "label": "get_spaces_firstword", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.codecontext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.codecontext", "peekOfCode": "def get_spaces_firstword(codeline, c=re.compile(r\"^(\\s*)(\\w*)\")):\n \"Extract the beginning whitespace and first word from codeline.\"\n return c.match(codeline).groups()\ndef get_line_info(codeline):\n \"\"\"Return tuple of (line indent value, codeline, block start keyword).\n The indentation of empty lines (or comment lines) is INFINITY.\n If the line does not start a block, the keyword value is False.\n \"\"\"\n spaces, firstword = get_spaces_firstword(codeline)\n indent = len(spaces)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.codecontext", "documentation": {} }, { "label": "get_line_info", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.codecontext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.codecontext", "peekOfCode": "def get_line_info(codeline):\n \"\"\"Return tuple of (line indent value, codeline, block start keyword).\n The indentation of empty lines (or comment lines) is INFINITY.\n If the line does not start a block, the keyword value is False.\n \"\"\"\n spaces, firstword = get_spaces_firstword(codeline)\n indent = len(spaces)\n if len(codeline) == indent or codeline[indent] == '#':\n indent = INFINITY\n opener = firstword in BLOCKOPENERS and firstword", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.codecontext", "documentation": {} }, { "label": "BLOCKOPENERS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.codecontext", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.codecontext", "peekOfCode": "BLOCKOPENERS = {'class', 'def', 'if', 'elif', 'else', 'while', 'for',\n 'try', 'except', 'finally', 'with', 'async'}\ndef get_spaces_firstword(codeline, c=re.compile(r\"^(\\s*)(\\w*)\")):\n \"Extract the beginning whitespace and first word from codeline.\"\n return c.match(codeline).groups()\ndef get_line_info(codeline):\n \"\"\"Return tuple of (line indent value, codeline, block start keyword).\n The indentation of empty lines (or comment lines) is INFINITY.\n If the line does not start a block, the keyword value is False.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.codecontext", "documentation": {} }, { "label": "ColorDelegator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "peekOfCode": "class ColorDelegator(Delegator):\n \"\"\"Delegator for syntax highlighting (text coloring).\n Instance variables:\n delegate: Delegator below this one in the stack, meaning the\n one this one delegates to.\n Used to track state:\n after_id: Identifier for scheduled after event, which is a\n timer for colorizing the text.\n allow_colorizing: Boolean toggle for applying colorizing.\n colorizing: Boolean flag when colorizing is in process.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "documentation": {} }, { "label": "any", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "peekOfCode": "def any(name, alternates):\n \"Return a named group pattern matching list of alternates.\"\n return \"(?P<%s>\" % name + \"|\".join(alternates) + \")\"\ndef make_pat():\n kw = r\"\\b\" + any(\"KEYWORD\", keyword.kwlist) + r\"\\b\"\n match_softkw = (\n r\"^[ \\t]*\" + # at beginning of line + possible indentation\n r\"(?Pmatch)\\b\" +\n r\"(?![ \\t]*(?:\" + \"|\".join([ # not followed by ...\n r\"[:,;=^&|@~)\\]}]\", # a character which means it can't be a", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "documentation": {} }, { "label": "make_pat", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "peekOfCode": "def make_pat():\n kw = r\"\\b\" + any(\"KEYWORD\", keyword.kwlist) + r\"\\b\"\n match_softkw = (\n r\"^[ \\t]*\" + # at beginning of line + possible indentation\n r\"(?Pmatch)\\b\" +\n r\"(?![ \\t]*(?:\" + \"|\".join([ # not followed by ...\n r\"[:,;=^&|@~)\\]}]\", # a character which means it can't be a\n # pattern-matching statement\n r\"\\b(?:\" + r\"|\".join(keyword.kwlist) + r\")\\b\", # a keyword\n ]) +", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "documentation": {} }, { "label": "matched_named_groups", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "peekOfCode": "def matched_named_groups(re_match):\n \"Get only the non-empty named groups from an re.Match object.\"\n return ((k, v) for (k, v) in re_match.groupdict().items() if v)\ndef color_config(text):\n \"\"\"Set color options of Text widget.\n If ColorDelegator is used, this should be called first.\n \"\"\"\n # Called from htest, TextFrame, Editor, and Turtledemo.\n # Not automatic because ColorDelegator does not know 'text'.\n theme = idleConf.CurrentTheme()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "documentation": {} }, { "label": "color_config", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "peekOfCode": "def color_config(text):\n \"\"\"Set color options of Text widget.\n If ColorDelegator is used, this should be called first.\n \"\"\"\n # Called from htest, TextFrame, Editor, and Turtledemo.\n # Not automatic because ColorDelegator does not know 'text'.\n theme = idleConf.CurrentTheme()\n normal_colors = idleConf.GetHighlight(theme, 'normal')\n cursor_color = idleConf.GetHighlight(theme, 'cursor')['foreground']\n select_colors = idleConf.GetHighlight(theme, 'hilite')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "documentation": {} }, { "label": "DEBUG", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "peekOfCode": "DEBUG = False\ndef any(name, alternates):\n \"Return a named group pattern matching list of alternates.\"\n return \"(?P<%s>\" % name + \"|\".join(alternates) + \")\"\ndef make_pat():\n kw = r\"\\b\" + any(\"KEYWORD\", keyword.kwlist) + r\"\\b\"\n match_softkw = (\n r\"^[ \\t]*\" + # at beginning of line + possible indentation\n r\"(?Pmatch)\\b\" +\n r\"(?![ \\t]*(?:\" + \"|\".join([ # not followed by ...", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "documentation": {} }, { "label": "prog", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "peekOfCode": "prog = make_pat()\nidprog = re.compile(r\"\\s+(\\w+)\")\nprog_group_name_to_tag = {\n \"MATCH_SOFTKW\": \"KEYWORD\",\n \"CASE_SOFTKW\": \"KEYWORD\",\n \"CASE_DEFAULT_UNDERSCORE\": \"KEYWORD\",\n \"CASE_SOFTKW2\": \"KEYWORD\",\n}\ndef matched_named_groups(re_match):\n \"Get only the non-empty named groups from an re.Match object.\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "documentation": {} }, { "label": "idprog", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "peekOfCode": "idprog = re.compile(r\"\\s+(\\w+)\")\nprog_group_name_to_tag = {\n \"MATCH_SOFTKW\": \"KEYWORD\",\n \"CASE_SOFTKW\": \"KEYWORD\",\n \"CASE_DEFAULT_UNDERSCORE\": \"KEYWORD\",\n \"CASE_SOFTKW2\": \"KEYWORD\",\n}\ndef matched_named_groups(re_match):\n \"Get only the non-empty named groups from an re.Match object.\"\n return ((k, v) for (k, v) in re_match.groupdict().items() if v)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "documentation": {} }, { "label": "prog_group_name_to_tag", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "peekOfCode": "prog_group_name_to_tag = {\n \"MATCH_SOFTKW\": \"KEYWORD\",\n \"CASE_SOFTKW\": \"KEYWORD\",\n \"CASE_DEFAULT_UNDERSCORE\": \"KEYWORD\",\n \"CASE_SOFTKW2\": \"KEYWORD\",\n}\ndef matched_named_groups(re_match):\n \"Get only the non-empty named groups from an re.Match object.\"\n return ((k, v) for (k, v) in re_match.groupdict().items() if v)\ndef color_config(text):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.colorizer", "documentation": {} }, { "label": "InvalidConfigType", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "peekOfCode": "class InvalidConfigType(Exception): pass\nclass InvalidConfigSet(Exception): pass\nclass InvalidTheme(Exception): pass\nclass IdleConfParser(ConfigParser):\n \"\"\"\n A ConfigParser specialised for idle configuration file handling\n \"\"\"\n def __init__(self, cfgFile, cfgDefaults=None):\n \"\"\"\n cfgFile - string, fully specified configuration file name", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "documentation": {} }, { "label": "InvalidConfigSet", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "peekOfCode": "class InvalidConfigSet(Exception): pass\nclass InvalidTheme(Exception): pass\nclass IdleConfParser(ConfigParser):\n \"\"\"\n A ConfigParser specialised for idle configuration file handling\n \"\"\"\n def __init__(self, cfgFile, cfgDefaults=None):\n \"\"\"\n cfgFile - string, fully specified configuration file name\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "documentation": {} }, { "label": "InvalidTheme", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "peekOfCode": "class InvalidTheme(Exception): pass\nclass IdleConfParser(ConfigParser):\n \"\"\"\n A ConfigParser specialised for idle configuration file handling\n \"\"\"\n def __init__(self, cfgFile, cfgDefaults=None):\n \"\"\"\n cfgFile - string, fully specified configuration file name\n \"\"\"\n self.file = cfgFile # This is currently '' when testing.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "documentation": {} }, { "label": "IdleConfParser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "peekOfCode": "class IdleConfParser(ConfigParser):\n \"\"\"\n A ConfigParser specialised for idle configuration file handling\n \"\"\"\n def __init__(self, cfgFile, cfgDefaults=None):\n \"\"\"\n cfgFile - string, fully specified configuration file name\n \"\"\"\n self.file = cfgFile # This is currently '' when testing.\n ConfigParser.__init__(self, defaults=cfgDefaults, strict=False)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "documentation": {} }, { "label": "IdleUserConfParser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "peekOfCode": "class IdleUserConfParser(IdleConfParser):\n \"\"\"\n IdleConfigParser specialised for user configuration handling.\n \"\"\"\n def SetOption(self, section, option, value):\n \"\"\"Return True if option is added or changed to value, else False.\n Add section if required. False means option already had value.\n \"\"\"\n if self.has_option(section, option):\n if self.get(section, option) == value:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "documentation": {} }, { "label": "IdleConf", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "peekOfCode": "class IdleConf:\n \"\"\"Hold config parsers for all idle config files in singleton instance.\n Default config files, self.defaultCfg --\n for config_type in self.config_types:\n (idle install dir)/config-{config-type}.def\n User config files, self.userCfg --\n for config_type in self.config_types:\n (user home dir)/.idlerc/config-{config-type}.cfg\n \"\"\"\n def __init__(self, _utest=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "documentation": {} }, { "label": "ConfigChanges", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "peekOfCode": "class ConfigChanges(dict):\n \"\"\"Manage a user's proposed configuration option changes.\n Names used across multiple methods:\n page -- one of the 4 top-level dicts representing a\n .idlerc/config-x.cfg file.\n config_type -- name of a page.\n section -- a section within a page/file.\n option -- name of an option within a section.\n value -- value for the option.\n Methods", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "documentation": {} }, { "label": "idleConf", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "peekOfCode": "idleConf = IdleConf()\n_warned = set()\ndef _warn(msg, *key):\n key = (msg,) + key\n if key not in _warned:\n try:\n print(msg, file=sys.stderr)\n except OSError:\n pass\n _warned.add(key)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "documentation": {} }, { "label": "_warned", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "peekOfCode": "_warned = set()\ndef _warn(msg, *key):\n key = (msg,) + key\n if key not in _warned:\n try:\n print(msg, file=sys.stderr)\n except OSError:\n pass\n _warned.add(key)\nclass ConfigChanges(dict):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config", "documentation": {} }, { "label": "ConfigDialog", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "peekOfCode": "class ConfigDialog(Toplevel):\n \"\"\"Config dialog for IDLE.\n \"\"\"\n def __init__(self, parent, title='', *, _htest=False, _utest=False):\n \"\"\"Show the tabbed dialog for user configuration.\n Args:\n parent - parent of this dialog\n title - string which is the title of this popup dialog\n _htest - bool, change box location when running htest\n _utest - bool, don't wait_window when running unittest", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "documentation": {} }, { "label": "FontPage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "peekOfCode": "class FontPage(Frame):\n def __init__(self, master, highpage):\n super().__init__(master)\n self.highlight_sample = highpage.highlight_sample\n self.create_page_font()\n self.load_font_cfg()\n def create_page_font(self):\n \"\"\"Return frame of widgets for Font tab.\n Fonts: Enable users to provisionally change font face, size, or\n boldness and to see the consequence of proposed choices. Each", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "documentation": {} }, { "label": "HighPage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "peekOfCode": "class HighPage(Frame):\n def __init__(self, master, extpage):\n super().__init__(master)\n self.extpage = extpage\n self.cd = master.winfo_toplevel()\n self.style = Style(master)\n self.create_page_highlight()\n self.load_theme_cfg()\n def create_page_highlight(self):\n \"\"\"Return frame of widgets for Highlights tab.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "documentation": {} }, { "label": "KeysPage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "peekOfCode": "class KeysPage(Frame):\n def __init__(self, master, extpage):\n super().__init__(master)\n self.extpage = extpage\n self.cd = master.winfo_toplevel()\n self.create_page_keys()\n self.load_key_cfg()\n def create_page_keys(self):\n \"\"\"Return frame of widgets for Keys tab.\n Enable users to provisionally change both individual and sets of", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "documentation": {} }, { "label": "WinPage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "peekOfCode": "class WinPage(Frame):\n def __init__(self, master):\n super().__init__(master)\n self.init_validators()\n self.create_page_windows()\n self.load_windows_cfg()\n def init_validators(self):\n digits_or_empty_re = re.compile(r'[0-9]*')\n def is_digits_or_empty(s):\n \"Return 's is blank or contains only digits'\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "documentation": {} }, { "label": "ShedPage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "peekOfCode": "class ShedPage(Frame):\n def __init__(self, master):\n super().__init__(master)\n self.init_validators()\n self.create_page_shed()\n self.load_shelled_cfg()\n def init_validators(self):\n digits_or_empty_re = re.compile(r'[0-9]*')\n def is_digits_or_empty(s):\n \"Return 's is blank or contains only digits'\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "documentation": {} }, { "label": "ExtPage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "peekOfCode": "class ExtPage(Frame):\n def __init__(self, master):\n super().__init__(master)\n self.ext_defaultCfg = idleConf.defaultCfg['extensions']\n self.ext_userCfg = idleConf.userCfg['extensions']\n self.is_int = self.register(is_int)\n self.load_extensions()\n self.create_page_extensions() # Requires extension names.\n def create_page_extensions(self):\n \"\"\"Configure IDLE feature extensions and help menu extensions.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "documentation": {} }, { "label": "HelpFrame", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "peekOfCode": "class HelpFrame(LabelFrame):\n def __init__(self, master, **cfg):\n super().__init__(master, **cfg)\n self.create_frame_help()\n self.load_helplist()\n def create_frame_help(self):\n \"\"\"Create LabelFrame for additional help menu sources.\n load_helplist loads list user_helplist with\n name, position pairs and copies names to listbox helplist.\n Clicking a name invokes help_source selected. Clicking", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "documentation": {} }, { "label": "VarTrace", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "peekOfCode": "class VarTrace:\n \"\"\"Maintain Tk variables trace state.\"\"\"\n def __init__(self):\n \"\"\"Store Tk variables and callbacks.\n untraced: List of tuples (var, callback)\n that do not have the callback attached\n to the Tk var.\n traced: List of tuples (var, callback) where\n that callback has been attached to the var.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "documentation": {} }, { "label": "VerticalScrolledFrame", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "peekOfCode": "class VerticalScrolledFrame(Frame):\n \"\"\"A pure Tkinter vertically scrollable frame.\n * Use the 'interior' attribute to place widgets inside the scrollable frame\n * Construct and pack/place/grid normally\n * This frame only allows vertical scrolling\n \"\"\"\n def __init__(self, parent, *args, **kw):\n Frame.__init__(self, parent, *args, **kw)\n # Create a canvas object and a vertical scrollbar for scrolling it.\n vscrollbar = Scrollbar(self, orient=VERTICAL)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "documentation": {} }, { "label": "is_int", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "peekOfCode": "def is_int(s):\n \"Return 's is blank or represents an int'\"\n if not s:\n return True\n try:\n int(s)\n return True\n except ValueError:\n return False\nclass VerticalScrolledFrame(Frame):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "documentation": {} }, { "label": "changes", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "peekOfCode": "changes = ConfigChanges()\n# Reload changed options in the following classes.\nreloadables = (AutoComplete, CodeContext, ParenMatch, FormatParagraph,\n Squeezer)\nclass ConfigDialog(Toplevel):\n \"\"\"Config dialog for IDLE.\n \"\"\"\n def __init__(self, parent, title='', *, _htest=False, _utest=False):\n \"\"\"Show the tabbed dialog for user configuration.\n Args:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "documentation": {} }, { "label": "reloadables", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "peekOfCode": "reloadables = (AutoComplete, CodeContext, ParenMatch, FormatParagraph,\n Squeezer)\nclass ConfigDialog(Toplevel):\n \"\"\"Config dialog for IDLE.\n \"\"\"\n def __init__(self, parent, title='', *, _htest=False, _utest=False):\n \"\"\"Show the tabbed dialog for user configuration.\n Args:\n parent - parent of this dialog\n title - string which is the title of this popup dialog", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "documentation": {} }, { "label": "font_sample_text", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "peekOfCode": "font_sample_text = (\n '\\n'\n 'AaBbCcDdEeFfGgHhIiJj\\n1234567890#:+=(){}[]\\n'\n '\\u00a2\\u00a3\\u00a5\\u00a7\\u00a9\\u00ab\\u00ae\\u00b6\\u00bd\\u011e'\n '\\u00c0\\u00c1\\u00c2\\u00c3\\u00c4\\u00c5\\u00c7\\u00d0\\u00d8\\u00df\\n'\n '\\n\\n'\n '\\u0250\\u0255\\u0258\\u025e\\u025f\\u0264\\u026b\\u026e\\u0270\\u0277'\n '\\u027b\\u0281\\u0283\\u0286\\u028e\\u029e\\u02a2\\u02ab\\u02ad\\u02af\\n'\n '\\u0391\\u03b1\\u0392\\u03b2\\u0393\\u03b3\\u0394\\u03b4\\u0395\\u03b5'\n '\\u0396\\u03b6\\u0397\\u03b7\\u0398\\u03b8\\u0399\\u03b9\\u039a\\u03ba\\n'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "documentation": {} }, { "label": "tracers", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "peekOfCode": "tracers = VarTrace()\nhelp_common = '''\\\nWhen you click either the Apply or Ok buttons, settings in this\ndialog that are different from IDLE's default are saved in\na .idlerc directory in your home directory. Except as noted,\nthese changes apply to all versions of IDLE installed on this\nmachine. [Cancel] only cancels changes made since the last save.\n'''\nhelp_pages = {\n 'Fonts/Tabs':'''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "documentation": {} }, { "label": "help_common", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "peekOfCode": "help_common = '''\\\nWhen you click either the Apply or Ok buttons, settings in this\ndialog that are different from IDLE's default are saved in\na .idlerc directory in your home directory. Except as noted,\nthese changes apply to all versions of IDLE installed on this\nmachine. [Cancel] only cancels changes made since the last save.\n'''\nhelp_pages = {\n 'Fonts/Tabs':'''\nFont sample: This shows what a selection of Basic Multilingual Plane", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "documentation": {} }, { "label": "help_pages", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "peekOfCode": "help_pages = {\n 'Fonts/Tabs':'''\nFont sample: This shows what a selection of Basic Multilingual Plane\nunicode characters look like for the current font selection. If the\nselected font does not define a character, Tk attempts to find another\nfont that does. Substitute glyphs depend on what is available on a\nparticular system and will not necessarily have the same size as the\nfont selected. Line contains 20 characters up to Devanagari, 14 for\nTamil, and 10 for East Asia.\nHebrew and Arabic letters should display right to left, starting with", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.configdialog", "documentation": {} }, { "label": "GetKeysDialog", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "peekOfCode": "class GetKeysDialog(Toplevel):\n # Dialog title for invalid key sequence\n keyerror_title = 'Key Sequence Error'\n def __init__(self, parent, title, action, current_key_sequences,\n *, _htest=False, _utest=False):\n \"\"\"\n parent - parent of this dialog\n title - string which is the title of the popup dialog\n action - string, the name of the virtual event these keys will be\n mapped to", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "documentation": {} }, { "label": "translate_key", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "peekOfCode": "def translate_key(key, modifiers):\n \"Translate from keycap symbol to the Tkinter keysym.\"\n mapping = {'Space':'space',\n '~':'asciitilde', '!':'exclam', '@':'at', '#':'numbersign',\n '%':'percent', '^':'asciicircum', '&':'ampersand',\n '*':'asterisk', '(':'parenleft', ')':'parenright',\n '_':'underscore', '-':'minus', '+':'plus', '=':'equal',\n '{':'braceleft', '}':'braceright',\n '[':'bracketleft', ']':'bracketright', '|':'bar',\n ';':'semicolon', ':':'colon', ',':'comma', '.':'period',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "documentation": {} }, { "label": "FUNCTION_KEYS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "peekOfCode": "FUNCTION_KEYS = ('F1', 'F2' ,'F3' ,'F4' ,'F5' ,'F6',\n 'F7', 'F8' ,'F9' ,'F10' ,'F11' ,'F12')\nALPHANUM_KEYS = tuple(string.ascii_lowercase + string.digits)\nPUNCTUATION_KEYS = tuple('~!@#%^&*()_-+={}[]|;:,.<>/?')\nWHITESPACE_KEYS = ('Tab', 'Space', 'Return')\nEDIT_KEYS = ('BackSpace', 'Delete', 'Insert')\nMOVE_KEYS = ('Home', 'End', 'Page Up', 'Page Down', 'Left Arrow',\n 'Right Arrow', 'Up Arrow', 'Down Arrow')\nAVAILABLE_KEYS = (ALPHANUM_KEYS + PUNCTUATION_KEYS + FUNCTION_KEYS +\n WHITESPACE_KEYS + EDIT_KEYS + MOVE_KEYS)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "documentation": {} }, { "label": "ALPHANUM_KEYS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "peekOfCode": "ALPHANUM_KEYS = tuple(string.ascii_lowercase + string.digits)\nPUNCTUATION_KEYS = tuple('~!@#%^&*()_-+={}[]|;:,.<>/?')\nWHITESPACE_KEYS = ('Tab', 'Space', 'Return')\nEDIT_KEYS = ('BackSpace', 'Delete', 'Insert')\nMOVE_KEYS = ('Home', 'End', 'Page Up', 'Page Down', 'Left Arrow',\n 'Right Arrow', 'Up Arrow', 'Down Arrow')\nAVAILABLE_KEYS = (ALPHANUM_KEYS + PUNCTUATION_KEYS + FUNCTION_KEYS +\n WHITESPACE_KEYS + EDIT_KEYS + MOVE_KEYS)\ndef translate_key(key, modifiers):\n \"Translate from keycap symbol to the Tkinter keysym.\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "documentation": {} }, { "label": "PUNCTUATION_KEYS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "peekOfCode": "PUNCTUATION_KEYS = tuple('~!@#%^&*()_-+={}[]|;:,.<>/?')\nWHITESPACE_KEYS = ('Tab', 'Space', 'Return')\nEDIT_KEYS = ('BackSpace', 'Delete', 'Insert')\nMOVE_KEYS = ('Home', 'End', 'Page Up', 'Page Down', 'Left Arrow',\n 'Right Arrow', 'Up Arrow', 'Down Arrow')\nAVAILABLE_KEYS = (ALPHANUM_KEYS + PUNCTUATION_KEYS + FUNCTION_KEYS +\n WHITESPACE_KEYS + EDIT_KEYS + MOVE_KEYS)\ndef translate_key(key, modifiers):\n \"Translate from keycap symbol to the Tkinter keysym.\"\n mapping = {'Space':'space',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "documentation": {} }, { "label": "WHITESPACE_KEYS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "peekOfCode": "WHITESPACE_KEYS = ('Tab', 'Space', 'Return')\nEDIT_KEYS = ('BackSpace', 'Delete', 'Insert')\nMOVE_KEYS = ('Home', 'End', 'Page Up', 'Page Down', 'Left Arrow',\n 'Right Arrow', 'Up Arrow', 'Down Arrow')\nAVAILABLE_KEYS = (ALPHANUM_KEYS + PUNCTUATION_KEYS + FUNCTION_KEYS +\n WHITESPACE_KEYS + EDIT_KEYS + MOVE_KEYS)\ndef translate_key(key, modifiers):\n \"Translate from keycap symbol to the Tkinter keysym.\"\n mapping = {'Space':'space',\n '~':'asciitilde', '!':'exclam', '@':'at', '#':'numbersign',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "documentation": {} }, { "label": "EDIT_KEYS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "peekOfCode": "EDIT_KEYS = ('BackSpace', 'Delete', 'Insert')\nMOVE_KEYS = ('Home', 'End', 'Page Up', 'Page Down', 'Left Arrow',\n 'Right Arrow', 'Up Arrow', 'Down Arrow')\nAVAILABLE_KEYS = (ALPHANUM_KEYS + PUNCTUATION_KEYS + FUNCTION_KEYS +\n WHITESPACE_KEYS + EDIT_KEYS + MOVE_KEYS)\ndef translate_key(key, modifiers):\n \"Translate from keycap symbol to the Tkinter keysym.\"\n mapping = {'Space':'space',\n '~':'asciitilde', '!':'exclam', '@':'at', '#':'numbersign',\n '%':'percent', '^':'asciicircum', '&':'ampersand',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "documentation": {} }, { "label": "MOVE_KEYS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "peekOfCode": "MOVE_KEYS = ('Home', 'End', 'Page Up', 'Page Down', 'Left Arrow',\n 'Right Arrow', 'Up Arrow', 'Down Arrow')\nAVAILABLE_KEYS = (ALPHANUM_KEYS + PUNCTUATION_KEYS + FUNCTION_KEYS +\n WHITESPACE_KEYS + EDIT_KEYS + MOVE_KEYS)\ndef translate_key(key, modifiers):\n \"Translate from keycap symbol to the Tkinter keysym.\"\n mapping = {'Space':'space',\n '~':'asciitilde', '!':'exclam', '@':'at', '#':'numbersign',\n '%':'percent', '^':'asciicircum', '&':'ampersand',\n '*':'asterisk', '(':'parenleft', ')':'parenright',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "documentation": {} }, { "label": "AVAILABLE_KEYS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "peekOfCode": "AVAILABLE_KEYS = (ALPHANUM_KEYS + PUNCTUATION_KEYS + FUNCTION_KEYS +\n WHITESPACE_KEYS + EDIT_KEYS + MOVE_KEYS)\ndef translate_key(key, modifiers):\n \"Translate from keycap symbol to the Tkinter keysym.\"\n mapping = {'Space':'space',\n '~':'asciitilde', '!':'exclam', '@':'at', '#':'numbersign',\n '%':'percent', '^':'asciicircum', '&':'ampersand',\n '*':'asterisk', '(':'parenleft', ')':'parenright',\n '_':'underscore', '-':'minus', '+':'plus', '=':'equal',\n '{':'braceleft', '}':'braceright',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.config_key", "documentation": {} }, { "label": "Idb", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger", "peekOfCode": "class Idb(bdb.Bdb):\n def __init__(self, gui):\n self.gui = gui # An instance of Debugger or proxy of remote.\n bdb.Bdb.__init__(self)\n def user_line(self, frame):\n if self.in_rpc_code(frame):\n self.set_step()\n return\n message = self.__frame2message(frame)\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger", "documentation": {} }, { "label": "Debugger", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger", "peekOfCode": "class Debugger:\n vstack = vsource = vlocals = vglobals = None\n def __init__(self, pyshell, idb=None):\n if idb is None:\n idb = Idb(self)\n self.pyshell = pyshell\n self.idb = idb # If passed, a proxy of remote instance.\n self.frame = None\n self.make_gui()\n self.interacting = 0", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger", "documentation": {} }, { "label": "StackViewer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger", "peekOfCode": "class StackViewer(ScrolledList):\n def __init__(self, master, flist, gui):\n if macosx.isAquaTk():\n # At least on with the stock AquaTk version on OSX 10.4 you'll\n # get a shaking GUI that eventually kills IDLE if the width\n # argument is specified.\n ScrolledList.__init__(self, master)\n else:\n ScrolledList.__init__(self, master, width=80)\n self.flist = flist", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger", "documentation": {} }, { "label": "NamespaceViewer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger", "peekOfCode": "class NamespaceViewer:\n def __init__(self, master, title, dict=None):\n width = 0\n height = 40\n if dict:\n height = 20*len(dict) # XXX 20 == observed height of Entry widget\n self.master = master\n self.title = title\n import reprlib\n self.repr = reprlib.Repr()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger", "documentation": {} }, { "label": "GUIProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "class GUIProxy:\n def __init__(self, conn, gui_adap_oid):\n self.conn = conn\n self.oid = gui_adap_oid\n def interaction(self, message, frame, info=None):\n # calls rpc.SocketIO.remotecall() via run.MyHandler instance\n # pass frame and traceback object IDs instead of the objects themselves\n self.conn.remotecall(self.oid, \"interaction\",\n (message, wrap_frame(frame), wrap_info(info)),\n {})", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "IdbAdapter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "class IdbAdapter:\n def __init__(self, idb):\n self.idb = idb\n #----------called by an IdbProxy----------\n def set_step(self):\n self.idb.set_step()\n def set_quit(self):\n self.idb.set_quit()\n def set_continue(self):\n self.idb.set_continue()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "FrameProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "class FrameProxy:\n def __init__(self, conn, fid):\n self._conn = conn\n self._fid = fid\n self._oid = \"idb_adapter\"\n self._dictcache = {}\n def __getattr__(self, name):\n if name[:1] == \"_\":\n raise AttributeError(name)\n if name == \"f_code\":", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "CodeProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "class CodeProxy:\n def __init__(self, conn, oid, cid):\n self._conn = conn\n self._oid = oid\n self._cid = cid\n def __getattr__(self, name):\n if name == \"co_name\":\n return self._conn.remotecall(self._oid, \"code_name\",\n (self._cid,), {})\n if name == \"co_filename\":", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "DictProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "class DictProxy:\n def __init__(self, conn, oid, did):\n self._conn = conn\n self._oid = oid\n self._did = did\n## def keys(self):\n## return self._conn.remotecall(self._oid, \"dict_keys\", (self._did,), {})\n # 'temporary' until dict_keys is a pickleable built-in type\n def keys(self):\n return self._conn.remotecall(self._oid,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "GUIAdapter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "class GUIAdapter:\n def __init__(self, conn, gui):\n self.conn = conn\n self.gui = gui\n def interaction(self, message, fid, modified_info):\n ##print(\"*** Interaction: (%s, %s, %s)\" % (message, fid, modified_info))\n frame = FrameProxy(self.conn, fid)\n self.gui.interaction(message, frame, modified_info)\nclass IdbProxy:\n def __init__(self, conn, shell, oid):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "IdbProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "class IdbProxy:\n def __init__(self, conn, shell, oid):\n self.oid = oid\n self.conn = conn\n self.shell = shell\n def call(self, methodname, /, *args, **kwargs):\n ##print(\"*** IdbProxy.call %s %s %s\" % (methodname, args, kwargs))\n value = self.conn.remotecall(self.oid, methodname, args, kwargs)\n ##print(\"*** IdbProxy.call %s returns %r\" % (methodname, value))\n return value", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "wrap_frame", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "def wrap_frame(frame):\n fid = id(frame)\n frametable[fid] = frame\n return fid\ndef wrap_info(info):\n \"replace info[2], a traceback instance, by its ID\"\n if info is None:\n return None\n else:\n traceback = info[2]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "wrap_info", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "def wrap_info(info):\n \"replace info[2], a traceback instance, by its ID\"\n if info is None:\n return None\n else:\n traceback = info[2]\n assert isinstance(traceback, types.TracebackType)\n traceback_id = id(traceback)\n tracebacktable[traceback_id] = traceback\n modified_info = (info[0], info[1], traceback_id)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "start_debugger", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "def start_debugger(rpchandler, gui_adap_oid):\n \"\"\"Start the debugger and its RPC link in the Python subprocess\n Start the subprocess side of the split debugger and set up that side of the\n RPC link by instantiating the GUIProxy, Idb debugger, and IdbAdapter\n objects and linking them together. Register the IdbAdapter with the\n RPCServer to handle RPC requests from the split debugger GUI via the\n IdbProxy.\n \"\"\"\n gui_proxy = GUIProxy(rpchandler, gui_adap_oid)\n idb = debugger.Idb(gui_proxy)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "start_remote_debugger", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "def start_remote_debugger(rpcclt, pyshell):\n \"\"\"Start the subprocess debugger, initialize the debugger GUI and RPC link\n Request the RPCServer start the Python subprocess debugger and link. Set\n up the Idle side of the split debugger by instantiating the IdbProxy,\n debugger GUI, and debugger GUIAdapter objects and linking them together.\n Register the GUIAdapter with the RPCClient to handle debugger GUI\n interaction requests coming from the subprocess debugger via the GUIProxy.\n The IdbAdapter will pass execution and environment requests coming from the\n Idle debugger GUI to the subprocess debugger via the IdbProxy.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "close_remote_debugger", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "def close_remote_debugger(rpcclt):\n \"\"\"Shut down subprocess debugger and Idle side of debugger RPC link\n Request that the RPCServer shut down the subprocess debugger and link.\n Unregister the GUIAdapter, which will cause a GC on the Idle process\n debugger and RPC link objects. (The second reference to the debugger GUI\n is deleted in pyshell.close_remote_debugger().)\n \"\"\"\n close_subprocess_debugger(rpcclt)\n rpcclt.unregister(gui_adap_oid)\ndef close_subprocess_debugger(rpcclt):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "close_subprocess_debugger", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "def close_subprocess_debugger(rpcclt):\n rpcclt.remotecall(\"exec\", \"stop_the_debugger\", (idb_adap_oid,), {})\ndef restart_subprocess_debugger(rpcclt):\n idb_adap_oid_ret = rpcclt.remotecall(\"exec\", \"start_the_debugger\",\\\n (gui_adap_oid,), {})\n assert idb_adap_oid_ret == idb_adap_oid, 'Idb restarted with different oid'\nif __name__ == \"__main__\":\n from unittest import main\n main('idlelib.idle_test.test_debugger_r', verbosity=2, exit=False)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "restart_subprocess_debugger", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "def restart_subprocess_debugger(rpcclt):\n idb_adap_oid_ret = rpcclt.remotecall(\"exec\", \"start_the_debugger\",\\\n (gui_adap_oid,), {})\n assert idb_adap_oid_ret == idb_adap_oid, 'Idb restarted with different oid'\nif __name__ == \"__main__\":\n from unittest import main\n main('idlelib.idle_test.test_debugger_r', verbosity=2, exit=False)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "debugging", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "debugging = 0\nidb_adap_oid = \"idb_adapter\"\ngui_adap_oid = \"gui_adapter\"\n#=======================================\n#\n# In the PYTHON subprocess:\nframetable = {}\ndicttable = {}\ncodetable = {}\ntracebacktable = {}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "idb_adap_oid", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "idb_adap_oid = \"idb_adapter\"\ngui_adap_oid = \"gui_adapter\"\n#=======================================\n#\n# In the PYTHON subprocess:\nframetable = {}\ndicttable = {}\ncodetable = {}\ntracebacktable = {}\ndef wrap_frame(frame):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "gui_adap_oid", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "gui_adap_oid = \"gui_adapter\"\n#=======================================\n#\n# In the PYTHON subprocess:\nframetable = {}\ndicttable = {}\ncodetable = {}\ntracebacktable = {}\ndef wrap_frame(frame):\n fid = id(frame)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "frametable", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "frametable = {}\ndicttable = {}\ncodetable = {}\ntracebacktable = {}\ndef wrap_frame(frame):\n fid = id(frame)\n frametable[fid] = frame\n return fid\ndef wrap_info(info):\n \"replace info[2], a traceback instance, by its ID\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "dicttable", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "dicttable = {}\ncodetable = {}\ntracebacktable = {}\ndef wrap_frame(frame):\n fid = id(frame)\n frametable[fid] = frame\n return fid\ndef wrap_info(info):\n \"replace info[2], a traceback instance, by its ID\"\n if info is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "codetable", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "codetable = {}\ntracebacktable = {}\ndef wrap_frame(frame):\n fid = id(frame)\n frametable[fid] = frame\n return fid\ndef wrap_info(info):\n \"replace info[2], a traceback instance, by its ID\"\n if info is None:\n return None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "tracebacktable", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "peekOfCode": "tracebacktable = {}\ndef wrap_frame(frame):\n fid = id(frame)\n frametable[fid] = frame\n return fid\ndef wrap_info(info):\n \"replace info[2], a traceback instance, by its ID\"\n if info is None:\n return None\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugger_r", "documentation": {} }, { "label": "ObjectTreeItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "peekOfCode": "class ObjectTreeItem(TreeItem):\n def __init__(self, labeltext, object, setfunction=None):\n self.labeltext = labeltext\n self.object = object\n self.setfunction = setfunction\n def GetLabelText(self):\n return self.labeltext\n def GetText(self):\n return myrepr.repr(self.object)\n def GetIconName(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "documentation": {} }, { "label": "ClassTreeItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "peekOfCode": "class ClassTreeItem(ObjectTreeItem):\n def IsExpandable(self):\n return True\n def GetSubList(self):\n sublist = ObjectTreeItem.GetSubList(self)\n if len(self.object.__bases__) == 1:\n item = make_objecttreeitem(\"__bases__[0] =\",\n self.object.__bases__[0])\n else:\n item = make_objecttreeitem(\"__bases__ =\", self.object.__bases__)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "documentation": {} }, { "label": "AtomicObjectTreeItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "peekOfCode": "class AtomicObjectTreeItem(ObjectTreeItem):\n def IsExpandable(self):\n return False\nclass SequenceTreeItem(ObjectTreeItem):\n def IsExpandable(self):\n return len(self.object) > 0\n def keys(self):\n return range(len(self.object))\n def GetSubList(self):\n sublist = []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "documentation": {} }, { "label": "SequenceTreeItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "peekOfCode": "class SequenceTreeItem(ObjectTreeItem):\n def IsExpandable(self):\n return len(self.object) > 0\n def keys(self):\n return range(len(self.object))\n def GetSubList(self):\n sublist = []\n for key in self.keys():\n try:\n value = self.object[key]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "documentation": {} }, { "label": "DictTreeItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "peekOfCode": "class DictTreeItem(SequenceTreeItem):\n def keys(self):\n keys = list(self.object.keys())\n try:\n keys.sort()\n except:\n pass\n return keys\ndispatch = {\n int: AtomicObjectTreeItem,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "documentation": {} }, { "label": "make_objecttreeitem", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "peekOfCode": "def make_objecttreeitem(labeltext, object, setfunction=None):\n t = type(object)\n if t in dispatch:\n c = dispatch[t]\n else:\n c = ObjectTreeItem\n return c(labeltext, object, setfunction)\ndef _object_browser(parent): # htest #\n import sys\n from tkinter import Toplevel", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "documentation": {} }, { "label": "myrepr", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "peekOfCode": "myrepr = Repr()\nmyrepr.maxstring = 100\nmyrepr.maxother = 100\nclass ObjectTreeItem(TreeItem):\n def __init__(self, labeltext, object, setfunction=None):\n self.labeltext = labeltext\n self.object = object\n self.setfunction = setfunction\n def GetLabelText(self):\n return self.labeltext", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "documentation": {} }, { "label": "myrepr.maxstring", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "peekOfCode": "myrepr.maxstring = 100\nmyrepr.maxother = 100\nclass ObjectTreeItem(TreeItem):\n def __init__(self, labeltext, object, setfunction=None):\n self.labeltext = labeltext\n self.object = object\n self.setfunction = setfunction\n def GetLabelText(self):\n return self.labeltext\n def GetText(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "documentation": {} }, { "label": "myrepr.maxother", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "peekOfCode": "myrepr.maxother = 100\nclass ObjectTreeItem(TreeItem):\n def __init__(self, labeltext, object, setfunction=None):\n self.labeltext = labeltext\n self.object = object\n self.setfunction = setfunction\n def GetLabelText(self):\n return self.labeltext\n def GetText(self):\n return myrepr.repr(self.object)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "documentation": {} }, { "label": "dispatch", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "peekOfCode": "dispatch = {\n int: AtomicObjectTreeItem,\n float: AtomicObjectTreeItem,\n str: AtomicObjectTreeItem,\n tuple: SequenceTreeItem,\n list: SequenceTreeItem,\n dict: DictTreeItem,\n type: ClassTreeItem,\n}\ndef make_objecttreeitem(labeltext, object, setfunction=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj", "documentation": {} }, { "label": "WrappedObjectTreeItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj_r", "peekOfCode": "class WrappedObjectTreeItem:\n # Lives in PYTHON subprocess\n def __init__(self, item):\n self.__item = item\n def __getattr__(self, name):\n value = getattr(self.__item, name)\n return value\n def _GetSubList(self):\n sub_list = self.__item._GetSubList()\n return list(map(remote_object_tree_item, sub_list))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj_r", "documentation": {} }, { "label": "StubObjectTreeItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj_r", "peekOfCode": "class StubObjectTreeItem:\n # Lives in IDLE process\n def __init__(self, sockio, oid):\n self.sockio = sockio\n self.oid = oid\n def __getattr__(self, name):\n value = rpc.MethodProxy(self.sockio, self.oid, name)\n return value\n def _GetSubList(self):\n sub_list = self.sockio.remotecall(self.oid, \"_GetSubList\", (), {})", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj_r", "documentation": {} }, { "label": "remote_object_tree_item", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj_r", "peekOfCode": "def remote_object_tree_item(item):\n wrapper = WrappedObjectTreeItem(item)\n oid = id(wrapper)\n rpc.objecttable[oid] = wrapper\n return oid\nclass WrappedObjectTreeItem:\n # Lives in PYTHON subprocess\n def __init__(self, item):\n self.__item = item\n def __getattr__(self, name):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.debugobj_r", "documentation": {} }, { "label": "Delegator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.delegator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.delegator", "peekOfCode": "class Delegator:\n def __init__(self, delegate=None):\n self.delegate = delegate\n self.__cache = set()\n # Cache is used to only remove added attributes\n # when changing the delegate.\n def __getattr__(self, name):\n attr = getattr(self.delegate, name) # May raise AttributeError\n setattr(self, name, attr)\n self.__cache.add(name)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.delegator", "documentation": {} }, { "label": "DynOptionMenu", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.dynoption", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.dynoption", "peekOfCode": "class DynOptionMenu(OptionMenu):\n \"\"\"\n unlike OptionMenu, our kwargs can include highlightthickness\n \"\"\"\n def __init__(self, master, variable, value, *values, **kwargs):\n # TODO copy value instead of whole dict\n kwargsCopy=copy.copy(kwargs)\n if 'highlightthickness' in list(kwargs.keys()):\n del(kwargs['highlightthickness'])\n OptionMenu.__init__(self, master, variable, value, *values, **kwargs)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.dynoption", "documentation": {} }, { "label": "EditorWindow", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "peekOfCode": "class EditorWindow:\n from idlelib.percolator import Percolator\n from idlelib.colorizer import ColorDelegator, color_config\n from idlelib.undo import UndoDelegator\n from idlelib.iomenu import IOBinding, encoding\n from idlelib import mainmenu\n from idlelib.statusbar import MultiStatusBar\n from idlelib.autocomplete import AutoComplete\n from idlelib.autoexpand import AutoExpand\n from idlelib.calltip import Calltip", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "documentation": {} }, { "label": "IndentSearcher", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "peekOfCode": "class IndentSearcher:\n # .run() chews over the Text widget, looking for a block opener\n # and the stmt following it. Returns a pair,\n # (line containing block opener, line containing stmt)\n # Either or both may be None.\n def __init__(self, text, tabwidth):\n self.text = text\n self.tabwidth = tabwidth\n self.i = self.finished = 0\n self.blkopenline = self.indentedline = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "documentation": {} }, { "label": "index2line", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "peekOfCode": "def index2line(index):\n return int(float(index))\n_line_indent_re = re.compile(r'[ \\t]*')\ndef get_line_indent(line, tabwidth):\n \"\"\"Return a line's indentation as (# chars, effective # of spaces).\n The effective # of spaces is the length after properly \"expanding\"\n the tabs into spaces, as done by str.expandtabs(tabwidth).\n \"\"\"\n m = _line_indent_re.match(line)\n return m.end(), len(m.group().expandtabs(tabwidth))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "documentation": {} }, { "label": "get_line_indent", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "peekOfCode": "def get_line_indent(line, tabwidth):\n \"\"\"Return a line's indentation as (# chars, effective # of spaces).\n The effective # of spaces is the length after properly \"expanding\"\n the tabs into spaces, as done by str.expandtabs(tabwidth).\n \"\"\"\n m = _line_indent_re.match(line)\n return m.end(), len(m.group().expandtabs(tabwidth))\nclass IndentSearcher:\n # .run() chews over the Text widget, looking for a block opener\n # and the stmt following it. Returns a pair,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "documentation": {} }, { "label": "prepstr", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "peekOfCode": "def prepstr(s):\n # Helper to extract the underscore from a string, e.g.\n # prepstr(\"Co_py\") returns (2, \"Copy\").\n i = s.find('_')\n if i >= 0:\n s = s[:i] + s[i+1:]\n return i, s\nkeynames = {\n 'bracketleft': '[',\n 'bracketright': ']',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "documentation": {} }, { "label": "get_accelerator", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "peekOfCode": "def get_accelerator(keydefs, eventname):\n keylist = keydefs.get(eventname)\n # issue10940: temporary workaround to prevent hang with OS X Cocoa Tk 8.5\n # if not keylist:\n if (not keylist) or (macosx.isCocoaTk() and eventname in {\n \"<>\",\n \"<>\",\n \"<>\"}):\n return \"\"\n s = keylist[0]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "documentation": {} }, { "label": "fixwordbreaks", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "peekOfCode": "def fixwordbreaks(root):\n # On Windows, tcl/tk breaks 'words' only on spaces, as in Command Prompt.\n # We want Motif style everywhere. See #21474, msg218992 and followup.\n tk = root.tk\n tk.call('tcl_wordBreakAfter', 'a b', 0) # make sure word.tcl is loaded\n tk.call('set', 'tcl_wordchars', r'\\w')\n tk.call('set', 'tcl_nonwordchars', r'\\W')\ndef _editor_window(parent): # htest #\n # error if close master window first - timer event, after script\n root = parent", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "documentation": {} }, { "label": "TK_TABWIDTH_DEFAULT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "peekOfCode": "TK_TABWIDTH_DEFAULT = 8\n_py_version = ' (%s)' % platform.python_version()\ndarwin = sys.platform == 'darwin'\ndef _sphinx_version():\n \"Format sys.version_info to produce the Sphinx version string used to install the chm docs\"\n major, minor, micro, level, serial = sys.version_info\n release = '%s%s' % (major, minor)\n release += '%s' % (micro,)\n if level == 'candidate':\n release += 'rc%s' % (serial,)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "documentation": {} }, { "label": "_py_version", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "peekOfCode": "_py_version = ' (%s)' % platform.python_version()\ndarwin = sys.platform == 'darwin'\ndef _sphinx_version():\n \"Format sys.version_info to produce the Sphinx version string used to install the chm docs\"\n major, minor, micro, level, serial = sys.version_info\n release = '%s%s' % (major, minor)\n release += '%s' % (micro,)\n if level == 'candidate':\n release += 'rc%s' % (serial,)\n elif level != 'final':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "documentation": {} }, { "label": "darwin", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "peekOfCode": "darwin = sys.platform == 'darwin'\ndef _sphinx_version():\n \"Format sys.version_info to produce the Sphinx version string used to install the chm docs\"\n major, minor, micro, level, serial = sys.version_info\n release = '%s%s' % (major, minor)\n release += '%s' % (micro,)\n if level == 'candidate':\n release += 'rc%s' % (serial,)\n elif level != 'final':\n release += '%s%s' % (level[0], serial)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "documentation": {} }, { "label": "_line_indent_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "peekOfCode": "_line_indent_re = re.compile(r'[ \\t]*')\ndef get_line_indent(line, tabwidth):\n \"\"\"Return a line's indentation as (# chars, effective # of spaces).\n The effective # of spaces is the length after properly \"expanding\"\n the tabs into spaces, as done by str.expandtabs(tabwidth).\n \"\"\"\n m = _line_indent_re.match(line)\n return m.end(), len(m.group().expandtabs(tabwidth))\nclass IndentSearcher:\n # .run() chews over the Text widget, looking for a block opener", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "documentation": {} }, { "label": "keynames", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "peekOfCode": "keynames = {\n 'bracketleft': '[',\n 'bracketright': ']',\n 'slash': '/',\n}\ndef get_accelerator(keydefs, eventname):\n keylist = keydefs.get(eventname)\n # issue10940: temporary workaround to prevent hang with OS X Cocoa Tk 8.5\n # if not keylist:\n if (not keylist) or (macosx.isCocoaTk() and eventname in {", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.editor", "documentation": {} }, { "label": "FileList", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.filelist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.filelist", "peekOfCode": "class FileList:\n # N.B. this import overridden in PyShellFileList.\n from idlelib.editor import EditorWindow\n def __init__(self, root):\n self.root = root\n self.dict = {}\n self.inversedict = {}\n self.vars = {} # For EditorWindow.getrawvar (shared Tcl variables)\n def open(self, filename, action=None):\n assert filename", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.filelist", "documentation": {} }, { "label": "FormatParagraph", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "peekOfCode": "class FormatParagraph:\n \"\"\"Format a paragraph, comment block, or selection to a max width.\n Does basic, standard text formatting, and also understands Python\n comment blocks. Thus, for editing Python source code, this\n extension is really only suitable for reformatting these comment\n blocks or triple-quoted strings.\n Known problems with comment reformatting:\n * If there is a selection marked, and the first line of the\n selection is not complete, the block will probably not be detected\n as comments, and will have the normal \"text formatting\" rules", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "documentation": {} }, { "label": "FormatRegion", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "peekOfCode": "class FormatRegion:\n \"Format selected text (region).\"\n def __init__(self, editwin):\n self.editwin = editwin\n def get_region(self):\n \"\"\"Return line information about the selected text region.\n If text is selected, the first and last indices will be\n for the selection. If there is no text selected, the\n indices will be the current cursor location.\n Return a tuple containing (first index, last index,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "documentation": {} }, { "label": "Indents", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "peekOfCode": "class Indents:\n \"Change future indents.\"\n def __init__(self, editwin):\n self.editwin = editwin\n def toggle_tabs_event(self, event):\n editwin = self.editwin\n usetabs = editwin.usetabs\n if askyesno(\n \"Toggle tabs\",\n \"Turn tabs \" + (\"on\", \"off\")[usetabs] +", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "documentation": {} }, { "label": "Rstrip", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "peekOfCode": "class Rstrip: # 'Strip Trailing Whitespace\" on \"Format\" menu.\n def __init__(self, editwin):\n self.editwin = editwin\n def do_rstrip(self, event=None):\n text = self.editwin.text\n undo = self.editwin.undo\n undo.undo_block_start()\n end_line = int(float(text.index('end')))\n for cur in range(1, end_line):\n txt = text.get('%i.0' % cur, '%i.end' % cur)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "documentation": {} }, { "label": "find_paragraph", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "peekOfCode": "def find_paragraph(text, mark):\n \"\"\"Returns the start/stop indices enclosing the paragraph that mark is in.\n Also returns the comment format string, if any, and paragraph of text\n between the start/stop indices.\n \"\"\"\n lineno, col = map(int, mark.split(\".\"))\n line = text.get(\"%d.0\" % lineno, \"%d.end\" % lineno)\n # Look for start of next paragraph if the index passed in is a blank line\n while text.compare(\"%d.0\" % lineno, \"<\", \"end\") and is_all_white(line):\n lineno = lineno + 1", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "documentation": {} }, { "label": "reformat_paragraph", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "peekOfCode": "def reformat_paragraph(data, limit):\n \"\"\"Return data reformatted to specified width (limit).\"\"\"\n lines = data.split(\"\\n\")\n i = 0\n n = len(lines)\n while i < n and is_all_white(lines[i]):\n i = i+1\n if i >= n:\n return data\n indent1 = get_indent(lines[i])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "documentation": {} }, { "label": "reformat_comment", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "peekOfCode": "def reformat_comment(data, limit, comment_header):\n \"\"\"Return data reformatted to specified width with comment header.\"\"\"\n # Remove header from the comment lines\n lc = len(comment_header)\n data = \"\\n\".join(line[lc:] for line in data.split(\"\\n\"))\n # Reformat to maxformatwidth chars or a 20 char width,\n # whichever is greater.\n format_width = max(limit - len(comment_header), 20)\n newdata = reformat_paragraph(data, format_width)\n # re-split and re-insert the comment header.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "documentation": {} }, { "label": "is_all_white", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "peekOfCode": "def is_all_white(line):\n \"\"\"Return True if line is empty or all whitespace.\"\"\"\n return re.match(r\"^\\s*$\", line) is not None\ndef get_indent(line):\n \"\"\"Return the initial space or tab indent of line.\"\"\"\n return re.match(r\"^([ \\t]*)\", line).group()\ndef get_comment_header(line):\n \"\"\"Return string with leading whitespace and '#' from line or ''.\n A null return indicates that the line is not a comment line. A non-\n null return, such as ' #', will be used to find the other lines of", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "documentation": {} }, { "label": "get_indent", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "peekOfCode": "def get_indent(line):\n \"\"\"Return the initial space or tab indent of line.\"\"\"\n return re.match(r\"^([ \\t]*)\", line).group()\ndef get_comment_header(line):\n \"\"\"Return string with leading whitespace and '#' from line or ''.\n A null return indicates that the line is not a comment line. A non-\n null return, such as ' #', will be used to find the other lines of\n a comment block with the same indent.\n \"\"\"\n m = re.match(r\"^([ \\t]*#*)\", line)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "documentation": {} }, { "label": "get_comment_header", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "peekOfCode": "def get_comment_header(line):\n \"\"\"Return string with leading whitespace and '#' from line or ''.\n A null return indicates that the line is not a comment line. A non-\n null return, such as ' #', will be used to find the other lines of\n a comment block with the same indent.\n \"\"\"\n m = re.match(r\"^([ \\t]*#*)\", line)\n if m is None: return \"\"\n return m.group(1)\n# Copied from editor.py; importing it would cause an import cycle.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "documentation": {} }, { "label": "get_line_indent", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "peekOfCode": "def get_line_indent(line, tabwidth):\n \"\"\"Return a line's indentation as (# chars, effective # of spaces).\n The effective # of spaces is the length after properly \"expanding\"\n the tabs into spaces, as done by str.expandtabs(tabwidth).\n \"\"\"\n m = _line_indent_re.match(line)\n return m.end(), len(m.group().expandtabs(tabwidth))\nclass FormatRegion:\n \"Format selected text (region).\"\n def __init__(self, editwin):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "documentation": {} }, { "label": "_line_indent_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "peekOfCode": "_line_indent_re = re.compile(r'[ \\t]*')\ndef get_line_indent(line, tabwidth):\n \"\"\"Return a line's indentation as (# chars, effective # of spaces).\n The effective # of spaces is the length after properly \"expanding\"\n the tabs into spaces, as done by str.expandtabs(tabwidth).\n \"\"\"\n m = _line_indent_re.match(line)\n return m.end(), len(m.group().expandtabs(tabwidth))\nclass FormatRegion:\n \"Format selected text (region).\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.format", "documentation": {} }, { "label": "GrepDialog", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.grep", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.grep", "peekOfCode": "class GrepDialog(SearchDialogBase):\n \"Dialog for searching multiple files.\"\n title = \"Find in Files Dialog\"\n icon = \"Grep\"\n needwrapbutton = 0\n def __init__(self, root, engine, flist):\n \"\"\"Create search dialog for searching for a phrase in the file system.\n Uses SearchDialogBase as the basis for the GUI and a\n searchengine instance to prepare the search.\n Attributes:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.grep", "documentation": {} }, { "label": "grep", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.grep", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.grep", "peekOfCode": "def grep(text, io=None, flist=None):\n \"\"\"Open the Find in Files dialog.\n Module-level function to access the singleton GrepDialog\n instance and open the dialog. If text is selected, it is\n used as the search phrase; otherwise, the previous entry\n is used.\n Args:\n text: Text widget that contains the selected text for\n default search phrase.\n io: iomenu.IOBinding instance with default path to search.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.grep", "documentation": {} }, { "label": "walk_error", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.grep", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.grep", "peekOfCode": "def walk_error(msg):\n \"Handle os.walk error.\"\n print(msg)\ndef findfiles(folder, pattern, recursive):\n \"\"\"Generate file names in dir that match pattern.\n Args:\n folder: Root directory to search.\n pattern: File pattern to match.\n recursive: True to include subdirectories.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.grep", "documentation": {} }, { "label": "findfiles", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.grep", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.grep", "peekOfCode": "def findfiles(folder, pattern, recursive):\n \"\"\"Generate file names in dir that match pattern.\n Args:\n folder: Root directory to search.\n pattern: File pattern to match.\n recursive: True to include subdirectories.\n \"\"\"\n for dirpath, _, filenames in os.walk(folder, onerror=walk_error):\n yield from (os.path.join(dirpath, name)\n for name in filenames", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.grep", "documentation": {} }, { "label": "HelpParser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help", "peekOfCode": "class HelpParser(HTMLParser):\n \"\"\"Render help.html into a text widget.\n The overridden handle_xyz methods handle a subset of html tags.\n The supplied text should have the needed tag configurations.\n The behavior for unsupported tags, such as table, is undefined.\n If the tags generated by Sphinx change, this class, especially\n the handle_starttag and handle_endtags methods, might have to also.\n \"\"\"\n def __init__(self, text):\n HTMLParser.__init__(self, convert_charrefs=True)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help", "documentation": {} }, { "label": "HelpText", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help", "peekOfCode": "class HelpText(Text):\n \"Display help.html.\"\n def __init__(self, parent, filename):\n \"Configure tags and feed file to parser.\"\n uwide = idleConf.GetOption('main', 'EditorWindow', 'width', type='int')\n uhigh = idleConf.GetOption('main', 'EditorWindow', 'height', type='int')\n uhigh = 3 * uhigh // 4 # Lines average 4/3 of editor line height.\n Text.__init__(self, parent, wrap='word', highlightthickness=0,\n padx=5, borderwidth=0, width=uwide, height=uhigh)\n normalfont = self.findfont(['TkDefaultFont', 'arial', 'helvetica'])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help", "documentation": {} }, { "label": "HelpFrame", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help", "peekOfCode": "class HelpFrame(Frame):\n \"Display html text, scrollbar, and toc.\"\n def __init__(self, parent, filename):\n Frame.__init__(self, parent)\n self.text = text = HelpText(self, filename)\n self.style = Style(parent)\n self['style'] = 'helpframe.TFrame'\n self.style.configure('helpframe.TFrame', background=text['background'])\n self.toc = toc = self.toc_menu(text)\n self.scroll = scroll = Scrollbar(self, command=text.yview)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help", "documentation": {} }, { "label": "HelpWindow", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help", "peekOfCode": "class HelpWindow(Toplevel):\n \"Display frame with rendered html.\"\n def __init__(self, parent, filename, title):\n Toplevel.__init__(self, parent)\n self.wm_title(title)\n self.protocol(\"WM_DELETE_WINDOW\", self.destroy)\n HelpFrame(self, filename).grid(column=0, row=0, sticky='nsew')\n self.grid_columnconfigure(0, weight=1)\n self.grid_rowconfigure(0, weight=1)\ndef copy_strip():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help", "documentation": {} }, { "label": "copy_strip", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help", "peekOfCode": "def copy_strip():\n \"\"\"Copy idle.html to idlelib/help.html, stripping trailing whitespace.\n Files with trailing whitespace cannot be pushed to the git cpython\n repository. For 3.x (on Windows), help.html is generated, after\n editing idle.rst on the master branch, with\n sphinx-build -bhtml . build/html\n python_d.exe -c \"from idlelib.help import copy_strip; copy_strip()\"\n Check build/html/library/idle.html, the help.html diff, and the text\n displayed by Help => IDLE Help. Add a blurb and create a PR.\n It can be worthwhile to occasionally generate help.html without", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help", "documentation": {} }, { "label": "show_idlehelp", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help", "peekOfCode": "def show_idlehelp(parent):\n \"Create HelpWindow; called from Idle Help event handler.\"\n filename = join(abspath(dirname(__file__)), 'help.html')\n if not isfile(filename):\n # Try copy_strip, present message.\n return\n HelpWindow(parent, filename, 'IDLE Help (%s)' % python_version())\nif __name__ == '__main__':\n from unittest import main\n main('idlelib.idle_test.test_help', verbosity=2, exit=False)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help", "documentation": {} }, { "label": "AboutDialog", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help_about", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help_about", "peekOfCode": "class AboutDialog(Toplevel):\n \"\"\"Modal about dialog for idle\n \"\"\"\n def __init__(self, parent, title=None, *, _htest=False, _utest=False):\n \"\"\"Create popup, do not return until tk widget destroyed.\n parent - parent of this dialog\n title - string which is title of popup dialog\n _htest - bool, change box location when running htest\n _utest - bool, don't wait_window when running unittest\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help_about", "documentation": {} }, { "label": "build_bits", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help_about", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help_about", "peekOfCode": "def build_bits():\n \"Return bits for platform.\"\n if sys.platform == 'darwin':\n return '64' if sys.maxsize > 2**32 else '32'\n else:\n return architecture()[0][:2]\nclass AboutDialog(Toplevel):\n \"\"\"Modal about dialog for idle\n \"\"\"\n def __init__(self, parent, title=None, *, _htest=False, _utest=False):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help_about", "documentation": {} }, { "label": "version", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help_about", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help_about", "peekOfCode": "version = python_version()\ndef build_bits():\n \"Return bits for platform.\"\n if sys.platform == 'darwin':\n return '64' if sys.maxsize > 2**32 else '32'\n else:\n return architecture()[0][:2]\nclass AboutDialog(Toplevel):\n \"\"\"Modal about dialog for idle\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.help_about", "documentation": {} }, { "label": "History", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.history", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.history", "peekOfCode": "class History:\n ''' Implement Idle Shell history mechanism.\n store - Store source statement (called from pyshell.resetoutput).\n fetch - Fetch stored statement matching prefix already entered.\n history_next - Bound to <> event (default Alt-N).\n history_prev - Bound to <> event (default Alt-P).\n '''\n def __init__(self, text):\n '''Initialize data attributes and bind event methods.\n .text - Idle wrapper of tk Text widget, with .bell().", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.history", "documentation": {} }, { "label": "HyperParser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.hyperparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.hyperparser", "peekOfCode": "class HyperParser:\n def __init__(self, editwin, index):\n \"To initialize, analyze the surroundings of the given index.\"\n self.editwin = editwin\n self.text = text = editwin.text\n parser = pyparse.Parser(editwin.indentwidth, editwin.tabwidth)\n def index2line(index):\n return int(float(index))\n lno = index2line(text.index(index))\n if not editwin.prompt_last_line:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.hyperparser", "documentation": {} }, { "label": "_ASCII_ID_CHARS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.hyperparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.hyperparser", "peekOfCode": "_ASCII_ID_CHARS = frozenset(string.ascii_letters + string.digits + \"_\")\n# all ASCII chars that may be the first char of an identifier\n_ASCII_ID_FIRST_CHARS = frozenset(string.ascii_letters + \"_\")\n# lookup table for whether 7-bit ASCII chars are valid in a Python identifier\n_IS_ASCII_ID_CHAR = [(chr(x) in _ASCII_ID_CHARS) for x in range(128)]\n# lookup table for whether 7-bit ASCII chars are valid as the first\n# char in a Python identifier\n_IS_ASCII_ID_FIRST_CHAR = \\\n [(chr(x) in _ASCII_ID_FIRST_CHARS) for x in range(128)]\nclass HyperParser:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.hyperparser", "documentation": {} }, { "label": "_ASCII_ID_FIRST_CHARS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.hyperparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.hyperparser", "peekOfCode": "_ASCII_ID_FIRST_CHARS = frozenset(string.ascii_letters + \"_\")\n# lookup table for whether 7-bit ASCII chars are valid in a Python identifier\n_IS_ASCII_ID_CHAR = [(chr(x) in _ASCII_ID_CHARS) for x in range(128)]\n# lookup table for whether 7-bit ASCII chars are valid as the first\n# char in a Python identifier\n_IS_ASCII_ID_FIRST_CHAR = \\\n [(chr(x) in _ASCII_ID_FIRST_CHARS) for x in range(128)]\nclass HyperParser:\n def __init__(self, editwin, index):\n \"To initialize, analyze the surroundings of the given index.\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.hyperparser", "documentation": {} }, { "label": "_IS_ASCII_ID_CHAR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.hyperparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.hyperparser", "peekOfCode": "_IS_ASCII_ID_CHAR = [(chr(x) in _ASCII_ID_CHARS) for x in range(128)]\n# lookup table for whether 7-bit ASCII chars are valid as the first\n# char in a Python identifier\n_IS_ASCII_ID_FIRST_CHAR = \\\n [(chr(x) in _ASCII_ID_FIRST_CHARS) for x in range(128)]\nclass HyperParser:\n def __init__(self, editwin, index):\n \"To initialize, analyze the surroundings of the given index.\"\n self.editwin = editwin\n self.text = text = editwin.text", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.hyperparser", "documentation": {} }, { "label": "_IS_ASCII_ID_FIRST_CHAR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.hyperparser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.hyperparser", "peekOfCode": "_IS_ASCII_ID_FIRST_CHAR = \\\n [(chr(x) in _ASCII_ID_FIRST_CHARS) for x in range(128)]\nclass HyperParser:\n def __init__(self, editwin, index):\n \"To initialize, analyze the surroundings of the given index.\"\n self.editwin = editwin\n self.text = text = editwin.text\n parser = pyparse.Parser(editwin.indentwidth, editwin.tabwidth)\n def index2line(index):\n return int(float(index))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.hyperparser", "documentation": {} }, { "label": "idlelib_dir", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle", "peekOfCode": "idlelib_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))\nif idlelib_dir not in sys.path:\n sys.path.insert(0, idlelib_dir)\nfrom idlelib.pyshell import main # This is subject to change\nmain()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.idle", "documentation": {} }, { "label": "IOBinding", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.iomenu", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.iomenu", "peekOfCode": "class IOBinding:\n# One instance per editor Window so methods know which to save, close.\n# Open returns focus to self.editwin if aborted.\n# EditorWindow.open_module, others, belong here.\n def __init__(self, editwin):\n self.editwin = editwin\n self.text = editwin.text\n self.__id_open = self.text.bind(\"<>\", self.open)\n self.__id_save = self.text.bind(\"<>\", self.save)\n self.__id_saveas = self.text.bind(\"<>\",", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.iomenu", "documentation": {} }, { "label": "py_extensions", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.iomenu", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.iomenu", "peekOfCode": "py_extensions = ' '.join(\"*\"+ext for ext in py_extensions)\nencoding = 'utf-8'\nif sys.platform == 'win32':\n errors = 'surrogatepass'\nelse:\n errors = 'surrogateescape'\nclass IOBinding:\n# One instance per editor Window so methods know which to save, close.\n# Open returns focus to self.editwin if aborted.\n# EditorWindow.open_module, others, belong here.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.iomenu", "documentation": {} }, { "label": "encoding", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.iomenu", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.iomenu", "peekOfCode": "encoding = 'utf-8'\nif sys.platform == 'win32':\n errors = 'surrogatepass'\nelse:\n errors = 'surrogateescape'\nclass IOBinding:\n# One instance per editor Window so methods know which to save, close.\n# Open returns focus to self.editwin if aborted.\n# EditorWindow.open_module, others, belong here.\n def __init__(self, editwin):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.iomenu", "documentation": {} }, { "label": "isAquaTk", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "peekOfCode": "def isAquaTk():\n \"\"\"\n Returns True if IDLE is using a native OS X Tk (Cocoa or Carbon).\n \"\"\"\n if not _tk_type:\n _init_tk_type()\n return _tk_type == \"cocoa\" or _tk_type == \"carbon\"\ndef isCarbonTk():\n \"\"\"\n Returns True if IDLE is using a Carbon Aqua Tk (instead of the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "documentation": {} }, { "label": "isCarbonTk", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "peekOfCode": "def isCarbonTk():\n \"\"\"\n Returns True if IDLE is using a Carbon Aqua Tk (instead of the\n newer Cocoa Aqua Tk).\n \"\"\"\n if not _tk_type:\n _init_tk_type()\n return _tk_type == \"carbon\"\ndef isCocoaTk():\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "documentation": {} }, { "label": "isCocoaTk", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "peekOfCode": "def isCocoaTk():\n \"\"\"\n Returns True if IDLE is using a Cocoa Aqua Tk.\n \"\"\"\n if not _tk_type:\n _init_tk_type()\n return _tk_type == \"cocoa\"\ndef isXQuartz():\n \"\"\"\n Returns True if IDLE is using an OS X X11 Tk.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "documentation": {} }, { "label": "isXQuartz", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "peekOfCode": "def isXQuartz():\n \"\"\"\n Returns True if IDLE is using an OS X X11 Tk.\n \"\"\"\n if not _tk_type:\n _init_tk_type()\n return _tk_type == \"xquartz\"\ndef tkVersionWarning(root):\n \"\"\"\n Returns a string warning message if the Tk version in use appears to", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "documentation": {} }, { "label": "tkVersionWarning", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "peekOfCode": "def tkVersionWarning(root):\n \"\"\"\n Returns a string warning message if the Tk version in use appears to\n be one known to cause problems with IDLE.\n 1. Apple Cocoa-based Tk 8.5.7 shipped with Mac OS X 10.6 is unusable.\n 2. Apple Cocoa-based Tk 8.5.9 in OS X 10.7 and 10.8 is better but\n can still crash unexpectedly.\n \"\"\"\n if isCocoaTk():\n patchlevel = root.tk.call('info', 'patchlevel')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "documentation": {} }, { "label": "readSystemPreferences", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "peekOfCode": "def readSystemPreferences():\n \"\"\"\n Fetch the macOS system preferences.\n \"\"\"\n if platform != 'darwin':\n return None\n plist_path = expanduser('~/Library/Preferences/.GlobalPreferences.plist')\n try:\n with open(plist_path, 'rb') as plist_file:\n return plistlib.load(plist_file)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "documentation": {} }, { "label": "preferTabsPreferenceWarning", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "peekOfCode": "def preferTabsPreferenceWarning():\n \"\"\"\n Warn if \"Prefer tabs when opening documents\" is set to \"Always\".\n \"\"\"\n if platform != 'darwin':\n return None\n prefs = readSystemPreferences()\n if prefs and prefs.get('AppleWindowTabbingMode') == 'always':\n return (\n 'WARNING: The system preference \"Prefer tabs when opening'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "documentation": {} }, { "label": "addOpenEventSupport", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "peekOfCode": "def addOpenEventSupport(root, flist):\n \"\"\"\n This ensures that the application will respond to open AppleEvents, which\n makes is feasible to use IDLE as the default application for python files.\n \"\"\"\n def doOpenFile(*args):\n for fn in args:\n flist.open(fn)\n # The command below is a hook in aquatk that is called whenever the app\n # receives a file open event. The callback can have multiple arguments,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "documentation": {} }, { "label": "hideTkConsole", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "peekOfCode": "def hideTkConsole(root):\n try:\n root.tk.call('console', 'hide')\n except tkinter.TclError:\n # Some versions of the Tk framework don't have a console object\n pass\ndef overrideRootMenu(root, flist):\n \"\"\"\n Replace the Tk root menu by something that is more appropriate for\n IDLE with an Aqua Tk.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "documentation": {} }, { "label": "overrideRootMenu", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "peekOfCode": "def overrideRootMenu(root, flist):\n \"\"\"\n Replace the Tk root menu by something that is more appropriate for\n IDLE with an Aqua Tk.\n \"\"\"\n # The menu that is attached to the Tk root (\".\") is also used by AquaTk for\n # all windows that don't specify a menu of their own. The default menubar\n # contains a number of menus, none of which are appropriate for IDLE. The\n # Most annoying of those is an 'About Tck/Tk...' menu in the application\n # menu.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "documentation": {} }, { "label": "fixb2context", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "peekOfCode": "def fixb2context(root):\n '''Removed bad AquaTk Button-2 (right) and Paste bindings.\n They prevent context menu access and seem to be gone in AquaTk8.6.\n See issue #24801.\n '''\n root.unbind_class('Text', '')\n root.unbind_class('Text', '')\n root.unbind_class('Text', '<>')\ndef setupApp(root, flist):\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "documentation": {} }, { "label": "setupApp", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "peekOfCode": "def setupApp(root, flist):\n \"\"\"\n Perform initial OS X customizations if needed.\n Called from pyshell.main() after initial calls to Tk()\n There are currently three major versions of Tk in use on OS X:\n 1. Aqua Cocoa Tk (native default since OS X 10.6)\n 2. Aqua Carbon Tk (original native, 32-bit only, deprecated)\n 3. X11 (supported by some third-party distributors, deprecated)\n There are various differences among the three that affect IDLE\n behavior, primarily with menus, mouse key events, and accelerators.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "documentation": {} }, { "label": "_tk_type", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "peekOfCode": "_tk_type = None\ndef _init_tk_type():\n \"\"\"\n Initializes OS X Tk variant values for\n isAquaTk(), isCarbonTk(), isCocoaTk(), and isXQuartz().\n \"\"\"\n global _tk_type\n if platform == 'darwin':\n root = tkinter.Tk()\n ws = root.tk.call('tk', 'windowingsystem')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.macosx", "documentation": {} }, { "label": "menudefs", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.mainmenu", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.mainmenu", "peekOfCode": "menudefs = [\n # underscore prefixes character to underscore\n ('file', [\n ('_New File', '<>'),\n ('_Open...', '<>'),\n ('Open _Module...', '<>'),\n ('Module _Browser', '<>'),\n ('_Path Browser', '<>'),\n None,\n ('_Save', '<>'),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.mainmenu", "documentation": {} }, { "label": "default_keydefs", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.mainmenu", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.mainmenu", "peekOfCode": "default_keydefs = idleConf.GetCurrentKeySet()\nif __name__ == '__main__':\n from unittest import main\n main('idlelib.idle_test.test_mainmenu', verbosity=2)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.mainmenu", "documentation": {} }, { "label": "_SimpleBinder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "peekOfCode": "class _SimpleBinder:\n def __init__(self, type, widget, widgetinst):\n self.type = type\n self.sequence = '<'+_types[type][0]+'>'\n self.widget = widget\n self.widgetinst = widgetinst\n self.bindedfuncs = []\n self.handlerid = None\n def bind(self, triplet, func):\n if not self.handlerid:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "documentation": {} }, { "label": "_ComplexBinder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "peekOfCode": "class _ComplexBinder:\n # This class binds many functions, and only unbinds them when it is deleted.\n # self.handlerids is the list of seqs and ids of binded handler functions.\n # The binded functions sit in a dictionary of lists of lists, which maps\n # a detail (or None) and a state into a list of functions.\n # When a new detail is discovered, handlers for all the possible states\n # are binded.\n def __create_handler(self, lists, mc_type, mc_state):\n def handler(event, lists = lists,\n mc_type = mc_type, mc_state = mc_state,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "documentation": {} }, { "label": "expand_substates", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "peekOfCode": "def expand_substates(states):\n '''For each item of states return a list containing all combinations of\n that item with individual bits reset, sorted by the number of set bits.\n '''\n def nbits(n):\n \"number of bits set in n base 2\"\n nb = 0\n while n:\n n, rem = divmod(n, 2)\n nb += rem", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "documentation": {} }, { "label": "MultiCallCreator", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "peekOfCode": "def MultiCallCreator(widget):\n \"\"\"Return a MultiCall class which inherits its methods from the\n given widget class (for example, Tkinter.Text). This is used\n instead of a templating mechanism.\n \"\"\"\n if widget in _multicall_dict:\n return _multicall_dict[widget]\n class MultiCall (widget):\n assert issubclass(widget, tkinter.Misc)\n def __init__(self, *args, **kwargs):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "documentation": {} }, { "label": "MC_SHIFT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "peekOfCode": "MC_SHIFT = 1<<0; MC_CONTROL = 1<<2; MC_ALT = 1<<3; MC_META = 1<<5\nMC_OPTION = 1<<6; MC_COMMAND = 1<<7\n# define the list of modifiers, to be used in complex event types.\nif sys.platform == \"darwin\":\n _modifiers = ((\"Shift\",), (\"Control\",), (\"Option\",), (\"Command\",))\n _modifier_masks = (MC_SHIFT, MC_CONTROL, MC_OPTION, MC_COMMAND)\nelse:\n _modifiers = ((\"Control\",), (\"Alt\",), (\"Shift\",), (\"Meta\", \"M\"))\n _modifier_masks = (MC_CONTROL, MC_ALT, MC_SHIFT, MC_META)\n# a dictionary to map a modifier name into its number", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "documentation": {} }, { "label": "MC_OPTION", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "peekOfCode": "MC_OPTION = 1<<6; MC_COMMAND = 1<<7\n# define the list of modifiers, to be used in complex event types.\nif sys.platform == \"darwin\":\n _modifiers = ((\"Shift\",), (\"Control\",), (\"Option\",), (\"Command\",))\n _modifier_masks = (MC_SHIFT, MC_CONTROL, MC_OPTION, MC_COMMAND)\nelse:\n _modifiers = ((\"Control\",), (\"Alt\",), (\"Shift\",), (\"Meta\", \"M\"))\n _modifier_masks = (MC_CONTROL, MC_ALT, MC_SHIFT, MC_META)\n# a dictionary to map a modifier name into its number\n_modifier_names = dict([(name, number)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "documentation": {} }, { "label": "_modifier_names", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "peekOfCode": "_modifier_names = dict([(name, number)\n for number in range(len(_modifiers))\n for name in _modifiers[number]])\n# In 3.4, if no shell window is ever open, the underlying Tk widget is\n# destroyed before .__del__ methods here are called. The following\n# is used to selectively ignore shutdown exceptions to avoid\n# 'Exception ignored' messages. See http://bugs.python.org/issue20167\nAPPLICATION_GONE = \"application has been destroyed\"\n# A binder is a class which binds functions to one type of event. It has two\n# methods: bind and unbind, which get a function and a parsed sequence, as", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "documentation": {} }, { "label": "APPLICATION_GONE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "peekOfCode": "APPLICATION_GONE = \"application has been destroyed\"\n# A binder is a class which binds functions to one type of event. It has two\n# methods: bind and unbind, which get a function and a parsed sequence, as\n# returned by _parse_sequence(). There are two types of binders:\n# _SimpleBinder handles event types with no modifiers and no detail.\n# No Python functions are called when no events are binded.\n# _ComplexBinder handles event types with modifiers and a detail.\n# A Python function is called each time an event is generated.\nclass _SimpleBinder:\n def __init__(self, type, widget, widgetinst):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "documentation": {} }, { "label": "_states", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "peekOfCode": "_states = range(1 << len(_modifiers))\n_state_names = [''.join(m[0]+'-'\n for i, m in enumerate(_modifiers)\n if (1 << i) & s)\n for s in _states]\ndef expand_substates(states):\n '''For each item of states return a list containing all combinations of\n that item with individual bits reset, sorted by the number of set bits.\n '''\n def nbits(n):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "documentation": {} }, { "label": "_state_names", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "peekOfCode": "_state_names = [''.join(m[0]+'-'\n for i, m in enumerate(_modifiers)\n if (1 << i) & s)\n for s in _states]\ndef expand_substates(states):\n '''For each item of states return a list containing all combinations of\n that item with individual bits reset, sorted by the number of set bits.\n '''\n def nbits(n):\n \"number of bits set in n base 2\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "documentation": {} }, { "label": "_state_subsets", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "peekOfCode": "_state_subsets = expand_substates(_states)\n# _state_codes gives for each state, the portable code to be passed as mc_state\n_state_codes = []\nfor s in _states:\n r = 0\n for i in range(len(_modifiers)):\n if (1 << i) & s:\n r |= _modifier_masks[i]\n _state_codes.append(r)\nclass _ComplexBinder:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "documentation": {} }, { "label": "_state_codes", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "peekOfCode": "_state_codes = []\nfor s in _states:\n r = 0\n for i in range(len(_modifiers)):\n if (1 << i) & s:\n r |= _modifier_masks[i]\n _state_codes.append(r)\nclass _ComplexBinder:\n # This class binds many functions, and only unbinds them when it is deleted.\n # self.handlerids is the list of seqs and ids of binded handler functions.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "documentation": {} }, { "label": "_types", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "peekOfCode": "_types = (\n (\"KeyPress\", \"Key\"), (\"KeyRelease\",), (\"ButtonPress\", \"Button\"),\n (\"ButtonRelease\",), (\"Activate\",), (\"Circulate\",), (\"Colormap\",),\n (\"Configure\",), (\"Deactivate\",), (\"Destroy\",), (\"Enter\",), (\"Expose\",),\n (\"FocusIn\",), (\"FocusOut\",), (\"Gravity\",), (\"Leave\",), (\"Map\",),\n (\"Motion\",), (\"MouseWheel\",), (\"Property\",), (\"Reparent\",), (\"Unmap\",),\n (\"Visibility\",),\n)\n# which binder should be used for every event type?\n_binder_classes = (_ComplexBinder,) * 4 + (_SimpleBinder,) * (len(_types)-4)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "documentation": {} }, { "label": "_binder_classes", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "peekOfCode": "_binder_classes = (_ComplexBinder,) * 4 + (_SimpleBinder,) * (len(_types)-4)\n# A dictionary to map a type name into its number\n_type_names = dict([(name, number)\n for number in range(len(_types))\n for name in _types[number]])\n_keysym_re = re.compile(r\"^\\w+$\")\n_button_re = re.compile(r\"^[1-5]$\")\ndef _parse_sequence(sequence):\n \"\"\"Get a string which should describe an event sequence. If it is\n successfully parsed as one, return a tuple containing the state (as an int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "documentation": {} }, { "label": "_type_names", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "peekOfCode": "_type_names = dict([(name, number)\n for number in range(len(_types))\n for name in _types[number]])\n_keysym_re = re.compile(r\"^\\w+$\")\n_button_re = re.compile(r\"^[1-5]$\")\ndef _parse_sequence(sequence):\n \"\"\"Get a string which should describe an event sequence. If it is\n successfully parsed as one, return a tuple containing the state (as an int),\n the event type (as an index of _types), and the detail - None if none, or a\n string if there is one. If the parsing is unsuccessful, return None.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "documentation": {} }, { "label": "_keysym_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "peekOfCode": "_keysym_re = re.compile(r\"^\\w+$\")\n_button_re = re.compile(r\"^[1-5]$\")\ndef _parse_sequence(sequence):\n \"\"\"Get a string which should describe an event sequence. If it is\n successfully parsed as one, return a tuple containing the state (as an int),\n the event type (as an index of _types), and the detail - None if none, or a\n string if there is one. If the parsing is unsuccessful, return None.\n \"\"\"\n if not sequence or sequence[0] != '<' or sequence[-1] != '>':\n return None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "documentation": {} }, { "label": "_button_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "peekOfCode": "_button_re = re.compile(r\"^[1-5]$\")\ndef _parse_sequence(sequence):\n \"\"\"Get a string which should describe an event sequence. If it is\n successfully parsed as one, return a tuple containing the state (as an int),\n the event type (as an index of _types), and the detail - None if none, or a\n string if there is one. If the parsing is unsuccessful, return None.\n \"\"\"\n if not sequence or sequence[0] != '<' or sequence[-1] != '>':\n return None\n words = sequence[1:-1].split('-')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "documentation": {} }, { "label": "_multicall_dict", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "peekOfCode": "_multicall_dict = {}\ndef MultiCallCreator(widget):\n \"\"\"Return a MultiCall class which inherits its methods from the\n given widget class (for example, Tkinter.Text). This is used\n instead of a templating mechanism.\n \"\"\"\n if widget in _multicall_dict:\n return _multicall_dict[widget]\n class MultiCall (widget):\n assert issubclass(widget, tkinter.Misc)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.multicall", "documentation": {} }, { "label": "OutputWindow", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.outwin", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.outwin", "peekOfCode": "class OutputWindow(EditorWindow):\n \"\"\"An editor window that can serve as an output file.\n Also the future base class for the Python shell window.\n This class has no input facilities.\n Adds binding to open a file at a line to the text widget.\n \"\"\"\n # Our own right-button menu\n rmenu_specs = [\n (\"Cut\", \"<>\", \"rmenu_check_cut\"),\n (\"Copy\", \"<>\", \"rmenu_check_copy\"),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.outwin", "documentation": {} }, { "label": "OnDemandOutputWindow", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.outwin", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.outwin", "peekOfCode": "class OnDemandOutputWindow:\n tagdefs = {\n # XXX Should use IdlePrefs.ColorPrefs\n \"stdout\": {\"foreground\": \"blue\"},\n \"stderr\": {\"foreground\": \"#007700\"},\n }\n def __init__(self, flist):\n self.flist = flist\n self.owin = None\n def write(self, s, tags, mark):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.outwin", "documentation": {} }, { "label": "compile_progs", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.outwin", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.outwin", "peekOfCode": "def compile_progs():\n \"Compile the patterns for matching to file name and line number.\"\n global file_line_progs\n file_line_progs = [re.compile(pat, re.IGNORECASE)\n for pat in file_line_pats]\ndef file_line_helper(line):\n \"\"\"Extract file name and line number from line of text.\n Check if line of text contains one of the file/line patterns.\n If it does and if the file and line are valid, return\n a tuple of the file name and line number. If it doesn't match", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.outwin", "documentation": {} }, { "label": "file_line_helper", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.outwin", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.outwin", "peekOfCode": "def file_line_helper(line):\n \"\"\"Extract file name and line number from line of text.\n Check if line of text contains one of the file/line patterns.\n If it does and if the file and line are valid, return\n a tuple of the file name and line number. If it doesn't match\n or if the file or line is invalid, return None.\n \"\"\"\n if not file_line_progs:\n compile_progs()\n for prog in file_line_progs:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.outwin", "documentation": {} }, { "label": "file_line_pats", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.outwin", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.outwin", "peekOfCode": "file_line_pats = [\n # order of patterns matters\n r'file \"([^\"]*)\", line (\\d+)',\n r'([^\\s]+)\\((\\d+)\\)',\n r'^(\\s*\\S.*?):\\s*(\\d+):', # Win filename, maybe starting with spaces\n r'([^\\s]+):\\s*(\\d+):', # filename or path, ltrim\n r'^\\s*(\\S.*?):\\s*(\\d+):', # Win abs path with embedded spaces, ltrim\n]\nfile_line_progs = None\ndef compile_progs():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.outwin", "documentation": {} }, { "label": "file_line_progs", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.outwin", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.outwin", "peekOfCode": "file_line_progs = None\ndef compile_progs():\n \"Compile the patterns for matching to file name and line number.\"\n global file_line_progs\n file_line_progs = [re.compile(pat, re.IGNORECASE)\n for pat in file_line_pats]\ndef file_line_helper(line):\n \"\"\"Extract file name and line number from line of text.\n Check if line of text contains one of the file/line patterns.\n If it does and if the file and line are valid, return", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.outwin", "documentation": {} }, { "label": "ParenMatch", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.parenmatch", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.parenmatch", "peekOfCode": "class ParenMatch:\n \"\"\"Highlight matching openers and closers, (), [], and {}.\n There are three supported styles of paren matching. When a right\n paren (opener) is typed:\n opener -- highlight the matching left paren (closer);\n parens -- highlight the left and right parens (opener and closer);\n expression -- highlight the entire expression from opener to closer.\n (For back compatibility, 'default' is a synonym for 'opener').\n Flash-delay is the maximum milliseconds the highlighting remains.\n Any cursor movement (key press or click) before that removes the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.parenmatch", "documentation": {} }, { "label": "_openers", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.parenmatch", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.parenmatch", "peekOfCode": "_openers = {')':'(',']':'[','}':'{'}\nCHECK_DELAY = 100 # milliseconds\nclass ParenMatch:\n \"\"\"Highlight matching openers and closers, (), [], and {}.\n There are three supported styles of paren matching. When a right\n paren (opener) is typed:\n opener -- highlight the matching left paren (closer);\n parens -- highlight the left and right parens (opener and closer);\n expression -- highlight the entire expression from opener to closer.\n (For back compatibility, 'default' is a synonym for 'opener').", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.parenmatch", "documentation": {} }, { "label": "CHECK_DELAY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.parenmatch", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.parenmatch", "peekOfCode": "CHECK_DELAY = 100 # milliseconds\nclass ParenMatch:\n \"\"\"Highlight matching openers and closers, (), [], and {}.\n There are three supported styles of paren matching. When a right\n paren (opener) is typed:\n opener -- highlight the matching left paren (closer);\n parens -- highlight the left and right parens (opener and closer);\n expression -- highlight the entire expression from opener to closer.\n (For back compatibility, 'default' is a synonym for 'opener').\n Flash-delay is the maximum milliseconds the highlighting remains.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.parenmatch", "documentation": {} }, { "label": "PathBrowser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pathbrowser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pathbrowser", "peekOfCode": "class PathBrowser(ModuleBrowser):\n def __init__(self, master, *, _htest=False, _utest=False):\n \"\"\"\n _htest - bool, change box location when running htest\n \"\"\"\n self.master = master\n self._htest = _htest\n self._utest = _utest\n self.init()\n def settitle(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pathbrowser", "documentation": {} }, { "label": "PathBrowserTreeItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pathbrowser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pathbrowser", "peekOfCode": "class PathBrowserTreeItem(TreeItem):\n def GetText(self):\n return \"sys.path\"\n def GetSubList(self):\n sublist = []\n for dir in sys.path:\n item = DirBrowserTreeItem(dir)\n sublist.append(item)\n return sublist\nclass DirBrowserTreeItem(TreeItem):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pathbrowser", "documentation": {} }, { "label": "DirBrowserTreeItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pathbrowser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pathbrowser", "peekOfCode": "class DirBrowserTreeItem(TreeItem):\n def __init__(self, dir, packages=[]):\n self.dir = dir\n self.packages = packages\n def GetText(self):\n if not self.packages:\n return self.dir\n else:\n return self.packages[-1] + \": package\"\n def GetSubList(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pathbrowser", "documentation": {} }, { "label": "Percolator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.percolator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.percolator", "peekOfCode": "class Percolator:\n def __init__(self, text):\n # XXX would be nice to inherit from Delegator\n self.text = text\n self.redir = WidgetRedirector(text)\n self.top = self.bottom = Delegator(text)\n self.bottom.insert = self.redir.register(\"insert\", self.insert)\n self.bottom.delete = self.redir.register(\"delete\", self.delete)\n self.filters = []\n def close(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.percolator", "documentation": {} }, { "label": "ParseMap", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "peekOfCode": "class ParseMap(dict):\n r\"\"\"Dict subclass that maps anything not in dict to 'x'.\n This is designed to be used with str.translate in study1.\n Anything not specifically mapped otherwise becomes 'x'.\n Example: replace everything except whitespace with 'x'.\n >>> keepwhite = ParseMap((ord(c), ord(c)) for c in ' \\t\\n\\r')\n >>> \"a + b\\tc\\nd\".translate(keepwhite)\n 'x x x\\tx\\nx'\n \"\"\"\n # Calling this triples access time; see bpo-32940", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "documentation": {} }, { "label": "Parser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "peekOfCode": "class Parser:\n def __init__(self, indentwidth, tabwidth):\n self.indentwidth = indentwidth\n self.tabwidth = tabwidth\n def set_code(self, s):\n assert len(s) == 0 or s[-1] == '\\n'\n self.code = s\n self.study_level = 0\n def find_good_parse_start(self, is_char_in_string):\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "documentation": {} }, { "label": "_synchre", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "peekOfCode": "_synchre = re.compile(r\"\"\"\n ^\n [ \\t]*\n (?: while\n | else\n | def\n | return\n | assert\n | break\n | class", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "documentation": {} }, { "label": "_junkre", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "peekOfCode": "_junkre = re.compile(r\"\"\"\n [ \\t]*\n (?: \\# \\S .* )?\n \\n\n\"\"\", re.VERBOSE).match\n# Match any flavor of string; the terminating quote is optional\n# so that we're robust in the face of incomplete program text.\n_match_stringre = re.compile(r\"\"\"\n \\\"\"\" [^\"\\\\]* (?:\n (?: \\\\. | \"(?!\"\") )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "documentation": {} }, { "label": "_match_stringre", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "peekOfCode": "_match_stringre = re.compile(r\"\"\"\n \\\"\"\" [^\"\\\\]* (?:\n (?: \\\\. | \"(?!\"\") )\n [^\"\\\\]*\n )*\n (?: \\\"\"\" )?\n| \" [^\"\\\\\\n]* (?: \\\\. [^\"\\\\\\n]* )* \"?\n| ''' [^'\\\\]* (?:\n (?: \\\\. | '(?!'') )\n [^'\\\\]*", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "documentation": {} }, { "label": "_itemre", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "peekOfCode": "_itemre = re.compile(r\"\"\"\n [ \\t]*\n [^\\s#\\\\] # if we match, m.end()-1 is the interesting char\n\"\"\", re.VERBOSE).match\n# Match start of statements that should be followed by a dedent.\n_closere = re.compile(r\"\"\"\n \\s*\n (?: return\n | break\n | continue", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "documentation": {} }, { "label": "_closere", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "peekOfCode": "_closere = re.compile(r\"\"\"\n \\s*\n (?: return\n | break\n | continue\n | raise\n | pass\n )\n \\b\n\"\"\", re.VERBOSE).match", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "documentation": {} }, { "label": "_chew_ordinaryre", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "peekOfCode": "_chew_ordinaryre = re.compile(r\"\"\"\n [^[\\](){}#'\"\\\\]+\n\"\"\", re.VERBOSE).match\nclass ParseMap(dict):\n r\"\"\"Dict subclass that maps anything not in dict to 'x'.\n This is designed to be used with str.translate in study1.\n Anything not specifically mapped otherwise becomes 'x'.\n Example: replace everything except whitespace with 'x'.\n >>> keepwhite = ParseMap((ord(c), ord(c)) for c in ' \\t\\n\\r')\n >>> \"a + b\\tc\\nd\".translate(keepwhite)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "documentation": {} }, { "label": "trans", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "peekOfCode": "trans = ParseMap.fromkeys(range(128), 120)\ntrans.update((ord(c), ord('(')) for c in \"({[\") # open brackets => '(';\ntrans.update((ord(c), ord(')')) for c in \")}]\") # close brackets => ')'.\ntrans.update((ord(c), ord(c)) for c in \"\\\"'\\\\\\n#\") # Keep these.\nclass Parser:\n def __init__(self, indentwidth, tabwidth):\n self.indentwidth = indentwidth\n self.tabwidth = tabwidth\n def set_code(self, s):\n assert len(s) == 0 or s[-1] == '\\n'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyparse", "documentation": {} }, { "label": "PyShellEditorWindow", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "class PyShellEditorWindow(EditorWindow):\n \"Regular text edit window in IDLE, supports breakpoints\"\n def __init__(self, *args):\n self.breakpoints = []\n EditorWindow.__init__(self, *args)\n self.text.bind(\"<>\", self.set_breakpoint_here)\n self.text.bind(\"<>\", self.clear_breakpoint_here)\n self.text.bind(\"<>\", self.flist.open_shell)\n #TODO: don't read/write this from/to .idlerc when testing\n self.breakpointPath = os.path.join(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "PyShellFileList", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "class PyShellFileList(FileList):\n \"Extend base class: IDLE supports a shell and breakpoints\"\n # override FileList's class variable, instances return PyShellEditorWindow\n # instead of EditorWindow when new edit windows are created.\n EditorWindow = PyShellEditorWindow\n pyshell = None\n def open_shell(self, event=None):\n if self.pyshell:\n self.pyshell.top.wakeup()\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "ModifiedColorDelegator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "class ModifiedColorDelegator(ColorDelegator):\n \"Extend base class: colorizer for the shell window itself\"\n def recolorize_main(self):\n self.tag_remove(\"TODO\", \"1.0\", \"iomark\")\n self.tag_add(\"SYNC\", \"1.0\", \"iomark\")\n ColorDelegator.recolorize_main(self)\n def removecolors(self):\n # Don't remove shell color tags before \"iomark\"\n for tag in self.tagdefs:\n self.tag_remove(tag, \"iomark\", \"end\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "ModifiedUndoDelegator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "class ModifiedUndoDelegator(UndoDelegator):\n \"Extend base class: forbid insert/delete before the I/O mark\"\n def insert(self, index, chars, tags=None):\n try:\n if self.delegate.compare(index, \"<\", \"iomark\"):\n self.delegate.bell()\n return\n except TclError:\n pass\n UndoDelegator.insert(self, index, chars, tags)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "UserInputTaggingDelegator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "class UserInputTaggingDelegator(Delegator):\n \"\"\"Delegator used to tag user input with \"stdin\".\"\"\"\n def insert(self, index, chars, tags=None):\n if tags is None:\n tags = \"stdin\"\n self.delegate.insert(index, chars, tags)\nclass MyRPCClient(rpc.RPCClient):\n def handle_EOF(self):\n \"Override the base class - just re-raise EOFError\"\n raise EOFError", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "MyRPCClient", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "class MyRPCClient(rpc.RPCClient):\n def handle_EOF(self):\n \"Override the base class - just re-raise EOFError\"\n raise EOFError\ndef restart_line(width, filename): # See bpo-38141.\n \"\"\"Return width long restart line formatted with filename.\n Fill line with balanced '='s, with any extras and at least one at\n the beginning. Do not end with a trailing space.\n \"\"\"\n tag = f\"= RESTART: {filename or 'Shell'} =\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "ModifiedInterpreter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "class ModifiedInterpreter(InteractiveInterpreter):\n def __init__(self, tkconsole):\n self.tkconsole = tkconsole\n locals = sys.modules['__main__'].__dict__\n InteractiveInterpreter.__init__(self, locals=locals)\n self.restarting = False\n self.subprocess_arglist = None\n self.port = PORT\n self.original_compiler_flags = self.compile.compiler.flags\n _afterid = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "PyShell", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "class PyShell(OutputWindow):\n from idlelib.squeezer import Squeezer\n shell_title = \"IDLE Shell \" + python_version()\n # Override classes\n ColorDelegator = ModifiedColorDelegator\n UndoDelegator = ModifiedUndoDelegator\n # Override menus\n menu_specs = [\n (\"file\", \"_File\"),\n (\"edit\", \"_Edit\"),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "idle_showwarning", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "def idle_showwarning(\n message, category, filename, lineno, file=None, line=None):\n \"\"\"Show Idle-format warning (after replacing warnings.showwarning).\n The differences are the formatter called, the file=None replacement,\n which can be None, the capture of the consequence AttributeError,\n and the output of a hard-coded prompt.\n \"\"\"\n if file is None:\n file = warning_stream\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "capture_warnings", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "def capture_warnings(capture):\n \"Replace warning.showwarning with idle_showwarning, or reverse.\"\n global _warnings_showwarning\n if capture:\n if _warnings_showwarning is None:\n _warnings_showwarning = warnings.showwarning\n warnings.showwarning = idle_showwarning\n else:\n if _warnings_showwarning is not None:\n warnings.showwarning = _warnings_showwarning", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "extended_linecache_checkcache", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "def extended_linecache_checkcache(filename=None,\n orig_checkcache=linecache.checkcache):\n \"\"\"Extend linecache.checkcache to preserve the entries\n Rather than repeating the linecache code, patch it to save the\n entries, call the original linecache.checkcache()\n (skipping them), and then restore the saved entries.\n orig_checkcache is bound at definition time to the original\n method, allowing it to be patched.\n \"\"\"\n cache = linecache.cache", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "restart_line", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "def restart_line(width, filename): # See bpo-38141.\n \"\"\"Return width long restart line formatted with filename.\n Fill line with balanced '='s, with any extras and at least one at\n the beginning. Do not end with a trailing space.\n \"\"\"\n tag = f\"= RESTART: {filename or 'Shell'} =\"\n if width >= len(tag):\n div, mod = divmod((width -len(tag)), 2)\n return f\"{(div+mod)*'='}{tag}{div*'='}\"\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "fix_x11_paste", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "def fix_x11_paste(root):\n \"Make paste replace selection on x11. See issue #5124.\"\n if root._windowingsystem == 'x11':\n for cls in 'Text', 'Entry', 'Spinbox':\n root.bind_class(\n cls,\n '<>',\n 'catch {%W delete sel.first sel.last}\\n' +\n root.bind_class(cls, '<>'))\nusage_msg = \"\"\"\\", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "def main():\n import getopt\n from platform import system\n from idlelib import testing # bool value\n from idlelib import macosx\n global flist, root, use_subprocess\n capture_warnings(True)\n use_subprocess = True\n enable_shell = False\n enable_edit = False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "use_subprocess", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "use_subprocess = False\nHOST = '127.0.0.1' # python execution server on localhost loopback\nPORT = 0 # someday pass in host, port for remote debug capability\ntry: # In case IDLE started with -n.\n eof = 'Ctrl-D (end-of-file)'\n exit.eof = eof\n quit.eof = eof\nexcept NameError: # In case python started with -S.\n pass\n# Override warnings module to write to warning_stream. Initialize to send IDLE", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "HOST", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "HOST = '127.0.0.1' # python execution server on localhost loopback\nPORT = 0 # someday pass in host, port for remote debug capability\ntry: # In case IDLE started with -n.\n eof = 'Ctrl-D (end-of-file)'\n exit.eof = eof\n quit.eof = eof\nexcept NameError: # In case python started with -S.\n pass\n# Override warnings module to write to warning_stream. Initialize to send IDLE\n# internal warnings to the console. ScriptBinding.check_syntax() will", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "PORT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "PORT = 0 # someday pass in host, port for remote debug capability\ntry: # In case IDLE started with -n.\n eof = 'Ctrl-D (end-of-file)'\n exit.eof = eof\n quit.eof = eof\nexcept NameError: # In case python started with -S.\n pass\n# Override warnings module to write to warning_stream. Initialize to send IDLE\n# internal warnings to the console. ScriptBinding.check_syntax() will\n# temporarily redirect the stream to the shell window to display warnings when", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "warning_stream", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "warning_stream = sys.__stderr__ # None, at least on Windows, if no console.\ndef idle_showwarning(\n message, category, filename, lineno, file=None, line=None):\n \"\"\"Show Idle-format warning (after replacing warnings.showwarning).\n The differences are the formatter called, the file=None replacement,\n which can be None, the capture of the consequence AttributeError,\n and the output of a hard-coded prompt.\n \"\"\"\n if file is None:\n file = warning_stream", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "_warnings_showwarning", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "_warnings_showwarning = None\ndef capture_warnings(capture):\n \"Replace warning.showwarning with idle_showwarning, or reverse.\"\n global _warnings_showwarning\n if capture:\n if _warnings_showwarning is None:\n _warnings_showwarning = warnings.showwarning\n warnings.showwarning = idle_showwarning\n else:\n if _warnings_showwarning is not None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "linecache.checkcache", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "linecache.checkcache = extended_linecache_checkcache\nclass PyShellEditorWindow(EditorWindow):\n \"Regular text edit window in IDLE, supports breakpoints\"\n def __init__(self, *args):\n self.breakpoints = []\n EditorWindow.__init__(self, *args)\n self.text.bind(\"<>\", self.set_breakpoint_here)\n self.text.bind(\"<>\", self.clear_breakpoint_here)\n self.text.bind(\"<>\", self.flist.open_shell)\n #TODO: don't read/write this from/to .idlerc when testing", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "usage_msg", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "peekOfCode": "usage_msg = \"\"\"\\\nUSAGE: idle [-deins] [-t title] [file]*\n idle [-dns] [-t title] (-c cmd | -r file) [arg]*\n idle [-dns] [-t title] - [arg]*\n -h print this help message and exit\n -n run IDLE without a subprocess (DEPRECATED,\n see Help/IDLE Help for details)\nThe following options will override the IDLE 'settings' configuration:\n -e open an edit window\n -i open a shell window", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.pyshell", "documentation": {} }, { "label": "Query", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.query", "peekOfCode": "class Query(Toplevel):\n \"\"\"Base class for getting verified answer from a user.\n For this base class, accept any non-blank string.\n \"\"\"\n def __init__(self, parent, title, message, *, text0='', used_names={},\n _htest=False, _utest=False):\n \"\"\"Create modal popup, return when destroyed.\n Additional subclass init must be done before this unless\n _utest=True is passed to suppress wait_window().\n title - string, title of popup dialog", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.query", "documentation": {} }, { "label": "SectionName", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.query", "peekOfCode": "class SectionName(Query):\n \"Get a name for a config file section name.\"\n # Used in ConfigDialog.GetNewKeysName, .GetNewThemeName (837)\n def __init__(self, parent, title, message, used_names,\n *, _htest=False, _utest=False):\n super().__init__(parent, title, message, used_names=used_names,\n _htest=_htest, _utest=_utest)\n def entry_ok(self):\n \"Return sensible ConfigParser section name or None.\"\n name = self.entry.get().strip()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.query", "documentation": {} }, { "label": "ModuleName", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.query", "peekOfCode": "class ModuleName(Query):\n \"Get a module name for Open Module menu entry.\"\n # Used in open_module (editor.EditorWindow until move to iobinding).\n def __init__(self, parent, title, message, text0,\n *, _htest=False, _utest=False):\n super().__init__(parent, title, message, text0=text0,\n _htest=_htest, _utest=_utest)\n def entry_ok(self):\n \"Return entered module name as file path or None.\"\n name = self.entry.get().strip()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.query", "documentation": {} }, { "label": "Goto", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.query", "peekOfCode": "class Goto(Query):\n \"Get a positive line number for editor Go To Line.\"\n # Used in editor.EditorWindow.goto_line_event.\n def entry_ok(self):\n try:\n lineno = int(self.entry.get())\n except ValueError:\n self.showerror('not a base 10 integer.')\n return None\n if lineno <= 0:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.query", "documentation": {} }, { "label": "HelpSource", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.query", "peekOfCode": "class HelpSource(Query):\n \"Get menu name and help source for Help menu.\"\n # Used in ConfigDialog.HelpListItemAdd/Edit, (941/9)\n def __init__(self, parent, title, *, menuitem='', filepath='',\n used_names={}, _htest=False, _utest=False):\n \"\"\"Get menu entry and url/local file for Additional Help.\n User enters a name for the Help resource and a web url or file\n name. The user can browse for the file.\n \"\"\"\n self.filepath = filepath", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.query", "documentation": {} }, { "label": "CustomRun", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.query", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.query", "peekOfCode": "class CustomRun(Query):\n \"\"\"Get settings for custom run of module.\n 1. Command line arguments to extend sys.argv.\n 2. Whether to restart Shell or not.\n \"\"\"\n # Used in runscript.run_custom_event\n def __init__(self, parent, title, *, cli_args=[],\n _htest=False, _utest=False):\n \"\"\"cli_args is a list of strings.\n The list is assigned to the default Entry StringVar.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.query", "documentation": {} }, { "label": "WidgetRedirector", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.redirector", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.redirector", "peekOfCode": "class WidgetRedirector:\n \"\"\"Support for redirecting arbitrary widget subcommands.\n Some Tk operations don't normally pass through tkinter. For example, if a\n character is inserted into a Text widget by pressing a key, a default Tk\n binding to the widget's 'insert' operation is activated, and the Tk library\n processes the insert without calling back into tkinter.\n Although a binding to could be made via tkinter, what we really want\n to do is to hook the Tk 'insert' operation itself. For one thing, we want\n a text.insert call in idle code to have the same effect as a key press.\n When a widget is instantiated, a Tcl command is created whose name is the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.redirector", "documentation": {} }, { "label": "OriginalCommand", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.redirector", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.redirector", "peekOfCode": "class OriginalCommand:\n '''Callable for original tk command that has been redirected.\n Returned by .register; can be used in the function registered.\n redir = WidgetRedirector(text)\n def my_insert(*args):\n print(\"insert\", args)\n original_insert(*args)\n original_insert = redir.register(\"insert\", my_insert)\n '''\n def __init__(self, redir, operation):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.redirector", "documentation": {} }, { "label": "ReplaceDialog", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.replace", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.replace", "peekOfCode": "class ReplaceDialog(SearchDialogBase):\n \"Dialog for finding and replacing a pattern in text.\"\n title = \"Replace Dialog\"\n icon = \"Replace\"\n def __init__(self, root, engine):\n \"\"\"Create search dialog for finding and replacing text.\n Uses SearchDialogBase as the basis for the GUI and a\n searchengine instance to prepare the search.\n Attributes:\n replvar: StringVar containing 'Replace with:' value.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.replace", "documentation": {} }, { "label": "replace", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.replace", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.replace", "peekOfCode": "def replace(text, insert_tags=None):\n \"\"\"Create or reuse a singleton ReplaceDialog instance.\n The singleton dialog saves user entries and preferences\n across instances.\n Args:\n text: Text widget containing the text to be searched.\n \"\"\"\n root = text._root()\n engine = searchengine.get(root)\n if not hasattr(engine, \"_replacedialog\"):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.replace", "documentation": {} }, { "label": "CodePickler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "class CodePickler(pickle.Pickler):\n dispatch_table = {types.CodeType: pickle_code, **copyreg.dispatch_table}\nBUFSIZE = 8*1024\nLOCALHOST = '127.0.0.1'\nclass RPCServer(socketserver.TCPServer):\n def __init__(self, addr, handlerclass=None):\n if handlerclass is None:\n handlerclass = RPCHandler\n socketserver.TCPServer.__init__(self, addr, handlerclass)\n def server_bind(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "RPCServer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "class RPCServer(socketserver.TCPServer):\n def __init__(self, addr, handlerclass=None):\n if handlerclass is None:\n handlerclass = RPCHandler\n socketserver.TCPServer.__init__(self, addr, handlerclass)\n def server_bind(self):\n \"Override TCPServer method, no bind() phase for connecting entity\"\n pass\n def server_activate(self):\n \"\"\"Override TCPServer method, connect() instead of listen()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "SocketIO", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "class SocketIO:\n nextseq = 0\n def __init__(self, sock, objtable=None, debugging=None):\n self.sockthread = threading.current_thread()\n if debugging is not None:\n self.debugging = debugging\n self.sock = sock\n if objtable is None:\n objtable = objecttable\n self.objtable = objtable", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "RemoteObject", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "class RemoteObject:\n # Token mix-in class\n pass\ndef remoteref(obj):\n oid = id(obj)\n objecttable[oid] = obj\n return RemoteProxy(oid)\nclass RemoteProxy:\n def __init__(self, oid):\n self.oid = oid", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "RemoteProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "class RemoteProxy:\n def __init__(self, oid):\n self.oid = oid\nclass RPCHandler(socketserver.BaseRequestHandler, SocketIO):\n debugging = False\n location = \"#S\" # Server\n def __init__(self, sock, addr, svr):\n svr.current_handler = self ## cgt xxx\n SocketIO.__init__(self, sock)\n socketserver.BaseRequestHandler.__init__(self, sock, addr, svr)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "RPCHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "class RPCHandler(socketserver.BaseRequestHandler, SocketIO):\n debugging = False\n location = \"#S\" # Server\n def __init__(self, sock, addr, svr):\n svr.current_handler = self ## cgt xxx\n SocketIO.__init__(self, sock)\n socketserver.BaseRequestHandler.__init__(self, sock, addr, svr)\n def handle(self):\n \"handle() method required by socketserver\"\n self.mainloop()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "RPCClient", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "class RPCClient(SocketIO):\n debugging = False\n location = \"#C\" # Client\n nextseq = 1 # Requests coming from the client are odd numbered\n def __init__(self, address, family=socket.AF_INET, type=socket.SOCK_STREAM):\n self.listening_sock = socket.socket(family, type)\n self.listening_sock.bind(address)\n self.listening_sock.listen(1)\n def accept(self):\n working_sock, address = self.listening_sock.accept()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "RPCProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "class RPCProxy:\n __methods = None\n __attributes = None\n def __init__(self, sockio, oid):\n self.sockio = sockio\n self.oid = oid\n def __getattr__(self, name):\n if self.__methods is None:\n self.__getmethods()\n if self.__methods.get(name):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "MethodProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "class MethodProxy:\n def __init__(self, sockio, oid, name):\n self.sockio = sockio\n self.oid = oid\n self.name = name\n def __call__(self, /, *args, **kwargs):\n value = self.sockio.remotecall(self.oid, self.name, args, kwargs)\n return value\n# XXX KBK 09Sep03 We need a proper unit test for this module. Previously\n# existing test code was removed at Rev 1.27 (r34098).", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "unpickle_code", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "def unpickle_code(ms):\n \"Return code object from marshal string ms.\"\n co = marshal.loads(ms)\n assert isinstance(co, types.CodeType)\n return co\ndef pickle_code(co):\n \"Return unpickle function and tuple with marshalled co code object.\"\n assert isinstance(co, types.CodeType)\n ms = marshal.dumps(co)\n return unpickle_code, (ms,)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "pickle_code", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "def pickle_code(co):\n \"Return unpickle function and tuple with marshalled co code object.\"\n assert isinstance(co, types.CodeType)\n ms = marshal.dumps(co)\n return unpickle_code, (ms,)\ndef dumps(obj, protocol=None):\n \"Return pickled (or marshalled) string for obj.\"\n # IDLE passes 'None' to select pickle.DEFAULT_PROTOCOL.\n f = io.BytesIO()\n p = CodePickler(f, protocol)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "dumps", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "def dumps(obj, protocol=None):\n \"Return pickled (or marshalled) string for obj.\"\n # IDLE passes 'None' to select pickle.DEFAULT_PROTOCOL.\n f = io.BytesIO()\n p = CodePickler(f, protocol)\n p.dump(obj)\n return f.getvalue()\nclass CodePickler(pickle.Pickler):\n dispatch_table = {types.CodeType: pickle_code, **copyreg.dispatch_table}\nBUFSIZE = 8*1024", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "remoteref", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "def remoteref(obj):\n oid = id(obj)\n objecttable[oid] = obj\n return RemoteProxy(oid)\nclass RemoteProxy:\n def __init__(self, oid):\n self.oid = oid\nclass RPCHandler(socketserver.BaseRequestHandler, SocketIO):\n debugging = False\n location = \"#S\" # Server", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "displayhook", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "def displayhook(value):\n \"\"\"Override standard display hook to use non-locale encoding\"\"\"\n if value is None:\n return\n # Set '_' to None to avoid recursion\n builtins._ = None\n text = repr(value)\n try:\n sys.stdout.write(text)\n except UnicodeEncodeError:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "BUFSIZE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "BUFSIZE = 8*1024\nLOCALHOST = '127.0.0.1'\nclass RPCServer(socketserver.TCPServer):\n def __init__(self, addr, handlerclass=None):\n if handlerclass is None:\n handlerclass = RPCHandler\n socketserver.TCPServer.__init__(self, addr, handlerclass)\n def server_bind(self):\n \"Override TCPServer method, no bind() phase for connecting entity\"\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "LOCALHOST", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "LOCALHOST = '127.0.0.1'\nclass RPCServer(socketserver.TCPServer):\n def __init__(self, addr, handlerclass=None):\n if handlerclass is None:\n handlerclass = RPCHandler\n socketserver.TCPServer.__init__(self, addr, handlerclass)\n def server_bind(self):\n \"Override TCPServer method, no bind() phase for connecting entity\"\n pass\n def server_activate(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "objecttable", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "objecttable = {}\nrequest_queue = queue.Queue(0)\nresponse_queue = queue.Queue(0)\nclass SocketIO:\n nextseq = 0\n def __init__(self, sock, objtable=None, debugging=None):\n self.sockthread = threading.current_thread()\n if debugging is not None:\n self.debugging = debugging\n self.sock = sock", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "request_queue", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "request_queue = queue.Queue(0)\nresponse_queue = queue.Queue(0)\nclass SocketIO:\n nextseq = 0\n def __init__(self, sock, objtable=None, debugging=None):\n self.sockthread = threading.current_thread()\n if debugging is not None:\n self.debugging = debugging\n self.sock = sock\n if objtable is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "response_queue", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "peekOfCode": "response_queue = queue.Queue(0)\nclass SocketIO:\n nextseq = 0\n def __init__(self, sock, objtable=None, debugging=None):\n self.sockthread = threading.current_thread()\n if debugging is not None:\n self.debugging = debugging\n self.sock = sock\n if objtable is None:\n objtable = objecttable", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.rpc", "documentation": {} }, { "label": "MyRPCServer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "class MyRPCServer(rpc.RPCServer):\n def handle_error(self, request, client_address):\n \"\"\"Override RPCServer method for IDLE\n Interrupt the MainThread and exit server if link is dropped.\n \"\"\"\n global quitting\n try:\n raise\n except SystemExit:\n raise", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "StdioFile", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "class StdioFile(io.TextIOBase):\n def __init__(self, shell, tags, encoding='utf-8', errors='strict'):\n self.shell = shell\n self.tags = tags\n self._encoding = encoding\n self._errors = errors\n @property\n def encoding(self):\n return self._encoding\n @property", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "StdOutputFile", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "class StdOutputFile(StdioFile):\n def writable(self):\n return True\n def write(self, s):\n if self.closed:\n raise ValueError(\"write to closed file\")\n s = str.encode(s, self.encoding, self.errors).decode(self.encoding, self.errors)\n return self.shell.write(s, self.tags)\nclass StdInputFile(StdioFile):\n _line_buffer = ''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "StdInputFile", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "class StdInputFile(StdioFile):\n _line_buffer = ''\n def readable(self):\n return True\n def read(self, size=-1):\n if self.closed:\n raise ValueError(\"read from closed file\")\n if size is None:\n size = -1\n elif not isinstance(size, int):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "MyHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "class MyHandler(rpc.RPCHandler):\n def handle(self):\n \"\"\"Override base method\"\"\"\n executive = Executive(self)\n self.register(\"exec\", executive)\n self.console = self.get_remote_proxy(\"console\")\n sys.stdin = StdInputFile(self.console, \"stdin\",\n iomenu.encoding, iomenu.errors)\n sys.stdout = StdOutputFile(self.console, \"stdout\",\n iomenu.encoding, iomenu.errors)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "Executive", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "class Executive:\n def __init__(self, rpchandler):\n self.rpchandler = rpchandler\n if idlelib.testing is False:\n self.locals = __main__.__dict__\n self.calltip = calltip.Calltip()\n self.autocomplete = autocomplete.AutoComplete()\n else:\n self.locals = {}\n def runcode(self, code):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "idle_formatwarning", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "def idle_formatwarning(message, category, filename, lineno, line=None):\n \"\"\"Format warnings the IDLE way.\"\"\"\n s = \"\\nWarning (from warnings module):\\n\"\n s += ' File \\\"%s\\\", line %s\\n' % (filename, lineno)\n if line is None:\n line = linecache.getline(filename, lineno)\n line = line.strip()\n if line:\n s += \" %s\\n\" % line\n s += \"%s: %s\\n\" % (category.__name__, message)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "idle_showwarning_subproc", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "def idle_showwarning_subproc(\n message, category, filename, lineno, file=None, line=None):\n \"\"\"Show Idle-format warning after replacing warnings.showwarning.\n The only difference is the formatter called.\n \"\"\"\n if file is None:\n file = sys.stderr\n try:\n file.write(idle_formatwarning(\n message, category, filename, lineno, line))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "capture_warnings", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "def capture_warnings(capture):\n \"Replace warning.showwarning with idle_showwarning_subproc, or reverse.\"\n global _warnings_showwarning\n if capture:\n if _warnings_showwarning is None:\n _warnings_showwarning = warnings.showwarning\n warnings.showwarning = idle_showwarning_subproc\n else:\n if _warnings_showwarning is not None:\n warnings.showwarning = _warnings_showwarning", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "handle_tk_events", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "def handle_tk_events(tcl=tcl):\n \"\"\"Process any tk events that are ready to be dispatched if tkinter\n has been imported, a tcl interpreter has been created and tk has been\n loaded.\"\"\"\n tcl.eval(\"update\")\n# Thread shared globals: Establish a queue between a subthread (which handles\n# the socket) and the main thread (which runs user code), plus global\n# completion, exit and interruptable (the main thread) flags:\nexit_now = False\nquitting = False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "def main(del_exitfunc=False):\n \"\"\"Start the Python execution server in a subprocess\n In the Python subprocess, RPCServer is instantiated with handlerclass\n MyHandler, which inherits register/unregister methods from RPCHandler via\n the mix-in class SocketIO.\n When the RPCServer 'server' is instantiated, the TCPServer initialization\n creates an instance of run.MyHandler and calls its handle() method.\n handle() instantiates a run.Executive object, passing it a reference to the\n MyHandler object. That reference is saved as attribute rpchandler of the\n Executive instance. The Executive methods have access to the reference and", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "manage_socket", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "def manage_socket(address):\n for i in range(3):\n time.sleep(i)\n try:\n server = MyRPCServer(address, MyHandler)\n break\n except OSError as err:\n print(\"IDLE Subprocess: OSError: \" + err.args[1] +\n \", retrying....\", file=sys.__stderr__)\n socket_error = err", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "show_socket_error", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "def show_socket_error(err, address):\n \"Display socket error from manage_socket.\"\n import tkinter\n from tkinter.messagebox import showerror\n root = tkinter.Tk()\n fix_scaling(root)\n root.withdraw()\n showerror(\n \"Subprocess Connection Error\",\n f\"IDLE's subprocess can't connect to {address[0]}:{address[1]}.\\n\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "get_message_lines", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "def get_message_lines(typ, exc, tb):\n \"Return line composing the exception message.\"\n if typ in (AttributeError, NameError):\n # 3.10+ hints are not directly accessible from python (#44026).\n err = io.StringIO()\n with contextlib.redirect_stderr(err):\n sys.__excepthook__(typ, exc, tb)\n return [err.getvalue().split(\"\\n\")[-2] + \"\\n\"]\n else:\n return traceback.format_exception_only(typ, exc)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "print_exception", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "def print_exception():\n import linecache\n linecache.checkcache()\n flush_stdout()\n efile = sys.stderr\n typ, val, tb = excinfo = sys.exc_info()\n sys.last_type, sys.last_value, sys.last_traceback = excinfo\n seen = set()\n def print_exc(typ, exc, tb):\n seen.add(id(exc))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "cleanup_traceback", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "def cleanup_traceback(tb, exclude):\n \"Remove excluded traces from beginning/end of tb; get cached lines\"\n orig_tb = tb[:]\n while tb:\n for rpcfile in exclude:\n if tb[0][0].count(rpcfile):\n break # found an exclude, break for: and delete tb[0]\n else:\n break # no excludes, have left RPC code, break while:\n del tb[0]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "flush_stdout", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "def flush_stdout():\n \"\"\"XXX How to do this now?\"\"\"\ndef exit():\n \"\"\"Exit subprocess, possibly after first clearing exit functions.\n If config-main.cfg/.def 'General' 'delete-exitfunc' is True, then any\n functions registered with atexit will be removed before exiting.\n (VPython support)\n \"\"\"\n if no_exitfunc:\n import atexit", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "exit", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "def exit():\n \"\"\"Exit subprocess, possibly after first clearing exit functions.\n If config-main.cfg/.def 'General' 'delete-exitfunc' is True, then any\n functions registered with atexit will be removed before exiting.\n (VPython support)\n \"\"\"\n if no_exitfunc:\n import atexit\n atexit._clear()\n capture_warnings(False)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "fix_scaling", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "def fix_scaling(root):\n \"\"\"Scale fonts on HiDPI displays.\"\"\"\n import tkinter.font\n scaling = float(root.tk.call('tk', 'scaling'))\n if scaling > 1.4:\n for name in tkinter.font.names(root):\n font = tkinter.font.Font(root=root, name=name, exists=True)\n size = int(font['size'])\n if size < 0:\n font['size'] = round(-0.75*size)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "fixdoc", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "def fixdoc(fun, text):\n tem = (fun.__doc__ + '\\n\\n') if fun.__doc__ is not None else ''\n fun.__doc__ = tem + textwrap.fill(textwrap.dedent(text))\nRECURSIONLIMIT_DELTA = 30\ndef install_recursionlimit_wrappers():\n \"\"\"Install wrappers to always add 30 to the recursion limit.\"\"\"\n # see: bpo-26806\n @functools.wraps(sys.setrecursionlimit)\n def setrecursionlimit(*args, **kwargs):\n # mimic the original sys.setrecursionlimit()'s input handling", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "install_recursionlimit_wrappers", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "def install_recursionlimit_wrappers():\n \"\"\"Install wrappers to always add 30 to the recursion limit.\"\"\"\n # see: bpo-26806\n @functools.wraps(sys.setrecursionlimit)\n def setrecursionlimit(*args, **kwargs):\n # mimic the original sys.setrecursionlimit()'s input handling\n if kwargs:\n raise TypeError(\n \"setrecursionlimit() takes no keyword arguments\")\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "uninstall_recursionlimit_wrappers", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "def uninstall_recursionlimit_wrappers():\n \"\"\"Uninstall the recursion limit wrappers from the sys module.\n IDLE only uses this for tests. Users can import run and call\n this to remove the wrapping.\n \"\"\"\n if (\n getattr(sys.setrecursionlimit, '__wrapped__', None) and\n getattr(sys.getrecursionlimit, '__wrapped__', None)\n ):\n sys.setrecursionlimit = sys.setrecursionlimit.__wrapped__", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "LOCALHOST", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "LOCALHOST = '127.0.0.1'\ntry:\n eof = 'Ctrl-D (end-of-file)'\n exit.eof = eof\n quit.eof = eof\nexcept NameError: # In case subprocess started with -S (maybe in future).\n pass\ndef idle_formatwarning(message, category, filename, lineno, line=None):\n \"\"\"Format warnings the IDLE way.\"\"\"\n s = \"\\nWarning (from warnings module):\\n\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "_warnings_showwarning", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "_warnings_showwarning = None\ndef capture_warnings(capture):\n \"Replace warning.showwarning with idle_showwarning_subproc, or reverse.\"\n global _warnings_showwarning\n if capture:\n if _warnings_showwarning is None:\n _warnings_showwarning = warnings.showwarning\n warnings.showwarning = idle_showwarning_subproc\n else:\n if _warnings_showwarning is not None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "tcl", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "tcl = tkinter.Tcl()\ndef handle_tk_events(tcl=tcl):\n \"\"\"Process any tk events that are ready to be dispatched if tkinter\n has been imported, a tcl interpreter has been created and tk has been\n loaded.\"\"\"\n tcl.eval(\"update\")\n# Thread shared globals: Establish a queue between a subthread (which handles\n# the socket) and the main thread (which runs user code), plus global\n# completion, exit and interruptable (the main thread) flags:\nexit_now = False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "exit_now", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "exit_now = False\nquitting = False\ninterruptable = False\ndef main(del_exitfunc=False):\n \"\"\"Start the Python execution server in a subprocess\n In the Python subprocess, RPCServer is instantiated with handlerclass\n MyHandler, which inherits register/unregister methods from RPCHandler via\n the mix-in class SocketIO.\n When the RPCServer 'server' is instantiated, the TCPServer initialization\n creates an instance of run.MyHandler and calls its handle() method.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "quitting", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "quitting = False\ninterruptable = False\ndef main(del_exitfunc=False):\n \"\"\"Start the Python execution server in a subprocess\n In the Python subprocess, RPCServer is instantiated with handlerclass\n MyHandler, which inherits register/unregister methods from RPCHandler via\n the mix-in class SocketIO.\n When the RPCServer 'server' is instantiated, the TCPServer initialization\n creates an instance of run.MyHandler and calls its handle() method.\n handle() instantiates a run.Executive object, passing it a reference to the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "interruptable", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "interruptable = False\ndef main(del_exitfunc=False):\n \"\"\"Start the Python execution server in a subprocess\n In the Python subprocess, RPCServer is instantiated with handlerclass\n MyHandler, which inherits register/unregister methods from RPCHandler via\n the mix-in class SocketIO.\n When the RPCServer 'server' is instantiated, the TCPServer initialization\n creates an instance of run.MyHandler and calls its handle() method.\n handle() instantiates a run.Executive object, passing it a reference to the\n MyHandler object. That reference is saved as attribute rpchandler of the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "RECURSIONLIMIT_DELTA", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "peekOfCode": "RECURSIONLIMIT_DELTA = 30\ndef install_recursionlimit_wrappers():\n \"\"\"Install wrappers to always add 30 to the recursion limit.\"\"\"\n # see: bpo-26806\n @functools.wraps(sys.setrecursionlimit)\n def setrecursionlimit(*args, **kwargs):\n # mimic the original sys.setrecursionlimit()'s input handling\n if kwargs:\n raise TypeError(\n \"setrecursionlimit() takes no keyword arguments\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.run", "documentation": {} }, { "label": "ScriptBinding", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.runscript", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.runscript", "peekOfCode": "class ScriptBinding:\n def __init__(self, editwin):\n self.editwin = editwin\n # Provide instance variables referenced by debugger\n # XXX This should be done differently\n self.flist = self.editwin.flist\n self.root = self.editwin.root\n # cli_args is list of strings that extends sys.argv\n self.cli_args = []\n self.perf = 0.0 # Workaround for macOS 11 Uni2; see bpo-42508.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.runscript", "documentation": {} }, { "label": "indent_message", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.runscript", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.runscript", "peekOfCode": "indent_message = \"\"\"Error: Inconsistent indentation detected!\n1) Your indentation is outright incorrect (easy to fix), OR\n2) Your indentation mixes tabs and spaces.\nTo fix case 2, change all tabs to spaces by using Edit->Select All followed \\\nby Format->Untabify Region and specify the number of columns used by each tab.\n\"\"\"\nclass ScriptBinding:\n def __init__(self, editwin):\n self.editwin = editwin\n # Provide instance variables referenced by debugger", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.runscript", "documentation": {} }, { "label": "ScrolledList", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.scrolledlist", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.scrolledlist", "peekOfCode": "class ScrolledList:\n default = \"(None)\"\n def __init__(self, master, **options):\n # Create top frame, with scrollbar and listbox\n self.master = master\n self.frame = frame = Frame(master)\n self.frame.pack(fill=\"both\", expand=1)\n self.vbar = vbar = Scrollbar(frame, name=\"vbar\")\n self.vbar.pack(side=\"right\", fill=\"y\")\n self.listbox = listbox = Listbox(frame, exportselection=0,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.scrolledlist", "documentation": {} }, { "label": "SearchDialog", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.search", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.search", "peekOfCode": "class SearchDialog(SearchDialogBase):\n \"Dialog for finding a pattern in text.\"\n def create_widgets(self):\n \"Create the base search dialog and add a button for Find Next.\"\n SearchDialogBase.create_widgets(self)\n # TODO - why is this here and not in a create_command_buttons?\n self.make_button(\"Find Next\", self.default_command, isdef=True)\n def default_command(self, event=None):\n \"Handle the Find Next button as the default command.\"\n if not self.engine.getprog():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.search", "documentation": {} }, { "label": "find", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.search", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.search", "peekOfCode": "def find(text):\n \"\"\"Open the search dialog.\n Module-level function to access the singleton SearchDialog\n instance and open the dialog. If text is selected, it is\n used as the search phrase; otherwise, the previous entry\n is used. No search is done with this command.\n \"\"\"\n pat = text.get(\"sel.first\", \"sel.last\")\n return _setup(text).open(text, pat) # Open is inherited from SDBase.\ndef find_again(text):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.search", "documentation": {} }, { "label": "find_again", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.search", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.search", "peekOfCode": "def find_again(text):\n \"\"\"Repeat the search for the last pattern and preferences.\n Module-level function to access the singleton SearchDialog\n instance to search again using the user entries and preferences\n from the last dialog. If there was no prior search, open the\n search dialog; otherwise, perform the search without showing the\n dialog.\n \"\"\"\n return _setup(text).find_again(text)\ndef find_selection(text):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.search", "documentation": {} }, { "label": "find_selection", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.search", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.search", "peekOfCode": "def find_selection(text):\n \"\"\"Search for the selected pattern in the text.\n Module-level function to access the singleton SearchDialog\n instance to search using the selected text. With a text\n selection, perform the search without displaying the dialog.\n Without a selection, use the prior entry as the search phrase\n and don't display the dialog. If there has been no prior\n search, open the search dialog.\n \"\"\"\n return _setup(text).find_selection(text)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.search", "documentation": {} }, { "label": "SearchDialogBase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchbase", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchbase", "peekOfCode": "class SearchDialogBase:\n '''Create most of a 3 or 4 row, 3 column search dialog.\n The left and wide middle column contain:\n 1 or 2 labeled text entry lines (make_entry, create_entries);\n a row of standard Checkbuttons (make_frame, create_option_buttons),\n each of which corresponds to a search engine Variable;\n a row of dialog-specific Check/Radiobuttons (create_other_buttons).\n The narrow right column contains command buttons\n (make_button, create_command_buttons).\n These are bound to functions that execute the command.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchbase", "documentation": {} }, { "label": "_searchbase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchbase", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchbase", "peekOfCode": "class _searchbase(SearchDialogBase): # htest #\n \"Create auto-opening dialog with no text connection.\"\n def __init__(self, parent):\n import re\n from idlelib import searchengine\n self.root = parent\n self.engine = searchengine.get(parent)\n self.create_widgets()\n print(parent.geometry())\n width,height, x,y = list(map(int, re.split('[x+]', parent.geometry())))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchbase", "documentation": {} }, { "label": "SearchEngine", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchengine", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchengine", "peekOfCode": "class SearchEngine:\n \"\"\"Handles searching a text widget for Find, Replace, and Grep.\"\"\"\n def __init__(self, root):\n '''Initialize Variables that save search state.\n The dialogs bind these to the UI elements present in the dialogs.\n '''\n self.root = root # need for report_error()\n self.patvar = StringVar(root, '') # search pattern\n self.revar = BooleanVar(root, False) # regular expression?\n self.casevar = BooleanVar(root, False) # match case?", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchengine", "documentation": {} }, { "label": "get", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchengine", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchengine", "peekOfCode": "def get(root):\n '''Return the singleton SearchEngine instance for the process.\n The single SearchEngine saves settings between dialog instances.\n If there is not a SearchEngine already, make one.\n '''\n if not hasattr(root, \"_searchengine\"):\n root._searchengine = SearchEngine(root)\n # This creates a cycle that persists until root is deleted.\n return root._searchengine\nclass SearchEngine:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchengine", "documentation": {} }, { "label": "search_reverse", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchengine", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchengine", "peekOfCode": "def search_reverse(prog, chars, col):\n '''Search backwards and return an re match object or None.\n This is done by searching forwards until there is no match.\n Prog: compiled re object with a search method returning a match.\n Chars: line of text, without \\\\n.\n Col: stop index for the search; the limit for match.end().\n '''\n m = prog.search(chars)\n if not m:\n return None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchengine", "documentation": {} }, { "label": "get_selection", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchengine", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchengine", "peekOfCode": "def get_selection(text):\n '''Return tuple of 'line.col' indexes from selection or insert mark.\n '''\n try:\n first = text.index(\"sel.first\")\n last = text.index(\"sel.last\")\n except TclError:\n first = last = None\n if not first:\n first = text.index(\"insert\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchengine", "documentation": {} }, { "label": "get_line_col", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchengine", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchengine", "peekOfCode": "def get_line_col(index):\n '''Return (line, col) tuple of ints from 'line.col' string.'''\n line, col = map(int, index.split(\".\")) # Fails on invalid index\n return line, col\nif __name__ == \"__main__\":\n from unittest import main\n main('idlelib.idle_test.test_searchengine', verbosity=2)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.searchengine", "documentation": {} }, { "label": "BaseSideBar", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "peekOfCode": "class BaseSideBar:\n \"\"\"A base class for sidebars using Text.\"\"\"\n def __init__(self, editwin):\n self.editwin = editwin\n self.parent = editwin.text_frame\n self.text = editwin.text\n self.is_shown = False\n self.main_widget = self.init_widgets()\n self.bind_events()\n self.update_font()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "documentation": {} }, { "label": "EndLineDelegator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "peekOfCode": "class EndLineDelegator(Delegator):\n \"\"\"Generate callbacks with the current end line number.\n The provided callback is called after every insert and delete.\n \"\"\"\n def __init__(self, changed_callback):\n Delegator.__init__(self)\n self.changed_callback = changed_callback\n def insert(self, index, chars, tags=None):\n self.delegate.insert(index, chars, tags)\n self.changed_callback(get_end_linenumber(self.delegate))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "documentation": {} }, { "label": "LineNumbers", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "peekOfCode": "class LineNumbers(BaseSideBar):\n \"\"\"Line numbers support for editor windows.\"\"\"\n def __init__(self, editwin):\n super().__init__(editwin)\n end_line_delegator = EndLineDelegator(self.update_sidebar_text)\n # Insert the delegator after the undo delegator, so that line numbers\n # are properly updated after undo and redo actions.\n self.editwin.per.insertfilterafter(end_line_delegator,\n after=self.editwin.undo)\n def init_widgets(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "documentation": {} }, { "label": "WrappedLineHeightChangeDelegator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "peekOfCode": "class WrappedLineHeightChangeDelegator(Delegator):\n def __init__(self, callback):\n \"\"\"\n callback - Callable, will be called when an insert, delete or replace\n action on the text widget may require updating the shell\n sidebar.\n \"\"\"\n Delegator.__init__(self)\n self.callback = callback\n def insert(self, index, chars, tags=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "documentation": {} }, { "label": "ShellSidebar", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "peekOfCode": "class ShellSidebar(BaseSideBar):\n \"\"\"Sidebar for the PyShell window, for prompts etc.\"\"\"\n def __init__(self, editwin):\n self.canvas = None\n self.line_prompts = {}\n super().__init__(editwin)\n change_delegator = \\\n WrappedLineHeightChangeDelegator(self.change_callback)\n # Insert the TextChangeDelegator after the last delegator, so that\n # the sidebar reflects final changes to the text widget contents.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "documentation": {} }, { "label": "get_lineno", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "peekOfCode": "def get_lineno(text, index):\n \"\"\"Return the line number of an index in a Tk text widget.\"\"\"\n text_index = text.index(index)\n return int(float(text_index)) if text_index else None\ndef get_end_linenumber(text):\n \"\"\"Return the number of the last line in a Tk text widget.\"\"\"\n return get_lineno(text, 'end-1c')\ndef get_displaylines(text, index):\n \"\"\"Display height, in lines, of a logical line in a Tk text widget.\"\"\"\n res = text.count(f\"{index} linestart\",", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "documentation": {} }, { "label": "get_end_linenumber", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "peekOfCode": "def get_end_linenumber(text):\n \"\"\"Return the number of the last line in a Tk text widget.\"\"\"\n return get_lineno(text, 'end-1c')\ndef get_displaylines(text, index):\n \"\"\"Display height, in lines, of a logical line in a Tk text widget.\"\"\"\n res = text.count(f\"{index} linestart\",\n f\"{index} lineend\",\n \"displaylines\")\n return res[0] if res else 0\ndef get_widget_padding(widget):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "documentation": {} }, { "label": "get_displaylines", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "peekOfCode": "def get_displaylines(text, index):\n \"\"\"Display height, in lines, of a logical line in a Tk text widget.\"\"\"\n res = text.count(f\"{index} linestart\",\n f\"{index} lineend\",\n \"displaylines\")\n return res[0] if res else 0\ndef get_widget_padding(widget):\n \"\"\"Get the total padding of a Tk widget, including its border.\"\"\"\n # TODO: use also in codecontext.py\n manager = widget.winfo_manager()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "documentation": {} }, { "label": "get_widget_padding", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "peekOfCode": "def get_widget_padding(widget):\n \"\"\"Get the total padding of a Tk widget, including its border.\"\"\"\n # TODO: use also in codecontext.py\n manager = widget.winfo_manager()\n if manager == 'pack':\n info = widget.pack_info()\n elif manager == 'grid':\n info = widget.grid_info()\n else:\n raise ValueError(f\"Unsupported geometry manager: {manager}\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "documentation": {} }, { "label": "temp_enable_text_widget", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "peekOfCode": "def temp_enable_text_widget(text):\n text.configure(state=tk.NORMAL)\n try:\n yield\n finally:\n text.configure(state=tk.DISABLED)\nclass BaseSideBar:\n \"\"\"A base class for sidebars using Text.\"\"\"\n def __init__(self, editwin):\n self.editwin = editwin", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.sidebar", "documentation": {} }, { "label": "ExpandingButton", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.squeezer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.squeezer", "peekOfCode": "class ExpandingButton(tk.Button):\n \"\"\"Class for the \"squeezed\" text buttons used by Squeezer\n These buttons are displayed inside a Tk Text widget in place of text. A\n user can then use the button to replace it with the original text, copy\n the original text to the clipboard or view the original text in a separate\n window.\n Each button is tied to a Squeezer instance, and it knows to update the\n Squeezer instance when it is expanded (and therefore removed).\n \"\"\"\n def __init__(self, s, tags, numoflines, squeezer):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.squeezer", "documentation": {} }, { "label": "Squeezer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.squeezer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.squeezer", "peekOfCode": "class Squeezer:\n \"\"\"Replace long outputs in the shell with a simple button.\n This avoids IDLE's shell slowing down considerably, and even becoming\n completely unresponsive, when very long outputs are written.\n \"\"\"\n @classmethod\n def reload(cls):\n \"\"\"Load class variables from config.\"\"\"\n cls.auto_squeeze_min_lines = idleConf.GetOption(\n \"main\", \"PyShell\", \"auto-squeeze-min-lines\",", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.squeezer", "documentation": {} }, { "label": "count_lines_with_wrapping", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.squeezer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.squeezer", "peekOfCode": "def count_lines_with_wrapping(s, linewidth=80):\n \"\"\"Count the number of lines in a given string.\n Lines are counted as if the string was wrapped so that lines are never over\n linewidth characters long.\n Tabs are considered tabwidth characters long.\n \"\"\"\n tabwidth = 8 # Currently always true in Shell.\n pos = 0\n linecount = 1\n current_column = 0", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.squeezer", "documentation": {} }, { "label": "StackTreeItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.stackviewer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.stackviewer", "peekOfCode": "class StackTreeItem(TreeItem):\n def __init__(self, flist=None, tb=None):\n self.flist = flist\n self.stack = self.get_stack(tb)\n self.text = self.get_exception()\n def get_stack(self, tb):\n if tb is None:\n tb = sys.last_traceback\n stack = []\n if tb and tb.tb_frame is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.stackviewer", "documentation": {} }, { "label": "FrameTreeItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.stackviewer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.stackviewer", "peekOfCode": "class FrameTreeItem(TreeItem):\n def __init__(self, info, flist):\n self.info = info\n self.flist = flist\n def GetText(self):\n frame, lineno = self.info\n try:\n modname = frame.f_globals[\"__name__\"]\n except:\n modname = \"?\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.stackviewer", "documentation": {} }, { "label": "VariablesTreeItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.stackviewer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.stackviewer", "peekOfCode": "class VariablesTreeItem(ObjectTreeItem):\n def GetText(self):\n return self.labeltext\n def GetLabelText(self):\n return None\n def IsExpandable(self):\n return len(self.object) > 0\n def GetSubList(self):\n sublist = []\n for key in self.object.keys():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.stackviewer", "documentation": {} }, { "label": "StackBrowser", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.stackviewer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.stackviewer", "peekOfCode": "def StackBrowser(root, flist=None, tb=None, top=None):\n global sc, item, node # For testing.\n if top is None:\n top = tk.Toplevel(root)\n sc = ScrolledCanvas(top, bg=\"white\", highlightthickness=0)\n sc.frame.pack(expand=1, fill=\"both\")\n item = StackTreeItem(flist, tb)\n node = TreeNode(sc.canvas, None, item)\n node.expand()\nclass StackTreeItem(TreeItem):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.stackviewer", "documentation": {} }, { "label": "MultiStatusBar", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.statusbar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.statusbar", "peekOfCode": "class MultiStatusBar(Frame):\n def __init__(self, master, **kw):\n Frame.__init__(self, master, **kw)\n self.labels = {}\n def set_label(self, name, text='', side='left', width=0):\n if name not in self.labels:\n label = Label(self, borderwidth=0, anchor='w')\n label.pack(side=side, pady=0, padx=4)\n self.labels[name] = label\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.statusbar", "documentation": {} }, { "label": "AutoHideScrollbar", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.textview", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.textview", "peekOfCode": "class AutoHideScrollbar(Scrollbar):\n \"\"\"A scrollbar that is automatically hidden when not needed.\n Only the grid geometry manager is supported.\n \"\"\"\n def set(self, lo, hi):\n if float(lo) > 0.0 or float(hi) < 1.0:\n self.grid()\n else:\n self.grid_remove()\n super().set(lo, hi)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.textview", "documentation": {} }, { "label": "ScrollableTextFrame", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.textview", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.textview", "peekOfCode": "class ScrollableTextFrame(Frame):\n \"\"\"Display text with scrollbar(s).\"\"\"\n def __init__(self, master, wrap=NONE, **kwargs):\n \"\"\"Create a frame for Textview.\n master - master widget for this frame\n wrap - type of text wrapping to use ('word', 'char' or 'none')\n All parameters except for 'wrap' are passed to Frame.__init__().\n The Text widget is accessible via the 'text' attribute.\n Note: Changing the wrapping mode of the text widget after\n instantiation is not supported.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.textview", "documentation": {} }, { "label": "ViewFrame", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.textview", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.textview", "peekOfCode": "class ViewFrame(Frame):\n \"Display TextFrame and Close button.\"\n def __init__(self, parent, contents, wrap='word'):\n \"\"\"Create a frame for viewing text with a \"Close\" button.\n parent - parent widget for this frame\n contents - text to display\n wrap - type of text wrapping to use ('word', 'char' or 'none')\n The Text widget is accessible via the 'text' attribute.\n \"\"\"\n super().__init__(parent)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.textview", "documentation": {} }, { "label": "ViewWindow", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.textview", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.textview", "peekOfCode": "class ViewWindow(Toplevel):\n \"A simple text viewer dialog for IDLE.\"\n def __init__(self, parent, title, contents, modal=True, wrap=WORD,\n *, _htest=False, _utest=False):\n \"\"\"Show the given text in a scrollable window with a 'close' button.\n If modal is left True, users cannot interact with other windows\n until the textview window is closed.\n parent - parent of this dialog\n title - string which is title of popup dialog\n contents - text to display in dialog", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.textview", "documentation": {} }, { "label": "view_text", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.textview", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.textview", "peekOfCode": "def view_text(parent, title, contents, modal=True, wrap='word', _utest=False):\n \"\"\"Create text viewer for given text.\n parent - parent of this dialog\n title - string which is the title of popup dialog\n contents - text to display in this dialog\n wrap - type of text wrapping to use ('word', 'char' or 'none')\n modal - controls if users can interact with other windows while this\n dialog is displayed\n _utest - bool; controls wait_window on unittest\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.textview", "documentation": {} }, { "label": "view_file", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.textview", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.textview", "peekOfCode": "def view_file(parent, title, filename, encoding, modal=True, wrap='word',\n _utest=False):\n \"\"\"Create text viewer for text in filename.\n Return error message if file cannot be read. Otherwise calls view_text\n with contents of the file.\n \"\"\"\n try:\n with open(filename, 'r', encoding=encoding) as file:\n contents = file.read()\n except OSError:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.textview", "documentation": {} }, { "label": "TooltipBase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tooltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tooltip", "peekOfCode": "class TooltipBase:\n \"\"\"abstract base class for tooltips\"\"\"\n def __init__(self, anchor_widget):\n \"\"\"Create a tooltip.\n anchor_widget: the widget next to which the tooltip will be shown\n Note that a widget will only be shown when showtip() is called.\n \"\"\"\n self.anchor_widget = anchor_widget\n self.tipwindow = None\n def __del__(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tooltip", "documentation": {} }, { "label": "OnHoverTooltipBase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tooltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tooltip", "peekOfCode": "class OnHoverTooltipBase(TooltipBase):\n \"\"\"abstract base class for tooltips, with delayed on-hover display\"\"\"\n def __init__(self, anchor_widget, hover_delay=1000):\n \"\"\"Create a tooltip with a mouse hover delay.\n anchor_widget: the widget next to which the tooltip will be shown\n hover_delay: time to delay before showing the tooltip, in milliseconds\n Note that a widget will only be shown when showtip() is called,\n e.g. after hovering over the anchor widget with the mouse for enough\n time.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tooltip", "documentation": {} }, { "label": "Hovertip", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tooltip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tooltip", "peekOfCode": "class Hovertip(OnHoverTooltipBase):\n \"A tooltip that pops up when a mouse hovers over an anchor widget.\"\n def __init__(self, anchor_widget, text, hover_delay=1000):\n \"\"\"Create a text tooltip with a mouse hover delay.\n anchor_widget: the widget next to which the tooltip will be shown\n hover_delay: time to delay before showing the tooltip, in milliseconds\n Note that a widget will only be shown when showtip() is called,\n e.g. after hovering over the anchor widget with the mouse for enough\n time.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tooltip", "documentation": {} }, { "label": "TreeNode", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "peekOfCode": "class TreeNode:\n def __init__(self, canvas, parent, item):\n self.canvas = canvas\n self.parent = parent\n self.item = item\n self.state = 'collapsed'\n self.selected = False\n self.children = []\n self.x = self.y = None\n self.iconimages = {} # cache of PhotoImage instances for icons", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "documentation": {} }, { "label": "TreeItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "peekOfCode": "class TreeItem:\n \"\"\"Abstract class representing tree items.\n Methods should typically be overridden, otherwise a default action\n is used.\n \"\"\"\n def __init__(self):\n \"\"\"Constructor. Do whatever you need to do.\"\"\"\n def GetText(self):\n \"\"\"Return text string to display.\"\"\"\n def GetLabelText(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "documentation": {} }, { "label": "FileTreeItem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "peekOfCode": "class FileTreeItem(TreeItem):\n \"\"\"Example TreeItem subclass -- browse the file system.\"\"\"\n def __init__(self, path):\n self.path = path\n def GetText(self):\n return os.path.basename(self.path) or self.path\n def IsEditable(self):\n return os.path.basename(self.path) != \"\"\n def SetText(self, text):\n newpath = os.path.dirname(self.path)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "documentation": {} }, { "label": "ScrolledCanvas", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "peekOfCode": "class ScrolledCanvas:\n def __init__(self, master, **opts):\n if 'yscrollincrement' not in opts:\n opts['yscrollincrement'] = 17\n self.master = master\n self.frame = Frame(master)\n self.frame.rowconfigure(0, weight=1)\n self.frame.columnconfigure(0, weight=1)\n self.canvas = Canvas(self.frame, **opts)\n self.canvas.grid(row=0, column=0, sticky=\"nsew\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "documentation": {} }, { "label": "listicons", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "peekOfCode": "def listicons(icondir=ICONDIR):\n \"\"\"Utility to display the available icons.\"\"\"\n root = Tk()\n import glob\n list = glob.glob(os.path.join(glob.escape(icondir), \"*.gif\"))\n list.sort()\n images = []\n row = column = 0\n for file in list:\n name = os.path.splitext(os.path.basename(file))[0]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "documentation": {} }, { "label": "wheel_event", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "peekOfCode": "def wheel_event(event, widget=None):\n \"\"\"Handle scrollwheel event.\n For wheel up, event.delta = 120*n on Windows, -1*n on darwin,\n where n can be > 1 if one scrolls fast. Flicking the wheel\n generates up to maybe 20 events with n up to 10 or more 1.\n Macs use wheel down (delta = 1*n) to scroll up, so positive\n delta means to scroll up on both systems.\n X-11 sends Control-Button-4,5 events instead.\n The widget parameter is needed so browser label bindings can pass\n the underlying canvas.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "documentation": {} }, { "label": "ICONDIR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "peekOfCode": "ICONDIR = \"Icons\"\n# Look for Icons subdirectory in the same directory as this module\ntry:\n _icondir = os.path.join(os.path.dirname(__file__), ICONDIR)\nexcept NameError:\n _icondir = ICONDIR\nif os.path.isdir(_icondir):\n ICONDIR = _icondir\nelif not os.path.isdir(ICONDIR):\n raise RuntimeError(\"can't find icon directory (%r)\" % (ICONDIR,))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.tree", "documentation": {} }, { "label": "UndoDelegator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.undo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.undo", "peekOfCode": "class UndoDelegator(Delegator):\n max_undo = 1000\n def __init__(self):\n Delegator.__init__(self)\n self.reset_undo()\n def setdelegate(self, delegate):\n if self.delegate is not None:\n self.unbind(\"<>\")\n self.unbind(\"<>\")\n self.unbind(\"<>\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.undo", "documentation": {} }, { "label": "Command", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.undo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.undo", "peekOfCode": "class Command:\n # Base class for Undoable commands\n tags = None\n def __init__(self, index1, index2, chars, tags=None):\n self.marks_before = {}\n self.marks_after = {}\n self.index1 = index1\n self.index2 = index2\n self.chars = chars\n if tags:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.undo", "documentation": {} }, { "label": "InsertCommand", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.undo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.undo", "peekOfCode": "class InsertCommand(Command):\n # Undoable insert command\n def __init__(self, index1, chars, tags=None):\n Command.__init__(self, index1, None, chars, tags)\n def do(self, text):\n self.marks_before = self.save_marks(text)\n self.index1 = text.index(self.index1)\n if text.compare(self.index1, \">\", \"end-1c\"):\n # Insert before the final newline\n self.index1 = text.index(\"end-1c\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.undo", "documentation": {} }, { "label": "DeleteCommand", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.undo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.undo", "peekOfCode": "class DeleteCommand(Command):\n # Undoable delete command\n def __init__(self, index1, index2=None):\n Command.__init__(self, index1, index2, None, None)\n def do(self, text):\n self.marks_before = self.save_marks(text)\n self.index1 = text.index(self.index1)\n if self.index2:\n self.index2 = text.index(self.index2)\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.undo", "documentation": {} }, { "label": "CommandSequence", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.undo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.undo", "peekOfCode": "class CommandSequence(Command):\n # Wrapper for a sequence of undoable cmds to be undone/redone\n # as a unit\n def __init__(self):\n self.cmds = []\n self.depth = 0\n def __repr__(self):\n s = self.__class__.__name__\n strs = []\n for cmd in self.cmds:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.undo", "documentation": {} }, { "label": "py_extensions", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.util", "peekOfCode": "py_extensions = ('.py', '.pyw', '.pyi') # Order needed for open/save dialogs.\nif __name__ == '__main__':\n from unittest import main\n main('idlelib.idle_test.test_util', verbosity=2)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.util", "documentation": {} }, { "label": "WindowList", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.window", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.window", "peekOfCode": "class WindowList:\n def __init__(self):\n self.dict = {}\n self.callbacks = []\n def add(self, window):\n window.after_idle(self.call_callbacks)\n self.dict[str(window)] = window\n def delete(self, window):\n try:\n del self.dict[str(window)]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.window", "documentation": {} }, { "label": "ListedToplevel", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.window", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.window", "peekOfCode": "class ListedToplevel(Toplevel):\n def __init__(self, master, **kw):\n Toplevel.__init__(self, master, kw)\n registry.add(self)\n self.focused_widget = self\n def destroy(self):\n registry.delete(self)\n Toplevel.destroy(self)\n # If this is Idle's last window then quit the mainloop\n # (Needed for clean exit on Windows 98)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.window", "documentation": {} }, { "label": "registry", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.window", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.window", "peekOfCode": "registry = WindowList()\nadd_windows_to_menu = registry.add_windows_to_menu\nregister_callback = registry.register_callback\nunregister_callback = registry.unregister_callback\nclass ListedToplevel(Toplevel):\n def __init__(self, master, **kw):\n Toplevel.__init__(self, master, kw)\n registry.add(self)\n self.focused_widget = self\n def destroy(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.window", "documentation": {} }, { "label": "add_windows_to_menu", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.window", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.window", "peekOfCode": "add_windows_to_menu = registry.add_windows_to_menu\nregister_callback = registry.register_callback\nunregister_callback = registry.unregister_callback\nclass ListedToplevel(Toplevel):\n def __init__(self, master, **kw):\n Toplevel.__init__(self, master, kw)\n registry.add(self)\n self.focused_widget = self\n def destroy(self):\n registry.delete(self)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.window", "documentation": {} }, { "label": "register_callback", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.window", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.window", "peekOfCode": "register_callback = registry.register_callback\nunregister_callback = registry.unregister_callback\nclass ListedToplevel(Toplevel):\n def __init__(self, master, **kw):\n Toplevel.__init__(self, master, kw)\n registry.add(self)\n self.focused_widget = self\n def destroy(self):\n registry.delete(self)\n Toplevel.destroy(self)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.window", "documentation": {} }, { "label": "unregister_callback", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.window", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.window", "peekOfCode": "unregister_callback = registry.unregister_callback\nclass ListedToplevel(Toplevel):\n def __init__(self, master, **kw):\n Toplevel.__init__(self, master, kw)\n registry.add(self)\n self.focused_widget = self\n def destroy(self):\n registry.delete(self)\n Toplevel.destroy(self)\n # If this is Idle's last window then quit the mainloop", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.window", "documentation": {} }, { "label": "WmInfoGatheringError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.zoomheight", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.zoomheight", "peekOfCode": "class WmInfoGatheringError(Exception):\n pass\nclass ZoomHeight:\n # Cached values for maximized window dimensions, one for each set\n # of screen dimensions.\n _max_height_and_y_coords = {}\n def __init__(self, editwin):\n self.editwin = editwin\n self.top = self.editwin.top\n def zoom_height_event(self, event=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.zoomheight", "documentation": {} }, { "label": "ZoomHeight", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.zoomheight", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.zoomheight", "peekOfCode": "class ZoomHeight:\n # Cached values for maximized window dimensions, one for each set\n # of screen dimensions.\n _max_height_and_y_coords = {}\n def __init__(self, editwin):\n self.editwin = editwin\n self.top = self.editwin.top\n def zoom_height_event(self, event=None):\n zoomed = self.zoom_height()\n if zoomed is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.zoomheight", "documentation": {} }, { "label": "get_window_geometry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.zoomheight", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.zoomheight", "peekOfCode": "def get_window_geometry(top):\n geom = top.wm_geometry()\n m = re.match(r\"(\\d+)x(\\d+)\\+(-?\\d+)\\+(-?\\d+)\", geom)\n return tuple(map(int, m.groups()))\ndef set_window_geometry(top, geometry):\n top.wm_geometry(\"{:d}x{:d}+{:d}+{:d}\".format(*geometry))\nif __name__ == \"__main__\":\n from unittest import main\n main('idlelib.idle_test.test_zoomheight', verbosity=2, exit=False)\n # Add htest?", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.zoomheight", "documentation": {} }, { "label": "set_window_geometry", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.zoomheight", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.zoomheight", "peekOfCode": "def set_window_geometry(top, geometry):\n top.wm_geometry(\"{:d}x{:d}+{:d}+{:d}\".format(*geometry))\nif __name__ == \"__main__\":\n from unittest import main\n main('idlelib.idle_test.test_zoomheight', verbosity=2, exit=False)\n # Add htest?", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.zoomheight", "documentation": {} }, { "label": "ZzDummy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.zzdummy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.zzdummy", "peekOfCode": "class ZzDummy:\n \"\"\"Prepend or remove initial text from selected lines.\"\"\"\n # Extend the format menu.\n menudefs = [\n ('format', [\n ('Z in', '<>'),\n ('Z out', '<>'),\n ] )\n ]\n def __init__(self, editwin):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.zzdummy", "documentation": {} }, { "label": "format_selection", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.zzdummy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.zzdummy", "peekOfCode": "def format_selection(format_line):\n \"Apply a formatting function to all of the selected lines.\"\n @wraps(format_line)\n def apply(self, event=None):\n head, tail, chars, lines = self.formatter.get_region()\n for pos in range(len(lines) - 1):\n line = lines[pos]\n lines[pos] = format_line(self, line)\n self.formatter.set_region(head, tail, chars, lines)\n return 'break'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.idlelib.zzdummy", "documentation": {} }, { "label": "Message", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._adapters", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._adapters", "peekOfCode": "class Message(email.message.Message):\n multiple_use_keys = set(\n map(\n FoldedCase,\n [\n 'Classifier',\n 'Obsoletes-Dist',\n 'Platform',\n 'Project-URL',\n 'Provides-Dist',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._adapters", "documentation": {} }, { "label": "FreezableDefaultDict", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._collections", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._collections", "peekOfCode": "class FreezableDefaultDict(collections.defaultdict):\n \"\"\"\n Often it is desirable to prevent the mutation of\n a default dict after its initial construction, such\n as to prevent mutation during iteration.\n >>> dd = FreezableDefaultDict(list)\n >>> dd[0].append('1')\n >>> dd.freeze()\n >>> dd[1]\n []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._collections", "documentation": {} }, { "label": "Pair", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._collections", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._collections", "peekOfCode": "class Pair(collections.namedtuple('Pair', 'name value')):\n @classmethod\n def parse(cls, text):\n return cls(*map(str.strip, text.split(\"=\", 1)))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._collections", "documentation": {} }, { "label": "method_cache", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._functools", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._functools", "peekOfCode": "def method_cache(method, cache_wrapper=None):\n \"\"\"\n Wrap lru_cache to support storing the cache data in the object instances.\n Abstracts the common paradigm where the method explicitly saves an\n underscore-prefixed protected property on first call and returns that\n subsequently.\n >>> class MyClass:\n ... calls = 0\n ...\n ... @method_cache", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._functools", "documentation": {} }, { "label": "unique_everseen", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._itertools", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._itertools", "peekOfCode": "def unique_everseen(iterable, key=None):\n \"List unique elements, preserving order. Remember all elements ever seen.\"\n # unique_everseen('AAAABBBCCDAABBB') --> A B C D\n # unique_everseen('ABBCcAD', str.lower) --> A B C D\n seen = set()\n seen_add = seen.add\n if key is None:\n for element in filterfalse(seen.__contains__, iterable):\n seen_add(element)\n yield element", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._itertools", "documentation": {} }, { "label": "PackageMetadata", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._meta", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._meta", "peekOfCode": "class PackageMetadata(Protocol):\n def __len__(self) -> int:\n ... # pragma: no cover\n def __contains__(self, item: str) -> bool:\n ... # pragma: no cover\n def __getitem__(self, key: str) -> str:\n ... # pragma: no cover\n def __iter__(self) -> Iterator[str]:\n ... # pragma: no cover\n def get_all(self, name: str, failobj: _T = ...) -> Union[List[Any], _T]:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._meta", "documentation": {} }, { "label": "SimplePath", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._meta", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._meta", "peekOfCode": "class SimplePath(Protocol):\n \"\"\"\n A minimal subset of pathlib.Path required by PathDistribution.\n \"\"\"\n def joinpath(self) -> 'SimplePath':\n ... # pragma: no cover\n def __div__(self) -> 'SimplePath':\n ... # pragma: no cover\n def parent(self) -> 'SimplePath':\n ... # pragma: no cover", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._meta", "documentation": {} }, { "label": "_T", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._meta", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._meta", "peekOfCode": "_T = TypeVar(\"_T\")\nclass PackageMetadata(Protocol):\n def __len__(self) -> int:\n ... # pragma: no cover\n def __contains__(self, item: str) -> bool:\n ... # pragma: no cover\n def __getitem__(self, key: str) -> str:\n ... # pragma: no cover\n def __iter__(self) -> Iterator[str]:\n ... # pragma: no cover", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._meta", "documentation": {} }, { "label": "FoldedCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._text", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._text", "peekOfCode": "class FoldedCase(str):\n \"\"\"\n A case insensitive string class; behaves just like str\n except compares equal when the only variation is case.\n >>> s = FoldedCase('hello world')\n >>> s == 'Hello World'\n True\n >>> 'Hello World' == s\n True\n >>> s != 'Hello World'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.metadata._text", "documentation": {} }, { "label": "Finder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "peekOfCode": "class Finder(metaclass=abc.ABCMeta):\n \"\"\"Legacy abstract base class for import finders.\n It may be subclassed for compatibility with legacy third party\n reimplementations of the import system. Otherwise, finder\n implementations should derive from the more specific MetaPathFinder\n or PathEntryFinder ABCs.\n Deprecated since Python 3.3\n \"\"\"\n def __init__(self):\n warnings.warn(\"the Finder ABC is deprecated and \"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "documentation": {} }, { "label": "MetaPathFinder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "peekOfCode": "class MetaPathFinder(metaclass=abc.ABCMeta):\n \"\"\"Abstract base class for import finders on sys.meta_path.\"\"\"\n # We don't define find_spec() here since that would break\n # hasattr checks we do to support backward compatibility.\n def find_module(self, fullname, path):\n \"\"\"Return a loader for the module.\n If no module is found, return None. The fullname is a str and\n the path is a list of strings or None.\n This method is deprecated since Python 3.4 in favor of\n finder.find_spec(). If find_spec() exists then backwards-compatible", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "documentation": {} }, { "label": "PathEntryFinder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "peekOfCode": "class PathEntryFinder(metaclass=abc.ABCMeta):\n \"\"\"Abstract base class for path entry finders used by PathFinder.\"\"\"\n # We don't define find_spec() here since that would break\n # hasattr checks we do to support backward compatibility.\n def find_loader(self, fullname):\n \"\"\"Return (loader, namespace portion) for the path entry.\n The fullname is a str. The namespace portion is a sequence of\n path entries contributing to part of a namespace package. The\n sequence may be empty. If loader is not None, the portion will\n be ignored.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "documentation": {} }, { "label": "ResourceLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "peekOfCode": "class ResourceLoader(Loader):\n \"\"\"Abstract base class for loaders which can return data from their\n back-end storage.\n This ABC represents one of the optional protocols specified by PEP 302.\n \"\"\"\n @abc.abstractmethod\n def get_data(self, path):\n \"\"\"Abstract method which when implemented should return the bytes for\n the specified path. The path must be a str.\"\"\"\n raise OSError", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "documentation": {} }, { "label": "InspectLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "peekOfCode": "class InspectLoader(Loader):\n \"\"\"Abstract base class for loaders which support inspection about the\n modules they can load.\n This ABC represents one of the optional protocols specified by PEP 302.\n \"\"\"\n def is_package(self, fullname):\n \"\"\"Optional method which when implemented should return whether the\n module is a package. The fullname is a str. Returns a bool.\n Raises ImportError if the module cannot be found.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "documentation": {} }, { "label": "ExecutionLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "peekOfCode": "class ExecutionLoader(InspectLoader):\n \"\"\"Abstract base class for loaders that wish to support the execution of\n modules as scripts.\n This ABC represents one of the optional protocols specified in PEP 302.\n \"\"\"\n @abc.abstractmethod\n def get_filename(self, fullname):\n \"\"\"Abstract method which should return the value that __file__ is to be\n set to.\n Raises ImportError if the module cannot be found.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "documentation": {} }, { "label": "FileLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "peekOfCode": "class FileLoader(_bootstrap_external.FileLoader, ResourceLoader, ExecutionLoader):\n \"\"\"Abstract base class partially implementing the ResourceLoader and\n ExecutionLoader ABCs.\"\"\"\n_register(FileLoader, machinery.SourceFileLoader,\n machinery.SourcelessFileLoader)\nclass SourceLoader(_bootstrap_external.SourceLoader, ResourceLoader, ExecutionLoader):\n \"\"\"Abstract base class for loading source code (and optionally any\n corresponding bytecode).\n To support loading from source code, the abstractmethods inherited from\n ResourceLoader and ExecutionLoader need to be implemented. To also support", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "documentation": {} }, { "label": "SourceLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "peekOfCode": "class SourceLoader(_bootstrap_external.SourceLoader, ResourceLoader, ExecutionLoader):\n \"\"\"Abstract base class for loading source code (and optionally any\n corresponding bytecode).\n To support loading from source code, the abstractmethods inherited from\n ResourceLoader and ExecutionLoader need to be implemented. To also support\n loading from bytecode, the optional methods specified directly by this ABC\n is required.\n Inherited abstractmethods not implemented in this ABC:\n * ResourceLoader.get_data\n * ExecutionLoader.get_filename", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "documentation": {} }, { "label": "ResourceReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "peekOfCode": "class ResourceReader(metaclass=abc.ABCMeta):\n \"\"\"Abstract base class for loaders to provide resource reading support.\"\"\"\n @abc.abstractmethod\n def open_resource(self, resource: Text) -> BinaryIO:\n \"\"\"Return an opened, file-like object for binary reading.\n The 'resource' argument is expected to represent only a file name.\n If the resource cannot be found, FileNotFoundError is raised.\n \"\"\"\n # This deliberately raises FileNotFoundError instead of\n # NotImplementedError so that if this method is accidentally called,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "documentation": {} }, { "label": "Traversable", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "peekOfCode": "class Traversable(Protocol):\n \"\"\"\n An object with a subset of pathlib.Path methods suitable for\n traversing directories and opening files.\n \"\"\"\n @abc.abstractmethod\n def iterdir(self):\n \"\"\"\n Yield Traversable objects in self\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "documentation": {} }, { "label": "TraversableResources", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "peekOfCode": "class TraversableResources(ResourceReader):\n \"\"\"\n The required interface for providing traversable\n resources.\n \"\"\"\n @abc.abstractmethod\n def files(self):\n \"\"\"Return a Traversable object for the loaded package.\"\"\"\n def open_resource(self, resource):\n return self.files().joinpath(resource).open('rb')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.abc", "documentation": {} }, { "label": "all_suffixes", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.machinery", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.machinery", "peekOfCode": "def all_suffixes():\n \"\"\"Returns a list of all recognized module suffixes for this process\"\"\"\n return SOURCE_SUFFIXES + BYTECODE_SUFFIXES + EXTENSION_SUFFIXES", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.machinery", "documentation": {} }, { "label": "FileReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.readers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.readers", "peekOfCode": "class FileReader(abc.TraversableResources):\n def __init__(self, loader):\n self.path = pathlib.Path(loader.path).parent\n def resource_path(self, resource):\n \"\"\"\n Return the file system path to prevent\n `resources.path()` from creating a temporary\n copy.\n \"\"\"\n return str(self.path.joinpath(resource))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.readers", "documentation": {} }, { "label": "ZipReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.readers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.readers", "peekOfCode": "class ZipReader(abc.TraversableResources):\n def __init__(self, loader, module):\n _, _, name = module.rpartition('.')\n self.prefix = loader.prefix.replace('\\\\', '/') + name + '/'\n self.archive = loader.archive\n def open_resource(self, resource):\n try:\n return super().open_resource(resource)\n except KeyError as exc:\n raise FileNotFoundError(exc.args[0])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.readers", "documentation": {} }, { "label": "MultiplexedPath", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.readers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.readers", "peekOfCode": "class MultiplexedPath(abc.Traversable):\n \"\"\"\n Given a series of Traversable objects, implement a merged\n version of the interface across all objects. Useful for\n namespace packages which may be multihomed at a single\n name.\n \"\"\"\n def __init__(self, *paths):\n self._paths = list(map(pathlib.Path, remove_duplicates(paths)))\n if not self._paths:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.readers", "documentation": {} }, { "label": "NamespaceReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.readers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.readers", "peekOfCode": "class NamespaceReader(abc.TraversableResources):\n def __init__(self, namespace_path):\n if 'NamespacePath' not in str(namespace_path):\n raise ValueError('Invalid path')\n self.path = MultiplexedPath(*list(namespace_path))\n def resource_path(self, resource):\n \"\"\"\n Return the file system path to prevent\n `resources.path()` from creating a temporary\n copy.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.readers", "documentation": {} }, { "label": "remove_duplicates", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.readers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.readers", "peekOfCode": "def remove_duplicates(items):\n return iter(collections.OrderedDict.fromkeys(items))\nclass FileReader(abc.TraversableResources):\n def __init__(self, loader):\n self.path = pathlib.Path(loader.path).parent\n def resource_path(self, resource):\n \"\"\"\n Return the file system path to prevent\n `resources.path()` from creating a temporary\n copy.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.readers", "documentation": {} }, { "label": "open_binary", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "peekOfCode": "def open_binary(package: Package, resource: Resource) -> BinaryIO:\n \"\"\"Return a file-like object opened for binary reading of the resource.\"\"\"\n resource = _common.normalize_path(resource)\n package = _common.get_package(package)\n reader = _common.get_resource_reader(package)\n if reader is not None:\n return reader.open_resource(resource)\n spec = cast(ModuleSpec, package.__spec__)\n # Using pathlib doesn't work well here due to the lack of 'strict'\n # argument for pathlib.Path.resolve() prior to Python 3.6.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "documentation": {} }, { "label": "open_text", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "peekOfCode": "def open_text(\n package: Package,\n resource: Resource,\n encoding: str = 'utf-8',\n errors: str = 'strict',\n) -> TextIO:\n \"\"\"Return a file-like object opened for text reading of the resource.\"\"\"\n return TextIOWrapper(\n open_binary(package, resource), encoding=encoding, errors=errors\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "documentation": {} }, { "label": "read_binary", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "peekOfCode": "def read_binary(package: Package, resource: Resource) -> bytes:\n \"\"\"Return the binary contents of the resource.\"\"\"\n with open_binary(package, resource) as fp:\n return fp.read()\ndef read_text(\n package: Package,\n resource: Resource,\n encoding: str = 'utf-8',\n errors: str = 'strict',\n) -> str:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "documentation": {} }, { "label": "read_text", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "peekOfCode": "def read_text(\n package: Package,\n resource: Resource,\n encoding: str = 'utf-8',\n errors: str = 'strict',\n) -> str:\n \"\"\"Return the decoded string of the resource.\n The decoding-related arguments have the same semantics as those of\n bytes.decode().\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "documentation": {} }, { "label": "path", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "peekOfCode": "def path(\n package: Package,\n resource: Resource,\n) -> 'ContextManager[Path]':\n \"\"\"A context manager providing a file path object to the resource.\n If the resource does not already exist on its own on the file system,\n a temporary file will be created. If the file was created, the file\n will be deleted upon exiting the context manager (no exception is\n raised if the file was deleted prior to the context manager\n exiting).", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "documentation": {} }, { "label": "is_resource", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "peekOfCode": "def is_resource(package: Package, name: str) -> bool:\n \"\"\"True if 'name' is a resource inside 'package'.\n Directories are *not* resources.\n \"\"\"\n package = _common.get_package(package)\n _common.normalize_path(name)\n reader = _common.get_resource_reader(package)\n if reader is not None:\n return reader.is_resource(name)\n package_contents = set(contents(package))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "documentation": {} }, { "label": "contents", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "peekOfCode": "def contents(package: Package) -> Iterable[str]:\n \"\"\"Return an iterable of entries in 'package'.\n Note that not all entries are resources. Specifically, directories are\n not considered resources. Use `is_resource()` on each entry returned here\n to check if it is a resource or not.\n \"\"\"\n package = _common.get_package(package)\n reader = _common.get_resource_reader(package)\n if reader is not None:\n return _ensure_sequence(reader.contents())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "peekOfCode": "__all__ = [\n 'Package',\n 'Resource',\n 'ResourceReader',\n 'as_file',\n 'contents',\n 'files',\n 'is_resource',\n 'open_binary',\n 'open_text',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "documentation": {} }, { "label": "Package", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "peekOfCode": "Package = Union[str, ModuleType]\nResource = Union[str, os.PathLike]\ndef open_binary(package: Package, resource: Resource) -> BinaryIO:\n \"\"\"Return a file-like object opened for binary reading of the resource.\"\"\"\n resource = _common.normalize_path(resource)\n package = _common.get_package(package)\n reader = _common.get_resource_reader(package)\n if reader is not None:\n return reader.open_resource(resource)\n spec = cast(ModuleSpec, package.__spec__)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "documentation": {} }, { "label": "Resource", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "peekOfCode": "Resource = Union[str, os.PathLike]\ndef open_binary(package: Package, resource: Resource) -> BinaryIO:\n \"\"\"Return a file-like object opened for binary reading of the resource.\"\"\"\n resource = _common.normalize_path(resource)\n package = _common.get_package(package)\n reader = _common.get_resource_reader(package)\n if reader is not None:\n return reader.open_resource(resource)\n spec = cast(ModuleSpec, package.__spec__)\n # Using pathlib doesn't work well here due to the lack of 'strict'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.resources", "documentation": {} }, { "label": "_LazyModule", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "peekOfCode": "class _LazyModule(types.ModuleType):\n \"\"\"A subclass of the module type which triggers loading upon attribute access.\"\"\"\n def __getattribute__(self, attr):\n \"\"\"Trigger the load of the module and return the attribute.\"\"\"\n # All module metadata must be garnered from __spec__ in order to avoid\n # using mutated values.\n # Stop triggering this method.\n self.__class__ = types.ModuleType\n # Get the original name to make sure no object substitution occurred\n # in sys.modules.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "documentation": {} }, { "label": "LazyLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "peekOfCode": "class LazyLoader(Loader):\n \"\"\"A loader that creates a module which defers loading until attribute access.\"\"\"\n @staticmethod\n def __check_eager_loader(loader):\n if not hasattr(loader, 'exec_module'):\n raise TypeError('loader must define exec_module()')\n @classmethod\n def factory(cls, loader):\n \"\"\"Construct a callable which returns the eager loader made lazy.\"\"\"\n cls.__check_eager_loader(loader)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "documentation": {} }, { "label": "source_hash", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "peekOfCode": "def source_hash(source_bytes):\n \"Return the hash of *source_bytes* as used in hash-based pyc files.\"\n return _imp.source_hash(_RAW_MAGIC_NUMBER, source_bytes)\ndef resolve_name(name, package):\n \"\"\"Resolve a relative module name to an absolute one.\"\"\"\n if not name.startswith('.'):\n return name\n elif not package:\n raise ImportError(f'no package specified for {repr(name)} '\n '(required for relative module names)')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "documentation": {} }, { "label": "resolve_name", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "peekOfCode": "def resolve_name(name, package):\n \"\"\"Resolve a relative module name to an absolute one.\"\"\"\n if not name.startswith('.'):\n return name\n elif not package:\n raise ImportError(f'no package specified for {repr(name)} '\n '(required for relative module names)')\n level = 0\n for character in name:\n if character != '.':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "documentation": {} }, { "label": "find_spec", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "peekOfCode": "def find_spec(name, package=None):\n \"\"\"Return the spec for the specified module.\n First, sys.modules is checked to see if the module was already imported. If\n so, then sys.modules[name].__spec__ is returned. If that happens to be\n set to None, then ValueError is raised. If the module is not in\n sys.modules, then sys.meta_path is searched for a suitable spec with the\n value of 'path' given to the finders. None is returned if no spec could\n be found.\n If the name is for submodule (contains a dot), the parent module is\n automatically imported.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "documentation": {} }, { "label": "set_package", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "peekOfCode": "def set_package(fxn):\n \"\"\"Set __package__ on the returned module.\n This function is deprecated.\n \"\"\"\n @functools.wraps(fxn)\n def set_package_wrapper(*args, **kwargs):\n warnings.warn('The import system now takes care of this automatically; '\n 'this decorator is slated for removal in Python 3.12',\n DeprecationWarning, stacklevel=2)\n module = fxn(*args, **kwargs)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "documentation": {} }, { "label": "set_loader", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "peekOfCode": "def set_loader(fxn):\n \"\"\"Set __loader__ on the returned module.\n This function is deprecated.\n \"\"\"\n @functools.wraps(fxn)\n def set_loader_wrapper(self, *args, **kwargs):\n warnings.warn('The import system now takes care of this automatically; '\n 'this decorator is slated for removal in Python 3.12',\n DeprecationWarning, stacklevel=2)\n module = fxn(self, *args, **kwargs)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "documentation": {} }, { "label": "module_for_loader", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "peekOfCode": "def module_for_loader(fxn):\n \"\"\"Decorator to handle selecting the proper module for loaders.\n The decorated function is passed the module to use instead of the module\n name. The module passed in to the function is either from sys.modules if\n it already exists or is a new module. If the module is new, then __name__\n is set the first argument to the method, __loader__ is set to self, and\n __package__ is set accordingly (if self.is_package() is defined) will be set\n before it is passed to the decorated function (if self.is_package() does\n not work for the module it will be set post-load).\n If an exception is raised and the decorator created the module it is", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib.util", "documentation": {} }, { "label": "Loader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._abc", "peekOfCode": "class Loader(metaclass=abc.ABCMeta):\n \"\"\"Abstract base class for import loaders.\"\"\"\n def create_module(self, spec):\n \"\"\"Return a module to initialize and into which to load.\n This method should raise ImportError if anything prevents it\n from creating a new module. It may return None to indicate\n that the spec should create the new module.\n \"\"\"\n # By default, defer to default semantics for the new module.\n return None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._abc", "documentation": {} }, { "label": "SpecLoaderAdapter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._adapters", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._adapters", "peekOfCode": "class SpecLoaderAdapter:\n \"\"\"\n Adapt a package spec to adapt the underlying loader.\n \"\"\"\n def __init__(self, spec, adapter=lambda spec: spec.loader):\n self.spec = spec\n self.loader = adapter(spec)\n def __getattr__(self, name):\n return getattr(self.spec, name)\nclass TraversableResourcesLoader:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._adapters", "documentation": {} }, { "label": "TraversableResourcesLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._adapters", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._adapters", "peekOfCode": "class TraversableResourcesLoader:\n \"\"\"\n Adapt a loader to provide TraversableResources.\n \"\"\"\n def __init__(self, spec):\n self.spec = spec\n def get_resource_reader(self, name):\n return DegenerateFiles(self.spec)._native()\nclass DegenerateFiles:\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._adapters", "documentation": {} }, { "label": "DegenerateFiles", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._adapters", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._adapters", "peekOfCode": "class DegenerateFiles:\n \"\"\"\n Adapter for an existing or non-existant resource reader\n to provide a degenerate .files().\n \"\"\"\n class Path(abc.Traversable):\n def iterdir(self):\n return iter(())\n def is_dir(self):\n return False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._adapters", "documentation": {} }, { "label": "wrap_spec", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._adapters", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._adapters", "peekOfCode": "def wrap_spec(package):\n \"\"\"\n Construct a package spec with traversable compatibility\n on the spec/loader/reader.\n \"\"\"\n return SpecLoaderAdapter(package.__spec__, TraversableResourcesLoader)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._adapters", "documentation": {} }, { "label": "_DeadlockError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "class _DeadlockError(RuntimeError):\n pass\nclass _ModuleLock:\n \"\"\"A recursive lock implementation which is able to detect deadlocks\n (e.g. thread 1 trying to take locks A then B, and thread 2 trying to\n take locks B then A).\n \"\"\"\n def __init__(self, name):\n self.lock = _thread.allocate_lock()\n self.wakeup = _thread.allocate_lock()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "_ModuleLock", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "class _ModuleLock:\n \"\"\"A recursive lock implementation which is able to detect deadlocks\n (e.g. thread 1 trying to take locks A then B, and thread 2 trying to\n take locks B then A).\n \"\"\"\n def __init__(self, name):\n self.lock = _thread.allocate_lock()\n self.wakeup = _thread.allocate_lock()\n self.name = name\n self.owner = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "_DummyModuleLock", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "class _DummyModuleLock:\n \"\"\"A simple _ModuleLock equivalent for Python builds without\n multi-threading support.\"\"\"\n def __init__(self, name):\n self.name = name\n self.count = 0\n def acquire(self):\n self.count += 1\n return True\n def release(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "_ModuleLockManager", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "class _ModuleLockManager:\n def __init__(self, name):\n self._name = name\n self._lock = None\n def __enter__(self):\n self._lock = _get_module_lock(self._name)\n self._lock.acquire()\n def __exit__(self, *args, **kwargs):\n self._lock.release()\n# The following two functions are for consumption by Python/import.c.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "ModuleSpec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "class ModuleSpec:\n \"\"\"The specification for a module, used for loading.\n A module's spec is the source for information about the module. For\n data associated with the module, including source, use the spec's\n loader.\n `name` is the absolute name of the module. `loader` is the loader\n to use when loading the module. `parent` is the name of the\n package the module is in. The parent is derived from the name.\n `is_package` determines if the module is considered a package or\n not. On modules this is reflected by the `__path__` attribute.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "BuiltinImporter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "class BuiltinImporter:\n \"\"\"Meta path import for built-in modules.\n All methods are either class or static methods to avoid the need to\n instantiate the class.\n \"\"\"\n _ORIGIN = \"built-in\"\n @staticmethod\n def module_repr(module):\n \"\"\"Return repr for the module.\n The method is deprecated. The import machinery does the job itself.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "FrozenImporter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "class FrozenImporter:\n \"\"\"Meta path import for frozen modules.\n All methods are either class or static methods to avoid the need to\n instantiate the class.\n \"\"\"\n _ORIGIN = \"frozen\"\n @staticmethod\n def module_repr(m):\n \"\"\"Return repr for the module.\n The method is deprecated. The import machinery does the job itself.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "_ImportLockContext", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "class _ImportLockContext:\n \"\"\"Context manager for the import lock.\"\"\"\n def __enter__(self):\n \"\"\"Acquire the import lock.\"\"\"\n _imp.acquire_lock()\n def __exit__(self, exc_type, exc_value, exc_traceback):\n \"\"\"Release the import lock regardless of any raised exceptions.\"\"\"\n _imp.release_lock()\ndef _resolve_name(name, package, level):\n \"\"\"Resolve a relative module name to an absolute one.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "spec_from_loader", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "def spec_from_loader(name, loader, *, origin=None, is_package=None):\n \"\"\"Return a module spec based on various loader methods.\"\"\"\n if hasattr(loader, 'get_filename'):\n if _bootstrap_external is None:\n raise NotImplementedError\n spec_from_file_location = _bootstrap_external.spec_from_file_location\n if is_package is None:\n return spec_from_file_location(name, loader=loader)\n search = [] if is_package else None\n return spec_from_file_location(name, loader=loader,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "module_from_spec", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "def module_from_spec(spec):\n \"\"\"Create a module based on the provided spec.\"\"\"\n # Typically loaders will not implement create_module().\n module = None\n if hasattr(spec.loader, 'create_module'):\n # If create_module() returns `None` then it means default\n # module creation should be used.\n module = spec.loader.create_module(spec)\n elif hasattr(spec.loader, 'exec_module'):\n raise ImportError('loaders that define exec_module() '", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "_thread", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "_thread = None\n_warnings = None\n_weakref = None\n# Import done by _install_external_importers()\n_bootstrap_external = None\ndef _wrap(new, old):\n \"\"\"Simple substitute for functools.update_wrapper.\"\"\"\n for replace in ['__module__', '__name__', '__qualname__', '__doc__']:\n if hasattr(old, replace):\n setattr(new, replace, getattr(old, replace))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "_warnings", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "_warnings = None\n_weakref = None\n# Import done by _install_external_importers()\n_bootstrap_external = None\ndef _wrap(new, old):\n \"\"\"Simple substitute for functools.update_wrapper.\"\"\"\n for replace in ['__module__', '__name__', '__qualname__', '__doc__']:\n if hasattr(old, replace):\n setattr(new, replace, getattr(old, replace))\n new.__dict__.update(old.__dict__)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "_weakref", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "_weakref = None\n# Import done by _install_external_importers()\n_bootstrap_external = None\ndef _wrap(new, old):\n \"\"\"Simple substitute for functools.update_wrapper.\"\"\"\n for replace in ['__module__', '__name__', '__qualname__', '__doc__']:\n if hasattr(old, replace):\n setattr(new, replace, getattr(old, replace))\n new.__dict__.update(old.__dict__)\ndef _new_module(name):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "_bootstrap_external", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "_bootstrap_external = None\ndef _wrap(new, old):\n \"\"\"Simple substitute for functools.update_wrapper.\"\"\"\n for replace in ['__module__', '__name__', '__qualname__', '__doc__']:\n if hasattr(old, replace):\n setattr(new, replace, getattr(old, replace))\n new.__dict__.update(old.__dict__)\ndef _new_module(name):\n return type(sys)(name)\n# Module-level locking ########################################################", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "_module_locks", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "_module_locks = {}\n# A dict mapping thread ids to _ModuleLock instances\n_blocking_on = {}\nclass _DeadlockError(RuntimeError):\n pass\nclass _ModuleLock:\n \"\"\"A recursive lock implementation which is able to detect deadlocks\n (e.g. thread 1 trying to take locks A then B, and thread 2 trying to\n take locks B then A).\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "_blocking_on", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "_blocking_on = {}\nclass _DeadlockError(RuntimeError):\n pass\nclass _ModuleLock:\n \"\"\"A recursive lock implementation which is able to detect deadlocks\n (e.g. thread 1 trying to take locks A then B, and thread 2 trying to\n take locks B then A).\n \"\"\"\n def __init__(self, name):\n self.lock = _thread.allocate_lock()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "_ERR_MSG_PREFIX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "_ERR_MSG_PREFIX = 'No module named '\n_ERR_MSG = _ERR_MSG_PREFIX + '{!r}'\ndef _find_and_load_unlocked(name, import_):\n path = None\n parent = name.rpartition('.')[0]\n if parent:\n if parent not in sys.modules:\n _call_with_frames_removed(import_, parent)\n # Crazy side-effects!\n if name in sys.modules:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "_ERR_MSG", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "_ERR_MSG = _ERR_MSG_PREFIX + '{!r}'\ndef _find_and_load_unlocked(name, import_):\n path = None\n parent = name.rpartition('.')[0]\n if parent:\n if parent not in sys.modules:\n _call_with_frames_removed(import_, parent)\n # Crazy side-effects!\n if name in sys.modules:\n return sys.modules[name]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "_NEEDS_LOADING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "peekOfCode": "_NEEDS_LOADING = object()\ndef _find_and_load(name, import_):\n \"\"\"Find and load the module.\"\"\"\n with _ModuleLockManager(name):\n module = sys.modules.get(name, _NEEDS_LOADING)\n if module is _NEEDS_LOADING:\n return _find_and_load_unlocked(name, import_)\n if module is None:\n message = ('import of {} halted; '\n 'None in sys.modules'.format(name))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap", "documentation": {} }, { "label": "WindowsRegistryFinder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "class WindowsRegistryFinder:\n \"\"\"Meta path finder for modules declared in the Windows registry.\"\"\"\n REGISTRY_KEY = (\n 'Software\\\\Python\\\\PythonCore\\\\{sys_version}'\n '\\\\Modules\\\\{fullname}')\n REGISTRY_KEY_DEBUG = (\n 'Software\\\\Python\\\\PythonCore\\\\{sys_version}'\n '\\\\Modules\\\\{fullname}\\\\Debug')\n DEBUG_BUILD = (_MS_WINDOWS and '_d.pyd' in EXTENSION_SUFFIXES)\n @staticmethod", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "_LoaderBasics", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "class _LoaderBasics:\n \"\"\"Base class of common code needed by both SourceLoader and\n SourcelessFileLoader.\"\"\"\n def is_package(self, fullname):\n \"\"\"Concrete implementation of InspectLoader.is_package by checking if\n the path returned by get_filename has a filename of '__init__.py'.\"\"\"\n filename = _path_split(self.get_filename(fullname))[1]\n filename_base = filename.rsplit('.', 1)[0]\n tail_name = fullname.rpartition('.')[2]\n return filename_base == '__init__' and tail_name != '__init__'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "SourceLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "class SourceLoader(_LoaderBasics):\n def path_mtime(self, path):\n \"\"\"Optional method that returns the modification time (an int) for the\n specified path (a str).\n Raises OSError when the path cannot be handled.\n \"\"\"\n raise OSError\n def path_stats(self, path):\n \"\"\"Optional method returning a metadata dict for the specified\n path (a str).", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "FileLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "class FileLoader:\n \"\"\"Base file loader class which implements the loader protocol methods that\n require file system usage.\"\"\"\n def __init__(self, fullname, path):\n \"\"\"Cache the module name and the path to the file found by the\n finder.\"\"\"\n self.name = fullname\n self.path = path\n def __eq__(self, other):\n return (self.__class__ == other.__class__ and", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "SourceFileLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "class SourceFileLoader(FileLoader, SourceLoader):\n \"\"\"Concrete implementation of SourceLoader using the file system.\"\"\"\n def path_stats(self, path):\n \"\"\"Return the metadata for the path.\"\"\"\n st = _path_stat(path)\n return {'mtime': st.st_mtime, 'size': st.st_size}\n def _cache_bytecode(self, source_path, bytecode_path, data):\n # Adapt between the two APIs\n mode = _calc_mode(source_path)\n return self.set_data(bytecode_path, data, _mode=mode)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "SourcelessFileLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "class SourcelessFileLoader(FileLoader, _LoaderBasics):\n \"\"\"Loader which handles sourceless file imports.\"\"\"\n def get_code(self, fullname):\n path = self.get_filename(fullname)\n data = self.get_data(path)\n # Call _classify_pyc to do basic validation of the pyc but ignore the\n # result. There's no source to check against.\n exc_details = {\n 'name': fullname,\n 'path': path,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "ExtensionFileLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "class ExtensionFileLoader(FileLoader, _LoaderBasics):\n \"\"\"Loader for extension modules.\n The constructor is designed to work with FileFinder.\n \"\"\"\n def __init__(self, name, path):\n self.name = name\n self.path = path\n def __eq__(self, other):\n return (self.__class__ == other.__class__ and\n self.__dict__ == other.__dict__)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "_NamespacePath", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "class _NamespacePath:\n \"\"\"Represents a namespace package's path. It uses the module name\n to find its parent module, and from there it looks up the parent's\n __path__. When this changes, the module's own path is recomputed,\n using path_finder. For top-level modules, the parent module's path\n is sys.path.\"\"\"\n # When invalidate_caches() is called, this epoch is incremented\n # https://bugs.python.org/issue45703\n _epoch = 0\n def __init__(self, name, path, path_finder):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "_NamespaceLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "class _NamespaceLoader:\n def __init__(self, name, path, path_finder):\n self._path = _NamespacePath(name, path, path_finder)\n @staticmethod\n def module_repr(module):\n \"\"\"Return repr for the module.\n The method is deprecated. The import machinery does the job itself.\n \"\"\"\n _warnings.warn(\"_NamespaceLoader.module_repr() is deprecated and \"\n \"slated for removal in Python 3.12\", DeprecationWarning)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "PathFinder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "class PathFinder:\n \"\"\"Meta path finder for sys.path and package __path__ attributes.\"\"\"\n @staticmethod\n def invalidate_caches():\n \"\"\"Call the invalidate_caches() method on all path entry finders\n stored in sys.path_importer_caches (where implemented).\"\"\"\n for name, finder in list(sys.path_importer_cache.items()):\n if finder is None:\n del sys.path_importer_cache[name]\n elif hasattr(finder, 'invalidate_caches'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "FileFinder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "class FileFinder:\n \"\"\"File-based finder.\n Interactions with the file system are cached for performance, being\n refreshed when the directory the finder is handling has been modified.\n \"\"\"\n def __init__(self, path, *loader_details):\n \"\"\"Initialize with the path to search on and a variable number of\n 2-tuples containing the loader and the file suffixes the loader\n recognizes.\"\"\"\n loaders = []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "cache_from_source", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "def cache_from_source(path, debug_override=None, *, optimization=None):\n \"\"\"Given the path to a .py file, return the path to its .pyc file.\n The .py file does not need to exist; this simply returns the path to the\n .pyc file calculated as if the .py file were imported.\n The 'optimization' parameter controls the presumed optimization level of\n the bytecode file. If 'optimization' is not None, the string representation\n of the argument is taken and verified to be alphanumeric (else ValueError\n is raised).\n The debug_override parameter is deprecated. If debug_override is not None,\n a True value is the same as setting 'optimization' to the empty string", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "source_from_cache", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "def source_from_cache(path):\n \"\"\"Given the path to a .pyc. file, return the path to its .py file.\n The .pyc file does not need to exist; this simply returns the path to\n the .py file calculated to correspond to the .pyc file. If path does\n not conform to PEP 3147/488 format, ValueError will be raised. If\n sys.implementation.cache_tag is None then NotImplementedError is raised.\n \"\"\"\n if sys.implementation.cache_tag is None:\n raise NotImplementedError('sys.implementation.cache_tag is None')\n path = _os.fspath(path)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "decode_source", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "def decode_source(source_bytes):\n \"\"\"Decode bytes representing source code and return the string.\n Universal newline support is used in the decoding.\n \"\"\"\n import tokenize # To avoid bootstrap issues.\n source_bytes_readline = _io.BytesIO(source_bytes).readline\n encoding = tokenize.detect_encoding(source_bytes_readline)\n newline_decoder = _io.IncrementalNewlineDecoder(None, True)\n return newline_decoder.decode(source_bytes.decode(encoding[0]))\n# Module specifications #######################################################", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "spec_from_file_location", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "def spec_from_file_location(name, location=None, *, loader=None,\n submodule_search_locations=_POPULATE):\n \"\"\"Return a module spec based on a file location.\n To indicate that the module is a package, set\n submodule_search_locations to a list of directory paths. An\n empty list is sufficient, though its not otherwise useful to the\n import system.\n The loader must take a spec as its only __init__() arg.\n \"\"\"\n if location is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "_bootstrap", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "_bootstrap = None\n# Import builtin modules\nimport _imp\nimport _io\nimport sys\nimport _warnings\nimport marshal\n_MS_WINDOWS = (sys.platform == 'win32')\nif _MS_WINDOWS:\n import nt as _os", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "_MS_WINDOWS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "_MS_WINDOWS = (sys.platform == 'win32')\nif _MS_WINDOWS:\n import nt as _os\n import winreg\nelse:\n import posix as _os\nif _MS_WINDOWS:\n path_separators = ['\\\\', '/']\nelse:\n path_separators = ['/']", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "path_sep", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "path_sep = path_separators[0]\npath_sep_tuple = tuple(path_separators)\npath_separators = ''.join(path_separators)\n_pathseps_with_colon = {f':{s}' for s in path_separators}\n# Bootstrap-related code ######################################################\n_CASE_INSENSITIVE_PLATFORMS_STR_KEY = 'win',\n_CASE_INSENSITIVE_PLATFORMS_BYTES_KEY = 'cygwin', 'darwin'\n_CASE_INSENSITIVE_PLATFORMS = (_CASE_INSENSITIVE_PLATFORMS_BYTES_KEY\n + _CASE_INSENSITIVE_PLATFORMS_STR_KEY)\ndef _make_relax_case():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "path_sep_tuple", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "path_sep_tuple = tuple(path_separators)\npath_separators = ''.join(path_separators)\n_pathseps_with_colon = {f':{s}' for s in path_separators}\n# Bootstrap-related code ######################################################\n_CASE_INSENSITIVE_PLATFORMS_STR_KEY = 'win',\n_CASE_INSENSITIVE_PLATFORMS_BYTES_KEY = 'cygwin', 'darwin'\n_CASE_INSENSITIVE_PLATFORMS = (_CASE_INSENSITIVE_PLATFORMS_BYTES_KEY\n + _CASE_INSENSITIVE_PLATFORMS_STR_KEY)\ndef _make_relax_case():\n if sys.platform.startswith(_CASE_INSENSITIVE_PLATFORMS):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "path_separators", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "path_separators = ''.join(path_separators)\n_pathseps_with_colon = {f':{s}' for s in path_separators}\n# Bootstrap-related code ######################################################\n_CASE_INSENSITIVE_PLATFORMS_STR_KEY = 'win',\n_CASE_INSENSITIVE_PLATFORMS_BYTES_KEY = 'cygwin', 'darwin'\n_CASE_INSENSITIVE_PLATFORMS = (_CASE_INSENSITIVE_PLATFORMS_BYTES_KEY\n + _CASE_INSENSITIVE_PLATFORMS_STR_KEY)\ndef _make_relax_case():\n if sys.platform.startswith(_CASE_INSENSITIVE_PLATFORMS):\n if sys.platform.startswith(_CASE_INSENSITIVE_PLATFORMS_STR_KEY):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "_pathseps_with_colon", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "_pathseps_with_colon = {f':{s}' for s in path_separators}\n# Bootstrap-related code ######################################################\n_CASE_INSENSITIVE_PLATFORMS_STR_KEY = 'win',\n_CASE_INSENSITIVE_PLATFORMS_BYTES_KEY = 'cygwin', 'darwin'\n_CASE_INSENSITIVE_PLATFORMS = (_CASE_INSENSITIVE_PLATFORMS_BYTES_KEY\n + _CASE_INSENSITIVE_PLATFORMS_STR_KEY)\ndef _make_relax_case():\n if sys.platform.startswith(_CASE_INSENSITIVE_PLATFORMS):\n if sys.platform.startswith(_CASE_INSENSITIVE_PLATFORMS_STR_KEY):\n key = 'PYTHONCASEOK'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "_CASE_INSENSITIVE_PLATFORMS_STR_KEY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "_CASE_INSENSITIVE_PLATFORMS_STR_KEY = 'win',\n_CASE_INSENSITIVE_PLATFORMS_BYTES_KEY = 'cygwin', 'darwin'\n_CASE_INSENSITIVE_PLATFORMS = (_CASE_INSENSITIVE_PLATFORMS_BYTES_KEY\n + _CASE_INSENSITIVE_PLATFORMS_STR_KEY)\ndef _make_relax_case():\n if sys.platform.startswith(_CASE_INSENSITIVE_PLATFORMS):\n if sys.platform.startswith(_CASE_INSENSITIVE_PLATFORMS_STR_KEY):\n key = 'PYTHONCASEOK'\n else:\n key = b'PYTHONCASEOK'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "_CASE_INSENSITIVE_PLATFORMS_BYTES_KEY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "_CASE_INSENSITIVE_PLATFORMS_BYTES_KEY = 'cygwin', 'darwin'\n_CASE_INSENSITIVE_PLATFORMS = (_CASE_INSENSITIVE_PLATFORMS_BYTES_KEY\n + _CASE_INSENSITIVE_PLATFORMS_STR_KEY)\ndef _make_relax_case():\n if sys.platform.startswith(_CASE_INSENSITIVE_PLATFORMS):\n if sys.platform.startswith(_CASE_INSENSITIVE_PLATFORMS_STR_KEY):\n key = 'PYTHONCASEOK'\n else:\n key = b'PYTHONCASEOK'\n def _relax_case():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "_CASE_INSENSITIVE_PLATFORMS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "_CASE_INSENSITIVE_PLATFORMS = (_CASE_INSENSITIVE_PLATFORMS_BYTES_KEY\n + _CASE_INSENSITIVE_PLATFORMS_STR_KEY)\ndef _make_relax_case():\n if sys.platform.startswith(_CASE_INSENSITIVE_PLATFORMS):\n if sys.platform.startswith(_CASE_INSENSITIVE_PLATFORMS_STR_KEY):\n key = 'PYTHONCASEOK'\n else:\n key = b'PYTHONCASEOK'\n def _relax_case():\n \"\"\"True if filenames must be checked case-insensitively and ignore environment flags are not set.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "_relax_case", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "_relax_case = _make_relax_case()\ndef _pack_uint32(x):\n \"\"\"Convert a 32-bit integer to little-endian.\"\"\"\n return (int(x) & 0xFFFFFFFF).to_bytes(4, 'little')\ndef _unpack_uint32(data):\n \"\"\"Convert 4 bytes in little-endian to an integer.\"\"\"\n assert len(data) == 4\n return int.from_bytes(data, 'little')\ndef _unpack_uint16(data):\n \"\"\"Convert 2 bytes in little-endian to an integer.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "_code_type", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "_code_type = type(_write_atomic.__code__)\n# Finder/loader utility code ###############################################\n# Magic word to reject .pyc files generated by other Python versions.\n# It should change for each incompatible change to the bytecode.\n#\n# The value of CR and LF is incorporated so if you ever read or write\n# a .pyc file in text mode the magic number will be wrong; also, the\n# Apple MPW compiler swaps their values, botching string constants.\n#\n# There were a variety of old schemes for setting the magic number.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "MAGIC_NUMBER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "MAGIC_NUMBER = (3439).to_bytes(2, 'little') + b'\\r\\n'\n_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c\n_PYCACHE = '__pycache__'\n_OPT = 'opt-'\nSOURCE_SUFFIXES = ['.py']\nif _MS_WINDOWS:\n SOURCE_SUFFIXES.append('.pyw')\nEXTENSION_SUFFIXES = _imp.extension_suffixes()\nBYTECODE_SUFFIXES = ['.pyc']\n# Deprecated.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "_RAW_MAGIC_NUMBER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c\n_PYCACHE = '__pycache__'\n_OPT = 'opt-'\nSOURCE_SUFFIXES = ['.py']\nif _MS_WINDOWS:\n SOURCE_SUFFIXES.append('.pyw')\nEXTENSION_SUFFIXES = _imp.extension_suffixes()\nBYTECODE_SUFFIXES = ['.pyc']\n# Deprecated.\nDEBUG_BYTECODE_SUFFIXES = OPTIMIZED_BYTECODE_SUFFIXES = BYTECODE_SUFFIXES", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "_PYCACHE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "_PYCACHE = '__pycache__'\n_OPT = 'opt-'\nSOURCE_SUFFIXES = ['.py']\nif _MS_WINDOWS:\n SOURCE_SUFFIXES.append('.pyw')\nEXTENSION_SUFFIXES = _imp.extension_suffixes()\nBYTECODE_SUFFIXES = ['.pyc']\n# Deprecated.\nDEBUG_BYTECODE_SUFFIXES = OPTIMIZED_BYTECODE_SUFFIXES = BYTECODE_SUFFIXES\ndef cache_from_source(path, debug_override=None, *, optimization=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "_OPT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "_OPT = 'opt-'\nSOURCE_SUFFIXES = ['.py']\nif _MS_WINDOWS:\n SOURCE_SUFFIXES.append('.pyw')\nEXTENSION_SUFFIXES = _imp.extension_suffixes()\nBYTECODE_SUFFIXES = ['.pyc']\n# Deprecated.\nDEBUG_BYTECODE_SUFFIXES = OPTIMIZED_BYTECODE_SUFFIXES = BYTECODE_SUFFIXES\ndef cache_from_source(path, debug_override=None, *, optimization=None):\n \"\"\"Given the path to a .py file, return the path to its .pyc file.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "SOURCE_SUFFIXES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "SOURCE_SUFFIXES = ['.py']\nif _MS_WINDOWS:\n SOURCE_SUFFIXES.append('.pyw')\nEXTENSION_SUFFIXES = _imp.extension_suffixes()\nBYTECODE_SUFFIXES = ['.pyc']\n# Deprecated.\nDEBUG_BYTECODE_SUFFIXES = OPTIMIZED_BYTECODE_SUFFIXES = BYTECODE_SUFFIXES\ndef cache_from_source(path, debug_override=None, *, optimization=None):\n \"\"\"Given the path to a .py file, return the path to its .pyc file.\n The .py file does not need to exist; this simply returns the path to the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "EXTENSION_SUFFIXES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "EXTENSION_SUFFIXES = _imp.extension_suffixes()\nBYTECODE_SUFFIXES = ['.pyc']\n# Deprecated.\nDEBUG_BYTECODE_SUFFIXES = OPTIMIZED_BYTECODE_SUFFIXES = BYTECODE_SUFFIXES\ndef cache_from_source(path, debug_override=None, *, optimization=None):\n \"\"\"Given the path to a .py file, return the path to its .pyc file.\n The .py file does not need to exist; this simply returns the path to the\n .pyc file calculated as if the .py file were imported.\n The 'optimization' parameter controls the presumed optimization level of\n the bytecode file. If 'optimization' is not None, the string representation", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "BYTECODE_SUFFIXES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "BYTECODE_SUFFIXES = ['.pyc']\n# Deprecated.\nDEBUG_BYTECODE_SUFFIXES = OPTIMIZED_BYTECODE_SUFFIXES = BYTECODE_SUFFIXES\ndef cache_from_source(path, debug_override=None, *, optimization=None):\n \"\"\"Given the path to a .py file, return the path to its .pyc file.\n The .py file does not need to exist; this simply returns the path to the\n .pyc file calculated as if the .py file were imported.\n The 'optimization' parameter controls the presumed optimization level of\n the bytecode file. If 'optimization' is not None, the string representation\n of the argument is taken and verified to be alphanumeric (else ValueError", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "DEBUG_BYTECODE_SUFFIXES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "DEBUG_BYTECODE_SUFFIXES = OPTIMIZED_BYTECODE_SUFFIXES = BYTECODE_SUFFIXES\ndef cache_from_source(path, debug_override=None, *, optimization=None):\n \"\"\"Given the path to a .py file, return the path to its .pyc file.\n The .py file does not need to exist; this simply returns the path to the\n .pyc file calculated as if the .py file were imported.\n The 'optimization' parameter controls the presumed optimization level of\n the bytecode file. If 'optimization' is not None, the string representation\n of the argument is taken and verified to be alphanumeric (else ValueError\n is raised).\n The debug_override parameter is deprecated. If debug_override is not None,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "_POPULATE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "peekOfCode": "_POPULATE = object()\ndef spec_from_file_location(name, location=None, *, loader=None,\n submodule_search_locations=_POPULATE):\n \"\"\"Return a module spec based on a file location.\n To indicate that the module is a package, set\n submodule_search_locations to a list of directory paths. An\n empty list is sufficient, though its not otherwise useful to the\n import system.\n The loader must take a spec as its only __init__() arg.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._bootstrap_external", "documentation": {} }, { "label": "files", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "peekOfCode": "def files(package):\n # type: (Package) -> Traversable\n \"\"\"\n Get a Traversable resource from a package\n \"\"\"\n return from_package(get_package(package))\ndef normalize_path(path):\n # type: (Any) -> str\n \"\"\"Normalize a path by ensuring it is a string.\n If the resulting string contains path separators, an exception is raised.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "documentation": {} }, { "label": "normalize_path", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "peekOfCode": "def normalize_path(path):\n # type: (Any) -> str\n \"\"\"Normalize a path by ensuring it is a string.\n If the resulting string contains path separators, an exception is raised.\n \"\"\"\n str_path = str(path)\n parent, file_name = os.path.split(str_path)\n if parent:\n raise ValueError(f'{path!r} must be only a file name')\n return file_name", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "documentation": {} }, { "label": "get_resource_reader", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "peekOfCode": "def get_resource_reader(package):\n # type: (types.ModuleType) -> Optional[ResourceReader]\n \"\"\"\n Return the package's loader if it's a ResourceReader.\n \"\"\"\n # We can't use\n # a issubclass() check here because apparently abc.'s __subclasscheck__()\n # hook wants to create a weak reference to the object, but\n # zipimport.zipimporter does not support weak references, resulting in a\n # TypeError. That seems terrible.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "documentation": {} }, { "label": "resolve", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "peekOfCode": "def resolve(cand):\n # type: (Package) -> types.ModuleType\n return cand if isinstance(cand, types.ModuleType) else importlib.import_module(cand)\ndef get_package(package):\n # type: (Package) -> types.ModuleType\n \"\"\"Take a package name or module object and return the module.\n Raise an exception if the resolved module is not a package.\n \"\"\"\n resolved = resolve(package)\n if wrap_spec(resolved).submodule_search_locations is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "documentation": {} }, { "label": "get_package", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "peekOfCode": "def get_package(package):\n # type: (Package) -> types.ModuleType\n \"\"\"Take a package name or module object and return the module.\n Raise an exception if the resolved module is not a package.\n \"\"\"\n resolved = resolve(package)\n if wrap_spec(resolved).submodule_search_locations is None:\n raise TypeError(f'{package!r} is not a package')\n return resolved\ndef from_package(package):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "documentation": {} }, { "label": "from_package", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "peekOfCode": "def from_package(package):\n \"\"\"\n Return a Traversable object for the given package.\n \"\"\"\n spec = wrap_spec(package)\n reader = spec.loader.get_resource_reader(spec.name)\n return reader.files()\n@contextlib.contextmanager\ndef _tempfile(reader, suffix=''):\n # Not using tempfile.NamedTemporaryFile as it leads to deeper 'try'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "documentation": {} }, { "label": "as_file", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "peekOfCode": "def as_file(path):\n \"\"\"\n Given a Traversable object, return that object as a\n path on the local file system in a context manager.\n \"\"\"\n return _tempfile(path.read_bytes, suffix=path.name)\n@as_file.register(pathlib.Path)\n@contextlib.contextmanager\ndef _(path):\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "documentation": {} }, { "label": "Package", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "peekOfCode": "Package = Union[types.ModuleType, str]\ndef files(package):\n # type: (Package) -> Traversable\n \"\"\"\n Get a Traversable resource from a package\n \"\"\"\n return from_package(get_package(package))\ndef normalize_path(path):\n # type: (Any) -> str\n \"\"\"Normalize a path by ensuring it is a string.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.importlib._common", "documentation": {} }, { "label": "JSONDecodeError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "peekOfCode": "class JSONDecodeError(ValueError):\n \"\"\"Subclass of ValueError with the following additional properties:\n msg: The unformatted error message\n doc: The JSON document being parsed\n pos: The start index of doc where parsing failed\n lineno: The line corresponding to pos\n colno: The column corresponding to pos\n \"\"\"\n # Note that this exception is used from _json\n def __init__(self, msg, doc, pos):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "documentation": {} }, { "label": "JSONDecoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "peekOfCode": "class JSONDecoder(object):\n \"\"\"Simple JSON decoder\n Performs the following translations in decoding by default:\n +---------------+-------------------+\n | JSON | Python |\n +===============+===================+\n | object | dict |\n +---------------+-------------------+\n | array | list |\n +---------------+-------------------+", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "documentation": {} }, { "label": "py_scanstring", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "peekOfCode": "def py_scanstring(s, end, strict=True,\n _b=BACKSLASH, _m=STRINGCHUNK.match):\n \"\"\"Scan the string s for a JSON string. End is the index of the\n character in s after the quote that started the JSON string.\n Unescapes all valid JSON string escape sequences and raises ValueError\n on attempt to decode an invalid string. If strict is False then literal\n control characters are allowed in the string.\n Returns a tuple of the decoded string and the index of the character in s\n after the end quote.\"\"\"\n chunks = []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "documentation": {} }, { "label": "JSONObject", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "peekOfCode": "def JSONObject(s_and_end, strict, scan_once, object_hook, object_pairs_hook,\n memo=None, _w=WHITESPACE.match, _ws=WHITESPACE_STR):\n s, end = s_and_end\n pairs = []\n pairs_append = pairs.append\n # Backwards compatibility\n if memo is None:\n memo = {}\n memo_get = memo.setdefault\n # Use a slice to prevent IndexError from being raised, the following", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "documentation": {} }, { "label": "JSONArray", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "peekOfCode": "def JSONArray(s_and_end, scan_once, _w=WHITESPACE.match, _ws=WHITESPACE_STR):\n s, end = s_and_end\n values = []\n nextchar = s[end:end + 1]\n if nextchar in _ws:\n end = _w(s, end + 1).end()\n nextchar = s[end:end + 1]\n # Look-ahead for trivial empty array\n if nextchar == ']':\n return values, end + 1", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "peekOfCode": "__all__ = ['JSONDecoder', 'JSONDecodeError']\nFLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL\nNaN = float('nan')\nPosInf = float('inf')\nNegInf = float('-inf')\nclass JSONDecodeError(ValueError):\n \"\"\"Subclass of ValueError with the following additional properties:\n msg: The unformatted error message\n doc: The JSON document being parsed\n pos: The start index of doc where parsing failed", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "documentation": {} }, { "label": "FLAGS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "peekOfCode": "FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL\nNaN = float('nan')\nPosInf = float('inf')\nNegInf = float('-inf')\nclass JSONDecodeError(ValueError):\n \"\"\"Subclass of ValueError with the following additional properties:\n msg: The unformatted error message\n doc: The JSON document being parsed\n pos: The start index of doc where parsing failed\n lineno: The line corresponding to pos", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "documentation": {} }, { "label": "NaN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "peekOfCode": "NaN = float('nan')\nPosInf = float('inf')\nNegInf = float('-inf')\nclass JSONDecodeError(ValueError):\n \"\"\"Subclass of ValueError with the following additional properties:\n msg: The unformatted error message\n doc: The JSON document being parsed\n pos: The start index of doc where parsing failed\n lineno: The line corresponding to pos\n colno: The column corresponding to pos", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "documentation": {} }, { "label": "PosInf", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "peekOfCode": "PosInf = float('inf')\nNegInf = float('-inf')\nclass JSONDecodeError(ValueError):\n \"\"\"Subclass of ValueError with the following additional properties:\n msg: The unformatted error message\n doc: The JSON document being parsed\n pos: The start index of doc where parsing failed\n lineno: The line corresponding to pos\n colno: The column corresponding to pos\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "documentation": {} }, { "label": "NegInf", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "peekOfCode": "NegInf = float('-inf')\nclass JSONDecodeError(ValueError):\n \"\"\"Subclass of ValueError with the following additional properties:\n msg: The unformatted error message\n doc: The JSON document being parsed\n pos: The start index of doc where parsing failed\n lineno: The line corresponding to pos\n colno: The column corresponding to pos\n \"\"\"\n # Note that this exception is used from _json", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "documentation": {} }, { "label": "_CONSTANTS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "peekOfCode": "_CONSTANTS = {\n '-Infinity': NegInf,\n 'Infinity': PosInf,\n 'NaN': NaN,\n}\nSTRINGCHUNK = re.compile(r'(.*?)([\"\\\\\\x00-\\x1f])', FLAGS)\nBACKSLASH = {\n '\"': '\"', '\\\\': '\\\\', '/': '/',\n 'b': '\\b', 'f': '\\f', 'n': '\\n', 'r': '\\r', 't': '\\t',\n}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "documentation": {} }, { "label": "STRINGCHUNK", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "peekOfCode": "STRINGCHUNK = re.compile(r'(.*?)([\"\\\\\\x00-\\x1f])', FLAGS)\nBACKSLASH = {\n '\"': '\"', '\\\\': '\\\\', '/': '/',\n 'b': '\\b', 'f': '\\f', 'n': '\\n', 'r': '\\r', 't': '\\t',\n}\ndef _decode_uXXXX(s, pos):\n esc = s[pos + 1:pos + 5]\n if len(esc) == 4 and esc[1] not in 'xX':\n try:\n return int(esc, 16)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "documentation": {} }, { "label": "BACKSLASH", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "peekOfCode": "BACKSLASH = {\n '\"': '\"', '\\\\': '\\\\', '/': '/',\n 'b': '\\b', 'f': '\\f', 'n': '\\n', 'r': '\\r', 't': '\\t',\n}\ndef _decode_uXXXX(s, pos):\n esc = s[pos + 1:pos + 5]\n if len(esc) == 4 and esc[1] not in 'xX':\n try:\n return int(esc, 16)\n except ValueError:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "documentation": {} }, { "label": "scanstring", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "peekOfCode": "scanstring = c_scanstring or py_scanstring\nWHITESPACE = re.compile(r'[ \\t\\n\\r]*', FLAGS)\nWHITESPACE_STR = ' \\t\\n\\r'\ndef JSONObject(s_and_end, strict, scan_once, object_hook, object_pairs_hook,\n memo=None, _w=WHITESPACE.match, _ws=WHITESPACE_STR):\n s, end = s_and_end\n pairs = []\n pairs_append = pairs.append\n # Backwards compatibility\n if memo is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "documentation": {} }, { "label": "WHITESPACE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "peekOfCode": "WHITESPACE = re.compile(r'[ \\t\\n\\r]*', FLAGS)\nWHITESPACE_STR = ' \\t\\n\\r'\ndef JSONObject(s_and_end, strict, scan_once, object_hook, object_pairs_hook,\n memo=None, _w=WHITESPACE.match, _ws=WHITESPACE_STR):\n s, end = s_and_end\n pairs = []\n pairs_append = pairs.append\n # Backwards compatibility\n if memo is None:\n memo = {}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "documentation": {} }, { "label": "WHITESPACE_STR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "peekOfCode": "WHITESPACE_STR = ' \\t\\n\\r'\ndef JSONObject(s_and_end, strict, scan_once, object_hook, object_pairs_hook,\n memo=None, _w=WHITESPACE.match, _ws=WHITESPACE_STR):\n s, end = s_and_end\n pairs = []\n pairs_append = pairs.append\n # Backwards compatibility\n if memo is None:\n memo = {}\n memo_get = memo.setdefault", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.decoder", "documentation": {} }, { "label": "JSONEncoder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "peekOfCode": "class JSONEncoder(object):\n \"\"\"Extensible JSON encoder for Python data structures.\n Supports the following objects and types by default:\n +-------------------+---------------+\n | Python | JSON |\n +===================+===============+\n | dict | object |\n +-------------------+---------------+\n | list, tuple | array |\n +-------------------+---------------+", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "documentation": {} }, { "label": "py_encode_basestring", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "peekOfCode": "def py_encode_basestring(s):\n \"\"\"Return a JSON representation of a Python string\n \"\"\"\n def replace(match):\n return ESCAPE_DCT[match.group(0)]\n return '\"' + ESCAPE.sub(replace, s) + '\"'\nencode_basestring = (c_encode_basestring or py_encode_basestring)\ndef py_encode_basestring_ascii(s):\n \"\"\"Return an ASCII-only JSON representation of a Python string\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "documentation": {} }, { "label": "py_encode_basestring_ascii", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "peekOfCode": "def py_encode_basestring_ascii(s):\n \"\"\"Return an ASCII-only JSON representation of a Python string\n \"\"\"\n def replace(match):\n s = match.group(0)\n try:\n return ESCAPE_DCT[s]\n except KeyError:\n n = ord(s)\n if n < 0x10000:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "documentation": {} }, { "label": "ESCAPE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "peekOfCode": "ESCAPE = re.compile(r'[\\x00-\\x1f\\\\\"\\b\\f\\n\\r\\t]')\nESCAPE_ASCII = re.compile(r'([\\\\\"]|[^\\ -~])')\nHAS_UTF8 = re.compile(b'[\\x80-\\xff]')\nESCAPE_DCT = {\n '\\\\': '\\\\\\\\',\n '\"': '\\\\\"',\n '\\b': '\\\\b',\n '\\f': '\\\\f',\n '\\n': '\\\\n',\n '\\r': '\\\\r',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "documentation": {} }, { "label": "ESCAPE_ASCII", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "peekOfCode": "ESCAPE_ASCII = re.compile(r'([\\\\\"]|[^\\ -~])')\nHAS_UTF8 = re.compile(b'[\\x80-\\xff]')\nESCAPE_DCT = {\n '\\\\': '\\\\\\\\',\n '\"': '\\\\\"',\n '\\b': '\\\\b',\n '\\f': '\\\\f',\n '\\n': '\\\\n',\n '\\r': '\\\\r',\n '\\t': '\\\\t',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "documentation": {} }, { "label": "HAS_UTF8", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "peekOfCode": "HAS_UTF8 = re.compile(b'[\\x80-\\xff]')\nESCAPE_DCT = {\n '\\\\': '\\\\\\\\',\n '\"': '\\\\\"',\n '\\b': '\\\\b',\n '\\f': '\\\\f',\n '\\n': '\\\\n',\n '\\r': '\\\\r',\n '\\t': '\\\\t',\n}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "documentation": {} }, { "label": "ESCAPE_DCT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "peekOfCode": "ESCAPE_DCT = {\n '\\\\': '\\\\\\\\',\n '\"': '\\\\\"',\n '\\b': '\\\\b',\n '\\f': '\\\\f',\n '\\n': '\\\\n',\n '\\r': '\\\\r',\n '\\t': '\\\\t',\n}\nfor i in range(0x20):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "documentation": {} }, { "label": "INFINITY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "peekOfCode": "INFINITY = float('inf')\ndef py_encode_basestring(s):\n \"\"\"Return a JSON representation of a Python string\n \"\"\"\n def replace(match):\n return ESCAPE_DCT[match.group(0)]\n return '\"' + ESCAPE.sub(replace, s) + '\"'\nencode_basestring = (c_encode_basestring or py_encode_basestring)\ndef py_encode_basestring_ascii(s):\n \"\"\"Return an ASCII-only JSON representation of a Python string", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "documentation": {} }, { "label": "encode_basestring", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "peekOfCode": "encode_basestring = (c_encode_basestring or py_encode_basestring)\ndef py_encode_basestring_ascii(s):\n \"\"\"Return an ASCII-only JSON representation of a Python string\n \"\"\"\n def replace(match):\n s = match.group(0)\n try:\n return ESCAPE_DCT[s]\n except KeyError:\n n = ord(s)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "documentation": {} }, { "label": "encode_basestring_ascii", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "peekOfCode": "encode_basestring_ascii = (\n c_encode_basestring_ascii or py_encode_basestring_ascii)\nclass JSONEncoder(object):\n \"\"\"Extensible JSON encoder for Python data structures.\n Supports the following objects and types by default:\n +-------------------+---------------+\n | Python | JSON |\n +===================+===============+\n | dict | object |\n +-------------------+---------------+", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.encoder", "documentation": {} }, { "label": "py_make_scanner", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.scanner", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.scanner", "peekOfCode": "def py_make_scanner(context):\n parse_object = context.parse_object\n parse_array = context.parse_array\n parse_string = context.parse_string\n match_number = NUMBER_RE.match\n strict = context.strict\n parse_float = context.parse_float\n parse_int = context.parse_int\n parse_constant = context.parse_constant\n object_hook = context.object_hook", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.scanner", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.scanner", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.scanner", "peekOfCode": "__all__ = ['make_scanner']\nNUMBER_RE = re.compile(\n r'(-?(?:0|[1-9]\\d*))(\\.\\d+)?([eE][-+]?\\d+)?',\n (re.VERBOSE | re.MULTILINE | re.DOTALL))\ndef py_make_scanner(context):\n parse_object = context.parse_object\n parse_array = context.parse_array\n parse_string = context.parse_string\n match_number = NUMBER_RE.match\n strict = context.strict", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.scanner", "documentation": {} }, { "label": "NUMBER_RE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.scanner", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.scanner", "peekOfCode": "NUMBER_RE = re.compile(\n r'(-?(?:0|[1-9]\\d*))(\\.\\d+)?([eE][-+]?\\d+)?',\n (re.VERBOSE | re.MULTILINE | re.DOTALL))\ndef py_make_scanner(context):\n parse_object = context.parse_object\n parse_array = context.parse_array\n parse_string = context.parse_string\n match_number = NUMBER_RE.match\n strict = context.strict\n parse_float = context.parse_float", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.scanner", "documentation": {} }, { "label": "make_scanner", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.scanner", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.scanner", "peekOfCode": "make_scanner = c_make_scanner or py_make_scanner", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.scanner", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.tool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.tool", "peekOfCode": "def main():\n prog = 'python -m json.tool'\n description = ('A simple command line interface for json module '\n 'to validate and pretty-print JSON objects.')\n parser = argparse.ArgumentParser(prog=prog, description=description)\n parser.add_argument('infile', nargs='?',\n type=argparse.FileType(encoding=\"utf-8\"),\n help='a JSON file to be validated or pretty-printed',\n default=sys.stdin)\n parser.add_argument('outfile', nargs='?',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.json.tool", "documentation": {} }, { "label": "FixApply", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_apply", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_apply", "peekOfCode": "class FixApply(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n power< 'apply'\n trailer<\n '('\n arglist<\n (not argument any* >\n \"\"\" % '|'.join(map(repr, NAMES))\n def transform(self, node, results):\n name = results[\"meth\"][0]\n name.replace(Name(NAMES[str(name)], prefix=name.prefix))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_asserts", "documentation": {} }, { "label": "NAMES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_asserts", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_asserts", "peekOfCode": "NAMES = dict(\n assert_=\"assertTrue\",\n assertEquals=\"assertEqual\",\n assertNotEquals=\"assertNotEqual\",\n assertAlmostEquals=\"assertAlmostEqual\",\n assertNotAlmostEquals=\"assertNotAlmostEqual\",\n assertRegexpMatches=\"assertRegex\",\n assertRaisesRegexp=\"assertRaisesRegex\",\n failUnlessEqual=\"assertEqual\",\n failIfEqual=\"assertNotEqual\",", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_asserts", "documentation": {} }, { "label": "FixBasestring", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_basestring", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_basestring", "peekOfCode": "class FixBasestring(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"'basestring'\"\n def transform(self, node, results):\n return Name(\"str\", prefix=node.prefix)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_basestring", "documentation": {} }, { "label": "FixBuffer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_buffer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_buffer", "peekOfCode": "class FixBuffer(fixer_base.BaseFix):\n BM_compatible = True\n explicit = True # The user must ask for this fixer\n PATTERN = \"\"\"\n power< name='buffer' trailer< '(' [any] ')' > any* >\n \"\"\"\n def transform(self, node, results):\n name = results[\"name\"]\n name.replace(Name(\"memoryview\", prefix=name.prefix))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_buffer", "documentation": {} }, { "label": "FixDict", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_dict", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_dict", "peekOfCode": "class FixDict(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n power< head=any+\n trailer< '.' method=('keys'|'items'|'values'|\n 'iterkeys'|'iteritems'|'itervalues'|\n 'viewkeys'|'viewitems'|'viewvalues') >\n parens=trailer< '(' ')' >\n tail=any*\n >", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_dict", "documentation": {} }, { "label": "iter_exempt", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_dict", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_dict", "peekOfCode": "iter_exempt = fixer_util.consuming_calls | {\"iter\"}\nclass FixDict(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n power< head=any+\n trailer< '.' method=('keys'|'items'|'values'|\n 'iterkeys'|'iteritems'|'itervalues'|\n 'viewkeys'|'viewitems'|'viewvalues') >\n parens=trailer< '(' ')' >\n tail=any*", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_dict", "documentation": {} }, { "label": "FixExcept", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_except", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_except", "peekOfCode": "class FixExcept(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n try_stmt< 'try' ':' (simple_stmt | suite)\n cleanup=(except_clause ':' (simple_stmt | suite))+\n tail=(['except' ':' (simple_stmt | suite)]\n ['else' ':' (simple_stmt | suite)]\n ['finally' ':' (simple_stmt | suite)]) >\n \"\"\"\n def transform(self, node, results):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_except", "documentation": {} }, { "label": "find_excepts", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_except", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_except", "peekOfCode": "def find_excepts(nodes):\n for i, n in enumerate(nodes):\n if n.type == syms.except_clause:\n if n.children[0].value == 'except':\n yield (n, nodes[i+2])\nclass FixExcept(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n try_stmt< 'try' ':' (simple_stmt | suite)\n cleanup=(except_clause ':' (simple_stmt | suite))+", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_except", "documentation": {} }, { "label": "FixExec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_exec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_exec", "peekOfCode": "class FixExec(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n exec_stmt< 'exec' a=any 'in' b=any [',' c=any] >\n |\n exec_stmt< 'exec' (not atom<'(' [any] ')'>) a=any >\n \"\"\"\n def transform(self, node, results):\n assert results\n syms = self.syms", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_exec", "documentation": {} }, { "label": "FixExecfile", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_execfile", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_execfile", "peekOfCode": "class FixExecfile(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n power< 'execfile' trailer< '(' arglist< filename=any [',' globals=any [',' locals=any ] ] > ')' > >\n |\n power< 'execfile' trailer< '(' filename=any ')' > >\n \"\"\"\n def transform(self, node, results):\n assert results\n filename = results[\"filename\"]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_execfile", "documentation": {} }, { "label": "FixExitfunc", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_exitfunc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_exitfunc", "peekOfCode": "class FixExitfunc(fixer_base.BaseFix):\n keep_line_order = True\n BM_compatible = True\n PATTERN = \"\"\"\n (\n sys_import=import_name<'import'\n ('sys'\n |\n dotted_as_names< (any ',')* 'sys' (',' any)* >\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_exitfunc", "documentation": {} }, { "label": "FixFilter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_filter", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_filter", "peekOfCode": "class FixFilter(fixer_base.ConditionalFix):\n BM_compatible = True\n PATTERN = \"\"\"\n filter_lambda=power<\n 'filter'\n trailer<\n '('\n arglist<\n lambdef< 'lambda'\n (fp=NAME | vfpdef< '(' fp=NAME ')'> ) ':' xp=any", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_filter", "documentation": {} }, { "label": "FixFuncattrs", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_funcattrs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_funcattrs", "peekOfCode": "class FixFuncattrs(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n power< any+ trailer< '.' attr=('func_closure' | 'func_doc' | 'func_globals'\n | 'func_name' | 'func_defaults' | 'func_code'\n | 'func_dict') > any* >\n \"\"\"\n def transform(self, node, results):\n attr = results[\"attr\"][0]\n attr.replace(Name((\"__%s__\" % attr.value[5:]),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_funcattrs", "documentation": {} }, { "label": "FixFuture", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_future", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_future", "peekOfCode": "class FixFuture(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"import_from< 'from' module_name=\"__future__\" 'import' any >\"\"\"\n # This should be run last -- some things check for the import\n run_order = 10\n def transform(self, node, results):\n new = BlankLine()\n new.prefix = node.prefix\n return new", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_future", "documentation": {} }, { "label": "FixGetcwdu", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_getcwdu", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_getcwdu", "peekOfCode": "class FixGetcwdu(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n power< 'os' trailer< dot='.' name='getcwdu' > any* >\n \"\"\"\n def transform(self, node, results):\n name = results[\"name\"]\n name.replace(Name(\"getcwd\", prefix=name.prefix))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_getcwdu", "documentation": {} }, { "label": "FixHasKey", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_has_key", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_has_key", "peekOfCode": "class FixHasKey(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n anchor=power<\n before=any+\n trailer< '.' 'has_key' >\n trailer<\n '('\n ( not(arglist | argument) arg=any ','>", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_has_key", "documentation": {} }, { "label": "FixIdioms", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_idioms", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_idioms", "peekOfCode": "class FixIdioms(fixer_base.BaseFix):\n explicit = True # The user must ask for this fixer\n PATTERN = r\"\"\"\n isinstance=comparison< %s %s T=any >\n |\n isinstance=comparison< T=any %s %s >\n |\n while_stmt< 'while' while='1' ':' any+ >\n |\n sorted=any<", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_idioms", "documentation": {} }, { "label": "CMP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_idioms", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_idioms", "peekOfCode": "CMP = \"(n='!=' | '==' | 'is' | n=comp_op< 'is' 'not' >)\"\nTYPE = \"power< 'type' trailer< '(' x=any ')' > >\"\nclass FixIdioms(fixer_base.BaseFix):\n explicit = True # The user must ask for this fixer\n PATTERN = r\"\"\"\n isinstance=comparison< %s %s T=any >\n |\n isinstance=comparison< T=any %s %s >\n |\n while_stmt< 'while' while='1' ':' any+ >", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_idioms", "documentation": {} }, { "label": "TYPE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_idioms", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_idioms", "peekOfCode": "TYPE = \"power< 'type' trailer< '(' x=any ')' > >\"\nclass FixIdioms(fixer_base.BaseFix):\n explicit = True # The user must ask for this fixer\n PATTERN = r\"\"\"\n isinstance=comparison< %s %s T=any >\n |\n isinstance=comparison< T=any %s %s >\n |\n while_stmt< 'while' while='1' ':' any+ >\n |", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_idioms", "documentation": {} }, { "label": "FixImport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_import", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_import", "peekOfCode": "class FixImport(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n import_from< 'from' imp=any 'import' ['('] any [')'] >\n |\n import_name< 'import' imp=any >\n \"\"\"\n def start_tree(self, tree, name):\n super(FixImport, self).start_tree(tree, name)\n self.skip = \"absolute_import\" in tree.future_features", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_import", "documentation": {} }, { "label": "traverse_imports", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_import", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_import", "peekOfCode": "def traverse_imports(names):\n \"\"\"\n Walks over all the names imported in a dotted_as_names node.\n \"\"\"\n pending = [names]\n while pending:\n node = pending.pop()\n if node.type == token.NAME:\n yield node.value\n elif node.type == syms.dotted_name:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_import", "documentation": {} }, { "label": "FixImports", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_imports", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_imports", "peekOfCode": "class FixImports(fixer_base.BaseFix):\n BM_compatible = True\n keep_line_order = True\n # This is overridden in fix_imports2.\n mapping = MAPPING\n # We want to run this fixer late, so fix_import doesn't try to make stdlib\n # renames into relative imports.\n run_order = 6\n def build_pattern(self):\n return \"|\".join(build_pattern(self.mapping))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_imports", "documentation": {} }, { "label": "alternates", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_imports", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_imports", "peekOfCode": "def alternates(members):\n return \"(\" + \"|\".join(map(repr, members)) + \")\"\ndef build_pattern(mapping=MAPPING):\n mod_list = ' | '.join([\"module_name='%s'\" % key for key in mapping])\n bare_names = alternates(mapping.keys())\n yield \"\"\"name_import=import_name< 'import' ((%s) |\n multiple_imports=dotted_as_names< any* (%s) any* >) >\n \"\"\" % (mod_list, mod_list)\n yield \"\"\"import_from< 'from' (%s) 'import' ['(']\n ( any | import_as_name< any 'as' any > |", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_imports", "documentation": {} }, { "label": "build_pattern", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_imports", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_imports", "peekOfCode": "def build_pattern(mapping=MAPPING):\n mod_list = ' | '.join([\"module_name='%s'\" % key for key in mapping])\n bare_names = alternates(mapping.keys())\n yield \"\"\"name_import=import_name< 'import' ((%s) |\n multiple_imports=dotted_as_names< any* (%s) any* >) >\n \"\"\" % (mod_list, mod_list)\n yield \"\"\"import_from< 'from' (%s) 'import' ['(']\n ( any | import_as_name< any 'as' any > |\n import_as_names< any* >) [')'] >\n \"\"\" % mod_list", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_imports", "documentation": {} }, { "label": "MAPPING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_imports", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_imports", "peekOfCode": "MAPPING = {'StringIO': 'io',\n 'cStringIO': 'io',\n 'cPickle': 'pickle',\n '__builtin__' : 'builtins',\n 'copy_reg': 'copyreg',\n 'Queue': 'queue',\n 'SocketServer': 'socketserver',\n 'ConfigParser': 'configparser',\n 'repr': 'reprlib',\n 'FileDialog': 'tkinter.filedialog',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_imports", "documentation": {} }, { "label": "FixImports2", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_imports2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_imports2", "peekOfCode": "class FixImports2(fix_imports.FixImports):\n run_order = 7\n mapping = MAPPING", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_imports2", "documentation": {} }, { "label": "MAPPING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_imports2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_imports2", "peekOfCode": "MAPPING = {\n 'whichdb': 'dbm',\n 'anydbm': 'dbm',\n }\nclass FixImports2(fix_imports.FixImports):\n run_order = 7\n mapping = MAPPING", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_imports2", "documentation": {} }, { "label": "FixInput", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_input", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_input", "peekOfCode": "class FixInput(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n power< 'input' args=trailer< '(' [any] ')' > >\n \"\"\"\n def transform(self, node, results):\n # If we're already wrapped in an eval() call, we're done.\n if context.match(node.parent.parent):\n return\n new = node.clone()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_input", "documentation": {} }, { "label": "context", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_input", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_input", "peekOfCode": "context = patcomp.compile_pattern(\"power< 'eval' trailer< '(' any ')' > >\")\nclass FixInput(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n power< 'input' args=trailer< '(' [any] ')' > >\n \"\"\"\n def transform(self, node, results):\n # If we're already wrapped in an eval() call, we're done.\n if context.match(node.parent.parent):\n return", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_input", "documentation": {} }, { "label": "FixIntern", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_intern", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_intern", "peekOfCode": "class FixIntern(fixer_base.BaseFix):\n BM_compatible = True\n order = \"pre\"\n PATTERN = \"\"\"\n power< 'intern'\n trailer< lpar='('\n ( not(arglist | argument) any ','> )\n rpar=')' >\n after=any*", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_intern", "documentation": {} }, { "label": "FixIsinstance", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_isinstance", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_isinstance", "peekOfCode": "class FixIsinstance(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n power<\n 'isinstance'\n trailer< '(' arglist< any ',' atom< '('\n args=testlist_gexp< any+ >\n ')' > > ')' >\n >\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_isinstance", "documentation": {} }, { "label": "FixItertools", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_itertools", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_itertools", "peekOfCode": "class FixItertools(fixer_base.BaseFix):\n BM_compatible = True\n it_funcs = \"('imap'|'ifilter'|'izip'|'izip_longest'|'ifilterfalse')\"\n PATTERN = \"\"\"\n power< it='itertools'\n trailer<\n dot='.' func=%(it_funcs)s > trailer< '(' [any] ')' > >\n |\n power< func=%(it_funcs)s trailer< '(' [any] ')' > >\n \"\"\" %(locals())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_itertools", "documentation": {} }, { "label": "FixItertoolsImports", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_itertools_imports", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_itertools_imports", "peekOfCode": "class FixItertoolsImports(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n import_from< 'from' 'itertools' 'import' imports=any >\n \"\"\" %(locals())\n def transform(self, node, results):\n imports = results['imports']\n if imports.type == syms.import_as_name or not imports.children:\n children = [imports]\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_itertools_imports", "documentation": {} }, { "label": "FixLong", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_long", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_long", "peekOfCode": "class FixLong(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"'long'\"\n def transform(self, node, results):\n if is_probably_builtin(node):\n node.value = \"int\"\n node.changed()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_long", "documentation": {} }, { "label": "FixMap", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_map", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_map", "peekOfCode": "class FixMap(fixer_base.ConditionalFix):\n BM_compatible = True\n PATTERN = \"\"\"\n map_none=power<\n 'map'\n trailer< '(' arglist< 'None' ',' arg=any [','] > ')' >\n [extra_trailers=trailer*]\n >\n |\n map_lambda=power<", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_map", "documentation": {} }, { "label": "FixMetaclass", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "peekOfCode": "class FixMetaclass(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n classdef\n \"\"\"\n def transform(self, node, results):\n if not has_metaclass(node):\n return\n fixup_parse_tree(node)\n # find metaclasses, keep the last one", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "documentation": {} }, { "label": "has_metaclass", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "peekOfCode": "def has_metaclass(parent):\n \"\"\" we have to check the cls_node without changing it.\n There are two possibilities:\n 1) clsdef => suite => simple_stmt => expr_stmt => Leaf('__meta')\n 2) clsdef => simple_stmt => expr_stmt => Leaf('__meta')\n \"\"\"\n for node in parent.children:\n if node.type == syms.suite:\n return has_metaclass(node)\n elif node.type == syms.simple_stmt and node.children:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "documentation": {} }, { "label": "fixup_parse_tree", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "peekOfCode": "def fixup_parse_tree(cls_node):\n \"\"\" one-line classes don't get a suite in the parse tree so we add\n one to normalize the tree\n \"\"\"\n for node in cls_node.children:\n if node.type == syms.suite:\n # already in the preferred format, do nothing\n return\n # !%@#! one-liners have no suite node, we have to fake one up\n for i, node in enumerate(cls_node.children):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "documentation": {} }, { "label": "fixup_simple_stmt", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "peekOfCode": "def fixup_simple_stmt(parent, i, stmt_node):\n \"\"\" if there is a semi-colon all the parts count as part of the same\n simple_stmt. We just want the __metaclass__ part so we move\n everything after the semi-colon into its own simple_stmt node\n \"\"\"\n for semi_ind, node in enumerate(stmt_node.children):\n if node.type == token.SEMI: # *sigh*\n break\n else:\n return", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "documentation": {} }, { "label": "remove_trailing_newline", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "peekOfCode": "def remove_trailing_newline(node):\n if node.children and node.children[-1].type == token.NEWLINE:\n node.children[-1].remove()\ndef find_metas(cls_node):\n # find the suite node (Mmm, sweet nodes)\n for node in cls_node.children:\n if node.type == syms.suite:\n break\n else:\n raise ValueError(\"No class suite!\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "documentation": {} }, { "label": "find_metas", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "peekOfCode": "def find_metas(cls_node):\n # find the suite node (Mmm, sweet nodes)\n for node in cls_node.children:\n if node.type == syms.suite:\n break\n else:\n raise ValueError(\"No class suite!\")\n # look for simple_stmt[ expr_stmt[ Leaf('__metaclass__') ] ]\n for i, simple_node in list(enumerate(node.children)):\n if simple_node.type == syms.simple_stmt and simple_node.children:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "documentation": {} }, { "label": "fixup_indent", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "peekOfCode": "def fixup_indent(suite):\n \"\"\" If an INDENT is followed by a thing with a prefix then nuke the prefix\n Otherwise we get in trouble when removing __metaclass__ at suite start\n \"\"\"\n kids = suite.children[::-1]\n # find the first indent\n while kids:\n node = kids.pop()\n if node.type == token.INDENT:\n break", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_metaclass", "documentation": {} }, { "label": "FixMethodattrs", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_methodattrs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_methodattrs", "peekOfCode": "class FixMethodattrs(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n power< any+ trailer< '.' attr=('im_func' | 'im_self' | 'im_class') > any* >\n \"\"\"\n def transform(self, node, results):\n attr = results[\"attr\"][0]\n new = MAP[attr.value]\n attr.replace(Name(new, prefix=attr.prefix))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_methodattrs", "documentation": {} }, { "label": "MAP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_methodattrs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_methodattrs", "peekOfCode": "MAP = {\n \"im_func\" : \"__func__\",\n \"im_self\" : \"__self__\",\n \"im_class\" : \"__self__.__class__\"\n }\nclass FixMethodattrs(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n power< any+ trailer< '.' attr=('im_func' | 'im_self' | 'im_class') > any* >\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_methodattrs", "documentation": {} }, { "label": "FixNe", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_ne", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_ne", "peekOfCode": "class FixNe(fixer_base.BaseFix):\n # This is so simple that we don't need the pattern compiler.\n _accept_type = token.NOTEQUAL\n def match(self, node):\n # Override\n return node.value == \"<>\"\n def transform(self, node, results):\n new = pytree.Leaf(token.NOTEQUAL, \"!=\", prefix=node.prefix)\n return new", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_ne", "documentation": {} }, { "label": "FixNext", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_next", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_next", "peekOfCode": "class FixNext(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n power< base=any+ trailer< '.' attr='next' > trailer< '(' ')' > >\n |\n power< head=any+ trailer< '.' attr='next' > not trailer< '(' ')' > >\n |\n classdef< 'class' any+ ':'\n suite< any*\n funcdef< 'def'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_next", "documentation": {} }, { "label": "is_assign_target", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_next", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_next", "peekOfCode": "def is_assign_target(node):\n assign = find_assign(node)\n if assign is None:\n return False\n for child in assign.children:\n if child.type == token.EQUAL:\n return False\n elif is_subtree(child, node):\n return True\n return False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_next", "documentation": {} }, { "label": "find_assign", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_next", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_next", "peekOfCode": "def find_assign(node):\n if node.type == syms.expr_stmt:\n return node\n if node.type == syms.simple_stmt or node.parent is None:\n return None\n return find_assign(node.parent)\ndef is_subtree(root, node):\n if root == node:\n return True\n return any(is_subtree(c, node) for c in root.children)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_next", "documentation": {} }, { "label": "is_subtree", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_next", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_next", "peekOfCode": "def is_subtree(root, node):\n if root == node:\n return True\n return any(is_subtree(c, node) for c in root.children)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_next", "documentation": {} }, { "label": "bind_warning", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_next", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_next", "peekOfCode": "bind_warning = \"Calls to builtin next() possibly shadowed by global binding\"\nclass FixNext(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n power< base=any+ trailer< '.' attr='next' > trailer< '(' ')' > >\n |\n power< head=any+ trailer< '.' attr='next' > not trailer< '(' ')' > >\n |\n classdef< 'class' any+ ':'\n suite< any*", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_next", "documentation": {} }, { "label": "FixNonzero", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_nonzero", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_nonzero", "peekOfCode": "class FixNonzero(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n classdef< 'class' any+ ':'\n suite< any*\n funcdef< 'def' name='__nonzero__'\n parameters< '(' NAME ')' > any+ >\n any* > >\n \"\"\"\n def transform(self, node, results):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_nonzero", "documentation": {} }, { "label": "FixNumliterals", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_numliterals", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_numliterals", "peekOfCode": "class FixNumliterals(fixer_base.BaseFix):\n # This is so simple that we don't need the pattern compiler.\n _accept_type = token.NUMBER\n def match(self, node):\n # Override\n return (node.value.startswith(\"0\") or node.value[-1] in \"Ll\")\n def transform(self, node, results):\n val = node.value\n if val[-1] in 'Ll':\n val = val[:-1]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_numliterals", "documentation": {} }, { "label": "FixOperator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_operator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_operator", "peekOfCode": "class FixOperator(fixer_base.BaseFix):\n BM_compatible = True\n order = \"pre\"\n methods = \"\"\"\n method=('isCallable'|'sequenceIncludes'\n |'isSequenceType'|'isMappingType'|'isNumberType'\n |'repeat'|'irepeat')\n \"\"\"\n obj = \"'(' obj=any ')'\"\n PATTERN = \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_operator", "documentation": {} }, { "label": "invocation", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_operator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_operator", "peekOfCode": "def invocation(s):\n def dec(f):\n f.invocation = s\n return f\n return dec\nclass FixOperator(fixer_base.BaseFix):\n BM_compatible = True\n order = \"pre\"\n methods = \"\"\"\n method=('isCallable'|'sequenceIncludes'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_operator", "documentation": {} }, { "label": "FixParen", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_paren", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_paren", "peekOfCode": "class FixParen(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n atom< ('[' | '(')\n (listmaker< any\n comp_for<\n 'for' NAME 'in'\n target=testlist_safe< any (',' any)+ [',']\n >\n [any]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_paren", "documentation": {} }, { "label": "FixPrint", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_print", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_print", "peekOfCode": "class FixPrint(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n simple_stmt< any* bare='print' any* > | print_stmt\n \"\"\"\n def transform(self, node, results):\n assert results\n bare_print = results.get(\"bare\")\n if bare_print:\n # Special-case print all by itself", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_print", "documentation": {} }, { "label": "parend_expr", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_print", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_print", "peekOfCode": "parend_expr = patcomp.compile_pattern(\n \"\"\"atom< '(' [atom|STRING|NAME] ')' >\"\"\"\n )\nclass FixPrint(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n simple_stmt< any* bare='print' any* > | print_stmt\n \"\"\"\n def transform(self, node, results):\n assert results", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_print", "documentation": {} }, { "label": "FixRaise", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_raise", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_raise", "peekOfCode": "class FixRaise(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n raise_stmt< 'raise' exc=any [',' val=any [',' tb=any]] >\n \"\"\"\n def transform(self, node, results):\n syms = self.syms\n exc = results[\"exc\"].clone()\n if exc.type == token.STRING:\n msg = \"Python 3 does not support string exceptions\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_raise", "documentation": {} }, { "label": "FixRawInput", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_raw_input", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_raw_input", "peekOfCode": "class FixRawInput(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n power< name='raw_input' trailer< '(' [any] ')' > any* >\n \"\"\"\n def transform(self, node, results):\n name = results[\"name\"]\n name.replace(Name(\"input\", prefix=name.prefix))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_raw_input", "documentation": {} }, { "label": "FixReduce", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_reduce", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_reduce", "peekOfCode": "class FixReduce(fixer_base.BaseFix):\n BM_compatible = True\n order = \"pre\"\n PATTERN = \"\"\"\n power< 'reduce'\n trailer< '('\n arglist< (\n (not(argument) any ','", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_reduce", "documentation": {} }, { "label": "FixReload", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_reload", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_reload", "peekOfCode": "class FixReload(fixer_base.BaseFix):\n BM_compatible = True\n order = \"pre\"\n PATTERN = \"\"\"\n power< 'reload'\n trailer< lpar='('\n ( not(arglist | argument) any ','> )\n rpar=')' >\n after=any*", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_reload", "documentation": {} }, { "label": "FixRenames", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_renames", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_renames", "peekOfCode": "class FixRenames(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"|\".join(build_pattern())\n order = \"pre\" # Pre-order tree traversal\n # Don't match the node if it's within another match\n def match(self, node):\n match = super(FixRenames, self).match\n results = match(node)\n if results:\n if any(match(obj) for obj in attr_chain(node, \"parent\")):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_renames", "documentation": {} }, { "label": "alternates", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_renames", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_renames", "peekOfCode": "def alternates(members):\n return \"(\" + \"|\".join(map(repr, members)) + \")\"\ndef build_pattern():\n #bare = set()\n for module, replace in list(MAPPING.items()):\n for old_attr, new_attr in list(replace.items()):\n LOOKUP[(module, old_attr)] = new_attr\n #bare.add(module)\n #bare.add(old_attr)\n #yield \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_renames", "documentation": {} }, { "label": "build_pattern", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_renames", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_renames", "peekOfCode": "def build_pattern():\n #bare = set()\n for module, replace in list(MAPPING.items()):\n for old_attr, new_attr in list(replace.items()):\n LOOKUP[(module, old_attr)] = new_attr\n #bare.add(module)\n #bare.add(old_attr)\n #yield \"\"\"\n # import_name< 'import' (module=%r\n # | dotted_as_names< any* module=%r any* >) >", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_renames", "documentation": {} }, { "label": "MAPPING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_renames", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_renames", "peekOfCode": "MAPPING = {\"sys\": {\"maxint\" : \"maxsize\"},\n }\nLOOKUP = {}\ndef alternates(members):\n return \"(\" + \"|\".join(map(repr, members)) + \")\"\ndef build_pattern():\n #bare = set()\n for module, replace in list(MAPPING.items()):\n for old_attr, new_attr in list(replace.items()):\n LOOKUP[(module, old_attr)] = new_attr", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_renames", "documentation": {} }, { "label": "LOOKUP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_renames", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_renames", "peekOfCode": "LOOKUP = {}\ndef alternates(members):\n return \"(\" + \"|\".join(map(repr, members)) + \")\"\ndef build_pattern():\n #bare = set()\n for module, replace in list(MAPPING.items()):\n for old_attr, new_attr in list(replace.items()):\n LOOKUP[(module, old_attr)] = new_attr\n #bare.add(module)\n #bare.add(old_attr)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_renames", "documentation": {} }, { "label": "FixRepr", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_repr", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_repr", "peekOfCode": "class FixRepr(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n atom < '`' expr=any '`' >\n \"\"\"\n def transform(self, node, results):\n expr = results[\"expr\"].clone()\n if expr.type == self.syms.testlist1:\n expr = parenthesize(expr)\n return Call(Name(\"repr\"), [expr], prefix=node.prefix)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_repr", "documentation": {} }, { "label": "FixSetLiteral", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_set_literal", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_set_literal", "peekOfCode": "class FixSetLiteral(fixer_base.BaseFix):\n BM_compatible = True\n explicit = True\n PATTERN = \"\"\"power< 'set' trailer< '('\n (atom=atom< '[' (items=listmaker< any ((',' any)* [',']) >\n |\n single=any) ']' >\n |\n atom< '(' items=testlist_gexp< any ((',' any)* [',']) > ')' >\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_set_literal", "documentation": {} }, { "label": "FixStandarderror", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_standarderror", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_standarderror", "peekOfCode": "class FixStandarderror(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n 'StandardError'\n \"\"\"\n def transform(self, node, results):\n return Name(\"Exception\", prefix=node.prefix)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_standarderror", "documentation": {} }, { "label": "FixSysExc", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_sys_exc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_sys_exc", "peekOfCode": "class FixSysExc(fixer_base.BaseFix):\n # This order matches the ordering of sys.exc_info().\n exc_info = [\"exc_type\", \"exc_value\", \"exc_traceback\"]\n BM_compatible = True\n PATTERN = \"\"\"\n power< 'sys' trailer< dot='.' attribute=(%s) > >\n \"\"\" % '|'.join(\"'%s'\" % e for e in exc_info)\n def transform(self, node, results):\n sys_attr = results[\"attribute\"][0]\n index = Number(self.exc_info.index(sys_attr.value))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_sys_exc", "documentation": {} }, { "label": "FixThrow", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_throw", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_throw", "peekOfCode": "class FixThrow(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n power< any trailer< '.' 'throw' >\n trailer< '(' args=arglist< exc=any ',' val=any [',' tb=any] > ')' >\n >\n |\n power< any trailer< '.' 'throw' > trailer< '(' exc=any ')' > >\n \"\"\"\n def transform(self, node, results):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_throw", "documentation": {} }, { "label": "FixTupleParams", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "peekOfCode": "class FixTupleParams(fixer_base.BaseFix):\n run_order = 4 #use a lower order since lambda is part of other\n #patterns\n BM_compatible = True\n PATTERN = \"\"\"\n funcdef< 'def' any parameters< '(' args=any ')' >\n ['->' any] ':' suite=any+ >\n |\n lambda=\n lambdef< 'lambda' args=vfpdef< '(' inner=any ')' >", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "documentation": {} }, { "label": "func", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "peekOfCode": "def func(((a, b), c), d):\n ...\n ->\ndef func(x, d):\n ((a, b), c) = x\n ...\nIt will also support lambdas:\n lambda (x, y): x + y -> lambda t: t[0] + t[1]\n # The parens are a syntax error in Python 3\n lambda (x): x + y -> lambda x: x + y", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "documentation": {} }, { "label": "func", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "peekOfCode": "def func(x, d):\n ((a, b), c) = x\n ...\nIt will also support lambdas:\n lambda (x, y): x + y -> lambda t: t[0] + t[1]\n # The parens are a syntax error in Python 3\n lambda (x): x + y -> lambda x: x + y\n\"\"\"\n# Author: Collin Winter\n# Local imports", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "documentation": {} }, { "label": "is_docstring", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "peekOfCode": "def is_docstring(stmt):\n return isinstance(stmt, pytree.Node) and \\\n stmt.children[0].type == token.STRING\nclass FixTupleParams(fixer_base.BaseFix):\n run_order = 4 #use a lower order since lambda is part of other\n #patterns\n BM_compatible = True\n PATTERN = \"\"\"\n funcdef< 'def' any parameters< '(' args=any ')' >\n ['->' any] ':' suite=any+ >", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "documentation": {} }, { "label": "simplify_args", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "peekOfCode": "def simplify_args(node):\n if node.type in (syms.vfplist, token.NAME):\n return node\n elif node.type == syms.vfpdef:\n # These look like vfpdef< '(' x ')' > where x is NAME\n # or another vfpdef instance (leading to recursion).\n while node.type == syms.vfpdef:\n node = node.children[1]\n return node\n raise RuntimeError(\"Received unexpected node %s\" % node)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "documentation": {} }, { "label": "find_params", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "peekOfCode": "def find_params(node):\n if node.type == syms.vfpdef:\n return find_params(node.children[1])\n elif node.type == token.NAME:\n return node.value\n return [find_params(c) for c in node.children if c.type != token.COMMA]\ndef map_to_index(param_list, prefix=[], d=None):\n if d is None:\n d = {}\n for i, obj in enumerate(param_list):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "documentation": {} }, { "label": "map_to_index", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "peekOfCode": "def map_to_index(param_list, prefix=[], d=None):\n if d is None:\n d = {}\n for i, obj in enumerate(param_list):\n trailer = [Subscript(Number(str(i)))]\n if isinstance(obj, list):\n map_to_index(obj, trailer, d=d)\n else:\n d[obj] = prefix + trailer\n return d", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "documentation": {} }, { "label": "tuple_name", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "peekOfCode": "def tuple_name(param_list):\n l = []\n for obj in param_list:\n if isinstance(obj, list):\n l.append(tuple_name(obj))\n else:\n l.append(obj)\n return \"_\".join(l)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_tuple_params", "documentation": {} }, { "label": "FixTypes", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_types", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_types", "peekOfCode": "class FixTypes(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = '|'.join(_pats)\n def transform(self, node, results):\n new_value = _TYPE_MAPPING.get(results[\"name\"].value)\n if new_value:\n return Name(new_value, prefix=node.prefix)\n return None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_types", "documentation": {} }, { "label": "_TYPE_MAPPING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_types", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_types", "peekOfCode": "_TYPE_MAPPING = {\n 'BooleanType' : 'bool',\n 'BufferType' : 'memoryview',\n 'ClassType' : 'type',\n 'ComplexType' : 'complex',\n 'DictType': 'dict',\n 'DictionaryType' : 'dict',\n 'EllipsisType' : 'type(Ellipsis)',\n #'FileType' : 'io.IOBase',\n 'FloatType': 'float',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_types", "documentation": {} }, { "label": "_pats", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_types", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_types", "peekOfCode": "_pats = [\"power< 'types' trailer< '.' name='%s' > >\" % t for t in _TYPE_MAPPING]\nclass FixTypes(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = '|'.join(_pats)\n def transform(self, node, results):\n new_value = _TYPE_MAPPING.get(results[\"name\"].value)\n if new_value:\n return Name(new_value, prefix=node.prefix)\n return None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_types", "documentation": {} }, { "label": "FixUnicode", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_unicode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_unicode", "peekOfCode": "class FixUnicode(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"STRING | 'unicode' | 'unichr'\"\n def start_tree(self, tree, filename):\n super(FixUnicode, self).start_tree(tree, filename)\n self.unicode_literals = 'unicode_literals' in tree.future_features\n def transform(self, node, results):\n if node.type == token.NAME:\n new = node.clone()\n new.value = _mapping[node.value]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_unicode", "documentation": {} }, { "label": "_mapping", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_unicode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_unicode", "peekOfCode": "_mapping = {\"unichr\" : \"chr\", \"unicode\" : \"str\"}\nclass FixUnicode(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"STRING | 'unicode' | 'unichr'\"\n def start_tree(self, tree, filename):\n super(FixUnicode, self).start_tree(tree, filename)\n self.unicode_literals = 'unicode_literals' in tree.future_features\n def transform(self, node, results):\n if node.type == token.NAME:\n new = node.clone()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_unicode", "documentation": {} }, { "label": "FixUrllib", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_urllib", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_urllib", "peekOfCode": "class FixUrllib(FixImports):\n def build_pattern(self):\n return \"|\".join(build_pattern())\n def transform_import(self, node, results):\n \"\"\"Transform for the basic import case. Replaces the old\n import name with a comma separated list of its\n replacements.\n \"\"\"\n import_mod = results.get(\"module\")\n pref = import_mod.prefix", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_urllib", "documentation": {} }, { "label": "build_pattern", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_urllib", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_urllib", "peekOfCode": "def build_pattern():\n bare = set()\n for old_module, changes in MAPPING.items():\n for change in changes:\n new_module, members = change\n members = alternates(members)\n yield \"\"\"import_name< 'import' (module=%r\n | dotted_as_names< any* module=%r any* >) >\n \"\"\" % (old_module, old_module)\n yield \"\"\"import_from< 'from' mod_member=%r 'import'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_urllib", "documentation": {} }, { "label": "MAPPING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_urllib", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_urllib", "peekOfCode": "MAPPING = {\"urllib\": [\n (\"urllib.request\",\n [\"URLopener\", \"FancyURLopener\", \"urlretrieve\",\n \"_urlopener\", \"urlopen\", \"urlcleanup\",\n \"pathname2url\", \"url2pathname\", \"getproxies\"]),\n (\"urllib.parse\",\n [\"quote\", \"quote_plus\", \"unquote\", \"unquote_plus\",\n \"urlencode\", \"splitattr\", \"splithost\", \"splitnport\",\n \"splitpasswd\", \"splitport\", \"splitquery\", \"splittag\",\n \"splittype\", \"splituser\", \"splitvalue\", ]),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_urllib", "documentation": {} }, { "label": "FixWsComma", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_ws_comma", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_ws_comma", "peekOfCode": "class FixWsComma(fixer_base.BaseFix):\n explicit = True # The user must ask for this fixers\n PATTERN = \"\"\"\n any<(not(',') any)+ ',' ((not(',') any)+ ',')* [not(',') any]>\n \"\"\"\n COMMA = pytree.Leaf(token.COMMA, \",\")\n COLON = pytree.Leaf(token.COLON, \":\")\n SEPS = (COMMA, COLON)\n def transform(self, node, results):\n new = node.clone()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_ws_comma", "documentation": {} }, { "label": "FixXrange", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_xrange", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_xrange", "peekOfCode": "class FixXrange(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n power<\n (name='range'|name='xrange') trailer< '(' args=any ')' >\n rest=any* >\n \"\"\"\n def start_tree(self, tree, filename):\n super(FixXrange, self).start_tree(tree, filename)\n self.transformed_xranges = set()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_xrange", "documentation": {} }, { "label": "FixXreadlines", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_xreadlines", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_xreadlines", "peekOfCode": "class FixXreadlines(fixer_base.BaseFix):\n BM_compatible = True\n PATTERN = \"\"\"\n power< call=any+ trailer< '.' 'xreadlines' > trailer< '(' ')' > >\n |\n power< any+ trailer< '.' no_call='xreadlines' > >\n \"\"\"\n def transform(self, node, results):\n no_call = results.get(\"no_call\")\n if no_call:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_xreadlines", "documentation": {} }, { "label": "FixZip", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_zip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_zip", "peekOfCode": "class FixZip(fixer_base.ConditionalFix):\n BM_compatible = True\n PATTERN = \"\"\"\n power< 'zip' args=trailer< '(' [any] ')' > [trailers=trailer*]\n >\n \"\"\"\n skip_on = \"future_builtins.zip\"\n def transform(self, node, results):\n if self.should_skip(node):\n return", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixes.fix_zip", "documentation": {} }, { "label": "Converter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.conv", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.conv", "peekOfCode": "class Converter(grammar.Grammar):\n \"\"\"Grammar subclass that reads classic pgen output files.\n The run() method reads the tables as produced by the pgen parser\n generator, typically contained in two C files, graminit.h and\n graminit.c. The other methods are for internal use only.\n See the base class for more documentation.\n \"\"\"\n def run(self, graminit_h, graminit_c):\n \"\"\"Load the grammar tables from the text files written by pgen.\"\"\"\n self.parse_graminit_h(graminit_h)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.conv", "documentation": {} }, { "label": "Driver", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.driver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.driver", "peekOfCode": "class Driver(object):\n def __init__(self, grammar, convert=None, logger=None):\n self.grammar = grammar\n if logger is None:\n logger = logging.getLogger()\n self.logger = logger\n self.convert = convert\n def parse_tokens(self, tokens, debug=False):\n \"\"\"Parse a series of tokens and return the syntax tree.\"\"\"\n # XXX Move the prefix computation into a wrapper around tokenize.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.driver", "documentation": {} }, { "label": "load_grammar", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.driver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.driver", "peekOfCode": "def load_grammar(gt=\"Grammar.txt\", gp=None,\n save=True, force=False, logger=None):\n \"\"\"Load the grammar (maybe from a pickle).\"\"\"\n if logger is None:\n logger = logging.getLogger()\n gp = _generate_pickle_name(gt) if gp is None else gp\n if force or not _newer(gp, gt):\n logger.info(\"Generating grammar tables from %s\", gt)\n g = pgen.generate_grammar(gt)\n if save:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.driver", "documentation": {} }, { "label": "load_packaged_grammar", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.driver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.driver", "peekOfCode": "def load_packaged_grammar(package, grammar_source):\n \"\"\"Normally, loads a pickled grammar by doing\n pkgutil.get_data(package, pickled_grammar)\n where *pickled_grammar* is computed from *grammar_source* by adding the\n Python version and using a ``.pickle`` extension.\n However, if *grammar_source* is an extant file, load_grammar(grammar_source)\n is called instead. This facilitates using a packaged grammar file when needed\n but preserves load_grammar's automatic regeneration behavior when possible.\n \"\"\"\n if os.path.isfile(grammar_source):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.driver", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.driver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.driver", "peekOfCode": "def main(*args):\n \"\"\"Main program, when run as a script: produce grammar pickle files.\n Calls load_grammar for each argument, a path to a grammar text file.\n \"\"\"\n if not args:\n args = sys.argv[1:]\n logging.basicConfig(level=logging.INFO, stream=sys.stdout,\n format='%(message)s')\n for gt in args:\n load_grammar(gt, save=True, force=True)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.driver", "documentation": {} }, { "label": "__author__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.driver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.driver", "peekOfCode": "__author__ = \"Guido van Rossum \"\n__all__ = [\"Driver\", \"load_grammar\"]\n# Python imports\nimport io\nimport os\nimport logging\nimport pkgutil\nimport sys\n# Pgen imports\nfrom . import grammar, parse, token, tokenize, pgen", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.driver", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.driver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.driver", "peekOfCode": "__all__ = [\"Driver\", \"load_grammar\"]\n# Python imports\nimport io\nimport os\nimport logging\nimport pkgutil\nimport sys\n# Pgen imports\nfrom . import grammar, parse, token, tokenize, pgen\nclass Driver(object):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.driver", "documentation": {} }, { "label": "Grammar", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.grammar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.grammar", "peekOfCode": "class Grammar(object):\n \"\"\"Pgen parsing tables conversion class.\n Once initialized, this class supplies the grammar tables for the\n parsing engine implemented by parse.py. The parsing engine\n accesses the instance variables directly. The class here does not\n provide initialization of the tables; several subclasses exist to\n do this (see the conv and pgen modules).\n The load() method reads the tables from a pickle file, which is\n much faster than the other ways offered by subclasses. The pickle\n file is written by calling dump() (after loading the grammar", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.grammar", "documentation": {} }, { "label": "opmap_raw", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.grammar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.grammar", "peekOfCode": "opmap_raw = \"\"\"\n( LPAR\n) RPAR\n[ LSQB\n] RSQB\n: COLON\n, COMMA\n; SEMI\n+ PLUS\n- MINUS", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.grammar", "documentation": {} }, { "label": "opmap", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.grammar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.grammar", "peekOfCode": "opmap = {}\nfor line in opmap_raw.splitlines():\n if line:\n op, name = line.split()\n opmap[op] = getattr(token, name)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.grammar", "documentation": {} }, { "label": "escape", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.literals", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.literals", "peekOfCode": "def escape(m):\n all, tail = m.group(0, 1)\n assert all.startswith(\"\\\\\")\n esc = simple_escapes.get(tail)\n if esc is not None:\n return esc\n if tail.startswith(\"x\"):\n hexes = tail[1:]\n if len(hexes) < 2:\n raise ValueError(\"invalid hex string escape ('\\\\%s')\" % tail)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.literals", "documentation": {} }, { "label": "evalString", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.literals", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.literals", "peekOfCode": "def evalString(s):\n assert s.startswith(\"'\") or s.startswith('\"'), repr(s[:1])\n q = s[0]\n if s[:3] == q*3:\n q = q*3\n assert s.endswith(q), repr(s[-len(q):])\n assert len(s) >= 2*len(q)\n s = s[len(q):-len(q)]\n return re.sub(r\"\\\\(\\'|\\\"|\\\\|[abfnrtv]|x.{0,2}|[0-7]{1,3})\", escape, s)\ndef test():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.literals", "documentation": {} }, { "label": "test", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.literals", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.literals", "peekOfCode": "def test():\n for i in range(256):\n c = chr(i)\n s = repr(c)\n e = evalString(s)\n if e != c:\n print(i, c, s, e)\nif __name__ == \"__main__\":\n test()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.literals", "documentation": {} }, { "label": "simple_escapes", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.literals", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.literals", "peekOfCode": "simple_escapes = {\"a\": \"\\a\",\n \"b\": \"\\b\",\n \"f\": \"\\f\",\n \"n\": \"\\n\",\n \"r\": \"\\r\",\n \"t\": \"\\t\",\n \"v\": \"\\v\",\n \"'\": \"'\",\n '\"': '\"',\n \"\\\\\": \"\\\\\"}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.literals", "documentation": {} }, { "label": "ParseError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.parse", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.parse", "peekOfCode": "class ParseError(Exception):\n \"\"\"Exception to signal the parser is stuck.\"\"\"\n def __init__(self, msg, type, value, context):\n Exception.__init__(self, \"%s: type=%r, value=%r, context=%r\" %\n (msg, type, value, context))\n self.msg = msg\n self.type = type\n self.value = value\n self.context = context\n def __reduce__(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.parse", "documentation": {} }, { "label": "Parser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.parse", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.parse", "peekOfCode": "class Parser(object):\n \"\"\"Parser engine.\n The proper usage sequence is:\n p = Parser(grammar, [converter]) # create instance\n p.setup([start]) # prepare for parsing\n :\n if p.addtoken(...): # parse a token; may raise ParseError\n break\n root = p.rootnode # root of abstract syntax tree\n A Parser instance may be reused by calling setup() repeatedly.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.parse", "documentation": {} }, { "label": "PgenGrammar", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.pgen", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.pgen", "peekOfCode": "class PgenGrammar(grammar.Grammar):\n pass\nclass ParserGenerator(object):\n def __init__(self, filename, stream=None):\n close_stream = None\n if stream is None:\n stream = open(filename, encoding=\"utf-8\")\n close_stream = stream.close\n self.filename = filename\n self.stream = stream", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.pgen", "documentation": {} }, { "label": "ParserGenerator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.pgen", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.pgen", "peekOfCode": "class ParserGenerator(object):\n def __init__(self, filename, stream=None):\n close_stream = None\n if stream is None:\n stream = open(filename, encoding=\"utf-8\")\n close_stream = stream.close\n self.filename = filename\n self.stream = stream\n self.generator = tokenize.generate_tokens(stream.readline)\n self.gettoken() # Initialize lookahead", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.pgen", "documentation": {} }, { "label": "NFAState", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.pgen", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.pgen", "peekOfCode": "class NFAState(object):\n def __init__(self):\n self.arcs = [] # list of (label, NFAState) pairs\n def addarc(self, next, label=None):\n assert label is None or isinstance(label, str)\n assert isinstance(next, NFAState)\n self.arcs.append((label, next))\nclass DFAState(object):\n def __init__(self, nfaset, final):\n assert isinstance(nfaset, dict)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.pgen", "documentation": {} }, { "label": "DFAState", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.pgen", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.pgen", "peekOfCode": "class DFAState(object):\n def __init__(self, nfaset, final):\n assert isinstance(nfaset, dict)\n assert isinstance(next(iter(nfaset)), NFAState)\n assert isinstance(final, NFAState)\n self.nfaset = nfaset\n self.isfinal = final in nfaset\n self.arcs = {} # map from label to DFAState\n def addarc(self, next, label):\n assert isinstance(label, str)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.pgen", "documentation": {} }, { "label": "generate_grammar", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.pgen", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.pgen", "peekOfCode": "def generate_grammar(filename=\"Grammar.txt\"):\n p = ParserGenerator(filename)\n return p.make_grammar()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.pgen", "documentation": {} }, { "label": "ISTERMINAL", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "def ISTERMINAL(x):\n return x < NT_OFFSET\ndef ISNONTERMINAL(x):\n return x >= NT_OFFSET\ndef ISEOF(x):\n return x == ENDMARKER", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "ISNONTERMINAL", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "def ISNONTERMINAL(x):\n return x >= NT_OFFSET\ndef ISEOF(x):\n return x == ENDMARKER", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "ISEOF", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "def ISEOF(x):\n return x == ENDMARKER", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "ENDMARKER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "ENDMARKER = 0\nNAME = 1\nNUMBER = 2\nSTRING = 3\nNEWLINE = 4\nINDENT = 5\nDEDENT = 6\nLPAR = 7\nRPAR = 8\nLSQB = 9", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "NAME", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "NAME = 1\nNUMBER = 2\nSTRING = 3\nNEWLINE = 4\nINDENT = 5\nDEDENT = 6\nLPAR = 7\nRPAR = 8\nLSQB = 9\nRSQB = 10", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "NUMBER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "NUMBER = 2\nSTRING = 3\nNEWLINE = 4\nINDENT = 5\nDEDENT = 6\nLPAR = 7\nRPAR = 8\nLSQB = 9\nRSQB = 10\nCOLON = 11", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "STRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "STRING = 3\nNEWLINE = 4\nINDENT = 5\nDEDENT = 6\nLPAR = 7\nRPAR = 8\nLSQB = 9\nRSQB = 10\nCOLON = 11\nCOMMA = 12", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "NEWLINE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "NEWLINE = 4\nINDENT = 5\nDEDENT = 6\nLPAR = 7\nRPAR = 8\nLSQB = 9\nRSQB = 10\nCOLON = 11\nCOMMA = 12\nSEMI = 13", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "INDENT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "INDENT = 5\nDEDENT = 6\nLPAR = 7\nRPAR = 8\nLSQB = 9\nRSQB = 10\nCOLON = 11\nCOMMA = 12\nSEMI = 13\nPLUS = 14", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "DEDENT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "DEDENT = 6\nLPAR = 7\nRPAR = 8\nLSQB = 9\nRSQB = 10\nCOLON = 11\nCOMMA = 12\nSEMI = 13\nPLUS = 14\nMINUS = 15", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "LPAR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "LPAR = 7\nRPAR = 8\nLSQB = 9\nRSQB = 10\nCOLON = 11\nCOMMA = 12\nSEMI = 13\nPLUS = 14\nMINUS = 15\nSTAR = 16", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "RPAR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "RPAR = 8\nLSQB = 9\nRSQB = 10\nCOLON = 11\nCOMMA = 12\nSEMI = 13\nPLUS = 14\nMINUS = 15\nSTAR = 16\nSLASH = 17", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "LSQB", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "LSQB = 9\nRSQB = 10\nCOLON = 11\nCOMMA = 12\nSEMI = 13\nPLUS = 14\nMINUS = 15\nSTAR = 16\nSLASH = 17\nVBAR = 18", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "RSQB", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "RSQB = 10\nCOLON = 11\nCOMMA = 12\nSEMI = 13\nPLUS = 14\nMINUS = 15\nSTAR = 16\nSLASH = 17\nVBAR = 18\nAMPER = 19", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "COLON", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "COLON = 11\nCOMMA = 12\nSEMI = 13\nPLUS = 14\nMINUS = 15\nSTAR = 16\nSLASH = 17\nVBAR = 18\nAMPER = 19\nLESS = 20", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "COMMA", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "COMMA = 12\nSEMI = 13\nPLUS = 14\nMINUS = 15\nSTAR = 16\nSLASH = 17\nVBAR = 18\nAMPER = 19\nLESS = 20\nGREATER = 21", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "SEMI", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "SEMI = 13\nPLUS = 14\nMINUS = 15\nSTAR = 16\nSLASH = 17\nVBAR = 18\nAMPER = 19\nLESS = 20\nGREATER = 21\nEQUAL = 22", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "PLUS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "PLUS = 14\nMINUS = 15\nSTAR = 16\nSLASH = 17\nVBAR = 18\nAMPER = 19\nLESS = 20\nGREATER = 21\nEQUAL = 22\nDOT = 23", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "MINUS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "MINUS = 15\nSTAR = 16\nSLASH = 17\nVBAR = 18\nAMPER = 19\nLESS = 20\nGREATER = 21\nEQUAL = 22\nDOT = 23\nPERCENT = 24", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "STAR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "STAR = 16\nSLASH = 17\nVBAR = 18\nAMPER = 19\nLESS = 20\nGREATER = 21\nEQUAL = 22\nDOT = 23\nPERCENT = 24\nBACKQUOTE = 25", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "SLASH", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "SLASH = 17\nVBAR = 18\nAMPER = 19\nLESS = 20\nGREATER = 21\nEQUAL = 22\nDOT = 23\nPERCENT = 24\nBACKQUOTE = 25\nLBRACE = 26", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "VBAR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "VBAR = 18\nAMPER = 19\nLESS = 20\nGREATER = 21\nEQUAL = 22\nDOT = 23\nPERCENT = 24\nBACKQUOTE = 25\nLBRACE = 26\nRBRACE = 27", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "AMPER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "AMPER = 19\nLESS = 20\nGREATER = 21\nEQUAL = 22\nDOT = 23\nPERCENT = 24\nBACKQUOTE = 25\nLBRACE = 26\nRBRACE = 27\nEQEQUAL = 28", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "LESS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "LESS = 20\nGREATER = 21\nEQUAL = 22\nDOT = 23\nPERCENT = 24\nBACKQUOTE = 25\nLBRACE = 26\nRBRACE = 27\nEQEQUAL = 28\nNOTEQUAL = 29", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "GREATER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "GREATER = 21\nEQUAL = 22\nDOT = 23\nPERCENT = 24\nBACKQUOTE = 25\nLBRACE = 26\nRBRACE = 27\nEQEQUAL = 28\nNOTEQUAL = 29\nLESSEQUAL = 30", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "EQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "EQUAL = 22\nDOT = 23\nPERCENT = 24\nBACKQUOTE = 25\nLBRACE = 26\nRBRACE = 27\nEQEQUAL = 28\nNOTEQUAL = 29\nLESSEQUAL = 30\nGREATEREQUAL = 31", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "DOT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "DOT = 23\nPERCENT = 24\nBACKQUOTE = 25\nLBRACE = 26\nRBRACE = 27\nEQEQUAL = 28\nNOTEQUAL = 29\nLESSEQUAL = 30\nGREATEREQUAL = 31\nTILDE = 32", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "PERCENT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "PERCENT = 24\nBACKQUOTE = 25\nLBRACE = 26\nRBRACE = 27\nEQEQUAL = 28\nNOTEQUAL = 29\nLESSEQUAL = 30\nGREATEREQUAL = 31\nTILDE = 32\nCIRCUMFLEX = 33", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "BACKQUOTE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "BACKQUOTE = 25\nLBRACE = 26\nRBRACE = 27\nEQEQUAL = 28\nNOTEQUAL = 29\nLESSEQUAL = 30\nGREATEREQUAL = 31\nTILDE = 32\nCIRCUMFLEX = 33\nLEFTSHIFT = 34", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "LBRACE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "LBRACE = 26\nRBRACE = 27\nEQEQUAL = 28\nNOTEQUAL = 29\nLESSEQUAL = 30\nGREATEREQUAL = 31\nTILDE = 32\nCIRCUMFLEX = 33\nLEFTSHIFT = 34\nRIGHTSHIFT = 35", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "RBRACE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "RBRACE = 27\nEQEQUAL = 28\nNOTEQUAL = 29\nLESSEQUAL = 30\nGREATEREQUAL = 31\nTILDE = 32\nCIRCUMFLEX = 33\nLEFTSHIFT = 34\nRIGHTSHIFT = 35\nDOUBLESTAR = 36", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "EQEQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "EQEQUAL = 28\nNOTEQUAL = 29\nLESSEQUAL = 30\nGREATEREQUAL = 31\nTILDE = 32\nCIRCUMFLEX = 33\nLEFTSHIFT = 34\nRIGHTSHIFT = 35\nDOUBLESTAR = 36\nPLUSEQUAL = 37", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "NOTEQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "NOTEQUAL = 29\nLESSEQUAL = 30\nGREATEREQUAL = 31\nTILDE = 32\nCIRCUMFLEX = 33\nLEFTSHIFT = 34\nRIGHTSHIFT = 35\nDOUBLESTAR = 36\nPLUSEQUAL = 37\nMINEQUAL = 38", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "LESSEQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "LESSEQUAL = 30\nGREATEREQUAL = 31\nTILDE = 32\nCIRCUMFLEX = 33\nLEFTSHIFT = 34\nRIGHTSHIFT = 35\nDOUBLESTAR = 36\nPLUSEQUAL = 37\nMINEQUAL = 38\nSTAREQUAL = 39", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "GREATEREQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "GREATEREQUAL = 31\nTILDE = 32\nCIRCUMFLEX = 33\nLEFTSHIFT = 34\nRIGHTSHIFT = 35\nDOUBLESTAR = 36\nPLUSEQUAL = 37\nMINEQUAL = 38\nSTAREQUAL = 39\nSLASHEQUAL = 40", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "TILDE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "TILDE = 32\nCIRCUMFLEX = 33\nLEFTSHIFT = 34\nRIGHTSHIFT = 35\nDOUBLESTAR = 36\nPLUSEQUAL = 37\nMINEQUAL = 38\nSTAREQUAL = 39\nSLASHEQUAL = 40\nPERCENTEQUAL = 41", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "CIRCUMFLEX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "CIRCUMFLEX = 33\nLEFTSHIFT = 34\nRIGHTSHIFT = 35\nDOUBLESTAR = 36\nPLUSEQUAL = 37\nMINEQUAL = 38\nSTAREQUAL = 39\nSLASHEQUAL = 40\nPERCENTEQUAL = 41\nAMPEREQUAL = 42", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "LEFTSHIFT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "LEFTSHIFT = 34\nRIGHTSHIFT = 35\nDOUBLESTAR = 36\nPLUSEQUAL = 37\nMINEQUAL = 38\nSTAREQUAL = 39\nSLASHEQUAL = 40\nPERCENTEQUAL = 41\nAMPEREQUAL = 42\nVBAREQUAL = 43", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "RIGHTSHIFT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "RIGHTSHIFT = 35\nDOUBLESTAR = 36\nPLUSEQUAL = 37\nMINEQUAL = 38\nSTAREQUAL = 39\nSLASHEQUAL = 40\nPERCENTEQUAL = 41\nAMPEREQUAL = 42\nVBAREQUAL = 43\nCIRCUMFLEXEQUAL = 44", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "DOUBLESTAR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "DOUBLESTAR = 36\nPLUSEQUAL = 37\nMINEQUAL = 38\nSTAREQUAL = 39\nSLASHEQUAL = 40\nPERCENTEQUAL = 41\nAMPEREQUAL = 42\nVBAREQUAL = 43\nCIRCUMFLEXEQUAL = 44\nLEFTSHIFTEQUAL = 45", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "PLUSEQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "PLUSEQUAL = 37\nMINEQUAL = 38\nSTAREQUAL = 39\nSLASHEQUAL = 40\nPERCENTEQUAL = 41\nAMPEREQUAL = 42\nVBAREQUAL = 43\nCIRCUMFLEXEQUAL = 44\nLEFTSHIFTEQUAL = 45\nRIGHTSHIFTEQUAL = 46", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "MINEQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "MINEQUAL = 38\nSTAREQUAL = 39\nSLASHEQUAL = 40\nPERCENTEQUAL = 41\nAMPEREQUAL = 42\nVBAREQUAL = 43\nCIRCUMFLEXEQUAL = 44\nLEFTSHIFTEQUAL = 45\nRIGHTSHIFTEQUAL = 46\nDOUBLESTAREQUAL = 47", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "STAREQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "STAREQUAL = 39\nSLASHEQUAL = 40\nPERCENTEQUAL = 41\nAMPEREQUAL = 42\nVBAREQUAL = 43\nCIRCUMFLEXEQUAL = 44\nLEFTSHIFTEQUAL = 45\nRIGHTSHIFTEQUAL = 46\nDOUBLESTAREQUAL = 47\nDOUBLESLASH = 48", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "SLASHEQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "SLASHEQUAL = 40\nPERCENTEQUAL = 41\nAMPEREQUAL = 42\nVBAREQUAL = 43\nCIRCUMFLEXEQUAL = 44\nLEFTSHIFTEQUAL = 45\nRIGHTSHIFTEQUAL = 46\nDOUBLESTAREQUAL = 47\nDOUBLESLASH = 48\nDOUBLESLASHEQUAL = 49", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "PERCENTEQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "PERCENTEQUAL = 41\nAMPEREQUAL = 42\nVBAREQUAL = 43\nCIRCUMFLEXEQUAL = 44\nLEFTSHIFTEQUAL = 45\nRIGHTSHIFTEQUAL = 46\nDOUBLESTAREQUAL = 47\nDOUBLESLASH = 48\nDOUBLESLASHEQUAL = 49\nAT = 50", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "AMPEREQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "AMPEREQUAL = 42\nVBAREQUAL = 43\nCIRCUMFLEXEQUAL = 44\nLEFTSHIFTEQUAL = 45\nRIGHTSHIFTEQUAL = 46\nDOUBLESTAREQUAL = 47\nDOUBLESLASH = 48\nDOUBLESLASHEQUAL = 49\nAT = 50\nATEQUAL = 51", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "VBAREQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "VBAREQUAL = 43\nCIRCUMFLEXEQUAL = 44\nLEFTSHIFTEQUAL = 45\nRIGHTSHIFTEQUAL = 46\nDOUBLESTAREQUAL = 47\nDOUBLESLASH = 48\nDOUBLESLASHEQUAL = 49\nAT = 50\nATEQUAL = 51\nOP = 52", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "CIRCUMFLEXEQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "CIRCUMFLEXEQUAL = 44\nLEFTSHIFTEQUAL = 45\nRIGHTSHIFTEQUAL = 46\nDOUBLESTAREQUAL = 47\nDOUBLESLASH = 48\nDOUBLESLASHEQUAL = 49\nAT = 50\nATEQUAL = 51\nOP = 52\nCOMMENT = 53", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "LEFTSHIFTEQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "LEFTSHIFTEQUAL = 45\nRIGHTSHIFTEQUAL = 46\nDOUBLESTAREQUAL = 47\nDOUBLESLASH = 48\nDOUBLESLASHEQUAL = 49\nAT = 50\nATEQUAL = 51\nOP = 52\nCOMMENT = 53\nNL = 54", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "RIGHTSHIFTEQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "RIGHTSHIFTEQUAL = 46\nDOUBLESTAREQUAL = 47\nDOUBLESLASH = 48\nDOUBLESLASHEQUAL = 49\nAT = 50\nATEQUAL = 51\nOP = 52\nCOMMENT = 53\nNL = 54\nRARROW = 55", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "DOUBLESTAREQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "DOUBLESTAREQUAL = 47\nDOUBLESLASH = 48\nDOUBLESLASHEQUAL = 49\nAT = 50\nATEQUAL = 51\nOP = 52\nCOMMENT = 53\nNL = 54\nRARROW = 55\nAWAIT = 56", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "DOUBLESLASH", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "DOUBLESLASH = 48\nDOUBLESLASHEQUAL = 49\nAT = 50\nATEQUAL = 51\nOP = 52\nCOMMENT = 53\nNL = 54\nRARROW = 55\nAWAIT = 56\nASYNC = 57", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "DOUBLESLASHEQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "DOUBLESLASHEQUAL = 49\nAT = 50\nATEQUAL = 51\nOP = 52\nCOMMENT = 53\nNL = 54\nRARROW = 55\nAWAIT = 56\nASYNC = 57\nERRORTOKEN = 58", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "AT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "AT = 50\nATEQUAL = 51\nOP = 52\nCOMMENT = 53\nNL = 54\nRARROW = 55\nAWAIT = 56\nASYNC = 57\nERRORTOKEN = 58\nCOLONEQUAL = 59", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "ATEQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "ATEQUAL = 51\nOP = 52\nCOMMENT = 53\nNL = 54\nRARROW = 55\nAWAIT = 56\nASYNC = 57\nERRORTOKEN = 58\nCOLONEQUAL = 59\nN_TOKENS = 60", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "OP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "OP = 52\nCOMMENT = 53\nNL = 54\nRARROW = 55\nAWAIT = 56\nASYNC = 57\nERRORTOKEN = 58\nCOLONEQUAL = 59\nN_TOKENS = 60\nNT_OFFSET = 256", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "COMMENT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "COMMENT = 53\nNL = 54\nRARROW = 55\nAWAIT = 56\nASYNC = 57\nERRORTOKEN = 58\nCOLONEQUAL = 59\nN_TOKENS = 60\nNT_OFFSET = 256\n#--end constants--", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "NL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "NL = 54\nRARROW = 55\nAWAIT = 56\nASYNC = 57\nERRORTOKEN = 58\nCOLONEQUAL = 59\nN_TOKENS = 60\nNT_OFFSET = 256\n#--end constants--\ntok_name = {}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "RARROW", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "RARROW = 55\nAWAIT = 56\nASYNC = 57\nERRORTOKEN = 58\nCOLONEQUAL = 59\nN_TOKENS = 60\nNT_OFFSET = 256\n#--end constants--\ntok_name = {}\nfor _name, _value in list(globals().items()):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "AWAIT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "AWAIT = 56\nASYNC = 57\nERRORTOKEN = 58\nCOLONEQUAL = 59\nN_TOKENS = 60\nNT_OFFSET = 256\n#--end constants--\ntok_name = {}\nfor _name, _value in list(globals().items()):\n if type(_value) is type(0):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "ASYNC", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "ASYNC = 57\nERRORTOKEN = 58\nCOLONEQUAL = 59\nN_TOKENS = 60\nNT_OFFSET = 256\n#--end constants--\ntok_name = {}\nfor _name, _value in list(globals().items()):\n if type(_value) is type(0):\n tok_name[_value] = _name", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "ERRORTOKEN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "ERRORTOKEN = 58\nCOLONEQUAL = 59\nN_TOKENS = 60\nNT_OFFSET = 256\n#--end constants--\ntok_name = {}\nfor _name, _value in list(globals().items()):\n if type(_value) is type(0):\n tok_name[_value] = _name\ndef ISTERMINAL(x):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "COLONEQUAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "COLONEQUAL = 59\nN_TOKENS = 60\nNT_OFFSET = 256\n#--end constants--\ntok_name = {}\nfor _name, _value in list(globals().items()):\n if type(_value) is type(0):\n tok_name[_value] = _name\ndef ISTERMINAL(x):\n return x < NT_OFFSET", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "N_TOKENS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "N_TOKENS = 60\nNT_OFFSET = 256\n#--end constants--\ntok_name = {}\nfor _name, _value in list(globals().items()):\n if type(_value) is type(0):\n tok_name[_value] = _name\ndef ISTERMINAL(x):\n return x < NT_OFFSET\ndef ISNONTERMINAL(x):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "NT_OFFSET", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "NT_OFFSET = 256\n#--end constants--\ntok_name = {}\nfor _name, _value in list(globals().items()):\n if type(_value) is type(0):\n tok_name[_value] = _name\ndef ISTERMINAL(x):\n return x < NT_OFFSET\ndef ISNONTERMINAL(x):\n return x >= NT_OFFSET", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "tok_name", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "peekOfCode": "tok_name = {}\nfor _name, _value in list(globals().items()):\n if type(_value) is type(0):\n tok_name[_value] = _name\ndef ISTERMINAL(x):\n return x < NT_OFFSET\ndef ISNONTERMINAL(x):\n return x >= NT_OFFSET\ndef ISEOF(x):\n return x == ENDMARKER", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.token", "documentation": {} }, { "label": "TokenError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "class TokenError(Exception): pass\nclass StopTokenizing(Exception): pass\ndef printtoken(type, token, xxx_todo_changeme, xxx_todo_changeme1, line): # for testing\n (srow, scol) = xxx_todo_changeme\n (erow, ecol) = xxx_todo_changeme1\n print(\"%d,%d-%d,%d:\\t%s\\t%s\" % \\\n (srow, scol, erow, ecol, tok_name[type], repr(token)))\ndef tokenize(readline, tokeneater=printtoken):\n \"\"\"\n The tokenize() function accepts two parameters: one representing the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "StopTokenizing", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "class StopTokenizing(Exception): pass\ndef printtoken(type, token, xxx_todo_changeme, xxx_todo_changeme1, line): # for testing\n (srow, scol) = xxx_todo_changeme\n (erow, ecol) = xxx_todo_changeme1\n print(\"%d,%d-%d,%d:\\t%s\\t%s\" % \\\n (srow, scol, erow, ecol, tok_name[type], repr(token)))\ndef tokenize(readline, tokeneater=printtoken):\n \"\"\"\n The tokenize() function accepts two parameters: one representing the\n input stream, and one providing an output mechanism for tokenize().", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Untokenizer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "class Untokenizer:\n def __init__(self):\n self.tokens = []\n self.prev_row = 1\n self.prev_col = 0\n def add_whitespace(self, start):\n row, col = start\n assert row <= self.prev_row\n col_offset = col - self.prev_col\n if col_offset:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "group", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "def group(*choices): return '(' + '|'.join(choices) + ')'\ndef any(*choices): return group(*choices) + '*'\ndef maybe(*choices): return group(*choices) + '?'\ndef _combinations(*l):\n return set(\n x + y for x in l for y in l + (\"\",) if x.casefold() != y.casefold()\n )\nWhitespace = r'[ \\f\\t]*'\nComment = r'#[^\\r\\n]*'\nIgnore = Whitespace + any(r'\\\\\\r?\\n' + Whitespace) + maybe(Comment)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "any", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "def any(*choices): return group(*choices) + '*'\ndef maybe(*choices): return group(*choices) + '?'\ndef _combinations(*l):\n return set(\n x + y for x in l for y in l + (\"\",) if x.casefold() != y.casefold()\n )\nWhitespace = r'[ \\f\\t]*'\nComment = r'#[^\\r\\n]*'\nIgnore = Whitespace + any(r'\\\\\\r?\\n' + Whitespace) + maybe(Comment)\nName = r'\\w+'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "maybe", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "def maybe(*choices): return group(*choices) + '?'\ndef _combinations(*l):\n return set(\n x + y for x in l for y in l + (\"\",) if x.casefold() != y.casefold()\n )\nWhitespace = r'[ \\f\\t]*'\nComment = r'#[^\\r\\n]*'\nIgnore = Whitespace + any(r'\\\\\\r?\\n' + Whitespace) + maybe(Comment)\nName = r'\\w+'\nBinnumber = r'0[bB]_?[01]+(?:_[01]+)*'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "printtoken", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "def printtoken(type, token, xxx_todo_changeme, xxx_todo_changeme1, line): # for testing\n (srow, scol) = xxx_todo_changeme\n (erow, ecol) = xxx_todo_changeme1\n print(\"%d,%d-%d,%d:\\t%s\\t%s\" % \\\n (srow, scol, erow, ecol, tok_name[type], repr(token)))\ndef tokenize(readline, tokeneater=printtoken):\n \"\"\"\n The tokenize() function accepts two parameters: one representing the\n input stream, and one providing an output mechanism for tokenize().\n The first parameter, readline, must be a callable object which provides", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "tokenize", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "def tokenize(readline, tokeneater=printtoken):\n \"\"\"\n The tokenize() function accepts two parameters: one representing the\n input stream, and one providing an output mechanism for tokenize().\n The first parameter, readline, must be a callable object which provides\n the same interface as the readline() method of built-in file objects.\n Each call to the function should return one line of input as a string.\n The second parameter, tokeneater, must also be a callable object. It is\n called once for each token, with five arguments, corresponding to the\n tuples generated by generate_tokens().", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "tokenize_loop", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "def tokenize_loop(readline, tokeneater):\n for token_info in generate_tokens(readline):\n tokeneater(*token_info)\nclass Untokenizer:\n def __init__(self):\n self.tokens = []\n self.prev_row = 1\n self.prev_col = 0\n def add_whitespace(self, start):\n row, col = start", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "detect_encoding", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "def detect_encoding(readline):\n \"\"\"\n The detect_encoding() function is used to detect the encoding that should\n be used to decode a Python source file. It requires one argument, readline,\n in the same way as the tokenize() generator.\n It will call readline a maximum of twice, and return the encoding used\n (as a string) and a list of any lines (left as bytes) it has read\n in.\n It detects the encoding from the presence of a utf-8 bom or an encoding\n cookie as specified in pep-0263. If both a bom and a cookie are present, but", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "untokenize", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "def untokenize(iterable):\n \"\"\"Transform tokens back into Python source code.\n Each element returned by the iterable must be a token sequence\n with at least two elements, a token number and token value. If\n only two tokens are passed, the resulting output is poor.\n Round-trip invariant for full input:\n Untokenized source will match input source exactly\n Round-trip invariant for limited input:\n # Output text will tokenize the back to the input\n t1 = [tok[:2] for tok in generate_tokens(f.readline)]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "generate_tokens", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "def generate_tokens(readline):\n \"\"\"\n The generate_tokens() generator requires one argument, readline, which\n must be a callable object which provides the same interface as the\n readline() method of built-in file objects. Each call to the function\n should return one line of input as a string. Alternately, readline\n can be a callable function terminating with StopIteration:\n readline = open(myfile).next # Example of alternate readline\n The generator produces 5-tuples with these members: the token type; the\n token string; a 2-tuple (srow, scol) of ints specifying the row and", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "__author__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "__author__ = 'Ka-Ping Yee '\n__credits__ = \\\n 'GvR, ESR, Tim Peters, Thomas Wouters, Fred Drake, Skip Montanaro'\nimport string, re\nfrom codecs import BOM_UTF8, lookup\nfrom lib2to3.pgen2.token import *\nfrom . import token\n__all__ = [x for x in dir(token) if x[0] != '_'] + [\"tokenize\",\n \"generate_tokens\", \"untokenize\"]\ndel token", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "__credits__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "__credits__ = \\\n 'GvR, ESR, Tim Peters, Thomas Wouters, Fred Drake, Skip Montanaro'\nimport string, re\nfrom codecs import BOM_UTF8, lookup\nfrom lib2to3.pgen2.token import *\nfrom . import token\n__all__ = [x for x in dir(token) if x[0] != '_'] + [\"tokenize\",\n \"generate_tokens\", \"untokenize\"]\ndel token\ntry:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "__all__ = [x for x in dir(token) if x[0] != '_'] + [\"tokenize\",\n \"generate_tokens\", \"untokenize\"]\ndel token\ntry:\n bytes\nexcept NameError:\n # Support bytes type in Python <= 2.5, so 2to3 turns itself into\n # valid Python 3 code.\n bytes = str\ndef group(*choices): return '(' + '|'.join(choices) + ')'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Whitespace", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Whitespace = r'[ \\f\\t]*'\nComment = r'#[^\\r\\n]*'\nIgnore = Whitespace + any(r'\\\\\\r?\\n' + Whitespace) + maybe(Comment)\nName = r'\\w+'\nBinnumber = r'0[bB]_?[01]+(?:_[01]+)*'\nHexnumber = r'0[xX]_?[\\da-fA-F]+(?:_[\\da-fA-F]+)*[lL]?'\nOctnumber = r'0[oO]?_?[0-7]+(?:_[0-7]+)*[lL]?'\nDecnumber = group(r'[1-9]\\d*(?:_\\d+)*[lL]?', '0[lL]?')\nIntnumber = group(Binnumber, Hexnumber, Octnumber, Decnumber)\nExponent = r'[eE][-+]?\\d+(?:_\\d+)*'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Comment", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Comment = r'#[^\\r\\n]*'\nIgnore = Whitespace + any(r'\\\\\\r?\\n' + Whitespace) + maybe(Comment)\nName = r'\\w+'\nBinnumber = r'0[bB]_?[01]+(?:_[01]+)*'\nHexnumber = r'0[xX]_?[\\da-fA-F]+(?:_[\\da-fA-F]+)*[lL]?'\nOctnumber = r'0[oO]?_?[0-7]+(?:_[0-7]+)*[lL]?'\nDecnumber = group(r'[1-9]\\d*(?:_\\d+)*[lL]?', '0[lL]?')\nIntnumber = group(Binnumber, Hexnumber, Octnumber, Decnumber)\nExponent = r'[eE][-+]?\\d+(?:_\\d+)*'\nPointfloat = group(r'\\d+(?:_\\d+)*\\.(?:\\d+(?:_\\d+)*)?', r'\\.\\d+(?:_\\d+)*') + maybe(Exponent)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Ignore", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Ignore = Whitespace + any(r'\\\\\\r?\\n' + Whitespace) + maybe(Comment)\nName = r'\\w+'\nBinnumber = r'0[bB]_?[01]+(?:_[01]+)*'\nHexnumber = r'0[xX]_?[\\da-fA-F]+(?:_[\\da-fA-F]+)*[lL]?'\nOctnumber = r'0[oO]?_?[0-7]+(?:_[0-7]+)*[lL]?'\nDecnumber = group(r'[1-9]\\d*(?:_\\d+)*[lL]?', '0[lL]?')\nIntnumber = group(Binnumber, Hexnumber, Octnumber, Decnumber)\nExponent = r'[eE][-+]?\\d+(?:_\\d+)*'\nPointfloat = group(r'\\d+(?:_\\d+)*\\.(?:\\d+(?:_\\d+)*)?', r'\\.\\d+(?:_\\d+)*') + maybe(Exponent)\nExpfloat = r'\\d+(?:_\\d+)*' + Exponent", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Name", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Name = r'\\w+'\nBinnumber = r'0[bB]_?[01]+(?:_[01]+)*'\nHexnumber = r'0[xX]_?[\\da-fA-F]+(?:_[\\da-fA-F]+)*[lL]?'\nOctnumber = r'0[oO]?_?[0-7]+(?:_[0-7]+)*[lL]?'\nDecnumber = group(r'[1-9]\\d*(?:_\\d+)*[lL]?', '0[lL]?')\nIntnumber = group(Binnumber, Hexnumber, Octnumber, Decnumber)\nExponent = r'[eE][-+]?\\d+(?:_\\d+)*'\nPointfloat = group(r'\\d+(?:_\\d+)*\\.(?:\\d+(?:_\\d+)*)?', r'\\.\\d+(?:_\\d+)*') + maybe(Exponent)\nExpfloat = r'\\d+(?:_\\d+)*' + Exponent\nFloatnumber = group(Pointfloat, Expfloat)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Binnumber", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Binnumber = r'0[bB]_?[01]+(?:_[01]+)*'\nHexnumber = r'0[xX]_?[\\da-fA-F]+(?:_[\\da-fA-F]+)*[lL]?'\nOctnumber = r'0[oO]?_?[0-7]+(?:_[0-7]+)*[lL]?'\nDecnumber = group(r'[1-9]\\d*(?:_\\d+)*[lL]?', '0[lL]?')\nIntnumber = group(Binnumber, Hexnumber, Octnumber, Decnumber)\nExponent = r'[eE][-+]?\\d+(?:_\\d+)*'\nPointfloat = group(r'\\d+(?:_\\d+)*\\.(?:\\d+(?:_\\d+)*)?', r'\\.\\d+(?:_\\d+)*') + maybe(Exponent)\nExpfloat = r'\\d+(?:_\\d+)*' + Exponent\nFloatnumber = group(Pointfloat, Expfloat)\nImagnumber = group(r'\\d+(?:_\\d+)*[jJ]', Floatnumber + r'[jJ]')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Hexnumber", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Hexnumber = r'0[xX]_?[\\da-fA-F]+(?:_[\\da-fA-F]+)*[lL]?'\nOctnumber = r'0[oO]?_?[0-7]+(?:_[0-7]+)*[lL]?'\nDecnumber = group(r'[1-9]\\d*(?:_\\d+)*[lL]?', '0[lL]?')\nIntnumber = group(Binnumber, Hexnumber, Octnumber, Decnumber)\nExponent = r'[eE][-+]?\\d+(?:_\\d+)*'\nPointfloat = group(r'\\d+(?:_\\d+)*\\.(?:\\d+(?:_\\d+)*)?', r'\\.\\d+(?:_\\d+)*') + maybe(Exponent)\nExpfloat = r'\\d+(?:_\\d+)*' + Exponent\nFloatnumber = group(Pointfloat, Expfloat)\nImagnumber = group(r'\\d+(?:_\\d+)*[jJ]', Floatnumber + r'[jJ]')\nNumber = group(Imagnumber, Floatnumber, Intnumber)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Octnumber", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Octnumber = r'0[oO]?_?[0-7]+(?:_[0-7]+)*[lL]?'\nDecnumber = group(r'[1-9]\\d*(?:_\\d+)*[lL]?', '0[lL]?')\nIntnumber = group(Binnumber, Hexnumber, Octnumber, Decnumber)\nExponent = r'[eE][-+]?\\d+(?:_\\d+)*'\nPointfloat = group(r'\\d+(?:_\\d+)*\\.(?:\\d+(?:_\\d+)*)?', r'\\.\\d+(?:_\\d+)*') + maybe(Exponent)\nExpfloat = r'\\d+(?:_\\d+)*' + Exponent\nFloatnumber = group(Pointfloat, Expfloat)\nImagnumber = group(r'\\d+(?:_\\d+)*[jJ]', Floatnumber + r'[jJ]')\nNumber = group(Imagnumber, Floatnumber, Intnumber)\n# Tail end of ' string.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Decnumber", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Decnumber = group(r'[1-9]\\d*(?:_\\d+)*[lL]?', '0[lL]?')\nIntnumber = group(Binnumber, Hexnumber, Octnumber, Decnumber)\nExponent = r'[eE][-+]?\\d+(?:_\\d+)*'\nPointfloat = group(r'\\d+(?:_\\d+)*\\.(?:\\d+(?:_\\d+)*)?', r'\\.\\d+(?:_\\d+)*') + maybe(Exponent)\nExpfloat = r'\\d+(?:_\\d+)*' + Exponent\nFloatnumber = group(Pointfloat, Expfloat)\nImagnumber = group(r'\\d+(?:_\\d+)*[jJ]', Floatnumber + r'[jJ]')\nNumber = group(Imagnumber, Floatnumber, Intnumber)\n# Tail end of ' string.\nSingle = r\"[^'\\\\]*(?:\\\\.[^'\\\\]*)*'\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Intnumber", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Intnumber = group(Binnumber, Hexnumber, Octnumber, Decnumber)\nExponent = r'[eE][-+]?\\d+(?:_\\d+)*'\nPointfloat = group(r'\\d+(?:_\\d+)*\\.(?:\\d+(?:_\\d+)*)?', r'\\.\\d+(?:_\\d+)*') + maybe(Exponent)\nExpfloat = r'\\d+(?:_\\d+)*' + Exponent\nFloatnumber = group(Pointfloat, Expfloat)\nImagnumber = group(r'\\d+(?:_\\d+)*[jJ]', Floatnumber + r'[jJ]')\nNumber = group(Imagnumber, Floatnumber, Intnumber)\n# Tail end of ' string.\nSingle = r\"[^'\\\\]*(?:\\\\.[^'\\\\]*)*'\"\n# Tail end of \" string.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Exponent", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Exponent = r'[eE][-+]?\\d+(?:_\\d+)*'\nPointfloat = group(r'\\d+(?:_\\d+)*\\.(?:\\d+(?:_\\d+)*)?', r'\\.\\d+(?:_\\d+)*') + maybe(Exponent)\nExpfloat = r'\\d+(?:_\\d+)*' + Exponent\nFloatnumber = group(Pointfloat, Expfloat)\nImagnumber = group(r'\\d+(?:_\\d+)*[jJ]', Floatnumber + r'[jJ]')\nNumber = group(Imagnumber, Floatnumber, Intnumber)\n# Tail end of ' string.\nSingle = r\"[^'\\\\]*(?:\\\\.[^'\\\\]*)*'\"\n# Tail end of \" string.\nDouble = r'[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\"'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Pointfloat", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Pointfloat = group(r'\\d+(?:_\\d+)*\\.(?:\\d+(?:_\\d+)*)?', r'\\.\\d+(?:_\\d+)*') + maybe(Exponent)\nExpfloat = r'\\d+(?:_\\d+)*' + Exponent\nFloatnumber = group(Pointfloat, Expfloat)\nImagnumber = group(r'\\d+(?:_\\d+)*[jJ]', Floatnumber + r'[jJ]')\nNumber = group(Imagnumber, Floatnumber, Intnumber)\n# Tail end of ' string.\nSingle = r\"[^'\\\\]*(?:\\\\.[^'\\\\]*)*'\"\n# Tail end of \" string.\nDouble = r'[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\"'\n# Tail end of ''' string.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Expfloat", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Expfloat = r'\\d+(?:_\\d+)*' + Exponent\nFloatnumber = group(Pointfloat, Expfloat)\nImagnumber = group(r'\\d+(?:_\\d+)*[jJ]', Floatnumber + r'[jJ]')\nNumber = group(Imagnumber, Floatnumber, Intnumber)\n# Tail end of ' string.\nSingle = r\"[^'\\\\]*(?:\\\\.[^'\\\\]*)*'\"\n# Tail end of \" string.\nDouble = r'[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\"'\n# Tail end of ''' string.\nSingle3 = r\"[^'\\\\]*(?:(?:\\\\.|'(?!''))[^'\\\\]*)*'''\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Floatnumber", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Floatnumber = group(Pointfloat, Expfloat)\nImagnumber = group(r'\\d+(?:_\\d+)*[jJ]', Floatnumber + r'[jJ]')\nNumber = group(Imagnumber, Floatnumber, Intnumber)\n# Tail end of ' string.\nSingle = r\"[^'\\\\]*(?:\\\\.[^'\\\\]*)*'\"\n# Tail end of \" string.\nDouble = r'[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\"'\n# Tail end of ''' string.\nSingle3 = r\"[^'\\\\]*(?:(?:\\\\.|'(?!''))[^'\\\\]*)*'''\"\n# Tail end of \"\"\" string.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Imagnumber", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Imagnumber = group(r'\\d+(?:_\\d+)*[jJ]', Floatnumber + r'[jJ]')\nNumber = group(Imagnumber, Floatnumber, Intnumber)\n# Tail end of ' string.\nSingle = r\"[^'\\\\]*(?:\\\\.[^'\\\\]*)*'\"\n# Tail end of \" string.\nDouble = r'[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\"'\n# Tail end of ''' string.\nSingle3 = r\"[^'\\\\]*(?:(?:\\\\.|'(?!''))[^'\\\\]*)*'''\"\n# Tail end of \"\"\" string.\nDouble3 = r'[^\"\\\\]*(?:(?:\\\\.|\"(?!\"\"))[^\"\\\\]*)*\"\"\"'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Number", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Number = group(Imagnumber, Floatnumber, Intnumber)\n# Tail end of ' string.\nSingle = r\"[^'\\\\]*(?:\\\\.[^'\\\\]*)*'\"\n# Tail end of \" string.\nDouble = r'[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\"'\n# Tail end of ''' string.\nSingle3 = r\"[^'\\\\]*(?:(?:\\\\.|'(?!''))[^'\\\\]*)*'''\"\n# Tail end of \"\"\" string.\nDouble3 = r'[^\"\\\\]*(?:(?:\\\\.|\"(?!\"\"))[^\"\\\\]*)*\"\"\"'\n_litprefix = r\"(?:[uUrRbBfF]|[rR][fFbB]|[fFbBuU][rR])?\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Single", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Single = r\"[^'\\\\]*(?:\\\\.[^'\\\\]*)*'\"\n# Tail end of \" string.\nDouble = r'[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\"'\n# Tail end of ''' string.\nSingle3 = r\"[^'\\\\]*(?:(?:\\\\.|'(?!''))[^'\\\\]*)*'''\"\n# Tail end of \"\"\" string.\nDouble3 = r'[^\"\\\\]*(?:(?:\\\\.|\"(?!\"\"))[^\"\\\\]*)*\"\"\"'\n_litprefix = r\"(?:[uUrRbBfF]|[rR][fFbB]|[fFbBuU][rR])?\"\nTriple = group(_litprefix + \"'''\", _litprefix + '\"\"\"')\n# Single-line ' or \" string.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Double", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Double = r'[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\"'\n# Tail end of ''' string.\nSingle3 = r\"[^'\\\\]*(?:(?:\\\\.|'(?!''))[^'\\\\]*)*'''\"\n# Tail end of \"\"\" string.\nDouble3 = r'[^\"\\\\]*(?:(?:\\\\.|\"(?!\"\"))[^\"\\\\]*)*\"\"\"'\n_litprefix = r\"(?:[uUrRbBfF]|[rR][fFbB]|[fFbBuU][rR])?\"\nTriple = group(_litprefix + \"'''\", _litprefix + '\"\"\"')\n# Single-line ' or \" string.\nString = group(_litprefix + r\"'[^\\n'\\\\]*(?:\\\\.[^\\n'\\\\]*)*'\",\n _litprefix + r'\"[^\\n\"\\\\]*(?:\\\\.[^\\n\"\\\\]*)*\"')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Single3", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Single3 = r\"[^'\\\\]*(?:(?:\\\\.|'(?!''))[^'\\\\]*)*'''\"\n# Tail end of \"\"\" string.\nDouble3 = r'[^\"\\\\]*(?:(?:\\\\.|\"(?!\"\"))[^\"\\\\]*)*\"\"\"'\n_litprefix = r\"(?:[uUrRbBfF]|[rR][fFbB]|[fFbBuU][rR])?\"\nTriple = group(_litprefix + \"'''\", _litprefix + '\"\"\"')\n# Single-line ' or \" string.\nString = group(_litprefix + r\"'[^\\n'\\\\]*(?:\\\\.[^\\n'\\\\]*)*'\",\n _litprefix + r'\"[^\\n\"\\\\]*(?:\\\\.[^\\n\"\\\\]*)*\"')\n# Because of leftmost-then-longest match semantics, be sure to put the\n# longest operators first (e.g., if = came before ==, == would get", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Double3", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Double3 = r'[^\"\\\\]*(?:(?:\\\\.|\"(?!\"\"))[^\"\\\\]*)*\"\"\"'\n_litprefix = r\"(?:[uUrRbBfF]|[rR][fFbB]|[fFbBuU][rR])?\"\nTriple = group(_litprefix + \"'''\", _litprefix + '\"\"\"')\n# Single-line ' or \" string.\nString = group(_litprefix + r\"'[^\\n'\\\\]*(?:\\\\.[^\\n'\\\\]*)*'\",\n _litprefix + r'\"[^\\n\"\\\\]*(?:\\\\.[^\\n\"\\\\]*)*\"')\n# Because of leftmost-then-longest match semantics, be sure to put the\n# longest operators first (e.g., if = came before ==, == would get\n# recognized as two instances of =).\nOperator = group(r\"\\*\\*=?\", r\">>=?\", r\"<<=?\", r\"<>\", r\"!=\",", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "_litprefix", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "_litprefix = r\"(?:[uUrRbBfF]|[rR][fFbB]|[fFbBuU][rR])?\"\nTriple = group(_litprefix + \"'''\", _litprefix + '\"\"\"')\n# Single-line ' or \" string.\nString = group(_litprefix + r\"'[^\\n'\\\\]*(?:\\\\.[^\\n'\\\\]*)*'\",\n _litprefix + r'\"[^\\n\"\\\\]*(?:\\\\.[^\\n\"\\\\]*)*\"')\n# Because of leftmost-then-longest match semantics, be sure to put the\n# longest operators first (e.g., if = came before ==, == would get\n# recognized as two instances of =).\nOperator = group(r\"\\*\\*=?\", r\">>=?\", r\"<<=?\", r\"<>\", r\"!=\",\n r\"//=?\", r\"->\",", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Triple", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Triple = group(_litprefix + \"'''\", _litprefix + '\"\"\"')\n# Single-line ' or \" string.\nString = group(_litprefix + r\"'[^\\n'\\\\]*(?:\\\\.[^\\n'\\\\]*)*'\",\n _litprefix + r'\"[^\\n\"\\\\]*(?:\\\\.[^\\n\"\\\\]*)*\"')\n# Because of leftmost-then-longest match semantics, be sure to put the\n# longest operators first (e.g., if = came before ==, == would get\n# recognized as two instances of =).\nOperator = group(r\"\\*\\*=?\", r\">>=?\", r\"<<=?\", r\"<>\", r\"!=\",\n r\"//=?\", r\"->\",\n r\"[+\\-*/%&@|^=<>]=?\",", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "String", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "String = group(_litprefix + r\"'[^\\n'\\\\]*(?:\\\\.[^\\n'\\\\]*)*'\",\n _litprefix + r'\"[^\\n\"\\\\]*(?:\\\\.[^\\n\"\\\\]*)*\"')\n# Because of leftmost-then-longest match semantics, be sure to put the\n# longest operators first (e.g., if = came before ==, == would get\n# recognized as two instances of =).\nOperator = group(r\"\\*\\*=?\", r\">>=?\", r\"<<=?\", r\"<>\", r\"!=\",\n r\"//=?\", r\"->\",\n r\"[+\\-*/%&@|^=<>]=?\",\n r\"~\")\nBracket = '[][(){}]'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Operator", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Operator = group(r\"\\*\\*=?\", r\">>=?\", r\"<<=?\", r\"<>\", r\"!=\",\n r\"//=?\", r\"->\",\n r\"[+\\-*/%&@|^=<>]=?\",\n r\"~\")\nBracket = '[][(){}]'\nSpecial = group(r'\\r?\\n', r':=', r'[:;.,`@]')\nFunny = group(Operator, Bracket, Special)\nPlainToken = group(Number, Funny, String, Name)\nToken = Ignore + PlainToken\n# First (or only) line of ' or \" string.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Bracket", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Bracket = '[][(){}]'\nSpecial = group(r'\\r?\\n', r':=', r'[:;.,`@]')\nFunny = group(Operator, Bracket, Special)\nPlainToken = group(Number, Funny, String, Name)\nToken = Ignore + PlainToken\n# First (or only) line of ' or \" string.\nContStr = group(_litprefix + r\"'[^\\n'\\\\]*(?:\\\\.[^\\n'\\\\]*)*\" +\n group(\"'\", r'\\\\\\r?\\n'),\n _litprefix + r'\"[^\\n\"\\\\]*(?:\\\\.[^\\n\"\\\\]*)*' +\n group('\"', r'\\\\\\r?\\n'))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Special", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Special = group(r'\\r?\\n', r':=', r'[:;.,`@]')\nFunny = group(Operator, Bracket, Special)\nPlainToken = group(Number, Funny, String, Name)\nToken = Ignore + PlainToken\n# First (or only) line of ' or \" string.\nContStr = group(_litprefix + r\"'[^\\n'\\\\]*(?:\\\\.[^\\n'\\\\]*)*\" +\n group(\"'\", r'\\\\\\r?\\n'),\n _litprefix + r'\"[^\\n\"\\\\]*(?:\\\\.[^\\n\"\\\\]*)*' +\n group('\"', r'\\\\\\r?\\n'))\nPseudoExtras = group(r'\\\\\\r?\\n', Comment, Triple)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Funny", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Funny = group(Operator, Bracket, Special)\nPlainToken = group(Number, Funny, String, Name)\nToken = Ignore + PlainToken\n# First (or only) line of ' or \" string.\nContStr = group(_litprefix + r\"'[^\\n'\\\\]*(?:\\\\.[^\\n'\\\\]*)*\" +\n group(\"'\", r'\\\\\\r?\\n'),\n _litprefix + r'\"[^\\n\"\\\\]*(?:\\\\.[^\\n\"\\\\]*)*' +\n group('\"', r'\\\\\\r?\\n'))\nPseudoExtras = group(r'\\\\\\r?\\n', Comment, Triple)\nPseudoToken = Whitespace + group(PseudoExtras, Number, Funny, ContStr, Name)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "PlainToken", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "PlainToken = group(Number, Funny, String, Name)\nToken = Ignore + PlainToken\n# First (or only) line of ' or \" string.\nContStr = group(_litprefix + r\"'[^\\n'\\\\]*(?:\\\\.[^\\n'\\\\]*)*\" +\n group(\"'\", r'\\\\\\r?\\n'),\n _litprefix + r'\"[^\\n\"\\\\]*(?:\\\\.[^\\n\"\\\\]*)*' +\n group('\"', r'\\\\\\r?\\n'))\nPseudoExtras = group(r'\\\\\\r?\\n', Comment, Triple)\nPseudoToken = Whitespace + group(PseudoExtras, Number, Funny, ContStr, Name)\ntokenprog, pseudoprog, single3prog, double3prog = map(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "Token", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "Token = Ignore + PlainToken\n# First (or only) line of ' or \" string.\nContStr = group(_litprefix + r\"'[^\\n'\\\\]*(?:\\\\.[^\\n'\\\\]*)*\" +\n group(\"'\", r'\\\\\\r?\\n'),\n _litprefix + r'\"[^\\n\"\\\\]*(?:\\\\.[^\\n\"\\\\]*)*' +\n group('\"', r'\\\\\\r?\\n'))\nPseudoExtras = group(r'\\\\\\r?\\n', Comment, Triple)\nPseudoToken = Whitespace + group(PseudoExtras, Number, Funny, ContStr, Name)\ntokenprog, pseudoprog, single3prog, double3prog = map(\n re.compile, (Token, PseudoToken, Single3, Double3))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "ContStr", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "ContStr = group(_litprefix + r\"'[^\\n'\\\\]*(?:\\\\.[^\\n'\\\\]*)*\" +\n group(\"'\", r'\\\\\\r?\\n'),\n _litprefix + r'\"[^\\n\"\\\\]*(?:\\\\.[^\\n\"\\\\]*)*' +\n group('\"', r'\\\\\\r?\\n'))\nPseudoExtras = group(r'\\\\\\r?\\n', Comment, Triple)\nPseudoToken = Whitespace + group(PseudoExtras, Number, Funny, ContStr, Name)\ntokenprog, pseudoprog, single3prog, double3prog = map(\n re.compile, (Token, PseudoToken, Single3, Double3))\n_strprefixes = (\n _combinations('r', 'R', 'f', 'F') |", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "PseudoExtras", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "PseudoExtras = group(r'\\\\\\r?\\n', Comment, Triple)\nPseudoToken = Whitespace + group(PseudoExtras, Number, Funny, ContStr, Name)\ntokenprog, pseudoprog, single3prog, double3prog = map(\n re.compile, (Token, PseudoToken, Single3, Double3))\n_strprefixes = (\n _combinations('r', 'R', 'f', 'F') |\n _combinations('r', 'R', 'b', 'B') |\n {'u', 'U', 'ur', 'uR', 'Ur', 'UR'}\n)\nendprogs = {\"'\": re.compile(Single), '\"': re.compile(Double),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "PseudoToken", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "PseudoToken = Whitespace + group(PseudoExtras, Number, Funny, ContStr, Name)\ntokenprog, pseudoprog, single3prog, double3prog = map(\n re.compile, (Token, PseudoToken, Single3, Double3))\n_strprefixes = (\n _combinations('r', 'R', 'f', 'F') |\n _combinations('r', 'R', 'b', 'B') |\n {'u', 'U', 'ur', 'uR', 'Ur', 'UR'}\n)\nendprogs = {\"'\": re.compile(Single), '\"': re.compile(Double),\n \"'''\": single3prog, '\"\"\"': double3prog,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "_strprefixes", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "_strprefixes = (\n _combinations('r', 'R', 'f', 'F') |\n _combinations('r', 'R', 'b', 'B') |\n {'u', 'U', 'ur', 'uR', 'Ur', 'UR'}\n)\nendprogs = {\"'\": re.compile(Single), '\"': re.compile(Double),\n \"'''\": single3prog, '\"\"\"': double3prog,\n **{f\"{prefix}'''\": single3prog for prefix in _strprefixes},\n **{f'{prefix}\"\"\"': double3prog for prefix in _strprefixes},\n **{prefix: None for prefix in _strprefixes}}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "endprogs", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "endprogs = {\"'\": re.compile(Single), '\"': re.compile(Double),\n \"'''\": single3prog, '\"\"\"': double3prog,\n **{f\"{prefix}'''\": single3prog for prefix in _strprefixes},\n **{f'{prefix}\"\"\"': double3prog for prefix in _strprefixes},\n **{prefix: None for prefix in _strprefixes}}\ntriple_quoted = (\n {\"'''\", '\"\"\"'} |\n {f\"{prefix}'''\" for prefix in _strprefixes} |\n {f'{prefix}\"\"\"' for prefix in _strprefixes}\n)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "triple_quoted", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "triple_quoted = (\n {\"'''\", '\"\"\"'} |\n {f\"{prefix}'''\" for prefix in _strprefixes} |\n {f'{prefix}\"\"\"' for prefix in _strprefixes}\n)\nsingle_quoted = (\n {\"'\", '\"'} |\n {f\"{prefix}'\" for prefix in _strprefixes} |\n {f'{prefix}\"' for prefix in _strprefixes}\n)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "single_quoted", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "single_quoted = (\n {\"'\", '\"'} |\n {f\"{prefix}'\" for prefix in _strprefixes} |\n {f'{prefix}\"' for prefix in _strprefixes}\n)\ntabsize = 8\nclass TokenError(Exception): pass\nclass StopTokenizing(Exception): pass\ndef printtoken(type, token, xxx_todo_changeme, xxx_todo_changeme1, line): # for testing\n (srow, scol) = xxx_todo_changeme", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "tabsize", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "tabsize = 8\nclass TokenError(Exception): pass\nclass StopTokenizing(Exception): pass\ndef printtoken(type, token, xxx_todo_changeme, xxx_todo_changeme1, line): # for testing\n (srow, scol) = xxx_todo_changeme\n (erow, ecol) = xxx_todo_changeme1\n print(\"%d,%d-%d,%d:\\t%s\\t%s\" % \\\n (srow, scol, erow, ecol, tok_name[type], repr(token)))\ndef tokenize(readline, tokeneater=printtoken):\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "cookie_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "cookie_re = re.compile(r'^[ \\t\\f]*#.*?coding[:=][ \\t]*([-\\w.]+)', re.ASCII)\nblank_re = re.compile(br'^[ \\t\\f]*(?:[#\\r\\n]|$)', re.ASCII)\ndef _get_normal_name(orig_enc):\n \"\"\"Imitates get_normal_name in tokenizer.c.\"\"\"\n # Only care about the first 12 characters.\n enc = orig_enc[:12].lower().replace(\"_\", \"-\")\n if enc == \"utf-8\" or enc.startswith(\"utf-8-\"):\n return \"utf-8\"\n if enc in (\"latin-1\", \"iso-8859-1\", \"iso-latin-1\") or \\\n enc.startswith((\"latin-1-\", \"iso-8859-1-\", \"iso-latin-1-\")):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "blank_re", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "peekOfCode": "blank_re = re.compile(br'^[ \\t\\f]*(?:[#\\r\\n]|$)', re.ASCII)\ndef _get_normal_name(orig_enc):\n \"\"\"Imitates get_normal_name in tokenizer.c.\"\"\"\n # Only care about the first 12 characters.\n enc = orig_enc[:12].lower().replace(\"_\", \"-\")\n if enc == \"utf-8\" or enc.startswith(\"utf-8-\"):\n return \"utf-8\"\n if enc in (\"latin-1\", \"iso-8859-1\", \"iso-latin-1\") or \\\n enc.startswith((\"latin-1-\", \"iso-8859-1-\", \"iso-latin-1-\")):\n return \"iso-8859-1\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pgen2.tokenize", "documentation": {} }, { "label": "FixExplicit", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.myfixes.fix_explicit", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.myfixes.fix_explicit", "peekOfCode": "class FixExplicit(BaseFix):\n explicit = True\n def match(self): return False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.myfixes.fix_explicit", "documentation": {} }, { "label": "FixFirst", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.myfixes.fix_first", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.myfixes.fix_first", "peekOfCode": "class FixFirst(BaseFix):\n run_order = 1\n def match(self, node): return False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.myfixes.fix_first", "documentation": {} }, { "label": "FixLast", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.myfixes.fix_last", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.myfixes.fix_last", "peekOfCode": "class FixLast(BaseFix):\n run_order = 10\n def match(self, node): return False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.myfixes.fix_last", "documentation": {} }, { "label": "FixParrot", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.myfixes.fix_parrot", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.myfixes.fix_parrot", "peekOfCode": "class FixParrot(BaseFix):\n \"\"\"\n Change functions named 'parrot' to 'cheese'.\n \"\"\"\n PATTERN = \"\"\"funcdef < 'def' name='parrot' any* >\"\"\"\n def transform(self, node, results):\n name = results[\"name\"]\n name.replace(Name(\"cheese\", name.prefix))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.myfixes.fix_parrot", "documentation": {} }, { "label": "FixPreorder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.myfixes.fix_preorder", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.myfixes.fix_preorder", "peekOfCode": "class FixPreorder(BaseFix):\n order = \"pre\"\n def match(self, node): return False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.myfixes.fix_preorder", "documentation": {} }, { "label": "FixBadOrder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.bad_order", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.bad_order", "peekOfCode": "class FixBadOrder(BaseFix):\n order = \"crazy\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.bad_order", "documentation": {} }, { "label": "parrot", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.parrot_example", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.parrot_example", "peekOfCode": "def parrot():\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.fixers.parrot_example", "documentation": {} }, { "label": "f", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.different_encoding", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.different_encoding", "peekOfCode": "def f(x):\n print '%s\\t-> α(%2i):%s β(%s)'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.different_encoding", "documentation": {} }, { "label": "__mbstate_t", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class __mbstate_t(Union):\n pass\n__mbstate_t._pack_ = 4\n__mbstate_t._fields_ = [\n ('__mbstate8', c_char * 128),\n ('_mbstateL', c_longlong),\n]\nassert sizeof(__mbstate_t) == 128, sizeof(__mbstate_t)\nassert alignment(__mbstate_t) == 4, alignment(__mbstate_t)\n__darwin_mbstate_t = __mbstate_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sigcontext", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class sigcontext(Structure):\n pass\nsigcontext._fields_ = [\n ('sc_onstack', c_int),\n ('sc_mask', c_int),\n ('sc_eax', c_uint),\n ('sc_ebx', c_uint),\n ('sc_ecx', c_uint),\n ('sc_edx', c_uint),\n ('sc_edi', c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "aes_key_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class aes_key_st(Structure):\n pass\naes_key_st._fields_ = [\n ('rd_key', c_ulong * 60),\n ('rounds', c_int),\n]\nassert sizeof(aes_key_st) == 244, sizeof(aes_key_st)\nassert alignment(aes_key_st) == 4, alignment(aes_key_st)\nAES_KEY = aes_key_st\nclass asn1_ctx_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "asn1_ctx_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class asn1_ctx_st(Structure):\n pass\nasn1_ctx_st._fields_ = [\n ('p', POINTER(c_ubyte)),\n ('eos', c_int),\n ('error', c_int),\n ('inf', c_int),\n ('tag', c_int),\n ('xclass', c_int),\n ('slen', c_long),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "asn1_object_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class asn1_object_st(Structure):\n pass\nasn1_object_st._fields_ = [\n ('sn', STRING),\n ('ln', STRING),\n ('nid', c_int),\n ('length', c_int),\n ('data', POINTER(c_ubyte)),\n ('flags', c_int),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "asn1_string_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class asn1_string_st(Structure):\n pass\nasn1_string_st._fields_ = [\n ('length', c_int),\n ('type', c_int),\n ('data', POINTER(c_ubyte)),\n ('flags', c_long),\n]\nassert sizeof(asn1_string_st) == 16, sizeof(asn1_string_st)\nassert alignment(asn1_string_st) == 4, alignment(asn1_string_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_ENCODING_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ASN1_ENCODING_st(Structure):\n pass\nASN1_ENCODING_st._fields_ = [\n ('enc', POINTER(c_ubyte)),\n ('len', c_long),\n ('modified', c_int),\n]\nassert sizeof(ASN1_ENCODING_st) == 12, sizeof(ASN1_ENCODING_st)\nassert alignment(ASN1_ENCODING_st) == 4, alignment(ASN1_ENCODING_st)\nASN1_ENCODING = ASN1_ENCODING_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "asn1_string_table_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class asn1_string_table_st(Structure):\n pass\nasn1_string_table_st._fields_ = [\n ('nid', c_int),\n ('minsize', c_long),\n ('maxsize', c_long),\n ('mask', c_ulong),\n ('flags', c_ulong),\n]\nassert sizeof(asn1_string_table_st) == 20, sizeof(asn1_string_table_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_TEMPLATE_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ASN1_TEMPLATE_st(Structure):\n pass\nASN1_TEMPLATE_st._fields_ = [\n]\nASN1_TEMPLATE = ASN1_TEMPLATE_st\nclass ASN1_ITEM_st(Structure):\n pass\nASN1_ITEM = ASN1_ITEM_st\nASN1_ITEM_st._fields_ = [\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_ITEM_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ASN1_ITEM_st(Structure):\n pass\nASN1_ITEM = ASN1_ITEM_st\nASN1_ITEM_st._fields_ = [\n]\nclass ASN1_TLC_st(Structure):\n pass\nASN1_TLC = ASN1_TLC_st\nASN1_TLC_st._fields_ = [\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_TLC_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ASN1_TLC_st(Structure):\n pass\nASN1_TLC = ASN1_TLC_st\nASN1_TLC_st._fields_ = [\n]\nclass ASN1_VALUE_st(Structure):\n pass\nASN1_VALUE_st._fields_ = [\n]\nASN1_VALUE = ASN1_VALUE_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_VALUE_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ASN1_VALUE_st(Structure):\n pass\nASN1_VALUE_st._fields_ = [\n]\nASN1_VALUE = ASN1_VALUE_st\nASN1_ITEM_EXP = ASN1_ITEM\nclass asn1_type_st(Structure):\n pass\nclass N12asn1_type_st4DOLLAR_11E(Union):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "asn1_type_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class asn1_type_st(Structure):\n pass\nclass N12asn1_type_st4DOLLAR_11E(Union):\n pass\nASN1_BOOLEAN = c_int\nASN1_INTEGER = asn1_string_st\nASN1_ENUMERATED = asn1_string_st\nASN1_BIT_STRING = asn1_string_st\nASN1_OCTET_STRING = asn1_string_st\nASN1_PRINTABLESTRING = asn1_string_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N12asn1_type_st4DOLLAR_11E", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class N12asn1_type_st4DOLLAR_11E(Union):\n pass\nASN1_BOOLEAN = c_int\nASN1_INTEGER = asn1_string_st\nASN1_ENUMERATED = asn1_string_st\nASN1_BIT_STRING = asn1_string_st\nASN1_OCTET_STRING = asn1_string_st\nASN1_PRINTABLESTRING = asn1_string_st\nASN1_T61STRING = asn1_string_st\nASN1_IA5STRING = asn1_string_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "asn1_method_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class asn1_method_st(Structure):\n pass\nasn1_method_st._fields_ = [\n ('i2d', CFUNCTYPE(c_int)),\n ('d2i', CFUNCTYPE(STRING)),\n ('create', CFUNCTYPE(STRING)),\n ('destroy', CFUNCTYPE(None)),\n]\nassert sizeof(asn1_method_st) == 16, sizeof(asn1_method_st)\nassert alignment(asn1_method_st) == 4, alignment(asn1_method_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "asn1_header_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class asn1_header_st(Structure):\n pass\nasn1_header_st._fields_ = [\n ('header', POINTER(ASN1_OCTET_STRING)),\n ('data', STRING),\n ('meth', POINTER(ASN1_METHOD)),\n]\nassert sizeof(asn1_header_st) == 12, sizeof(asn1_header_st)\nassert alignment(asn1_header_st) == 4, alignment(asn1_header_st)\nASN1_HEADER = asn1_header_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "BIT_STRING_BITNAME_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class BIT_STRING_BITNAME_st(Structure):\n pass\nBIT_STRING_BITNAME_st._fields_ = [\n ('bitnum', c_int),\n ('lname', STRING),\n ('sname', STRING),\n]\nassert sizeof(BIT_STRING_BITNAME_st) == 12, sizeof(BIT_STRING_BITNAME_st)\nassert alignment(BIT_STRING_BITNAME_st) == 4, alignment(BIT_STRING_BITNAME_st)\nBIT_STRING_BITNAME = BIT_STRING_BITNAME_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bio_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class bio_st(Structure):\n pass\nBIO = bio_st\nbio_info_cb = CFUNCTYPE(None, POINTER(bio_st), c_int, STRING, c_int, c_long, c_long)\nclass bio_method_st(Structure):\n pass\nbio_method_st._fields_ = [\n ('type', c_int),\n ('name', STRING),\n ('bwrite', CFUNCTYPE(c_int, POINTER(BIO), STRING, c_int)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bio_method_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class bio_method_st(Structure):\n pass\nbio_method_st._fields_ = [\n ('type', c_int),\n ('name', STRING),\n ('bwrite', CFUNCTYPE(c_int, POINTER(BIO), STRING, c_int)),\n ('bread', CFUNCTYPE(c_int, POINTER(BIO), STRING, c_int)),\n ('bputs', CFUNCTYPE(c_int, POINTER(BIO), STRING)),\n ('bgets', CFUNCTYPE(c_int, POINTER(BIO), STRING, c_int)),\n ('ctrl', CFUNCTYPE(c_long, POINTER(BIO), c_int, c_long, c_void_p)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "crypto_ex_data_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class crypto_ex_data_st(Structure):\n pass\nclass stack_st(Structure):\n pass\nSTACK = stack_st\ncrypto_ex_data_st._fields_ = [\n ('sk', POINTER(STACK)),\n ('dummy', c_int),\n]\nassert sizeof(crypto_ex_data_st) == 8, sizeof(crypto_ex_data_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "stack_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class stack_st(Structure):\n pass\nSTACK = stack_st\ncrypto_ex_data_st._fields_ = [\n ('sk', POINTER(STACK)),\n ('dummy', c_int),\n]\nassert sizeof(crypto_ex_data_st) == 8, sizeof(crypto_ex_data_st)\nassert alignment(crypto_ex_data_st) == 4, alignment(crypto_ex_data_st)\nCRYPTO_EX_DATA = crypto_ex_data_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bio_f_buffer_ctx_struct", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class bio_f_buffer_ctx_struct(Structure):\n pass\nbio_f_buffer_ctx_struct._fields_ = [\n ('ibuf_size', c_int),\n ('obuf_size', c_int),\n ('ibuf', STRING),\n ('ibuf_len', c_int),\n ('ibuf_off', c_int),\n ('obuf', STRING),\n ('obuf_len', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "hostent", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class hostent(Structure):\n pass\nhostent._fields_ = [\n]\nclass bf_key_st(Structure):\n pass\nbf_key_st._fields_ = [\n ('P', c_uint * 18),\n ('S', c_uint * 1024),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bf_key_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class bf_key_st(Structure):\n pass\nbf_key_st._fields_ = [\n ('P', c_uint * 18),\n ('S', c_uint * 1024),\n]\nassert sizeof(bf_key_st) == 4168, sizeof(bf_key_st)\nassert alignment(bf_key_st) == 4, alignment(bf_key_st)\nBF_KEY = bf_key_st\nclass bignum_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bignum_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class bignum_st(Structure):\n pass\nbignum_st._fields_ = [\n ('d', POINTER(c_ulong)),\n ('top', c_int),\n ('dmax', c_int),\n ('neg', c_int),\n ('flags', c_int),\n]\nassert sizeof(bignum_st) == 20, sizeof(bignum_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bignum_ctx", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class bignum_ctx(Structure):\n pass\nbignum_ctx._fields_ = [\n]\nBN_CTX = bignum_ctx\nclass bn_blinding_st(Structure):\n pass\nbn_blinding_st._fields_ = [\n ('init', c_int),\n ('A', POINTER(BIGNUM)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bn_blinding_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class bn_blinding_st(Structure):\n pass\nbn_blinding_st._fields_ = [\n ('init', c_int),\n ('A', POINTER(BIGNUM)),\n ('Ai', POINTER(BIGNUM)),\n ('mod', POINTER(BIGNUM)),\n ('thread_id', c_ulong),\n]\nassert sizeof(bn_blinding_st) == 20, sizeof(bn_blinding_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bn_mont_ctx_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class bn_mont_ctx_st(Structure):\n pass\nbn_mont_ctx_st._fields_ = [\n ('ri', c_int),\n ('RR', BIGNUM),\n ('N', BIGNUM),\n ('Ni', BIGNUM),\n ('n0', c_ulong),\n ('flags', c_int),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bn_recp_ctx_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class bn_recp_ctx_st(Structure):\n pass\nbn_recp_ctx_st._fields_ = [\n ('N', BIGNUM),\n ('Nr', BIGNUM),\n ('num_bits', c_int),\n ('shift', c_int),\n ('flags', c_int),\n]\nassert sizeof(bn_recp_ctx_st) == 52, sizeof(bn_recp_ctx_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "buf_mem_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class buf_mem_st(Structure):\n pass\nbuf_mem_st._fields_ = [\n ('length', c_int),\n ('data', STRING),\n ('max', c_int),\n]\nassert sizeof(buf_mem_st) == 12, sizeof(buf_mem_st)\nassert alignment(buf_mem_st) == 4, alignment(buf_mem_st)\nBUF_MEM = buf_mem_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "cast_key_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class cast_key_st(Structure):\n pass\ncast_key_st._fields_ = [\n ('data', c_ulong * 32),\n ('short_key', c_int),\n]\nassert sizeof(cast_key_st) == 132, sizeof(cast_key_st)\nassert alignment(cast_key_st) == 4, alignment(cast_key_st)\nCAST_KEY = cast_key_st\nclass comp_method_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "comp_method_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class comp_method_st(Structure):\n pass\ncomp_method_st._fields_ = [\n ('type', c_int),\n ('name', STRING),\n ('init', CFUNCTYPE(c_int)),\n ('finish', CFUNCTYPE(None)),\n ('compress', CFUNCTYPE(c_int)),\n ('expand', CFUNCTYPE(c_int)),\n ('ctrl', CFUNCTYPE(c_long)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "comp_ctx_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class comp_ctx_st(Structure):\n pass\ncomp_ctx_st._fields_ = [\n ('meth', POINTER(COMP_METHOD)),\n ('compress_in', c_ulong),\n ('compress_out', c_ulong),\n ('expand_in', c_ulong),\n ('expand_out', c_ulong),\n ('ex_data', CRYPTO_EX_DATA),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "CRYPTO_dynlock_value", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class CRYPTO_dynlock_value(Structure):\n pass\nCRYPTO_dynlock_value._fields_ = [\n]\nclass CRYPTO_dynlock(Structure):\n pass\nCRYPTO_dynlock._fields_ = [\n ('references', c_int),\n ('data', POINTER(CRYPTO_dynlock_value)),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "CRYPTO_dynlock", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class CRYPTO_dynlock(Structure):\n pass\nCRYPTO_dynlock._fields_ = [\n ('references', c_int),\n ('data', POINTER(CRYPTO_dynlock_value)),\n]\nassert sizeof(CRYPTO_dynlock) == 8, sizeof(CRYPTO_dynlock)\nassert alignment(CRYPTO_dynlock) == 4, alignment(CRYPTO_dynlock)\nBIO_dummy = bio_st\nCRYPTO_EX_new = CFUNCTYPE(c_int, c_void_p, c_void_p, POINTER(CRYPTO_EX_DATA), c_int, c_long, c_void_p)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "crypto_ex_data_func_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class crypto_ex_data_func_st(Structure):\n pass\ncrypto_ex_data_func_st._fields_ = [\n ('argl', c_long),\n ('argp', c_void_p),\n ('new_func', POINTER(CRYPTO_EX_new)),\n ('free_func', POINTER(CRYPTO_EX_free)),\n ('dup_func', POINTER(CRYPTO_EX_dup)),\n]\nassert sizeof(crypto_ex_data_func_st) == 20, sizeof(crypto_ex_data_func_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "st_CRYPTO_EX_DATA_IMPL", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class st_CRYPTO_EX_DATA_IMPL(Structure):\n pass\nCRYPTO_EX_DATA_IMPL = st_CRYPTO_EX_DATA_IMPL\nst_CRYPTO_EX_DATA_IMPL._fields_ = [\n]\nCRYPTO_MEM_LEAK_CB = CFUNCTYPE(c_void_p, c_ulong, STRING, c_int, c_int, c_void_p)\nDES_cblock = c_ubyte * 8\nconst_DES_cblock = c_ubyte * 8\nclass DES_ks(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "DES_ks", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class DES_ks(Structure):\n pass\nclass N6DES_ks3DOLLAR_9E(Union):\n pass\nN6DES_ks3DOLLAR_9E._fields_ = [\n ('cblock', DES_cblock),\n ('deslong', c_ulong * 2),\n]\nassert sizeof(N6DES_ks3DOLLAR_9E) == 8, sizeof(N6DES_ks3DOLLAR_9E)\nassert alignment(N6DES_ks3DOLLAR_9E) == 4, alignment(N6DES_ks3DOLLAR_9E)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N6DES_ks3DOLLAR_9E", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class N6DES_ks3DOLLAR_9E(Union):\n pass\nN6DES_ks3DOLLAR_9E._fields_ = [\n ('cblock', DES_cblock),\n ('deslong', c_ulong * 2),\n]\nassert sizeof(N6DES_ks3DOLLAR_9E) == 8, sizeof(N6DES_ks3DOLLAR_9E)\nassert alignment(N6DES_ks3DOLLAR_9E) == 4, alignment(N6DES_ks3DOLLAR_9E)\nDES_ks._fields_ = [\n ('ks', N6DES_ks3DOLLAR_9E * 16),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_ossl_old_des_ks_struct", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class _ossl_old_des_ks_struct(Structure):\n pass\nclass N23_ossl_old_des_ks_struct4DOLLAR_10E(Union):\n pass\nN23_ossl_old_des_ks_struct4DOLLAR_10E._fields_ = [\n ('_', _ossl_old_des_cblock),\n ('pad', c_ulong * 2),\n]\nassert sizeof(N23_ossl_old_des_ks_struct4DOLLAR_10E) == 8, sizeof(N23_ossl_old_des_ks_struct4DOLLAR_10E)\nassert alignment(N23_ossl_old_des_ks_struct4DOLLAR_10E) == 4, alignment(N23_ossl_old_des_ks_struct4DOLLAR_10E)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N23_ossl_old_des_ks_struct4DOLLAR_10E", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class N23_ossl_old_des_ks_struct4DOLLAR_10E(Union):\n pass\nN23_ossl_old_des_ks_struct4DOLLAR_10E._fields_ = [\n ('_', _ossl_old_des_cblock),\n ('pad', c_ulong * 2),\n]\nassert sizeof(N23_ossl_old_des_ks_struct4DOLLAR_10E) == 8, sizeof(N23_ossl_old_des_ks_struct4DOLLAR_10E)\nassert alignment(N23_ossl_old_des_ks_struct4DOLLAR_10E) == 4, alignment(N23_ossl_old_des_ks_struct4DOLLAR_10E)\n_ossl_old_des_ks_struct._fields_ = [\n ('ks', N23_ossl_old_des_ks_struct4DOLLAR_10E),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "dh_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class dh_st(Structure):\n pass\nDH = dh_st\nclass dh_method(Structure):\n pass\ndh_method._fields_ = [\n ('name', STRING),\n ('generate_key', CFUNCTYPE(c_int, POINTER(DH))),\n ('compute_key', CFUNCTYPE(c_int, POINTER(c_ubyte), POINTER(BIGNUM), POINTER(DH))),\n ('bn_mod_exp', CFUNCTYPE(c_int, POINTER(DH), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BN_CTX), POINTER(BN_MONT_CTX))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "dh_method", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class dh_method(Structure):\n pass\ndh_method._fields_ = [\n ('name', STRING),\n ('generate_key', CFUNCTYPE(c_int, POINTER(DH))),\n ('compute_key', CFUNCTYPE(c_int, POINTER(c_ubyte), POINTER(BIGNUM), POINTER(DH))),\n ('bn_mod_exp', CFUNCTYPE(c_int, POINTER(DH), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BN_CTX), POINTER(BN_MONT_CTX))),\n ('init', CFUNCTYPE(c_int, POINTER(DH))),\n ('finish', CFUNCTYPE(c_int, POINTER(DH))),\n ('flags', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "engine_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class engine_st(Structure):\n pass\nENGINE = engine_st\ndh_st._fields_ = [\n ('pad', c_int),\n ('version', c_int),\n ('p', POINTER(BIGNUM)),\n ('g', POINTER(BIGNUM)),\n ('length', c_long),\n ('pub_key', POINTER(BIGNUM)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "dsa_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class dsa_st(Structure):\n pass\nDSA = dsa_st\nclass DSA_SIG_st(Structure):\n pass\nDSA_SIG_st._fields_ = [\n ('r', POINTER(BIGNUM)),\n ('s', POINTER(BIGNUM)),\n]\nassert sizeof(DSA_SIG_st) == 8, sizeof(DSA_SIG_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "DSA_SIG_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class DSA_SIG_st(Structure):\n pass\nDSA_SIG_st._fields_ = [\n ('r', POINTER(BIGNUM)),\n ('s', POINTER(BIGNUM)),\n]\nassert sizeof(DSA_SIG_st) == 8, sizeof(DSA_SIG_st)\nassert alignment(DSA_SIG_st) == 4, alignment(DSA_SIG_st)\nDSA_SIG = DSA_SIG_st\nclass dsa_method(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "dsa_method", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class dsa_method(Structure):\n pass\ndsa_method._fields_ = [\n ('name', STRING),\n ('dsa_do_sign', CFUNCTYPE(POINTER(DSA_SIG), POINTER(c_ubyte), c_int, POINTER(DSA))),\n ('dsa_sign_setup', CFUNCTYPE(c_int, POINTER(DSA), POINTER(BN_CTX), POINTER(POINTER(BIGNUM)), POINTER(POINTER(BIGNUM)))),\n ('dsa_do_verify', CFUNCTYPE(c_int, POINTER(c_ubyte), c_int, POINTER(DSA_SIG), POINTER(DSA))),\n ('dsa_mod_exp', CFUNCTYPE(c_int, POINTER(DSA), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BN_CTX), POINTER(BN_MONT_CTX))),\n ('bn_mod_exp', CFUNCTYPE(c_int, POINTER(DSA), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BN_CTX), POINTER(BN_MONT_CTX))),\n ('init', CFUNCTYPE(c_int, POINTER(DSA))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "evp_pkey_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class evp_pkey_st(Structure):\n pass\nclass N11evp_pkey_st4DOLLAR_12E(Union):\n pass\nclass rsa_st(Structure):\n pass\nN11evp_pkey_st4DOLLAR_12E._fields_ = [\n ('ptr', STRING),\n ('rsa', POINTER(rsa_st)),\n ('dsa', POINTER(dsa_st)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N11evp_pkey_st4DOLLAR_12E", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class N11evp_pkey_st4DOLLAR_12E(Union):\n pass\nclass rsa_st(Structure):\n pass\nN11evp_pkey_st4DOLLAR_12E._fields_ = [\n ('ptr', STRING),\n ('rsa', POINTER(rsa_st)),\n ('dsa', POINTER(dsa_st)),\n ('dh', POINTER(dh_st)),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "rsa_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class rsa_st(Structure):\n pass\nN11evp_pkey_st4DOLLAR_12E._fields_ = [\n ('ptr', STRING),\n ('rsa', POINTER(rsa_st)),\n ('dsa', POINTER(dsa_st)),\n ('dh', POINTER(dh_st)),\n]\nassert sizeof(N11evp_pkey_st4DOLLAR_12E) == 4, sizeof(N11evp_pkey_st4DOLLAR_12E)\nassert alignment(N11evp_pkey_st4DOLLAR_12E) == 4, alignment(N11evp_pkey_st4DOLLAR_12E)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "env_md_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class env_md_st(Structure):\n pass\nclass env_md_ctx_st(Structure):\n pass\nEVP_MD_CTX = env_md_ctx_st\nenv_md_st._fields_ = [\n ('type', c_int),\n ('pkey_type', c_int),\n ('md_size', c_int),\n ('flags', c_ulong),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "env_md_ctx_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class env_md_ctx_st(Structure):\n pass\nEVP_MD_CTX = env_md_ctx_st\nenv_md_st._fields_ = [\n ('type', c_int),\n ('pkey_type', c_int),\n ('md_size', c_int),\n ('flags', c_ulong),\n ('init', CFUNCTYPE(c_int, POINTER(EVP_MD_CTX))),\n ('update', CFUNCTYPE(c_int, POINTER(EVP_MD_CTX), c_void_p, c_ulong)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "evp_cipher_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class evp_cipher_st(Structure):\n pass\nclass evp_cipher_ctx_st(Structure):\n pass\nEVP_CIPHER_CTX = evp_cipher_ctx_st\nevp_cipher_st._fields_ = [\n ('nid', c_int),\n ('block_size', c_int),\n ('key_len', c_int),\n ('iv_len', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "evp_cipher_ctx_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class evp_cipher_ctx_st(Structure):\n pass\nEVP_CIPHER_CTX = evp_cipher_ctx_st\nevp_cipher_st._fields_ = [\n ('nid', c_int),\n ('block_size', c_int),\n ('key_len', c_int),\n ('iv_len', c_int),\n ('flags', c_ulong),\n ('init', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), POINTER(c_ubyte), POINTER(c_ubyte), c_int)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "evp_cipher_info_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class evp_cipher_info_st(Structure):\n pass\nEVP_CIPHER = evp_cipher_st\nevp_cipher_info_st._fields_ = [\n ('cipher', POINTER(EVP_CIPHER)),\n ('iv', c_ubyte * 16),\n]\nassert sizeof(evp_cipher_info_st) == 20, sizeof(evp_cipher_info_st)\nassert alignment(evp_cipher_info_st) == 4, alignment(evp_cipher_info_st)\nEVP_CIPHER_INFO = evp_cipher_info_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "evp_Encode_Ctx_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class evp_Encode_Ctx_st(Structure):\n pass\nevp_Encode_Ctx_st._fields_ = [\n ('num', c_int),\n ('length', c_int),\n ('enc_data', c_ubyte * 80),\n ('line_num', c_int),\n ('expect_nl', c_int),\n]\nassert sizeof(evp_Encode_Ctx_st) == 96, sizeof(evp_Encode_Ctx_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "lhash_node_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class lhash_node_st(Structure):\n pass\nlhash_node_st._fields_ = [\n ('data', c_void_p),\n ('next', POINTER(lhash_node_st)),\n ('hash', c_ulong),\n]\nassert sizeof(lhash_node_st) == 12, sizeof(lhash_node_st)\nassert alignment(lhash_node_st) == 4, alignment(lhash_node_st)\nLHASH_NODE = lhash_node_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "lhash_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class lhash_st(Structure):\n pass\nlhash_st._fields_ = [\n ('b', POINTER(POINTER(LHASH_NODE))),\n ('comp', LHASH_COMP_FN_TYPE),\n ('hash', LHASH_HASH_FN_TYPE),\n ('num_nodes', c_uint),\n ('num_alloc_nodes', c_uint),\n ('p', c_uint),\n ('pmax', c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "MD2state_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class MD2state_st(Structure):\n pass\nMD2state_st._fields_ = [\n ('num', c_int),\n ('data', c_ubyte * 16),\n ('cksm', c_uint * 16),\n ('state', c_uint * 16),\n]\nassert sizeof(MD2state_st) == 148, sizeof(MD2state_st)\nassert alignment(MD2state_st) == 4, alignment(MD2state_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "MD4state_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class MD4state_st(Structure):\n pass\nMD4state_st._fields_ = [\n ('A', c_uint),\n ('B', c_uint),\n ('C', c_uint),\n ('D', c_uint),\n ('Nl', c_uint),\n ('Nh', c_uint),\n ('data', c_uint * 16),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "MD5state_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class MD5state_st(Structure):\n pass\nMD5state_st._fields_ = [\n ('A', c_uint),\n ('B', c_uint),\n ('C', c_uint),\n ('D', c_uint),\n ('Nl', c_uint),\n ('Nh', c_uint),\n ('data', c_uint * 16),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "mdc2_ctx_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class mdc2_ctx_st(Structure):\n pass\nmdc2_ctx_st._fields_ = [\n ('num', c_int),\n ('data', c_ubyte * 8),\n ('h', DES_cblock),\n ('hh', DES_cblock),\n ('pad_type', c_int),\n]\nassert sizeof(mdc2_ctx_st) == 32, sizeof(mdc2_ctx_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "obj_name_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class obj_name_st(Structure):\n pass\nobj_name_st._fields_ = [\n ('type', c_int),\n ('alias', c_int),\n ('name', STRING),\n ('data', STRING),\n]\nassert sizeof(obj_name_st) == 16, sizeof(obj_name_st)\nassert alignment(obj_name_st) == 4, alignment(obj_name_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class x509_st(Structure):\n pass\nX509 = x509_st\nclass X509_algor_st(Structure):\n pass\nX509_ALGOR = X509_algor_st\nclass X509_crl_st(Structure):\n pass\nX509_CRL = X509_crl_st\nclass X509_name_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_algor_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class X509_algor_st(Structure):\n pass\nX509_ALGOR = X509_algor_st\nclass X509_crl_st(Structure):\n pass\nX509_CRL = X509_crl_st\nclass X509_name_st(Structure):\n pass\nX509_NAME = X509_name_st\nclass x509_store_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_crl_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class X509_crl_st(Structure):\n pass\nX509_CRL = X509_crl_st\nclass X509_name_st(Structure):\n pass\nX509_NAME = X509_name_st\nclass x509_store_st(Structure):\n pass\nX509_STORE = x509_store_st\nclass x509_store_ctx_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_name_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class X509_name_st(Structure):\n pass\nX509_NAME = X509_name_st\nclass x509_store_st(Structure):\n pass\nX509_STORE = x509_store_st\nclass x509_store_ctx_st(Structure):\n pass\nX509_STORE_CTX = x509_store_ctx_st\nengine_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_store_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class x509_store_st(Structure):\n pass\nX509_STORE = x509_store_st\nclass x509_store_ctx_st(Structure):\n pass\nX509_STORE_CTX = x509_store_ctx_st\nengine_st._fields_ = [\n]\nclass PEM_Encode_Seal_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_store_ctx_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class x509_store_ctx_st(Structure):\n pass\nX509_STORE_CTX = x509_store_ctx_st\nengine_st._fields_ = [\n]\nclass PEM_Encode_Seal_st(Structure):\n pass\nPEM_Encode_Seal_st._fields_ = [\n ('encode', EVP_ENCODE_CTX),\n ('md', EVP_MD_CTX),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PEM_Encode_Seal_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class PEM_Encode_Seal_st(Structure):\n pass\nPEM_Encode_Seal_st._fields_ = [\n ('encode', EVP_ENCODE_CTX),\n ('md', EVP_MD_CTX),\n ('cipher', EVP_CIPHER_CTX),\n]\nassert sizeof(PEM_Encode_Seal_st) == 252, sizeof(PEM_Encode_Seal_st)\nassert alignment(PEM_Encode_Seal_st) == 4, alignment(PEM_Encode_Seal_st)\nPEM_ENCODE_SEAL_CTX = PEM_Encode_Seal_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pem_recip_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class pem_recip_st(Structure):\n pass\npem_recip_st._fields_ = [\n ('name', STRING),\n ('dn', POINTER(X509_NAME)),\n ('cipher', c_int),\n ('key_enc', c_int),\n]\nassert sizeof(pem_recip_st) == 16, sizeof(pem_recip_st)\nassert alignment(pem_recip_st) == 4, alignment(pem_recip_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pem_ctx_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class pem_ctx_st(Structure):\n pass\nclass N10pem_ctx_st4DOLLAR_16E(Structure):\n pass\nN10pem_ctx_st4DOLLAR_16E._fields_ = [\n ('version', c_int),\n ('mode', c_int),\n]\nassert sizeof(N10pem_ctx_st4DOLLAR_16E) == 8, sizeof(N10pem_ctx_st4DOLLAR_16E)\nassert alignment(N10pem_ctx_st4DOLLAR_16E) == 4, alignment(N10pem_ctx_st4DOLLAR_16E)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N10pem_ctx_st4DOLLAR_16E", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class N10pem_ctx_st4DOLLAR_16E(Structure):\n pass\nN10pem_ctx_st4DOLLAR_16E._fields_ = [\n ('version', c_int),\n ('mode', c_int),\n]\nassert sizeof(N10pem_ctx_st4DOLLAR_16E) == 8, sizeof(N10pem_ctx_st4DOLLAR_16E)\nassert alignment(N10pem_ctx_st4DOLLAR_16E) == 4, alignment(N10pem_ctx_st4DOLLAR_16E)\nclass N10pem_ctx_st4DOLLAR_17E(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N10pem_ctx_st4DOLLAR_17E", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class N10pem_ctx_st4DOLLAR_17E(Structure):\n pass\nN10pem_ctx_st4DOLLAR_17E._fields_ = [\n ('cipher', c_int),\n]\nassert sizeof(N10pem_ctx_st4DOLLAR_17E) == 4, sizeof(N10pem_ctx_st4DOLLAR_17E)\nassert alignment(N10pem_ctx_st4DOLLAR_17E) == 4, alignment(N10pem_ctx_st4DOLLAR_17E)\npem_ctx_st._fields_ = [\n ('type', c_int),\n ('proc_type', N10pem_ctx_st4DOLLAR_16E),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_issuer_and_serial_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class pkcs7_issuer_and_serial_st(Structure):\n pass\npkcs7_issuer_and_serial_st._fields_ = [\n ('issuer', POINTER(X509_NAME)),\n ('serial', POINTER(ASN1_INTEGER)),\n]\nassert sizeof(pkcs7_issuer_and_serial_st) == 8, sizeof(pkcs7_issuer_and_serial_st)\nassert alignment(pkcs7_issuer_and_serial_st) == 4, alignment(pkcs7_issuer_and_serial_st)\nPKCS7_ISSUER_AND_SERIAL = pkcs7_issuer_and_serial_st\nclass pkcs7_signer_info_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_signer_info_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class pkcs7_signer_info_st(Structure):\n pass\npkcs7_signer_info_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('issuer_and_serial', POINTER(PKCS7_ISSUER_AND_SERIAL)),\n ('digest_alg', POINTER(X509_ALGOR)),\n ('auth_attr', POINTER(STACK)),\n ('digest_enc_alg', POINTER(X509_ALGOR)),\n ('enc_digest', POINTER(ASN1_OCTET_STRING)),\n ('unauth_attr', POINTER(STACK)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_recip_info_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class pkcs7_recip_info_st(Structure):\n pass\npkcs7_recip_info_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('issuer_and_serial', POINTER(PKCS7_ISSUER_AND_SERIAL)),\n ('key_enc_algor', POINTER(X509_ALGOR)),\n ('enc_key', POINTER(ASN1_OCTET_STRING)),\n ('cert', POINTER(X509)),\n]\nassert sizeof(pkcs7_recip_info_st) == 20, sizeof(pkcs7_recip_info_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_signed_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class pkcs7_signed_st(Structure):\n pass\nclass pkcs7_st(Structure):\n pass\npkcs7_signed_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('md_algs', POINTER(STACK)),\n ('cert', POINTER(STACK)),\n ('crl', POINTER(STACK)),\n ('signer_info', POINTER(STACK)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class pkcs7_st(Structure):\n pass\npkcs7_signed_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('md_algs', POINTER(STACK)),\n ('cert', POINTER(STACK)),\n ('crl', POINTER(STACK)),\n ('signer_info', POINTER(STACK)),\n ('contents', POINTER(pkcs7_st)),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_enc_content_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class pkcs7_enc_content_st(Structure):\n pass\npkcs7_enc_content_st._fields_ = [\n ('content_type', POINTER(ASN1_OBJECT)),\n ('algorithm', POINTER(X509_ALGOR)),\n ('enc_data', POINTER(ASN1_OCTET_STRING)),\n ('cipher', POINTER(EVP_CIPHER)),\n]\nassert sizeof(pkcs7_enc_content_st) == 16, sizeof(pkcs7_enc_content_st)\nassert alignment(pkcs7_enc_content_st) == 4, alignment(pkcs7_enc_content_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_enveloped_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class pkcs7_enveloped_st(Structure):\n pass\npkcs7_enveloped_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('recipientinfo', POINTER(STACK)),\n ('enc_data', POINTER(PKCS7_ENC_CONTENT)),\n]\nassert sizeof(pkcs7_enveloped_st) == 12, sizeof(pkcs7_enveloped_st)\nassert alignment(pkcs7_enveloped_st) == 4, alignment(pkcs7_enveloped_st)\nPKCS7_ENVELOPE = pkcs7_enveloped_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_signedandenveloped_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class pkcs7_signedandenveloped_st(Structure):\n pass\npkcs7_signedandenveloped_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('md_algs', POINTER(STACK)),\n ('cert', POINTER(STACK)),\n ('crl', POINTER(STACK)),\n ('signer_info', POINTER(STACK)),\n ('enc_data', POINTER(PKCS7_ENC_CONTENT)),\n ('recipientinfo', POINTER(STACK)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_digest_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class pkcs7_digest_st(Structure):\n pass\npkcs7_digest_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('md', POINTER(X509_ALGOR)),\n ('contents', POINTER(pkcs7_st)),\n ('digest', POINTER(ASN1_OCTET_STRING)),\n]\nassert sizeof(pkcs7_digest_st) == 16, sizeof(pkcs7_digest_st)\nassert alignment(pkcs7_digest_st) == 4, alignment(pkcs7_digest_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_encrypted_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class pkcs7_encrypted_st(Structure):\n pass\npkcs7_encrypted_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('enc_data', POINTER(PKCS7_ENC_CONTENT)),\n]\nassert sizeof(pkcs7_encrypted_st) == 8, sizeof(pkcs7_encrypted_st)\nassert alignment(pkcs7_encrypted_st) == 4, alignment(pkcs7_encrypted_st)\nPKCS7_ENCRYPT = pkcs7_encrypted_st\nclass N8pkcs7_st4DOLLAR_15E(Union):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N8pkcs7_st4DOLLAR_15E", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class N8pkcs7_st4DOLLAR_15E(Union):\n pass\nN8pkcs7_st4DOLLAR_15E._fields_ = [\n ('ptr', STRING),\n ('data', POINTER(ASN1_OCTET_STRING)),\n ('sign', POINTER(PKCS7_SIGNED)),\n ('enveloped', POINTER(PKCS7_ENVELOPE)),\n ('signed_and_enveloped', POINTER(PKCS7_SIGN_ENVELOPE)),\n ('digest', POINTER(PKCS7_DIGEST)),\n ('encrypted', POINTER(PKCS7_ENCRYPT)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "rc2_key_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class rc2_key_st(Structure):\n pass\nrc2_key_st._fields_ = [\n ('data', c_uint * 64),\n]\nassert sizeof(rc2_key_st) == 256, sizeof(rc2_key_st)\nassert alignment(rc2_key_st) == 4, alignment(rc2_key_st)\nRC2_KEY = rc2_key_st\nclass rc4_key_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "rc4_key_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class rc4_key_st(Structure):\n pass\nrc4_key_st._fields_ = [\n ('x', c_ubyte),\n ('y', c_ubyte),\n ('data', c_ubyte * 256),\n]\nassert sizeof(rc4_key_st) == 258, sizeof(rc4_key_st)\nassert alignment(rc4_key_st) == 1, alignment(rc4_key_st)\nRC4_KEY = rc4_key_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "rc5_key_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class rc5_key_st(Structure):\n pass\nrc5_key_st._fields_ = [\n ('rounds', c_int),\n ('data', c_ulong * 34),\n]\nassert sizeof(rc5_key_st) == 140, sizeof(rc5_key_st)\nassert alignment(rc5_key_st) == 4, alignment(rc5_key_st)\nRC5_32_KEY = rc5_key_st\nclass RIPEMD160state_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "RIPEMD160state_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class RIPEMD160state_st(Structure):\n pass\nRIPEMD160state_st._fields_ = [\n ('A', c_uint),\n ('B', c_uint),\n ('C', c_uint),\n ('D', c_uint),\n ('E', c_uint),\n ('Nl', c_uint),\n ('Nh', c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "rsa_meth_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class rsa_meth_st(Structure):\n pass\nrsa_meth_st._fields_ = [\n ('name', STRING),\n ('rsa_pub_enc', CFUNCTYPE(c_int, c_int, POINTER(c_ubyte), POINTER(c_ubyte), POINTER(RSA), c_int)),\n ('rsa_pub_dec', CFUNCTYPE(c_int, c_int, POINTER(c_ubyte), POINTER(c_ubyte), POINTER(RSA), c_int)),\n ('rsa_priv_enc', CFUNCTYPE(c_int, c_int, POINTER(c_ubyte), POINTER(c_ubyte), POINTER(RSA), c_int)),\n ('rsa_priv_dec', CFUNCTYPE(c_int, c_int, POINTER(c_ubyte), POINTER(c_ubyte), POINTER(RSA), c_int)),\n ('rsa_mod_exp', CFUNCTYPE(c_int, POINTER(BIGNUM), POINTER(BIGNUM), POINTER(RSA))),\n ('bn_mod_exp', CFUNCTYPE(c_int, POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BN_CTX), POINTER(BN_MONT_CTX))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "SHAstate_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class SHAstate_st(Structure):\n pass\nSHAstate_st._fields_ = [\n ('h0', c_uint),\n ('h1', c_uint),\n ('h2', c_uint),\n ('h3', c_uint),\n ('h4', c_uint),\n ('Nl', c_uint),\n ('Nh', c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ssl_st(Structure):\n pass\nssl_crock_st = POINTER(ssl_st)\nclass ssl_cipher_st(Structure):\n pass\nssl_cipher_st._fields_ = [\n ('valid', c_int),\n ('name', STRING),\n ('id', c_ulong),\n ('algorithms', c_ulong),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl_cipher_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ssl_cipher_st(Structure):\n pass\nssl_cipher_st._fields_ = [\n ('valid', c_int),\n ('name', STRING),\n ('id', c_ulong),\n ('algorithms', c_ulong),\n ('algo_strength', c_ulong),\n ('algorithm2', c_ulong),\n ('strength_bits', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl_ctx_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ssl_ctx_st(Structure):\n pass\nSSL_CTX = ssl_ctx_st\nclass ssl_method_st(Structure):\n pass\nclass ssl3_enc_method(Structure):\n pass\nssl_method_st._fields_ = [\n ('version', c_int),\n ('ssl_new', CFUNCTYPE(c_int, POINTER(SSL))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl_method_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ssl_method_st(Structure):\n pass\nclass ssl3_enc_method(Structure):\n pass\nssl_method_st._fields_ = [\n ('version', c_int),\n ('ssl_new', CFUNCTYPE(c_int, POINTER(SSL))),\n ('ssl_clear', CFUNCTYPE(None, POINTER(SSL))),\n ('ssl_free', CFUNCTYPE(None, POINTER(SSL))),\n ('ssl_accept', CFUNCTYPE(c_int, POINTER(SSL))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl3_enc_method", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ssl3_enc_method(Structure):\n pass\nssl_method_st._fields_ = [\n ('version', c_int),\n ('ssl_new', CFUNCTYPE(c_int, POINTER(SSL))),\n ('ssl_clear', CFUNCTYPE(None, POINTER(SSL))),\n ('ssl_free', CFUNCTYPE(None, POINTER(SSL))),\n ('ssl_accept', CFUNCTYPE(c_int, POINTER(SSL))),\n ('ssl_connect', CFUNCTYPE(c_int, POINTER(SSL))),\n ('ssl_read', CFUNCTYPE(c_int, POINTER(SSL), c_void_p, c_int)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl_session_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ssl_session_st(Structure):\n pass\nclass sess_cert_st(Structure):\n pass\nssl_session_st._fields_ = [\n ('ssl_version', c_int),\n ('key_arg_length', c_uint),\n ('key_arg', c_ubyte * 8),\n ('master_key_length', c_int),\n ('master_key', c_ubyte * 48),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sess_cert_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class sess_cert_st(Structure):\n pass\nssl_session_st._fields_ = [\n ('ssl_version', c_int),\n ('key_arg_length', c_uint),\n ('key_arg', c_ubyte * 8),\n ('master_key_length', c_int),\n ('master_key', c_ubyte * 48),\n ('session_id_length', c_uint),\n ('session_id', c_ubyte * 32),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl_comp_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ssl_comp_st(Structure):\n pass\nssl_comp_st._fields_ = [\n ('id', c_int),\n ('name', STRING),\n ('method', POINTER(COMP_METHOD)),\n]\nassert sizeof(ssl_comp_st) == 12, sizeof(ssl_comp_st)\nassert alignment(ssl_comp_st) == 4, alignment(ssl_comp_st)\nSSL_COMP = ssl_comp_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N10ssl_ctx_st4DOLLAR_18E", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class N10ssl_ctx_st4DOLLAR_18E(Structure):\n pass\nN10ssl_ctx_st4DOLLAR_18E._fields_ = [\n ('sess_connect', c_int),\n ('sess_connect_renegotiate', c_int),\n ('sess_connect_good', c_int),\n ('sess_accept', c_int),\n ('sess_accept_renegotiate', c_int),\n ('sess_accept_good', c_int),\n ('sess_miss', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "cert_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class cert_st(Structure):\n pass\nssl_ctx_st._fields_ = [\n ('method', POINTER(SSL_METHOD)),\n ('cipher_list', POINTER(STACK)),\n ('cipher_list_by_id', POINTER(STACK)),\n ('cert_store', POINTER(x509_store_st)),\n ('sessions', POINTER(lhash_st)),\n ('session_cache_size', c_ulong),\n ('session_cache_head', POINTER(ssl_session_st)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl2_state_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ssl2_state_st(Structure):\n pass\nclass ssl3_state_st(Structure):\n pass\nssl_st._fields_ = [\n ('version', c_int),\n ('type', c_int),\n ('method', POINTER(SSL_METHOD)),\n ('rbio', POINTER(BIO)),\n ('wbio', POINTER(BIO)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl3_state_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ssl3_state_st(Structure):\n pass\nssl_st._fields_ = [\n ('version', c_int),\n ('type', c_int),\n ('method', POINTER(SSL_METHOD)),\n ('rbio', POINTER(BIO)),\n ('wbio', POINTER(BIO)),\n ('bbio', POINTER(BIO)),\n ('rwstate', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N13ssl2_state_st4DOLLAR_19E", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class N13ssl2_state_st4DOLLAR_19E(Structure):\n pass\nN13ssl2_state_st4DOLLAR_19E._fields_ = [\n ('conn_id_length', c_uint),\n ('cert_type', c_uint),\n ('cert_length', c_uint),\n ('csl', c_uint),\n ('clear', c_uint),\n ('enc', c_uint),\n ('ccl', c_ubyte * 32),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl3_record_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ssl3_record_st(Structure):\n pass\nssl3_record_st._fields_ = [\n ('type', c_int),\n ('length', c_uint),\n ('off', c_uint),\n ('data', POINTER(c_ubyte)),\n ('input', POINTER(c_ubyte)),\n ('comp', POINTER(c_ubyte)),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl3_buffer_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ssl3_buffer_st(Structure):\n pass\nsize_t = __darwin_size_t\nssl3_buffer_st._fields_ = [\n ('buf', POINTER(c_ubyte)),\n ('len', size_t),\n ('offset', c_int),\n ('left', c_int),\n]\nassert sizeof(ssl3_buffer_st) == 16, sizeof(ssl3_buffer_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N13ssl3_state_st4DOLLAR_20E", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class N13ssl3_state_st4DOLLAR_20E(Structure):\n pass\nN13ssl3_state_st4DOLLAR_20E._fields_ = [\n ('cert_verify_md', c_ubyte * 72),\n ('finish_md', c_ubyte * 72),\n ('finish_md_len', c_int),\n ('peer_finish_md', c_ubyte * 72),\n ('peer_finish_md_len', c_int),\n ('message_size', c_ulong),\n ('message_type', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ui_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ui_st(Structure):\n pass\nui_st._fields_ = [\n]\nUI = ui_st\nclass ui_method_st(Structure):\n pass\nui_method_st._fields_ = [\n]\nUI_METHOD = ui_method_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ui_method_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ui_method_st(Structure):\n pass\nui_method_st._fields_ = [\n]\nUI_METHOD = ui_method_st\nclass ui_string_st(Structure):\n pass\nui_string_st._fields_ = [\n]\nUI_STRING = ui_string_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ui_string_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ui_string_st(Structure):\n pass\nui_string_st._fields_ = [\n]\nUI_STRING = ui_string_st\n# values for enumeration 'UI_string_types'\nUI_string_types = c_int # enum\nclass X509_objects_st(Structure):\n pass\nX509_objects_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_objects_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class X509_objects_st(Structure):\n pass\nX509_objects_st._fields_ = [\n ('nid', c_int),\n ('a2i', CFUNCTYPE(c_int)),\n ('i2a', CFUNCTYPE(c_int)),\n]\nassert sizeof(X509_objects_st) == 12, sizeof(X509_objects_st)\nassert alignment(X509_objects_st) == 4, alignment(X509_objects_st)\nX509_OBJECTS = X509_objects_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_val_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class X509_val_st(Structure):\n pass\nX509_val_st._fields_ = [\n ('notBefore', POINTER(ASN1_TIME)),\n ('notAfter', POINTER(ASN1_TIME)),\n]\nassert sizeof(X509_val_st) == 8, sizeof(X509_val_st)\nassert alignment(X509_val_st) == 4, alignment(X509_val_st)\nX509_VAL = X509_val_st\nclass X509_pubkey_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_pubkey_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class X509_pubkey_st(Structure):\n pass\nX509_pubkey_st._fields_ = [\n ('algor', POINTER(X509_ALGOR)),\n ('public_key', POINTER(ASN1_BIT_STRING)),\n ('pkey', POINTER(EVP_PKEY)),\n]\nassert sizeof(X509_pubkey_st) == 12, sizeof(X509_pubkey_st)\nassert alignment(X509_pubkey_st) == 4, alignment(X509_pubkey_st)\nX509_PUBKEY = X509_pubkey_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_sig_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class X509_sig_st(Structure):\n pass\nX509_sig_st._fields_ = [\n ('algor', POINTER(X509_ALGOR)),\n ('digest', POINTER(ASN1_OCTET_STRING)),\n]\nassert sizeof(X509_sig_st) == 8, sizeof(X509_sig_st)\nassert alignment(X509_sig_st) == 4, alignment(X509_sig_st)\nX509_SIG = X509_sig_st\nclass X509_name_entry_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_name_entry_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class X509_name_entry_st(Structure):\n pass\nX509_name_entry_st._fields_ = [\n ('object', POINTER(ASN1_OBJECT)),\n ('value', POINTER(ASN1_STRING)),\n ('set', c_int),\n ('size', c_int),\n]\nassert sizeof(X509_name_entry_st) == 16, sizeof(X509_name_entry_st)\nassert alignment(X509_name_entry_st) == 4, alignment(X509_name_entry_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_extension_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class X509_extension_st(Structure):\n pass\nX509_extension_st._fields_ = [\n ('object', POINTER(ASN1_OBJECT)),\n ('critical', ASN1_BOOLEAN),\n ('value', POINTER(ASN1_OCTET_STRING)),\n]\nassert sizeof(X509_extension_st) == 12, sizeof(X509_extension_st)\nassert alignment(X509_extension_st) == 4, alignment(X509_extension_st)\nX509_EXTENSION = X509_extension_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_attributes_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class x509_attributes_st(Structure):\n pass\nclass N18x509_attributes_st4DOLLAR_13E(Union):\n pass\nN18x509_attributes_st4DOLLAR_13E._fields_ = [\n ('ptr', STRING),\n ('set', POINTER(STACK)),\n ('single', POINTER(ASN1_TYPE)),\n]\nassert sizeof(N18x509_attributes_st4DOLLAR_13E) == 4, sizeof(N18x509_attributes_st4DOLLAR_13E)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N18x509_attributes_st4DOLLAR_13E", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class N18x509_attributes_st4DOLLAR_13E(Union):\n pass\nN18x509_attributes_st4DOLLAR_13E._fields_ = [\n ('ptr', STRING),\n ('set', POINTER(STACK)),\n ('single', POINTER(ASN1_TYPE)),\n]\nassert sizeof(N18x509_attributes_st4DOLLAR_13E) == 4, sizeof(N18x509_attributes_st4DOLLAR_13E)\nassert alignment(N18x509_attributes_st4DOLLAR_13E) == 4, alignment(N18x509_attributes_st4DOLLAR_13E)\nx509_attributes_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_req_info_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class X509_req_info_st(Structure):\n pass\nX509_req_info_st._fields_ = [\n ('enc', ASN1_ENCODING),\n ('version', POINTER(ASN1_INTEGER)),\n ('subject', POINTER(X509_NAME)),\n ('pubkey', POINTER(X509_PUBKEY)),\n ('attributes', POINTER(STACK)),\n]\nassert sizeof(X509_req_info_st) == 28, sizeof(X509_req_info_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_req_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class X509_req_st(Structure):\n pass\nX509_req_st._fields_ = [\n ('req_info', POINTER(X509_REQ_INFO)),\n ('sig_alg', POINTER(X509_ALGOR)),\n ('signature', POINTER(ASN1_BIT_STRING)),\n ('references', c_int),\n]\nassert sizeof(X509_req_st) == 16, sizeof(X509_req_st)\nassert alignment(X509_req_st) == 4, alignment(X509_req_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_cinf_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class x509_cinf_st(Structure):\n pass\nx509_cinf_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('serialNumber', POINTER(ASN1_INTEGER)),\n ('signature', POINTER(X509_ALGOR)),\n ('issuer', POINTER(X509_NAME)),\n ('validity', POINTER(X509_VAL)),\n ('subject', POINTER(X509_NAME)),\n ('key', POINTER(X509_PUBKEY)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_cert_aux_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class x509_cert_aux_st(Structure):\n pass\nx509_cert_aux_st._fields_ = [\n ('trust', POINTER(STACK)),\n ('reject', POINTER(STACK)),\n ('alias', POINTER(ASN1_UTF8STRING)),\n ('keyid', POINTER(ASN1_OCTET_STRING)),\n ('other', POINTER(STACK)),\n]\nassert sizeof(x509_cert_aux_st) == 20, sizeof(x509_cert_aux_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "AUTHORITY_KEYID_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class AUTHORITY_KEYID_st(Structure):\n pass\nx509_st._fields_ = [\n ('cert_info', POINTER(X509_CINF)),\n ('sig_alg', POINTER(X509_ALGOR)),\n ('signature', POINTER(ASN1_BIT_STRING)),\n ('valid', c_int),\n ('references', c_int),\n ('name', STRING),\n ('ex_data', CRYPTO_EX_DATA),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_trust_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class x509_trust_st(Structure):\n pass\nx509_trust_st._fields_ = [\n ('trust', c_int),\n ('flags', c_int),\n ('check_trust', CFUNCTYPE(c_int, POINTER(x509_trust_st), POINTER(X509), c_int)),\n ('name', STRING),\n ('arg1', c_int),\n ('arg2', c_void_p),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_revoked_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class X509_revoked_st(Structure):\n pass\nX509_revoked_st._fields_ = [\n ('serialNumber', POINTER(ASN1_INTEGER)),\n ('revocationDate', POINTER(ASN1_TIME)),\n ('extensions', POINTER(STACK)),\n ('sequence', c_int),\n]\nassert sizeof(X509_revoked_st) == 16, sizeof(X509_revoked_st)\nassert alignment(X509_revoked_st) == 4, alignment(X509_revoked_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_crl_info_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class X509_crl_info_st(Structure):\n pass\nX509_crl_info_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('sig_alg', POINTER(X509_ALGOR)),\n ('issuer', POINTER(X509_NAME)),\n ('lastUpdate', POINTER(ASN1_TIME)),\n ('nextUpdate', POINTER(ASN1_TIME)),\n ('revoked', POINTER(STACK)),\n ('extensions', POINTER(STACK)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "private_key_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class private_key_st(Structure):\n pass\nprivate_key_st._fields_ = [\n ('version', c_int),\n ('enc_algor', POINTER(X509_ALGOR)),\n ('enc_pkey', POINTER(ASN1_OCTET_STRING)),\n ('dec_pkey', POINTER(EVP_PKEY)),\n ('key_length', c_int),\n ('key_data', STRING),\n ('key_free', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_info_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class X509_info_st(Structure):\n pass\nX509_info_st._fields_ = [\n ('x509', POINTER(X509)),\n ('crl', POINTER(X509_CRL)),\n ('x_pkey', POINTER(X509_PKEY)),\n ('enc_cipher', EVP_CIPHER_INFO),\n ('enc_len', c_int),\n ('enc_data', STRING),\n ('references', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "Netscape_spkac_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class Netscape_spkac_st(Structure):\n pass\nNetscape_spkac_st._fields_ = [\n ('pubkey', POINTER(X509_PUBKEY)),\n ('challenge', POINTER(ASN1_IA5STRING)),\n]\nassert sizeof(Netscape_spkac_st) == 8, sizeof(Netscape_spkac_st)\nassert alignment(Netscape_spkac_st) == 4, alignment(Netscape_spkac_st)\nNETSCAPE_SPKAC = Netscape_spkac_st\nclass Netscape_spki_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "Netscape_spki_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class Netscape_spki_st(Structure):\n pass\nNetscape_spki_st._fields_ = [\n ('spkac', POINTER(NETSCAPE_SPKAC)),\n ('sig_algor', POINTER(X509_ALGOR)),\n ('signature', POINTER(ASN1_BIT_STRING)),\n]\nassert sizeof(Netscape_spki_st) == 12, sizeof(Netscape_spki_st)\nassert alignment(Netscape_spki_st) == 4, alignment(Netscape_spki_st)\nNETSCAPE_SPKI = Netscape_spki_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "Netscape_certificate_sequence", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class Netscape_certificate_sequence(Structure):\n pass\nNetscape_certificate_sequence._fields_ = [\n ('type', POINTER(ASN1_OBJECT)),\n ('certs', POINTER(STACK)),\n]\nassert sizeof(Netscape_certificate_sequence) == 8, sizeof(Netscape_certificate_sequence)\nassert alignment(Netscape_certificate_sequence) == 4, alignment(Netscape_certificate_sequence)\nNETSCAPE_CERT_SEQUENCE = Netscape_certificate_sequence\nclass PBEPARAM_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PBEPARAM_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class PBEPARAM_st(Structure):\n pass\nPBEPARAM_st._fields_ = [\n ('salt', POINTER(ASN1_OCTET_STRING)),\n ('iter', POINTER(ASN1_INTEGER)),\n]\nassert sizeof(PBEPARAM_st) == 8, sizeof(PBEPARAM_st)\nassert alignment(PBEPARAM_st) == 4, alignment(PBEPARAM_st)\nPBEPARAM = PBEPARAM_st\nclass PBE2PARAM_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PBE2PARAM_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class PBE2PARAM_st(Structure):\n pass\nPBE2PARAM_st._fields_ = [\n ('keyfunc', POINTER(X509_ALGOR)),\n ('encryption', POINTER(X509_ALGOR)),\n]\nassert sizeof(PBE2PARAM_st) == 8, sizeof(PBE2PARAM_st)\nassert alignment(PBE2PARAM_st) == 4, alignment(PBE2PARAM_st)\nPBE2PARAM = PBE2PARAM_st\nclass PBKDF2PARAM_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PBKDF2PARAM_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class PBKDF2PARAM_st(Structure):\n pass\nPBKDF2PARAM_st._fields_ = [\n ('salt', POINTER(ASN1_TYPE)),\n ('iter', POINTER(ASN1_INTEGER)),\n ('keylength', POINTER(ASN1_INTEGER)),\n ('prf', POINTER(X509_ALGOR)),\n]\nassert sizeof(PBKDF2PARAM_st) == 16, sizeof(PBKDF2PARAM_st)\nassert alignment(PBKDF2PARAM_st) == 4, alignment(PBKDF2PARAM_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs8_priv_key_info_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class pkcs8_priv_key_info_st(Structure):\n pass\npkcs8_priv_key_info_st._fields_ = [\n ('broken', c_int),\n ('version', POINTER(ASN1_INTEGER)),\n ('pkeyalg', POINTER(X509_ALGOR)),\n ('pkey', POINTER(ASN1_TYPE)),\n ('attributes', POINTER(STACK)),\n]\nassert sizeof(pkcs8_priv_key_info_st) == 20, sizeof(pkcs8_priv_key_info_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_hash_dir_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class x509_hash_dir_st(Structure):\n pass\nx509_hash_dir_st._fields_ = [\n ('num_dirs', c_int),\n ('dirs', POINTER(STRING)),\n ('dirs_type', POINTER(c_int)),\n ('num_dirs_alloced', c_int),\n]\nassert sizeof(x509_hash_dir_st) == 16, sizeof(x509_hash_dir_st)\nassert alignment(x509_hash_dir_st) == 4, alignment(x509_hash_dir_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_file_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class x509_file_st(Structure):\n pass\nx509_file_st._fields_ = [\n ('num_paths', c_int),\n ('num_alloced', c_int),\n ('paths', POINTER(STRING)),\n ('path_type', POINTER(c_int)),\n]\nassert sizeof(x509_file_st) == 16, sizeof(x509_file_st)\nassert alignment(x509_file_st) == 4, alignment(x509_file_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_object_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class x509_object_st(Structure):\n pass\nclass N14x509_object_st4DOLLAR_14E(Union):\n pass\nN14x509_object_st4DOLLAR_14E._fields_ = [\n ('ptr', STRING),\n ('x509', POINTER(X509)),\n ('crl', POINTER(X509_CRL)),\n ('pkey', POINTER(EVP_PKEY)),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N14x509_object_st4DOLLAR_14E", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class N14x509_object_st4DOLLAR_14E(Union):\n pass\nN14x509_object_st4DOLLAR_14E._fields_ = [\n ('ptr', STRING),\n ('x509', POINTER(X509)),\n ('crl', POINTER(X509_CRL)),\n ('pkey', POINTER(EVP_PKEY)),\n]\nassert sizeof(N14x509_object_st4DOLLAR_14E) == 4, sizeof(N14x509_object_st4DOLLAR_14E)\nassert alignment(N14x509_object_st4DOLLAR_14E) == 4, alignment(N14x509_object_st4DOLLAR_14E)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_lookup_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class x509_lookup_st(Structure):\n pass\nX509_LOOKUP = x509_lookup_st\nclass x509_lookup_method_st(Structure):\n pass\nx509_lookup_method_st._fields_ = [\n ('name', STRING),\n ('new_item', CFUNCTYPE(c_int, POINTER(X509_LOOKUP))),\n ('free', CFUNCTYPE(None, POINTER(X509_LOOKUP))),\n ('init', CFUNCTYPE(c_int, POINTER(X509_LOOKUP))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_lookup_method_st", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class x509_lookup_method_st(Structure):\n pass\nx509_lookup_method_st._fields_ = [\n ('name', STRING),\n ('new_item', CFUNCTYPE(c_int, POINTER(X509_LOOKUP))),\n ('free', CFUNCTYPE(None, POINTER(X509_LOOKUP))),\n ('init', CFUNCTYPE(c_int, POINTER(X509_LOOKUP))),\n ('shutdown', CFUNCTYPE(c_int, POINTER(X509_LOOKUP))),\n ('ctrl', CFUNCTYPE(c_int, POINTER(X509_LOOKUP), c_int, STRING, c_long, POINTER(STRING))),\n ('get_by_subject', CFUNCTYPE(c_int, POINTER(X509_LOOKUP), c_int, POINTER(X509_NAME), POINTER(X509_OBJECT))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__sbuf", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class __sbuf(Structure):\n pass\n__sbuf._fields_ = [\n ('_base', POINTER(c_ubyte)),\n ('_size', c_int),\n]\nassert sizeof(__sbuf) == 8, sizeof(__sbuf)\nassert alignment(__sbuf) == 4, alignment(__sbuf)\nclass __sFILEX(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__sFILEX", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class __sFILEX(Structure):\n pass\n__sFILEX._fields_ = [\n]\nclass __sFILE(Structure):\n pass\n__sFILE._pack_ = 4\n__sFILE._fields_ = [\n ('_p', POINTER(c_ubyte)),\n ('_r', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__sFILE", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class __sFILE(Structure):\n pass\n__sFILE._pack_ = 4\n__sFILE._fields_ = [\n ('_p', POINTER(c_ubyte)),\n ('_r', c_int),\n ('_w', c_int),\n ('_flags', c_short),\n ('_file', c_short),\n ('_bf', __sbuf),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "div_t", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class div_t(Structure):\n pass\ndiv_t._fields_ = [\n ('quot', c_int),\n ('rem', c_int),\n]\nassert sizeof(div_t) == 8, sizeof(div_t)\nassert alignment(div_t) == 4, alignment(div_t)\nclass ldiv_t(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ldiv_t", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ldiv_t(Structure):\n pass\nldiv_t._fields_ = [\n ('quot', c_long),\n ('rem', c_long),\n]\nassert sizeof(ldiv_t) == 8, sizeof(ldiv_t)\nassert alignment(ldiv_t) == 4, alignment(ldiv_t)\nclass lldiv_t(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "lldiv_t", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class lldiv_t(Structure):\n pass\nlldiv_t._pack_ = 4\nlldiv_t._fields_ = [\n ('quot', c_longlong),\n ('rem', c_longlong),\n]\nassert sizeof(lldiv_t) == 16, sizeof(lldiv_t)\nassert alignment(lldiv_t) == 4, alignment(lldiv_t)\n__darwin_dev_t = __int32_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "mcontext", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class mcontext(Structure):\n pass\nmcontext._fields_ = [\n]\nclass mcontext64(Structure):\n pass\nmcontext64._fields_ = [\n]\nclass __darwin_pthread_handler_rec(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "mcontext64", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class mcontext64(Structure):\n pass\nmcontext64._fields_ = [\n]\nclass __darwin_pthread_handler_rec(Structure):\n pass\n__darwin_pthread_handler_rec._fields_ = [\n ('__routine', CFUNCTYPE(None, c_void_p)),\n ('__arg', c_void_p),\n ('__next', POINTER(__darwin_pthread_handler_rec)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_pthread_handler_rec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class __darwin_pthread_handler_rec(Structure):\n pass\n__darwin_pthread_handler_rec._fields_ = [\n ('__routine', CFUNCTYPE(None, c_void_p)),\n ('__arg', c_void_p),\n ('__next', POINTER(__darwin_pthread_handler_rec)),\n]\nassert sizeof(__darwin_pthread_handler_rec) == 12, sizeof(__darwin_pthread_handler_rec)\nassert alignment(__darwin_pthread_handler_rec) == 4, alignment(__darwin_pthread_handler_rec)\nclass _opaque_pthread_attr_t(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_opaque_pthread_attr_t", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class _opaque_pthread_attr_t(Structure):\n pass\n_opaque_pthread_attr_t._fields_ = [\n ('__sig', c_long),\n ('__opaque', c_char * 36),\n]\nassert sizeof(_opaque_pthread_attr_t) == 40, sizeof(_opaque_pthread_attr_t)\nassert alignment(_opaque_pthread_attr_t) == 4, alignment(_opaque_pthread_attr_t)\nclass _opaque_pthread_cond_t(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_opaque_pthread_cond_t", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class _opaque_pthread_cond_t(Structure):\n pass\n_opaque_pthread_cond_t._fields_ = [\n ('__sig', c_long),\n ('__opaque', c_char * 24),\n]\nassert sizeof(_opaque_pthread_cond_t) == 28, sizeof(_opaque_pthread_cond_t)\nassert alignment(_opaque_pthread_cond_t) == 4, alignment(_opaque_pthread_cond_t)\nclass _opaque_pthread_condattr_t(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_opaque_pthread_condattr_t", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class _opaque_pthread_condattr_t(Structure):\n pass\n_opaque_pthread_condattr_t._fields_ = [\n ('__sig', c_long),\n ('__opaque', c_char * 4),\n]\nassert sizeof(_opaque_pthread_condattr_t) == 8, sizeof(_opaque_pthread_condattr_t)\nassert alignment(_opaque_pthread_condattr_t) == 4, alignment(_opaque_pthread_condattr_t)\nclass _opaque_pthread_mutex_t(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_opaque_pthread_mutex_t", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class _opaque_pthread_mutex_t(Structure):\n pass\n_opaque_pthread_mutex_t._fields_ = [\n ('__sig', c_long),\n ('__opaque', c_char * 40),\n]\nassert sizeof(_opaque_pthread_mutex_t) == 44, sizeof(_opaque_pthread_mutex_t)\nassert alignment(_opaque_pthread_mutex_t) == 4, alignment(_opaque_pthread_mutex_t)\nclass _opaque_pthread_mutexattr_t(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_opaque_pthread_mutexattr_t", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class _opaque_pthread_mutexattr_t(Structure):\n pass\n_opaque_pthread_mutexattr_t._fields_ = [\n ('__sig', c_long),\n ('__opaque', c_char * 8),\n]\nassert sizeof(_opaque_pthread_mutexattr_t) == 12, sizeof(_opaque_pthread_mutexattr_t)\nassert alignment(_opaque_pthread_mutexattr_t) == 4, alignment(_opaque_pthread_mutexattr_t)\nclass _opaque_pthread_once_t(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_opaque_pthread_once_t", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class _opaque_pthread_once_t(Structure):\n pass\n_opaque_pthread_once_t._fields_ = [\n ('__sig', c_long),\n ('__opaque', c_char * 4),\n]\nassert sizeof(_opaque_pthread_once_t) == 8, sizeof(_opaque_pthread_once_t)\nassert alignment(_opaque_pthread_once_t) == 4, alignment(_opaque_pthread_once_t)\nclass _opaque_pthread_rwlock_t(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_opaque_pthread_rwlock_t", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class _opaque_pthread_rwlock_t(Structure):\n pass\n_opaque_pthread_rwlock_t._fields_ = [\n ('__sig', c_long),\n ('__opaque', c_char * 124),\n]\nassert sizeof(_opaque_pthread_rwlock_t) == 128, sizeof(_opaque_pthread_rwlock_t)\nassert alignment(_opaque_pthread_rwlock_t) == 4, alignment(_opaque_pthread_rwlock_t)\nclass _opaque_pthread_rwlockattr_t(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_opaque_pthread_rwlockattr_t", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class _opaque_pthread_rwlockattr_t(Structure):\n pass\n_opaque_pthread_rwlockattr_t._fields_ = [\n ('__sig', c_long),\n ('__opaque', c_char * 12),\n]\nassert sizeof(_opaque_pthread_rwlockattr_t) == 16, sizeof(_opaque_pthread_rwlockattr_t)\nassert alignment(_opaque_pthread_rwlockattr_t) == 4, alignment(_opaque_pthread_rwlockattr_t)\nclass _opaque_pthread_t(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_opaque_pthread_t", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class _opaque_pthread_t(Structure):\n pass\n_opaque_pthread_t._fields_ = [\n ('__sig', c_long),\n ('__cleanup_stack', POINTER(__darwin_pthread_handler_rec)),\n ('__opaque', c_char * 596),\n]\nassert sizeof(_opaque_pthread_t) == 604, sizeof(_opaque_pthread_t)\nassert alignment(_opaque_pthread_t) == 4, alignment(_opaque_pthread_t)\n__darwin_blkcnt_t = __int64_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sigaltstack", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class sigaltstack(Structure):\n pass\nsigaltstack._fields_ = [\n ('ss_sp', c_void_p),\n ('ss_size', __darwin_size_t),\n ('ss_flags', c_int),\n]\nassert sizeof(sigaltstack) == 12, sizeof(sigaltstack)\nassert alignment(sigaltstack) == 4, alignment(sigaltstack)\n__darwin_stack_t = sigaltstack", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ucontext", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ucontext(Structure):\n pass\nucontext._fields_ = [\n ('uc_onstack', c_int),\n ('uc_sigmask', __darwin_sigset_t),\n ('uc_stack', __darwin_stack_t),\n ('uc_link', POINTER(ucontext)),\n ('uc_mcsize', __darwin_size_t),\n ('uc_mcontext', __darwin_mcontext_t),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ucontext64", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class ucontext64(Structure):\n pass\nucontext64._fields_ = [\n ('uc_onstack', c_int),\n ('uc_sigmask', __darwin_sigset_t),\n ('uc_stack', __darwin_stack_t),\n ('uc_link', POINTER(ucontext64)),\n ('uc_mcsize', __darwin_size_t),\n ('uc_mcontext64', __darwin_mcontext64_t),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "timeval", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class timeval(Structure):\n pass\ntimeval._fields_ = [\n ('tv_sec', __darwin_time_t),\n ('tv_usec', __darwin_suseconds_t),\n]\nassert sizeof(timeval) == 8, sizeof(timeval)\nassert alignment(timeval) == 4, alignment(timeval)\nrlim_t = __int64_t\nclass rusage(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "rusage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class rusage(Structure):\n pass\nrusage._fields_ = [\n ('ru_utime', timeval),\n ('ru_stime', timeval),\n ('ru_maxrss', c_long),\n ('ru_ixrss', c_long),\n ('ru_idrss', c_long),\n ('ru_isrss', c_long),\n ('ru_minflt', c_long),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "rlimit", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class rlimit(Structure):\n pass\nrlimit._pack_ = 4\nrlimit._fields_ = [\n ('rlim_cur', rlim_t),\n ('rlim_max', rlim_t),\n]\nassert sizeof(rlimit) == 16, sizeof(rlimit)\nassert alignment(rlimit) == 4, alignment(rlimit)\nmcontext_t = __darwin_mcontext_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sigval", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class sigval(Union):\n pass\nsigval._fields_ = [\n ('sival_int', c_int),\n ('sival_ptr', c_void_p),\n]\nassert sizeof(sigval) == 4, sizeof(sigval)\nassert alignment(sigval) == 4, alignment(sigval)\nclass sigevent(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sigevent", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class sigevent(Structure):\n pass\nsigevent._fields_ = [\n ('sigev_notify', c_int),\n ('sigev_signo', c_int),\n ('sigev_value', sigval),\n ('sigev_notify_function', CFUNCTYPE(None, sigval)),\n ('sigev_notify_attributes', POINTER(pthread_attr_t)),\n]\nassert sizeof(sigevent) == 20, sizeof(sigevent)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__siginfo", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class __siginfo(Structure):\n pass\npid_t = __darwin_pid_t\n__siginfo._fields_ = [\n ('si_signo', c_int),\n ('si_errno', c_int),\n ('si_code', c_int),\n ('si_pid', pid_t),\n ('si_uid', uid_t),\n ('si_status', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__sigaction_u", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class __sigaction_u(Union):\n pass\n__sigaction_u._fields_ = [\n ('__sa_handler', CFUNCTYPE(None, c_int)),\n ('__sa_sigaction', CFUNCTYPE(None, c_int, POINTER(__siginfo), c_void_p)),\n]\nassert sizeof(__sigaction_u) == 4, sizeof(__sigaction_u)\nassert alignment(__sigaction_u) == 4, alignment(__sigaction_u)\nclass __sigaction(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__sigaction", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class __sigaction(Structure):\n pass\n__sigaction._fields_ = [\n ('__sigaction_u', __sigaction_u),\n ('sa_tramp', CFUNCTYPE(None, c_void_p, c_int, c_int, POINTER(siginfo_t), c_void_p)),\n ('sa_mask', sigset_t),\n ('sa_flags', c_int),\n]\nassert sizeof(__sigaction) == 16, sizeof(__sigaction)\nassert alignment(__sigaction) == 4, alignment(__sigaction)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sigaction", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class sigaction(Structure):\n pass\nsigaction._fields_ = [\n ('__sigaction_u', __sigaction_u),\n ('sa_mask', sigset_t),\n ('sa_flags', c_int),\n]\nassert sizeof(sigaction) == 12, sizeof(sigaction)\nassert alignment(sigaction) == 4, alignment(sigaction)\nsig_t = CFUNCTYPE(None, c_int)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sigvec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class sigvec(Structure):\n pass\nsigvec._fields_ = [\n ('sv_handler', CFUNCTYPE(None, c_int)),\n ('sv_mask', c_int),\n ('sv_flags', c_int),\n]\nassert sizeof(sigvec) == 12, sizeof(sigvec)\nassert alignment(sigvec) == 4, alignment(sigvec)\nclass sigstack(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sigstack", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class sigstack(Structure):\n pass\nsigstack._fields_ = [\n ('ss_sp', STRING),\n ('ss_onstack', c_int),\n]\nassert sizeof(sigstack) == 8, sizeof(sigstack)\nassert alignment(sigstack) == 4, alignment(sigstack)\nu_char = c_ubyte\nu_short = c_ushort", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "fd_set", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class fd_set(Structure):\n pass\nfd_set._fields_ = [\n ('fds_bits', __int32_t * 32),\n]\nassert sizeof(fd_set) == 128, sizeof(fd_set)\nassert alignment(fd_set) == 4, alignment(fd_set)\npthread_cond_t = __darwin_pthread_cond_t\npthread_condattr_t = __darwin_pthread_condattr_t\npthread_mutex_t = __darwin_pthread_mutex_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "wait", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class wait(Union):\n pass\nclass N4wait3DOLLAR_3E(Structure):\n pass\nN4wait3DOLLAR_3E._fields_ = [\n ('w_Termsig', c_uint, 7),\n ('w_Coredump', c_uint, 1),\n ('w_Retcode', c_uint, 8),\n ('w_Filler', c_uint, 16),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N4wait3DOLLAR_3E", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class N4wait3DOLLAR_3E(Structure):\n pass\nN4wait3DOLLAR_3E._fields_ = [\n ('w_Termsig', c_uint, 7),\n ('w_Coredump', c_uint, 1),\n ('w_Retcode', c_uint, 8),\n ('w_Filler', c_uint, 16),\n]\nassert sizeof(N4wait3DOLLAR_3E) == 4, sizeof(N4wait3DOLLAR_3E)\nassert alignment(N4wait3DOLLAR_3E) == 4, alignment(N4wait3DOLLAR_3E)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N4wait3DOLLAR_4E", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class N4wait3DOLLAR_4E(Structure):\n pass\nN4wait3DOLLAR_4E._fields_ = [\n ('w_Stopval', c_uint, 8),\n ('w_Stopsig', c_uint, 8),\n ('w_Filler', c_uint, 16),\n]\nassert sizeof(N4wait3DOLLAR_4E) == 4, sizeof(N4wait3DOLLAR_4E)\nassert alignment(N4wait3DOLLAR_4E) == 4, alignment(N4wait3DOLLAR_4E)\nwait._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "timespec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class timespec(Structure):\n pass\ntimespec._fields_ = [\n ('tv_sec', time_t),\n ('tv_nsec', c_long),\n]\nassert sizeof(timespec) == 8, sizeof(timespec)\nassert alignment(timespec) == 4, alignment(timespec)\nclass tm(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "tm", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "class tm(Structure):\n pass\ntm._fields_ = [\n ('tm_sec', c_int),\n ('tm_min', c_int),\n ('tm_hour', c_int),\n ('tm_mday', c_int),\n ('tm_mon', c_int),\n ('tm_year', c_int),\n ('tm_wday', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "STRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "STRING = c_char_p\nOSUnknownByteOrder = 0\nUIT_PROMPT = 1\nP_PGID = 2\nP_PID = 1\nUIT_ERROR = 5\nUIT_INFO = 4\nUIT_NONE = 0\nP_ALL = 0\nUIT_VERIFY = 2", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "OSUnknownByteOrder", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "OSUnknownByteOrder = 0\nUIT_PROMPT = 1\nP_PGID = 2\nP_PID = 1\nUIT_ERROR = 5\nUIT_INFO = 4\nUIT_NONE = 0\nP_ALL = 0\nUIT_VERIFY = 2\nOSBigEndian = 2", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "UIT_PROMPT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "UIT_PROMPT = 1\nP_PGID = 2\nP_PID = 1\nUIT_ERROR = 5\nUIT_INFO = 4\nUIT_NONE = 0\nP_ALL = 0\nUIT_VERIFY = 2\nOSBigEndian = 2\nUIT_BOOLEAN = 3", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "P_PGID", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "P_PGID = 2\nP_PID = 1\nUIT_ERROR = 5\nUIT_INFO = 4\nUIT_NONE = 0\nP_ALL = 0\nUIT_VERIFY = 2\nOSBigEndian = 2\nUIT_BOOLEAN = 3\nOSLittleEndian = 1", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "P_PID", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "P_PID = 1\nUIT_ERROR = 5\nUIT_INFO = 4\nUIT_NONE = 0\nP_ALL = 0\nUIT_VERIFY = 2\nOSBigEndian = 2\nUIT_BOOLEAN = 3\nOSLittleEndian = 1\n__darwin_nl_item = c_int", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "UIT_ERROR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "UIT_ERROR = 5\nUIT_INFO = 4\nUIT_NONE = 0\nP_ALL = 0\nUIT_VERIFY = 2\nOSBigEndian = 2\nUIT_BOOLEAN = 3\nOSLittleEndian = 1\n__darwin_nl_item = c_int\n__darwin_wctrans_t = c_int", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "UIT_INFO", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "UIT_INFO = 4\nUIT_NONE = 0\nP_ALL = 0\nUIT_VERIFY = 2\nOSBigEndian = 2\nUIT_BOOLEAN = 3\nOSLittleEndian = 1\n__darwin_nl_item = c_int\n__darwin_wctrans_t = c_int\n__darwin_wctype_t = c_ulong", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "UIT_NONE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "UIT_NONE = 0\nP_ALL = 0\nUIT_VERIFY = 2\nOSBigEndian = 2\nUIT_BOOLEAN = 3\nOSLittleEndian = 1\n__darwin_nl_item = c_int\n__darwin_wctrans_t = c_int\n__darwin_wctype_t = c_ulong\n__int8_t = c_byte", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "P_ALL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "P_ALL = 0\nUIT_VERIFY = 2\nOSBigEndian = 2\nUIT_BOOLEAN = 3\nOSLittleEndian = 1\n__darwin_nl_item = c_int\n__darwin_wctrans_t = c_int\n__darwin_wctype_t = c_ulong\n__int8_t = c_byte\n__uint8_t = c_ubyte", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "UIT_VERIFY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "UIT_VERIFY = 2\nOSBigEndian = 2\nUIT_BOOLEAN = 3\nOSLittleEndian = 1\n__darwin_nl_item = c_int\n__darwin_wctrans_t = c_int\n__darwin_wctype_t = c_ulong\n__int8_t = c_byte\n__uint8_t = c_ubyte\n__int16_t = c_short", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "OSBigEndian", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "OSBigEndian = 2\nUIT_BOOLEAN = 3\nOSLittleEndian = 1\n__darwin_nl_item = c_int\n__darwin_wctrans_t = c_int\n__darwin_wctype_t = c_ulong\n__int8_t = c_byte\n__uint8_t = c_ubyte\n__int16_t = c_short\n__uint16_t = c_ushort", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "UIT_BOOLEAN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "UIT_BOOLEAN = 3\nOSLittleEndian = 1\n__darwin_nl_item = c_int\n__darwin_wctrans_t = c_int\n__darwin_wctype_t = c_ulong\n__int8_t = c_byte\n__uint8_t = c_ubyte\n__int16_t = c_short\n__uint16_t = c_ushort\n__int32_t = c_int", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "OSLittleEndian", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "OSLittleEndian = 1\n__darwin_nl_item = c_int\n__darwin_wctrans_t = c_int\n__darwin_wctype_t = c_ulong\n__int8_t = c_byte\n__uint8_t = c_ubyte\n__int16_t = c_short\n__uint16_t = c_ushort\n__int32_t = c_int\n__uint32_t = c_uint", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_nl_item", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_nl_item = c_int\n__darwin_wctrans_t = c_int\n__darwin_wctype_t = c_ulong\n__int8_t = c_byte\n__uint8_t = c_ubyte\n__int16_t = c_short\n__uint16_t = c_ushort\n__int32_t = c_int\n__uint32_t = c_uint\n__int64_t = c_longlong", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_wctrans_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_wctrans_t = c_int\n__darwin_wctype_t = c_ulong\n__int8_t = c_byte\n__uint8_t = c_ubyte\n__int16_t = c_short\n__uint16_t = c_ushort\n__int32_t = c_int\n__uint32_t = c_uint\n__int64_t = c_longlong\n__uint64_t = c_ulonglong", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_wctype_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_wctype_t = c_ulong\n__int8_t = c_byte\n__uint8_t = c_ubyte\n__int16_t = c_short\n__uint16_t = c_ushort\n__int32_t = c_int\n__uint32_t = c_uint\n__int64_t = c_longlong\n__uint64_t = c_ulonglong\n__darwin_intptr_t = c_long", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__int8_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__int8_t = c_byte\n__uint8_t = c_ubyte\n__int16_t = c_short\n__uint16_t = c_ushort\n__int32_t = c_int\n__uint32_t = c_uint\n__int64_t = c_longlong\n__uint64_t = c_ulonglong\n__darwin_intptr_t = c_long\n__darwin_natural_t = c_uint", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__uint8_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__uint8_t = c_ubyte\n__int16_t = c_short\n__uint16_t = c_ushort\n__int32_t = c_int\n__uint32_t = c_uint\n__int64_t = c_longlong\n__uint64_t = c_ulonglong\n__darwin_intptr_t = c_long\n__darwin_natural_t = c_uint\n__darwin_ct_rune_t = c_int", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__int16_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__int16_t = c_short\n__uint16_t = c_ushort\n__int32_t = c_int\n__uint32_t = c_uint\n__int64_t = c_longlong\n__uint64_t = c_ulonglong\n__darwin_intptr_t = c_long\n__darwin_natural_t = c_uint\n__darwin_ct_rune_t = c_int\nclass __mbstate_t(Union):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__uint16_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__uint16_t = c_ushort\n__int32_t = c_int\n__uint32_t = c_uint\n__int64_t = c_longlong\n__uint64_t = c_ulonglong\n__darwin_intptr_t = c_long\n__darwin_natural_t = c_uint\n__darwin_ct_rune_t = c_int\nclass __mbstate_t(Union):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__int32_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__int32_t = c_int\n__uint32_t = c_uint\n__int64_t = c_longlong\n__uint64_t = c_ulonglong\n__darwin_intptr_t = c_long\n__darwin_natural_t = c_uint\n__darwin_ct_rune_t = c_int\nclass __mbstate_t(Union):\n pass\n__mbstate_t._pack_ = 4", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__uint32_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__uint32_t = c_uint\n__int64_t = c_longlong\n__uint64_t = c_ulonglong\n__darwin_intptr_t = c_long\n__darwin_natural_t = c_uint\n__darwin_ct_rune_t = c_int\nclass __mbstate_t(Union):\n pass\n__mbstate_t._pack_ = 4\n__mbstate_t._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__int64_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__int64_t = c_longlong\n__uint64_t = c_ulonglong\n__darwin_intptr_t = c_long\n__darwin_natural_t = c_uint\n__darwin_ct_rune_t = c_int\nclass __mbstate_t(Union):\n pass\n__mbstate_t._pack_ = 4\n__mbstate_t._fields_ = [\n ('__mbstate8', c_char * 128),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__uint64_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__uint64_t = c_ulonglong\n__darwin_intptr_t = c_long\n__darwin_natural_t = c_uint\n__darwin_ct_rune_t = c_int\nclass __mbstate_t(Union):\n pass\n__mbstate_t._pack_ = 4\n__mbstate_t._fields_ = [\n ('__mbstate8', c_char * 128),\n ('_mbstateL', c_longlong),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_intptr_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_intptr_t = c_long\n__darwin_natural_t = c_uint\n__darwin_ct_rune_t = c_int\nclass __mbstate_t(Union):\n pass\n__mbstate_t._pack_ = 4\n__mbstate_t._fields_ = [\n ('__mbstate8', c_char * 128),\n ('_mbstateL', c_longlong),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_natural_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_natural_t = c_uint\n__darwin_ct_rune_t = c_int\nclass __mbstate_t(Union):\n pass\n__mbstate_t._pack_ = 4\n__mbstate_t._fields_ = [\n ('__mbstate8', c_char * 128),\n ('_mbstateL', c_longlong),\n]\nassert sizeof(__mbstate_t) == 128, sizeof(__mbstate_t)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_ct_rune_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_ct_rune_t = c_int\nclass __mbstate_t(Union):\n pass\n__mbstate_t._pack_ = 4\n__mbstate_t._fields_ = [\n ('__mbstate8', c_char * 128),\n ('_mbstateL', c_longlong),\n]\nassert sizeof(__mbstate_t) == 128, sizeof(__mbstate_t)\nassert alignment(__mbstate_t) == 4, alignment(__mbstate_t)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__mbstate_t._pack_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__mbstate_t._pack_ = 4\n__mbstate_t._fields_ = [\n ('__mbstate8', c_char * 128),\n ('_mbstateL', c_longlong),\n]\nassert sizeof(__mbstate_t) == 128, sizeof(__mbstate_t)\nassert alignment(__mbstate_t) == 4, alignment(__mbstate_t)\n__darwin_mbstate_t = __mbstate_t\n__darwin_ptrdiff_t = c_int\n__darwin_size_t = c_ulong", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__mbstate_t._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__mbstate_t._fields_ = [\n ('__mbstate8', c_char * 128),\n ('_mbstateL', c_longlong),\n]\nassert sizeof(__mbstate_t) == 128, sizeof(__mbstate_t)\nassert alignment(__mbstate_t) == 4, alignment(__mbstate_t)\n__darwin_mbstate_t = __mbstate_t\n__darwin_ptrdiff_t = c_int\n__darwin_size_t = c_ulong\n__darwin_va_list = STRING", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_mbstate_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_mbstate_t = __mbstate_t\n__darwin_ptrdiff_t = c_int\n__darwin_size_t = c_ulong\n__darwin_va_list = STRING\n__darwin_wchar_t = c_int\n__darwin_rune_t = __darwin_wchar_t\n__darwin_wint_t = c_int\n__darwin_clock_t = c_ulong\n__darwin_socklen_t = __uint32_t\n__darwin_ssize_t = c_long", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_ptrdiff_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_ptrdiff_t = c_int\n__darwin_size_t = c_ulong\n__darwin_va_list = STRING\n__darwin_wchar_t = c_int\n__darwin_rune_t = __darwin_wchar_t\n__darwin_wint_t = c_int\n__darwin_clock_t = c_ulong\n__darwin_socklen_t = __uint32_t\n__darwin_ssize_t = c_long\n__darwin_time_t = c_long", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_size_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_size_t = c_ulong\n__darwin_va_list = STRING\n__darwin_wchar_t = c_int\n__darwin_rune_t = __darwin_wchar_t\n__darwin_wint_t = c_int\n__darwin_clock_t = c_ulong\n__darwin_socklen_t = __uint32_t\n__darwin_ssize_t = c_long\n__darwin_time_t = c_long\nsig_atomic_t = c_int", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_va_list", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_va_list = STRING\n__darwin_wchar_t = c_int\n__darwin_rune_t = __darwin_wchar_t\n__darwin_wint_t = c_int\n__darwin_clock_t = c_ulong\n__darwin_socklen_t = __uint32_t\n__darwin_ssize_t = c_long\n__darwin_time_t = c_long\nsig_atomic_t = c_int\nclass sigcontext(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_wchar_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_wchar_t = c_int\n__darwin_rune_t = __darwin_wchar_t\n__darwin_wint_t = c_int\n__darwin_clock_t = c_ulong\n__darwin_socklen_t = __uint32_t\n__darwin_ssize_t = c_long\n__darwin_time_t = c_long\nsig_atomic_t = c_int\nclass sigcontext(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_rune_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_rune_t = __darwin_wchar_t\n__darwin_wint_t = c_int\n__darwin_clock_t = c_ulong\n__darwin_socklen_t = __uint32_t\n__darwin_ssize_t = c_long\n__darwin_time_t = c_long\nsig_atomic_t = c_int\nclass sigcontext(Structure):\n pass\nsigcontext._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_wint_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_wint_t = c_int\n__darwin_clock_t = c_ulong\n__darwin_socklen_t = __uint32_t\n__darwin_ssize_t = c_long\n__darwin_time_t = c_long\nsig_atomic_t = c_int\nclass sigcontext(Structure):\n pass\nsigcontext._fields_ = [\n ('sc_onstack', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_clock_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_clock_t = c_ulong\n__darwin_socklen_t = __uint32_t\n__darwin_ssize_t = c_long\n__darwin_time_t = c_long\nsig_atomic_t = c_int\nclass sigcontext(Structure):\n pass\nsigcontext._fields_ = [\n ('sc_onstack', c_int),\n ('sc_mask', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_socklen_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_socklen_t = __uint32_t\n__darwin_ssize_t = c_long\n__darwin_time_t = c_long\nsig_atomic_t = c_int\nclass sigcontext(Structure):\n pass\nsigcontext._fields_ = [\n ('sc_onstack', c_int),\n ('sc_mask', c_int),\n ('sc_eax', c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_ssize_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_ssize_t = c_long\n__darwin_time_t = c_long\nsig_atomic_t = c_int\nclass sigcontext(Structure):\n pass\nsigcontext._fields_ = [\n ('sc_onstack', c_int),\n ('sc_mask', c_int),\n ('sc_eax', c_uint),\n ('sc_ebx', c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_time_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_time_t = c_long\nsig_atomic_t = c_int\nclass sigcontext(Structure):\n pass\nsigcontext._fields_ = [\n ('sc_onstack', c_int),\n ('sc_mask', c_int),\n ('sc_eax', c_uint),\n ('sc_ebx', c_uint),\n ('sc_ecx', c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sig_atomic_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "sig_atomic_t = c_int\nclass sigcontext(Structure):\n pass\nsigcontext._fields_ = [\n ('sc_onstack', c_int),\n ('sc_mask', c_int),\n ('sc_eax', c_uint),\n ('sc_ebx', c_uint),\n ('sc_ecx', c_uint),\n ('sc_edx', c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sigcontext._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "sigcontext._fields_ = [\n ('sc_onstack', c_int),\n ('sc_mask', c_int),\n ('sc_eax', c_uint),\n ('sc_ebx', c_uint),\n ('sc_ecx', c_uint),\n ('sc_edx', c_uint),\n ('sc_edi', c_uint),\n ('sc_esi', c_uint),\n ('sc_ebp', c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "u_int8_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "u_int8_t = c_ubyte\nu_int16_t = c_ushort\nu_int32_t = c_uint\nu_int64_t = c_ulonglong\nint32_t = c_int\nregister_t = int32_t\nuser_addr_t = u_int64_t\nuser_size_t = u_int64_t\nint64_t = c_longlong\nuser_ssize_t = int64_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "u_int16_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "u_int16_t = c_ushort\nu_int32_t = c_uint\nu_int64_t = c_ulonglong\nint32_t = c_int\nregister_t = int32_t\nuser_addr_t = u_int64_t\nuser_size_t = u_int64_t\nint64_t = c_longlong\nuser_ssize_t = int64_t\nuser_long_t = int64_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "u_int32_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "u_int32_t = c_uint\nu_int64_t = c_ulonglong\nint32_t = c_int\nregister_t = int32_t\nuser_addr_t = u_int64_t\nuser_size_t = u_int64_t\nint64_t = c_longlong\nuser_ssize_t = int64_t\nuser_long_t = int64_t\nuser_ulong_t = u_int64_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "u_int64_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "u_int64_t = c_ulonglong\nint32_t = c_int\nregister_t = int32_t\nuser_addr_t = u_int64_t\nuser_size_t = u_int64_t\nint64_t = c_longlong\nuser_ssize_t = int64_t\nuser_long_t = int64_t\nuser_ulong_t = u_int64_t\nuser_time_t = int64_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "int32_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "int32_t = c_int\nregister_t = int32_t\nuser_addr_t = u_int64_t\nuser_size_t = u_int64_t\nint64_t = c_longlong\nuser_ssize_t = int64_t\nuser_long_t = int64_t\nuser_ulong_t = u_int64_t\nuser_time_t = int64_t\nsyscall_arg_t = u_int64_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "register_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "register_t = int32_t\nuser_addr_t = u_int64_t\nuser_size_t = u_int64_t\nint64_t = c_longlong\nuser_ssize_t = int64_t\nuser_long_t = int64_t\nuser_ulong_t = u_int64_t\nuser_time_t = int64_t\nsyscall_arg_t = u_int64_t\n# values for unnamed enumeration", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "user_addr_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "user_addr_t = u_int64_t\nuser_size_t = u_int64_t\nint64_t = c_longlong\nuser_ssize_t = int64_t\nuser_long_t = int64_t\nuser_ulong_t = u_int64_t\nuser_time_t = int64_t\nsyscall_arg_t = u_int64_t\n# values for unnamed enumeration\nclass aes_key_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "user_size_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "user_size_t = u_int64_t\nint64_t = c_longlong\nuser_ssize_t = int64_t\nuser_long_t = int64_t\nuser_ulong_t = u_int64_t\nuser_time_t = int64_t\nsyscall_arg_t = u_int64_t\n# values for unnamed enumeration\nclass aes_key_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "int64_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "int64_t = c_longlong\nuser_ssize_t = int64_t\nuser_long_t = int64_t\nuser_ulong_t = u_int64_t\nuser_time_t = int64_t\nsyscall_arg_t = u_int64_t\n# values for unnamed enumeration\nclass aes_key_st(Structure):\n pass\naes_key_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "user_ssize_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "user_ssize_t = int64_t\nuser_long_t = int64_t\nuser_ulong_t = u_int64_t\nuser_time_t = int64_t\nsyscall_arg_t = u_int64_t\n# values for unnamed enumeration\nclass aes_key_st(Structure):\n pass\naes_key_st._fields_ = [\n ('rd_key', c_ulong * 60),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "user_long_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "user_long_t = int64_t\nuser_ulong_t = u_int64_t\nuser_time_t = int64_t\nsyscall_arg_t = u_int64_t\n# values for unnamed enumeration\nclass aes_key_st(Structure):\n pass\naes_key_st._fields_ = [\n ('rd_key', c_ulong * 60),\n ('rounds', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "user_ulong_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "user_ulong_t = u_int64_t\nuser_time_t = int64_t\nsyscall_arg_t = u_int64_t\n# values for unnamed enumeration\nclass aes_key_st(Structure):\n pass\naes_key_st._fields_ = [\n ('rd_key', c_ulong * 60),\n ('rounds', c_int),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "user_time_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "user_time_t = int64_t\nsyscall_arg_t = u_int64_t\n# values for unnamed enumeration\nclass aes_key_st(Structure):\n pass\naes_key_st._fields_ = [\n ('rd_key', c_ulong * 60),\n ('rounds', c_int),\n]\nassert sizeof(aes_key_st) == 244, sizeof(aes_key_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "syscall_arg_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "syscall_arg_t = u_int64_t\n# values for unnamed enumeration\nclass aes_key_st(Structure):\n pass\naes_key_st._fields_ = [\n ('rd_key', c_ulong * 60),\n ('rounds', c_int),\n]\nassert sizeof(aes_key_st) == 244, sizeof(aes_key_st)\nassert alignment(aes_key_st) == 4, alignment(aes_key_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "aes_key_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "aes_key_st._fields_ = [\n ('rd_key', c_ulong * 60),\n ('rounds', c_int),\n]\nassert sizeof(aes_key_st) == 244, sizeof(aes_key_st)\nassert alignment(aes_key_st) == 4, alignment(aes_key_st)\nAES_KEY = aes_key_st\nclass asn1_ctx_st(Structure):\n pass\nasn1_ctx_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "AES_KEY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "AES_KEY = aes_key_st\nclass asn1_ctx_st(Structure):\n pass\nasn1_ctx_st._fields_ = [\n ('p', POINTER(c_ubyte)),\n ('eos', c_int),\n ('error', c_int),\n ('inf', c_int),\n ('tag', c_int),\n ('xclass', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "asn1_ctx_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "asn1_ctx_st._fields_ = [\n ('p', POINTER(c_ubyte)),\n ('eos', c_int),\n ('error', c_int),\n ('inf', c_int),\n ('tag', c_int),\n ('xclass', c_int),\n ('slen', c_long),\n ('max', POINTER(c_ubyte)),\n ('q', POINTER(c_ubyte)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_CTX = asn1_ctx_st\nclass asn1_object_st(Structure):\n pass\nasn1_object_st._fields_ = [\n ('sn', STRING),\n ('ln', STRING),\n ('nid', c_int),\n ('length', c_int),\n ('data', POINTER(c_ubyte)),\n ('flags', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "asn1_object_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "asn1_object_st._fields_ = [\n ('sn', STRING),\n ('ln', STRING),\n ('nid', c_int),\n ('length', c_int),\n ('data', POINTER(c_ubyte)),\n ('flags', c_int),\n]\nassert sizeof(asn1_object_st) == 24, sizeof(asn1_object_st)\nassert alignment(asn1_object_st) == 4, alignment(asn1_object_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_OBJECT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_OBJECT = asn1_object_st\nclass asn1_string_st(Structure):\n pass\nasn1_string_st._fields_ = [\n ('length', c_int),\n ('type', c_int),\n ('data', POINTER(c_ubyte)),\n ('flags', c_long),\n]\nassert sizeof(asn1_string_st) == 16, sizeof(asn1_string_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "asn1_string_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "asn1_string_st._fields_ = [\n ('length', c_int),\n ('type', c_int),\n ('data', POINTER(c_ubyte)),\n ('flags', c_long),\n]\nassert sizeof(asn1_string_st) == 16, sizeof(asn1_string_st)\nassert alignment(asn1_string_st) == 4, alignment(asn1_string_st)\nASN1_STRING = asn1_string_st\nclass ASN1_ENCODING_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_STRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_STRING = asn1_string_st\nclass ASN1_ENCODING_st(Structure):\n pass\nASN1_ENCODING_st._fields_ = [\n ('enc', POINTER(c_ubyte)),\n ('len', c_long),\n ('modified', c_int),\n]\nassert sizeof(ASN1_ENCODING_st) == 12, sizeof(ASN1_ENCODING_st)\nassert alignment(ASN1_ENCODING_st) == 4, alignment(ASN1_ENCODING_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_ENCODING_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_ENCODING_st._fields_ = [\n ('enc', POINTER(c_ubyte)),\n ('len', c_long),\n ('modified', c_int),\n]\nassert sizeof(ASN1_ENCODING_st) == 12, sizeof(ASN1_ENCODING_st)\nassert alignment(ASN1_ENCODING_st) == 4, alignment(ASN1_ENCODING_st)\nASN1_ENCODING = ASN1_ENCODING_st\nclass asn1_string_table_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_ENCODING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_ENCODING = ASN1_ENCODING_st\nclass asn1_string_table_st(Structure):\n pass\nasn1_string_table_st._fields_ = [\n ('nid', c_int),\n ('minsize', c_long),\n ('maxsize', c_long),\n ('mask', c_ulong),\n ('flags', c_ulong),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "asn1_string_table_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "asn1_string_table_st._fields_ = [\n ('nid', c_int),\n ('minsize', c_long),\n ('maxsize', c_long),\n ('mask', c_ulong),\n ('flags', c_ulong),\n]\nassert sizeof(asn1_string_table_st) == 20, sizeof(asn1_string_table_st)\nassert alignment(asn1_string_table_st) == 4, alignment(asn1_string_table_st)\nASN1_STRING_TABLE = asn1_string_table_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_STRING_TABLE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_STRING_TABLE = asn1_string_table_st\nclass ASN1_TEMPLATE_st(Structure):\n pass\nASN1_TEMPLATE_st._fields_ = [\n]\nASN1_TEMPLATE = ASN1_TEMPLATE_st\nclass ASN1_ITEM_st(Structure):\n pass\nASN1_ITEM = ASN1_ITEM_st\nASN1_ITEM_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_TEMPLATE_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_TEMPLATE_st._fields_ = [\n]\nASN1_TEMPLATE = ASN1_TEMPLATE_st\nclass ASN1_ITEM_st(Structure):\n pass\nASN1_ITEM = ASN1_ITEM_st\nASN1_ITEM_st._fields_ = [\n]\nclass ASN1_TLC_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_TEMPLATE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_TEMPLATE = ASN1_TEMPLATE_st\nclass ASN1_ITEM_st(Structure):\n pass\nASN1_ITEM = ASN1_ITEM_st\nASN1_ITEM_st._fields_ = [\n]\nclass ASN1_TLC_st(Structure):\n pass\nASN1_TLC = ASN1_TLC_st\nASN1_TLC_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_ITEM", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_ITEM = ASN1_ITEM_st\nASN1_ITEM_st._fields_ = [\n]\nclass ASN1_TLC_st(Structure):\n pass\nASN1_TLC = ASN1_TLC_st\nASN1_TLC_st._fields_ = [\n]\nclass ASN1_VALUE_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_ITEM_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_ITEM_st._fields_ = [\n]\nclass ASN1_TLC_st(Structure):\n pass\nASN1_TLC = ASN1_TLC_st\nASN1_TLC_st._fields_ = [\n]\nclass ASN1_VALUE_st(Structure):\n pass\nASN1_VALUE_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_TLC", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_TLC = ASN1_TLC_st\nASN1_TLC_st._fields_ = [\n]\nclass ASN1_VALUE_st(Structure):\n pass\nASN1_VALUE_st._fields_ = [\n]\nASN1_VALUE = ASN1_VALUE_st\nASN1_ITEM_EXP = ASN1_ITEM\nclass asn1_type_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_TLC_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_TLC_st._fields_ = [\n]\nclass ASN1_VALUE_st(Structure):\n pass\nASN1_VALUE_st._fields_ = [\n]\nASN1_VALUE = ASN1_VALUE_st\nASN1_ITEM_EXP = ASN1_ITEM\nclass asn1_type_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_VALUE_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_VALUE_st._fields_ = [\n]\nASN1_VALUE = ASN1_VALUE_st\nASN1_ITEM_EXP = ASN1_ITEM\nclass asn1_type_st(Structure):\n pass\nclass N12asn1_type_st4DOLLAR_11E(Union):\n pass\nASN1_BOOLEAN = c_int\nASN1_INTEGER = asn1_string_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_VALUE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_VALUE = ASN1_VALUE_st\nASN1_ITEM_EXP = ASN1_ITEM\nclass asn1_type_st(Structure):\n pass\nclass N12asn1_type_st4DOLLAR_11E(Union):\n pass\nASN1_BOOLEAN = c_int\nASN1_INTEGER = asn1_string_st\nASN1_ENUMERATED = asn1_string_st\nASN1_BIT_STRING = asn1_string_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_ITEM_EXP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_ITEM_EXP = ASN1_ITEM\nclass asn1_type_st(Structure):\n pass\nclass N12asn1_type_st4DOLLAR_11E(Union):\n pass\nASN1_BOOLEAN = c_int\nASN1_INTEGER = asn1_string_st\nASN1_ENUMERATED = asn1_string_st\nASN1_BIT_STRING = asn1_string_st\nASN1_OCTET_STRING = asn1_string_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_BOOLEAN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_BOOLEAN = c_int\nASN1_INTEGER = asn1_string_st\nASN1_ENUMERATED = asn1_string_st\nASN1_BIT_STRING = asn1_string_st\nASN1_OCTET_STRING = asn1_string_st\nASN1_PRINTABLESTRING = asn1_string_st\nASN1_T61STRING = asn1_string_st\nASN1_IA5STRING = asn1_string_st\nASN1_GENERALSTRING = asn1_string_st\nASN1_BMPSTRING = asn1_string_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_INTEGER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_INTEGER = asn1_string_st\nASN1_ENUMERATED = asn1_string_st\nASN1_BIT_STRING = asn1_string_st\nASN1_OCTET_STRING = asn1_string_st\nASN1_PRINTABLESTRING = asn1_string_st\nASN1_T61STRING = asn1_string_st\nASN1_IA5STRING = asn1_string_st\nASN1_GENERALSTRING = asn1_string_st\nASN1_BMPSTRING = asn1_string_st\nASN1_UNIVERSALSTRING = asn1_string_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_ENUMERATED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_ENUMERATED = asn1_string_st\nASN1_BIT_STRING = asn1_string_st\nASN1_OCTET_STRING = asn1_string_st\nASN1_PRINTABLESTRING = asn1_string_st\nASN1_T61STRING = asn1_string_st\nASN1_IA5STRING = asn1_string_st\nASN1_GENERALSTRING = asn1_string_st\nASN1_BMPSTRING = asn1_string_st\nASN1_UNIVERSALSTRING = asn1_string_st\nASN1_UTCTIME = asn1_string_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_BIT_STRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_BIT_STRING = asn1_string_st\nASN1_OCTET_STRING = asn1_string_st\nASN1_PRINTABLESTRING = asn1_string_st\nASN1_T61STRING = asn1_string_st\nASN1_IA5STRING = asn1_string_st\nASN1_GENERALSTRING = asn1_string_st\nASN1_BMPSTRING = asn1_string_st\nASN1_UNIVERSALSTRING = asn1_string_st\nASN1_UTCTIME = asn1_string_st\nASN1_GENERALIZEDTIME = asn1_string_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_OCTET_STRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_OCTET_STRING = asn1_string_st\nASN1_PRINTABLESTRING = asn1_string_st\nASN1_T61STRING = asn1_string_st\nASN1_IA5STRING = asn1_string_st\nASN1_GENERALSTRING = asn1_string_st\nASN1_BMPSTRING = asn1_string_st\nASN1_UNIVERSALSTRING = asn1_string_st\nASN1_UTCTIME = asn1_string_st\nASN1_GENERALIZEDTIME = asn1_string_st\nASN1_VISIBLESTRING = asn1_string_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_PRINTABLESTRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_PRINTABLESTRING = asn1_string_st\nASN1_T61STRING = asn1_string_st\nASN1_IA5STRING = asn1_string_st\nASN1_GENERALSTRING = asn1_string_st\nASN1_BMPSTRING = asn1_string_st\nASN1_UNIVERSALSTRING = asn1_string_st\nASN1_UTCTIME = asn1_string_st\nASN1_GENERALIZEDTIME = asn1_string_st\nASN1_VISIBLESTRING = asn1_string_st\nASN1_UTF8STRING = asn1_string_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_T61STRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_T61STRING = asn1_string_st\nASN1_IA5STRING = asn1_string_st\nASN1_GENERALSTRING = asn1_string_st\nASN1_BMPSTRING = asn1_string_st\nASN1_UNIVERSALSTRING = asn1_string_st\nASN1_UTCTIME = asn1_string_st\nASN1_GENERALIZEDTIME = asn1_string_st\nASN1_VISIBLESTRING = asn1_string_st\nASN1_UTF8STRING = asn1_string_st\nN12asn1_type_st4DOLLAR_11E._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_IA5STRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_IA5STRING = asn1_string_st\nASN1_GENERALSTRING = asn1_string_st\nASN1_BMPSTRING = asn1_string_st\nASN1_UNIVERSALSTRING = asn1_string_st\nASN1_UTCTIME = asn1_string_st\nASN1_GENERALIZEDTIME = asn1_string_st\nASN1_VISIBLESTRING = asn1_string_st\nASN1_UTF8STRING = asn1_string_st\nN12asn1_type_st4DOLLAR_11E._fields_ = [\n ('ptr', STRING),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_GENERALSTRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_GENERALSTRING = asn1_string_st\nASN1_BMPSTRING = asn1_string_st\nASN1_UNIVERSALSTRING = asn1_string_st\nASN1_UTCTIME = asn1_string_st\nASN1_GENERALIZEDTIME = asn1_string_st\nASN1_VISIBLESTRING = asn1_string_st\nASN1_UTF8STRING = asn1_string_st\nN12asn1_type_st4DOLLAR_11E._fields_ = [\n ('ptr', STRING),\n ('boolean', ASN1_BOOLEAN),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_BMPSTRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_BMPSTRING = asn1_string_st\nASN1_UNIVERSALSTRING = asn1_string_st\nASN1_UTCTIME = asn1_string_st\nASN1_GENERALIZEDTIME = asn1_string_st\nASN1_VISIBLESTRING = asn1_string_st\nASN1_UTF8STRING = asn1_string_st\nN12asn1_type_st4DOLLAR_11E._fields_ = [\n ('ptr', STRING),\n ('boolean', ASN1_BOOLEAN),\n ('asn1_string', POINTER(ASN1_STRING)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_UNIVERSALSTRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_UNIVERSALSTRING = asn1_string_st\nASN1_UTCTIME = asn1_string_st\nASN1_GENERALIZEDTIME = asn1_string_st\nASN1_VISIBLESTRING = asn1_string_st\nASN1_UTF8STRING = asn1_string_st\nN12asn1_type_st4DOLLAR_11E._fields_ = [\n ('ptr', STRING),\n ('boolean', ASN1_BOOLEAN),\n ('asn1_string', POINTER(ASN1_STRING)),\n ('object', POINTER(ASN1_OBJECT)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_UTCTIME", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_UTCTIME = asn1_string_st\nASN1_GENERALIZEDTIME = asn1_string_st\nASN1_VISIBLESTRING = asn1_string_st\nASN1_UTF8STRING = asn1_string_st\nN12asn1_type_st4DOLLAR_11E._fields_ = [\n ('ptr', STRING),\n ('boolean', ASN1_BOOLEAN),\n ('asn1_string', POINTER(ASN1_STRING)),\n ('object', POINTER(ASN1_OBJECT)),\n ('integer', POINTER(ASN1_INTEGER)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_GENERALIZEDTIME", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_GENERALIZEDTIME = asn1_string_st\nASN1_VISIBLESTRING = asn1_string_st\nASN1_UTF8STRING = asn1_string_st\nN12asn1_type_st4DOLLAR_11E._fields_ = [\n ('ptr', STRING),\n ('boolean', ASN1_BOOLEAN),\n ('asn1_string', POINTER(ASN1_STRING)),\n ('object', POINTER(ASN1_OBJECT)),\n ('integer', POINTER(ASN1_INTEGER)),\n ('enumerated', POINTER(ASN1_ENUMERATED)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_VISIBLESTRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_VISIBLESTRING = asn1_string_st\nASN1_UTF8STRING = asn1_string_st\nN12asn1_type_st4DOLLAR_11E._fields_ = [\n ('ptr', STRING),\n ('boolean', ASN1_BOOLEAN),\n ('asn1_string', POINTER(ASN1_STRING)),\n ('object', POINTER(ASN1_OBJECT)),\n ('integer', POINTER(ASN1_INTEGER)),\n ('enumerated', POINTER(ASN1_ENUMERATED)),\n ('bit_string', POINTER(ASN1_BIT_STRING)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_UTF8STRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_UTF8STRING = asn1_string_st\nN12asn1_type_st4DOLLAR_11E._fields_ = [\n ('ptr', STRING),\n ('boolean', ASN1_BOOLEAN),\n ('asn1_string', POINTER(ASN1_STRING)),\n ('object', POINTER(ASN1_OBJECT)),\n ('integer', POINTER(ASN1_INTEGER)),\n ('enumerated', POINTER(ASN1_ENUMERATED)),\n ('bit_string', POINTER(ASN1_BIT_STRING)),\n ('octet_string', POINTER(ASN1_OCTET_STRING)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N12asn1_type_st4DOLLAR_11E._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "N12asn1_type_st4DOLLAR_11E._fields_ = [\n ('ptr', STRING),\n ('boolean', ASN1_BOOLEAN),\n ('asn1_string', POINTER(ASN1_STRING)),\n ('object', POINTER(ASN1_OBJECT)),\n ('integer', POINTER(ASN1_INTEGER)),\n ('enumerated', POINTER(ASN1_ENUMERATED)),\n ('bit_string', POINTER(ASN1_BIT_STRING)),\n ('octet_string', POINTER(ASN1_OCTET_STRING)),\n ('printablestring', POINTER(ASN1_PRINTABLESTRING)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "asn1_type_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "asn1_type_st._fields_ = [\n ('type', c_int),\n ('value', N12asn1_type_st4DOLLAR_11E),\n]\nassert sizeof(asn1_type_st) == 8, sizeof(asn1_type_st)\nassert alignment(asn1_type_st) == 4, alignment(asn1_type_st)\nASN1_TYPE = asn1_type_st\nclass asn1_method_st(Structure):\n pass\nasn1_method_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_TYPE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_TYPE = asn1_type_st\nclass asn1_method_st(Structure):\n pass\nasn1_method_st._fields_ = [\n ('i2d', CFUNCTYPE(c_int)),\n ('d2i', CFUNCTYPE(STRING)),\n ('create', CFUNCTYPE(STRING)),\n ('destroy', CFUNCTYPE(None)),\n]\nassert sizeof(asn1_method_st) == 16, sizeof(asn1_method_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "asn1_method_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "asn1_method_st._fields_ = [\n ('i2d', CFUNCTYPE(c_int)),\n ('d2i', CFUNCTYPE(STRING)),\n ('create', CFUNCTYPE(STRING)),\n ('destroy', CFUNCTYPE(None)),\n]\nassert sizeof(asn1_method_st) == 16, sizeof(asn1_method_st)\nassert alignment(asn1_method_st) == 4, alignment(asn1_method_st)\nASN1_METHOD = asn1_method_st\nclass asn1_header_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_METHOD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_METHOD = asn1_method_st\nclass asn1_header_st(Structure):\n pass\nasn1_header_st._fields_ = [\n ('header', POINTER(ASN1_OCTET_STRING)),\n ('data', STRING),\n ('meth', POINTER(ASN1_METHOD)),\n]\nassert sizeof(asn1_header_st) == 12, sizeof(asn1_header_st)\nassert alignment(asn1_header_st) == 4, alignment(asn1_header_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "asn1_header_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "asn1_header_st._fields_ = [\n ('header', POINTER(ASN1_OCTET_STRING)),\n ('data', STRING),\n ('meth', POINTER(ASN1_METHOD)),\n]\nassert sizeof(asn1_header_st) == 12, sizeof(asn1_header_st)\nassert alignment(asn1_header_st) == 4, alignment(asn1_header_st)\nASN1_HEADER = asn1_header_st\nclass BIT_STRING_BITNAME_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_HEADER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_HEADER = asn1_header_st\nclass BIT_STRING_BITNAME_st(Structure):\n pass\nBIT_STRING_BITNAME_st._fields_ = [\n ('bitnum', c_int),\n ('lname', STRING),\n ('sname', STRING),\n]\nassert sizeof(BIT_STRING_BITNAME_st) == 12, sizeof(BIT_STRING_BITNAME_st)\nassert alignment(BIT_STRING_BITNAME_st) == 4, alignment(BIT_STRING_BITNAME_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "BIT_STRING_BITNAME_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "BIT_STRING_BITNAME_st._fields_ = [\n ('bitnum', c_int),\n ('lname', STRING),\n ('sname', STRING),\n]\nassert sizeof(BIT_STRING_BITNAME_st) == 12, sizeof(BIT_STRING_BITNAME_st)\nassert alignment(BIT_STRING_BITNAME_st) == 4, alignment(BIT_STRING_BITNAME_st)\nBIT_STRING_BITNAME = BIT_STRING_BITNAME_st\nclass bio_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "BIT_STRING_BITNAME", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "BIT_STRING_BITNAME = BIT_STRING_BITNAME_st\nclass bio_st(Structure):\n pass\nBIO = bio_st\nbio_info_cb = CFUNCTYPE(None, POINTER(bio_st), c_int, STRING, c_int, c_long, c_long)\nclass bio_method_st(Structure):\n pass\nbio_method_st._fields_ = [\n ('type', c_int),\n ('name', STRING),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "BIO", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "BIO = bio_st\nbio_info_cb = CFUNCTYPE(None, POINTER(bio_st), c_int, STRING, c_int, c_long, c_long)\nclass bio_method_st(Structure):\n pass\nbio_method_st._fields_ = [\n ('type', c_int),\n ('name', STRING),\n ('bwrite', CFUNCTYPE(c_int, POINTER(BIO), STRING, c_int)),\n ('bread', CFUNCTYPE(c_int, POINTER(BIO), STRING, c_int)),\n ('bputs', CFUNCTYPE(c_int, POINTER(BIO), STRING)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bio_info_cb", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "bio_info_cb = CFUNCTYPE(None, POINTER(bio_st), c_int, STRING, c_int, c_long, c_long)\nclass bio_method_st(Structure):\n pass\nbio_method_st._fields_ = [\n ('type', c_int),\n ('name', STRING),\n ('bwrite', CFUNCTYPE(c_int, POINTER(BIO), STRING, c_int)),\n ('bread', CFUNCTYPE(c_int, POINTER(BIO), STRING, c_int)),\n ('bputs', CFUNCTYPE(c_int, POINTER(BIO), STRING)),\n ('bgets', CFUNCTYPE(c_int, POINTER(BIO), STRING, c_int)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bio_method_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "bio_method_st._fields_ = [\n ('type', c_int),\n ('name', STRING),\n ('bwrite', CFUNCTYPE(c_int, POINTER(BIO), STRING, c_int)),\n ('bread', CFUNCTYPE(c_int, POINTER(BIO), STRING, c_int)),\n ('bputs', CFUNCTYPE(c_int, POINTER(BIO), STRING)),\n ('bgets', CFUNCTYPE(c_int, POINTER(BIO), STRING, c_int)),\n ('ctrl', CFUNCTYPE(c_long, POINTER(BIO), c_int, c_long, c_void_p)),\n ('create', CFUNCTYPE(c_int, POINTER(BIO))),\n ('destroy', CFUNCTYPE(c_int, POINTER(BIO))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "BIO_METHOD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "BIO_METHOD = bio_method_st\nclass crypto_ex_data_st(Structure):\n pass\nclass stack_st(Structure):\n pass\nSTACK = stack_st\ncrypto_ex_data_st._fields_ = [\n ('sk', POINTER(STACK)),\n ('dummy', c_int),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "STACK", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "STACK = stack_st\ncrypto_ex_data_st._fields_ = [\n ('sk', POINTER(STACK)),\n ('dummy', c_int),\n]\nassert sizeof(crypto_ex_data_st) == 8, sizeof(crypto_ex_data_st)\nassert alignment(crypto_ex_data_st) == 4, alignment(crypto_ex_data_st)\nCRYPTO_EX_DATA = crypto_ex_data_st\nbio_st._fields_ = [\n ('method', POINTER(BIO_METHOD)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "crypto_ex_data_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "crypto_ex_data_st._fields_ = [\n ('sk', POINTER(STACK)),\n ('dummy', c_int),\n]\nassert sizeof(crypto_ex_data_st) == 8, sizeof(crypto_ex_data_st)\nassert alignment(crypto_ex_data_st) == 4, alignment(crypto_ex_data_st)\nCRYPTO_EX_DATA = crypto_ex_data_st\nbio_st._fields_ = [\n ('method', POINTER(BIO_METHOD)),\n ('callback', CFUNCTYPE(c_long, POINTER(bio_st), c_int, STRING, c_int, c_long, c_long)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "CRYPTO_EX_DATA", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "CRYPTO_EX_DATA = crypto_ex_data_st\nbio_st._fields_ = [\n ('method', POINTER(BIO_METHOD)),\n ('callback', CFUNCTYPE(c_long, POINTER(bio_st), c_int, STRING, c_int, c_long, c_long)),\n ('cb_arg', STRING),\n ('init', c_int),\n ('shutdown', c_int),\n ('flags', c_int),\n ('retry_reason', c_int),\n ('num', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bio_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "bio_st._fields_ = [\n ('method', POINTER(BIO_METHOD)),\n ('callback', CFUNCTYPE(c_long, POINTER(bio_st), c_int, STRING, c_int, c_long, c_long)),\n ('cb_arg', STRING),\n ('init', c_int),\n ('shutdown', c_int),\n ('flags', c_int),\n ('retry_reason', c_int),\n ('num', c_int),\n ('ptr', c_void_p),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bio_f_buffer_ctx_struct._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "bio_f_buffer_ctx_struct._fields_ = [\n ('ibuf_size', c_int),\n ('obuf_size', c_int),\n ('ibuf', STRING),\n ('ibuf_len', c_int),\n ('ibuf_off', c_int),\n ('obuf', STRING),\n ('obuf_len', c_int),\n ('obuf_off', c_int),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "BIO_F_BUFFER_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "BIO_F_BUFFER_CTX = bio_f_buffer_ctx_struct\nclass hostent(Structure):\n pass\nhostent._fields_ = [\n]\nclass bf_key_st(Structure):\n pass\nbf_key_st._fields_ = [\n ('P', c_uint * 18),\n ('S', c_uint * 1024),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "hostent._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "hostent._fields_ = [\n]\nclass bf_key_st(Structure):\n pass\nbf_key_st._fields_ = [\n ('P', c_uint * 18),\n ('S', c_uint * 1024),\n]\nassert sizeof(bf_key_st) == 4168, sizeof(bf_key_st)\nassert alignment(bf_key_st) == 4, alignment(bf_key_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bf_key_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "bf_key_st._fields_ = [\n ('P', c_uint * 18),\n ('S', c_uint * 1024),\n]\nassert sizeof(bf_key_st) == 4168, sizeof(bf_key_st)\nassert alignment(bf_key_st) == 4, alignment(bf_key_st)\nBF_KEY = bf_key_st\nclass bignum_st(Structure):\n pass\nbignum_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "BF_KEY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "BF_KEY = bf_key_st\nclass bignum_st(Structure):\n pass\nbignum_st._fields_ = [\n ('d', POINTER(c_ulong)),\n ('top', c_int),\n ('dmax', c_int),\n ('neg', c_int),\n ('flags', c_int),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bignum_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "bignum_st._fields_ = [\n ('d', POINTER(c_ulong)),\n ('top', c_int),\n ('dmax', c_int),\n ('neg', c_int),\n ('flags', c_int),\n]\nassert sizeof(bignum_st) == 20, sizeof(bignum_st)\nassert alignment(bignum_st) == 4, alignment(bignum_st)\nBIGNUM = bignum_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "BIGNUM", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "BIGNUM = bignum_st\nclass bignum_ctx(Structure):\n pass\nbignum_ctx._fields_ = [\n]\nBN_CTX = bignum_ctx\nclass bn_blinding_st(Structure):\n pass\nbn_blinding_st._fields_ = [\n ('init', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bignum_ctx._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "bignum_ctx._fields_ = [\n]\nBN_CTX = bignum_ctx\nclass bn_blinding_st(Structure):\n pass\nbn_blinding_st._fields_ = [\n ('init', c_int),\n ('A', POINTER(BIGNUM)),\n ('Ai', POINTER(BIGNUM)),\n ('mod', POINTER(BIGNUM)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "BN_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "BN_CTX = bignum_ctx\nclass bn_blinding_st(Structure):\n pass\nbn_blinding_st._fields_ = [\n ('init', c_int),\n ('A', POINTER(BIGNUM)),\n ('Ai', POINTER(BIGNUM)),\n ('mod', POINTER(BIGNUM)),\n ('thread_id', c_ulong),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bn_blinding_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "bn_blinding_st._fields_ = [\n ('init', c_int),\n ('A', POINTER(BIGNUM)),\n ('Ai', POINTER(BIGNUM)),\n ('mod', POINTER(BIGNUM)),\n ('thread_id', c_ulong),\n]\nassert sizeof(bn_blinding_st) == 20, sizeof(bn_blinding_st)\nassert alignment(bn_blinding_st) == 4, alignment(bn_blinding_st)\nBN_BLINDING = bn_blinding_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "BN_BLINDING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "BN_BLINDING = bn_blinding_st\nclass bn_mont_ctx_st(Structure):\n pass\nbn_mont_ctx_st._fields_ = [\n ('ri', c_int),\n ('RR', BIGNUM),\n ('N', BIGNUM),\n ('Ni', BIGNUM),\n ('n0', c_ulong),\n ('flags', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bn_mont_ctx_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "bn_mont_ctx_st._fields_ = [\n ('ri', c_int),\n ('RR', BIGNUM),\n ('N', BIGNUM),\n ('Ni', BIGNUM),\n ('n0', c_ulong),\n ('flags', c_int),\n]\nassert sizeof(bn_mont_ctx_st) == 72, sizeof(bn_mont_ctx_st)\nassert alignment(bn_mont_ctx_st) == 4, alignment(bn_mont_ctx_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "BN_MONT_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "BN_MONT_CTX = bn_mont_ctx_st\nclass bn_recp_ctx_st(Structure):\n pass\nbn_recp_ctx_st._fields_ = [\n ('N', BIGNUM),\n ('Nr', BIGNUM),\n ('num_bits', c_int),\n ('shift', c_int),\n ('flags', c_int),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "bn_recp_ctx_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "bn_recp_ctx_st._fields_ = [\n ('N', BIGNUM),\n ('Nr', BIGNUM),\n ('num_bits', c_int),\n ('shift', c_int),\n ('flags', c_int),\n]\nassert sizeof(bn_recp_ctx_st) == 52, sizeof(bn_recp_ctx_st)\nassert alignment(bn_recp_ctx_st) == 4, alignment(bn_recp_ctx_st)\nBN_RECP_CTX = bn_recp_ctx_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "BN_RECP_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "BN_RECP_CTX = bn_recp_ctx_st\nclass buf_mem_st(Structure):\n pass\nbuf_mem_st._fields_ = [\n ('length', c_int),\n ('data', STRING),\n ('max', c_int),\n]\nassert sizeof(buf_mem_st) == 12, sizeof(buf_mem_st)\nassert alignment(buf_mem_st) == 4, alignment(buf_mem_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "buf_mem_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "buf_mem_st._fields_ = [\n ('length', c_int),\n ('data', STRING),\n ('max', c_int),\n]\nassert sizeof(buf_mem_st) == 12, sizeof(buf_mem_st)\nassert alignment(buf_mem_st) == 4, alignment(buf_mem_st)\nBUF_MEM = buf_mem_st\nclass cast_key_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "BUF_MEM", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "BUF_MEM = buf_mem_st\nclass cast_key_st(Structure):\n pass\ncast_key_st._fields_ = [\n ('data', c_ulong * 32),\n ('short_key', c_int),\n]\nassert sizeof(cast_key_st) == 132, sizeof(cast_key_st)\nassert alignment(cast_key_st) == 4, alignment(cast_key_st)\nCAST_KEY = cast_key_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "cast_key_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "cast_key_st._fields_ = [\n ('data', c_ulong * 32),\n ('short_key', c_int),\n]\nassert sizeof(cast_key_st) == 132, sizeof(cast_key_st)\nassert alignment(cast_key_st) == 4, alignment(cast_key_st)\nCAST_KEY = cast_key_st\nclass comp_method_st(Structure):\n pass\ncomp_method_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "CAST_KEY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "CAST_KEY = cast_key_st\nclass comp_method_st(Structure):\n pass\ncomp_method_st._fields_ = [\n ('type', c_int),\n ('name', STRING),\n ('init', CFUNCTYPE(c_int)),\n ('finish', CFUNCTYPE(None)),\n ('compress', CFUNCTYPE(c_int)),\n ('expand', CFUNCTYPE(c_int)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "comp_method_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "comp_method_st._fields_ = [\n ('type', c_int),\n ('name', STRING),\n ('init', CFUNCTYPE(c_int)),\n ('finish', CFUNCTYPE(None)),\n ('compress', CFUNCTYPE(c_int)),\n ('expand', CFUNCTYPE(c_int)),\n ('ctrl', CFUNCTYPE(c_long)),\n ('callback_ctrl', CFUNCTYPE(c_long)),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "COMP_METHOD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "COMP_METHOD = comp_method_st\nclass comp_ctx_st(Structure):\n pass\ncomp_ctx_st._fields_ = [\n ('meth', POINTER(COMP_METHOD)),\n ('compress_in', c_ulong),\n ('compress_out', c_ulong),\n ('expand_in', c_ulong),\n ('expand_out', c_ulong),\n ('ex_data', CRYPTO_EX_DATA),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "comp_ctx_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "comp_ctx_st._fields_ = [\n ('meth', POINTER(COMP_METHOD)),\n ('compress_in', c_ulong),\n ('compress_out', c_ulong),\n ('expand_in', c_ulong),\n ('expand_out', c_ulong),\n ('ex_data', CRYPTO_EX_DATA),\n]\nassert sizeof(comp_ctx_st) == 28, sizeof(comp_ctx_st)\nassert alignment(comp_ctx_st) == 4, alignment(comp_ctx_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "COMP_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "COMP_CTX = comp_ctx_st\nclass CRYPTO_dynlock_value(Structure):\n pass\nCRYPTO_dynlock_value._fields_ = [\n]\nclass CRYPTO_dynlock(Structure):\n pass\nCRYPTO_dynlock._fields_ = [\n ('references', c_int),\n ('data', POINTER(CRYPTO_dynlock_value)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "CRYPTO_dynlock_value._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "CRYPTO_dynlock_value._fields_ = [\n]\nclass CRYPTO_dynlock(Structure):\n pass\nCRYPTO_dynlock._fields_ = [\n ('references', c_int),\n ('data', POINTER(CRYPTO_dynlock_value)),\n]\nassert sizeof(CRYPTO_dynlock) == 8, sizeof(CRYPTO_dynlock)\nassert alignment(CRYPTO_dynlock) == 4, alignment(CRYPTO_dynlock)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "CRYPTO_dynlock._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "CRYPTO_dynlock._fields_ = [\n ('references', c_int),\n ('data', POINTER(CRYPTO_dynlock_value)),\n]\nassert sizeof(CRYPTO_dynlock) == 8, sizeof(CRYPTO_dynlock)\nassert alignment(CRYPTO_dynlock) == 4, alignment(CRYPTO_dynlock)\nBIO_dummy = bio_st\nCRYPTO_EX_new = CFUNCTYPE(c_int, c_void_p, c_void_p, POINTER(CRYPTO_EX_DATA), c_int, c_long, c_void_p)\nCRYPTO_EX_free = CFUNCTYPE(None, c_void_p, c_void_p, POINTER(CRYPTO_EX_DATA), c_int, c_long, c_void_p)\nCRYPTO_EX_dup = CFUNCTYPE(c_int, POINTER(CRYPTO_EX_DATA), POINTER(CRYPTO_EX_DATA), c_void_p, c_int, c_long, c_void_p)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "BIO_dummy", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "BIO_dummy = bio_st\nCRYPTO_EX_new = CFUNCTYPE(c_int, c_void_p, c_void_p, POINTER(CRYPTO_EX_DATA), c_int, c_long, c_void_p)\nCRYPTO_EX_free = CFUNCTYPE(None, c_void_p, c_void_p, POINTER(CRYPTO_EX_DATA), c_int, c_long, c_void_p)\nCRYPTO_EX_dup = CFUNCTYPE(c_int, POINTER(CRYPTO_EX_DATA), POINTER(CRYPTO_EX_DATA), c_void_p, c_int, c_long, c_void_p)\nclass crypto_ex_data_func_st(Structure):\n pass\ncrypto_ex_data_func_st._fields_ = [\n ('argl', c_long),\n ('argp', c_void_p),\n ('new_func', POINTER(CRYPTO_EX_new)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "CRYPTO_EX_new", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "CRYPTO_EX_new = CFUNCTYPE(c_int, c_void_p, c_void_p, POINTER(CRYPTO_EX_DATA), c_int, c_long, c_void_p)\nCRYPTO_EX_free = CFUNCTYPE(None, c_void_p, c_void_p, POINTER(CRYPTO_EX_DATA), c_int, c_long, c_void_p)\nCRYPTO_EX_dup = CFUNCTYPE(c_int, POINTER(CRYPTO_EX_DATA), POINTER(CRYPTO_EX_DATA), c_void_p, c_int, c_long, c_void_p)\nclass crypto_ex_data_func_st(Structure):\n pass\ncrypto_ex_data_func_st._fields_ = [\n ('argl', c_long),\n ('argp', c_void_p),\n ('new_func', POINTER(CRYPTO_EX_new)),\n ('free_func', POINTER(CRYPTO_EX_free)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "CRYPTO_EX_free", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "CRYPTO_EX_free = CFUNCTYPE(None, c_void_p, c_void_p, POINTER(CRYPTO_EX_DATA), c_int, c_long, c_void_p)\nCRYPTO_EX_dup = CFUNCTYPE(c_int, POINTER(CRYPTO_EX_DATA), POINTER(CRYPTO_EX_DATA), c_void_p, c_int, c_long, c_void_p)\nclass crypto_ex_data_func_st(Structure):\n pass\ncrypto_ex_data_func_st._fields_ = [\n ('argl', c_long),\n ('argp', c_void_p),\n ('new_func', POINTER(CRYPTO_EX_new)),\n ('free_func', POINTER(CRYPTO_EX_free)),\n ('dup_func', POINTER(CRYPTO_EX_dup)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "CRYPTO_EX_dup", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "CRYPTO_EX_dup = CFUNCTYPE(c_int, POINTER(CRYPTO_EX_DATA), POINTER(CRYPTO_EX_DATA), c_void_p, c_int, c_long, c_void_p)\nclass crypto_ex_data_func_st(Structure):\n pass\ncrypto_ex_data_func_st._fields_ = [\n ('argl', c_long),\n ('argp', c_void_p),\n ('new_func', POINTER(CRYPTO_EX_new)),\n ('free_func', POINTER(CRYPTO_EX_free)),\n ('dup_func', POINTER(CRYPTO_EX_dup)),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "crypto_ex_data_func_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "crypto_ex_data_func_st._fields_ = [\n ('argl', c_long),\n ('argp', c_void_p),\n ('new_func', POINTER(CRYPTO_EX_new)),\n ('free_func', POINTER(CRYPTO_EX_free)),\n ('dup_func', POINTER(CRYPTO_EX_dup)),\n]\nassert sizeof(crypto_ex_data_func_st) == 20, sizeof(crypto_ex_data_func_st)\nassert alignment(crypto_ex_data_func_st) == 4, alignment(crypto_ex_data_func_st)\nCRYPTO_EX_DATA_FUNCS = crypto_ex_data_func_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "CRYPTO_EX_DATA_FUNCS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "CRYPTO_EX_DATA_FUNCS = crypto_ex_data_func_st\nclass st_CRYPTO_EX_DATA_IMPL(Structure):\n pass\nCRYPTO_EX_DATA_IMPL = st_CRYPTO_EX_DATA_IMPL\nst_CRYPTO_EX_DATA_IMPL._fields_ = [\n]\nCRYPTO_MEM_LEAK_CB = CFUNCTYPE(c_void_p, c_ulong, STRING, c_int, c_int, c_void_p)\nDES_cblock = c_ubyte * 8\nconst_DES_cblock = c_ubyte * 8\nclass DES_ks(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "CRYPTO_EX_DATA_IMPL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "CRYPTO_EX_DATA_IMPL = st_CRYPTO_EX_DATA_IMPL\nst_CRYPTO_EX_DATA_IMPL._fields_ = [\n]\nCRYPTO_MEM_LEAK_CB = CFUNCTYPE(c_void_p, c_ulong, STRING, c_int, c_int, c_void_p)\nDES_cblock = c_ubyte * 8\nconst_DES_cblock = c_ubyte * 8\nclass DES_ks(Structure):\n pass\nclass N6DES_ks3DOLLAR_9E(Union):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "st_CRYPTO_EX_DATA_IMPL._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "st_CRYPTO_EX_DATA_IMPL._fields_ = [\n]\nCRYPTO_MEM_LEAK_CB = CFUNCTYPE(c_void_p, c_ulong, STRING, c_int, c_int, c_void_p)\nDES_cblock = c_ubyte * 8\nconst_DES_cblock = c_ubyte * 8\nclass DES_ks(Structure):\n pass\nclass N6DES_ks3DOLLAR_9E(Union):\n pass\nN6DES_ks3DOLLAR_9E._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "CRYPTO_MEM_LEAK_CB", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "CRYPTO_MEM_LEAK_CB = CFUNCTYPE(c_void_p, c_ulong, STRING, c_int, c_int, c_void_p)\nDES_cblock = c_ubyte * 8\nconst_DES_cblock = c_ubyte * 8\nclass DES_ks(Structure):\n pass\nclass N6DES_ks3DOLLAR_9E(Union):\n pass\nN6DES_ks3DOLLAR_9E._fields_ = [\n ('cblock', DES_cblock),\n ('deslong', c_ulong * 2),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "DES_cblock", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "DES_cblock = c_ubyte * 8\nconst_DES_cblock = c_ubyte * 8\nclass DES_ks(Structure):\n pass\nclass N6DES_ks3DOLLAR_9E(Union):\n pass\nN6DES_ks3DOLLAR_9E._fields_ = [\n ('cblock', DES_cblock),\n ('deslong', c_ulong * 2),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "const_DES_cblock", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "const_DES_cblock = c_ubyte * 8\nclass DES_ks(Structure):\n pass\nclass N6DES_ks3DOLLAR_9E(Union):\n pass\nN6DES_ks3DOLLAR_9E._fields_ = [\n ('cblock', DES_cblock),\n ('deslong', c_ulong * 2),\n]\nassert sizeof(N6DES_ks3DOLLAR_9E) == 8, sizeof(N6DES_ks3DOLLAR_9E)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N6DES_ks3DOLLAR_9E._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "N6DES_ks3DOLLAR_9E._fields_ = [\n ('cblock', DES_cblock),\n ('deslong', c_ulong * 2),\n]\nassert sizeof(N6DES_ks3DOLLAR_9E) == 8, sizeof(N6DES_ks3DOLLAR_9E)\nassert alignment(N6DES_ks3DOLLAR_9E) == 4, alignment(N6DES_ks3DOLLAR_9E)\nDES_ks._fields_ = [\n ('ks', N6DES_ks3DOLLAR_9E * 16),\n]\nassert sizeof(DES_ks) == 128, sizeof(DES_ks)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "DES_ks._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "DES_ks._fields_ = [\n ('ks', N6DES_ks3DOLLAR_9E * 16),\n]\nassert sizeof(DES_ks) == 128, sizeof(DES_ks)\nassert alignment(DES_ks) == 4, alignment(DES_ks)\nDES_key_schedule = DES_ks\n_ossl_old_des_cblock = c_ubyte * 8\nclass _ossl_old_des_ks_struct(Structure):\n pass\nclass N23_ossl_old_des_ks_struct4DOLLAR_10E(Union):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "DES_key_schedule", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "DES_key_schedule = DES_ks\n_ossl_old_des_cblock = c_ubyte * 8\nclass _ossl_old_des_ks_struct(Structure):\n pass\nclass N23_ossl_old_des_ks_struct4DOLLAR_10E(Union):\n pass\nN23_ossl_old_des_ks_struct4DOLLAR_10E._fields_ = [\n ('_', _ossl_old_des_cblock),\n ('pad', c_ulong * 2),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_ossl_old_des_cblock", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "_ossl_old_des_cblock = c_ubyte * 8\nclass _ossl_old_des_ks_struct(Structure):\n pass\nclass N23_ossl_old_des_ks_struct4DOLLAR_10E(Union):\n pass\nN23_ossl_old_des_ks_struct4DOLLAR_10E._fields_ = [\n ('_', _ossl_old_des_cblock),\n ('pad', c_ulong * 2),\n]\nassert sizeof(N23_ossl_old_des_ks_struct4DOLLAR_10E) == 8, sizeof(N23_ossl_old_des_ks_struct4DOLLAR_10E)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N23_ossl_old_des_ks_struct4DOLLAR_10E._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "N23_ossl_old_des_ks_struct4DOLLAR_10E._fields_ = [\n ('_', _ossl_old_des_cblock),\n ('pad', c_ulong * 2),\n]\nassert sizeof(N23_ossl_old_des_ks_struct4DOLLAR_10E) == 8, sizeof(N23_ossl_old_des_ks_struct4DOLLAR_10E)\nassert alignment(N23_ossl_old_des_ks_struct4DOLLAR_10E) == 4, alignment(N23_ossl_old_des_ks_struct4DOLLAR_10E)\n_ossl_old_des_ks_struct._fields_ = [\n ('ks', N23_ossl_old_des_ks_struct4DOLLAR_10E),\n]\nassert sizeof(_ossl_old_des_ks_struct) == 8, sizeof(_ossl_old_des_ks_struct)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_ossl_old_des_ks_struct._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "_ossl_old_des_ks_struct._fields_ = [\n ('ks', N23_ossl_old_des_ks_struct4DOLLAR_10E),\n]\nassert sizeof(_ossl_old_des_ks_struct) == 8, sizeof(_ossl_old_des_ks_struct)\nassert alignment(_ossl_old_des_ks_struct) == 4, alignment(_ossl_old_des_ks_struct)\n_ossl_old_des_key_schedule = _ossl_old_des_ks_struct * 16\nclass dh_st(Structure):\n pass\nDH = dh_st\nclass dh_method(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_ossl_old_des_key_schedule", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "_ossl_old_des_key_schedule = _ossl_old_des_ks_struct * 16\nclass dh_st(Structure):\n pass\nDH = dh_st\nclass dh_method(Structure):\n pass\ndh_method._fields_ = [\n ('name', STRING),\n ('generate_key', CFUNCTYPE(c_int, POINTER(DH))),\n ('compute_key', CFUNCTYPE(c_int, POINTER(c_ubyte), POINTER(BIGNUM), POINTER(DH))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "DH", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "DH = dh_st\nclass dh_method(Structure):\n pass\ndh_method._fields_ = [\n ('name', STRING),\n ('generate_key', CFUNCTYPE(c_int, POINTER(DH))),\n ('compute_key', CFUNCTYPE(c_int, POINTER(c_ubyte), POINTER(BIGNUM), POINTER(DH))),\n ('bn_mod_exp', CFUNCTYPE(c_int, POINTER(DH), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BN_CTX), POINTER(BN_MONT_CTX))),\n ('init', CFUNCTYPE(c_int, POINTER(DH))),\n ('finish', CFUNCTYPE(c_int, POINTER(DH))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "dh_method._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "dh_method._fields_ = [\n ('name', STRING),\n ('generate_key', CFUNCTYPE(c_int, POINTER(DH))),\n ('compute_key', CFUNCTYPE(c_int, POINTER(c_ubyte), POINTER(BIGNUM), POINTER(DH))),\n ('bn_mod_exp', CFUNCTYPE(c_int, POINTER(DH), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BN_CTX), POINTER(BN_MONT_CTX))),\n ('init', CFUNCTYPE(c_int, POINTER(DH))),\n ('finish', CFUNCTYPE(c_int, POINTER(DH))),\n ('flags', c_int),\n ('app_data', STRING),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "DH_METHOD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "DH_METHOD = dh_method\nclass engine_st(Structure):\n pass\nENGINE = engine_st\ndh_st._fields_ = [\n ('pad', c_int),\n ('version', c_int),\n ('p', POINTER(BIGNUM)),\n ('g', POINTER(BIGNUM)),\n ('length', c_long),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ENGINE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ENGINE = engine_st\ndh_st._fields_ = [\n ('pad', c_int),\n ('version', c_int),\n ('p', POINTER(BIGNUM)),\n ('g', POINTER(BIGNUM)),\n ('length', c_long),\n ('pub_key', POINTER(BIGNUM)),\n ('priv_key', POINTER(BIGNUM)),\n ('flags', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "dh_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "dh_st._fields_ = [\n ('pad', c_int),\n ('version', c_int),\n ('p', POINTER(BIGNUM)),\n ('g', POINTER(BIGNUM)),\n ('length', c_long),\n ('pub_key', POINTER(BIGNUM)),\n ('priv_key', POINTER(BIGNUM)),\n ('flags', c_int),\n ('method_mont_p', STRING),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "DSA", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "DSA = dsa_st\nclass DSA_SIG_st(Structure):\n pass\nDSA_SIG_st._fields_ = [\n ('r', POINTER(BIGNUM)),\n ('s', POINTER(BIGNUM)),\n]\nassert sizeof(DSA_SIG_st) == 8, sizeof(DSA_SIG_st)\nassert alignment(DSA_SIG_st) == 4, alignment(DSA_SIG_st)\nDSA_SIG = DSA_SIG_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "DSA_SIG_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "DSA_SIG_st._fields_ = [\n ('r', POINTER(BIGNUM)),\n ('s', POINTER(BIGNUM)),\n]\nassert sizeof(DSA_SIG_st) == 8, sizeof(DSA_SIG_st)\nassert alignment(DSA_SIG_st) == 4, alignment(DSA_SIG_st)\nDSA_SIG = DSA_SIG_st\nclass dsa_method(Structure):\n pass\ndsa_method._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "DSA_SIG", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "DSA_SIG = DSA_SIG_st\nclass dsa_method(Structure):\n pass\ndsa_method._fields_ = [\n ('name', STRING),\n ('dsa_do_sign', CFUNCTYPE(POINTER(DSA_SIG), POINTER(c_ubyte), c_int, POINTER(DSA))),\n ('dsa_sign_setup', CFUNCTYPE(c_int, POINTER(DSA), POINTER(BN_CTX), POINTER(POINTER(BIGNUM)), POINTER(POINTER(BIGNUM)))),\n ('dsa_do_verify', CFUNCTYPE(c_int, POINTER(c_ubyte), c_int, POINTER(DSA_SIG), POINTER(DSA))),\n ('dsa_mod_exp', CFUNCTYPE(c_int, POINTER(DSA), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BN_CTX), POINTER(BN_MONT_CTX))),\n ('bn_mod_exp', CFUNCTYPE(c_int, POINTER(DSA), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BN_CTX), POINTER(BN_MONT_CTX))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "dsa_method._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "dsa_method._fields_ = [\n ('name', STRING),\n ('dsa_do_sign', CFUNCTYPE(POINTER(DSA_SIG), POINTER(c_ubyte), c_int, POINTER(DSA))),\n ('dsa_sign_setup', CFUNCTYPE(c_int, POINTER(DSA), POINTER(BN_CTX), POINTER(POINTER(BIGNUM)), POINTER(POINTER(BIGNUM)))),\n ('dsa_do_verify', CFUNCTYPE(c_int, POINTER(c_ubyte), c_int, POINTER(DSA_SIG), POINTER(DSA))),\n ('dsa_mod_exp', CFUNCTYPE(c_int, POINTER(DSA), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BN_CTX), POINTER(BN_MONT_CTX))),\n ('bn_mod_exp', CFUNCTYPE(c_int, POINTER(DSA), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BN_CTX), POINTER(BN_MONT_CTX))),\n ('init', CFUNCTYPE(c_int, POINTER(DSA))),\n ('finish', CFUNCTYPE(c_int, POINTER(DSA))),\n ('flags', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "DSA_METHOD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "DSA_METHOD = dsa_method\ndsa_st._fields_ = [\n ('pad', c_int),\n ('version', c_long),\n ('write_params', c_int),\n ('p', POINTER(BIGNUM)),\n ('q', POINTER(BIGNUM)),\n ('g', POINTER(BIGNUM)),\n ('pub_key', POINTER(BIGNUM)),\n ('priv_key', POINTER(BIGNUM)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "dsa_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "dsa_st._fields_ = [\n ('pad', c_int),\n ('version', c_long),\n ('write_params', c_int),\n ('p', POINTER(BIGNUM)),\n ('q', POINTER(BIGNUM)),\n ('g', POINTER(BIGNUM)),\n ('pub_key', POINTER(BIGNUM)),\n ('priv_key', POINTER(BIGNUM)),\n ('kinv', POINTER(BIGNUM)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N11evp_pkey_st4DOLLAR_12E._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "N11evp_pkey_st4DOLLAR_12E._fields_ = [\n ('ptr', STRING),\n ('rsa', POINTER(rsa_st)),\n ('dsa', POINTER(dsa_st)),\n ('dh', POINTER(dh_st)),\n]\nassert sizeof(N11evp_pkey_st4DOLLAR_12E) == 4, sizeof(N11evp_pkey_st4DOLLAR_12E)\nassert alignment(N11evp_pkey_st4DOLLAR_12E) == 4, alignment(N11evp_pkey_st4DOLLAR_12E)\nevp_pkey_st._fields_ = [\n ('type', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "evp_pkey_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "evp_pkey_st._fields_ = [\n ('type', c_int),\n ('save_type', c_int),\n ('references', c_int),\n ('pkey', N11evp_pkey_st4DOLLAR_12E),\n ('save_parameters', c_int),\n ('attributes', POINTER(STACK)),\n]\nassert sizeof(evp_pkey_st) == 24, sizeof(evp_pkey_st)\nassert alignment(evp_pkey_st) == 4, alignment(evp_pkey_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "EVP_MD_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "EVP_MD_CTX = env_md_ctx_st\nenv_md_st._fields_ = [\n ('type', c_int),\n ('pkey_type', c_int),\n ('md_size', c_int),\n ('flags', c_ulong),\n ('init', CFUNCTYPE(c_int, POINTER(EVP_MD_CTX))),\n ('update', CFUNCTYPE(c_int, POINTER(EVP_MD_CTX), c_void_p, c_ulong)),\n ('final', CFUNCTYPE(c_int, POINTER(EVP_MD_CTX), POINTER(c_ubyte))),\n ('copy', CFUNCTYPE(c_int, POINTER(EVP_MD_CTX), POINTER(EVP_MD_CTX))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "env_md_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "env_md_st._fields_ = [\n ('type', c_int),\n ('pkey_type', c_int),\n ('md_size', c_int),\n ('flags', c_ulong),\n ('init', CFUNCTYPE(c_int, POINTER(EVP_MD_CTX))),\n ('update', CFUNCTYPE(c_int, POINTER(EVP_MD_CTX), c_void_p, c_ulong)),\n ('final', CFUNCTYPE(c_int, POINTER(EVP_MD_CTX), POINTER(c_ubyte))),\n ('copy', CFUNCTYPE(c_int, POINTER(EVP_MD_CTX), POINTER(EVP_MD_CTX))),\n ('cleanup', CFUNCTYPE(c_int, POINTER(EVP_MD_CTX))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "EVP_MD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "EVP_MD = env_md_st\nenv_md_ctx_st._fields_ = [\n ('digest', POINTER(EVP_MD)),\n ('engine', POINTER(ENGINE)),\n ('flags', c_ulong),\n ('md_data', c_void_p),\n]\nassert sizeof(env_md_ctx_st) == 16, sizeof(env_md_ctx_st)\nassert alignment(env_md_ctx_st) == 4, alignment(env_md_ctx_st)\nclass evp_cipher_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "env_md_ctx_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "env_md_ctx_st._fields_ = [\n ('digest', POINTER(EVP_MD)),\n ('engine', POINTER(ENGINE)),\n ('flags', c_ulong),\n ('md_data', c_void_p),\n]\nassert sizeof(env_md_ctx_st) == 16, sizeof(env_md_ctx_st)\nassert alignment(env_md_ctx_st) == 4, alignment(env_md_ctx_st)\nclass evp_cipher_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "EVP_CIPHER_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "EVP_CIPHER_CTX = evp_cipher_ctx_st\nevp_cipher_st._fields_ = [\n ('nid', c_int),\n ('block_size', c_int),\n ('key_len', c_int),\n ('iv_len', c_int),\n ('flags', c_ulong),\n ('init', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), POINTER(c_ubyte), POINTER(c_ubyte), c_int)),\n ('do_cipher', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), POINTER(c_ubyte), POINTER(c_ubyte), c_uint)),\n ('cleanup', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "evp_cipher_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "evp_cipher_st._fields_ = [\n ('nid', c_int),\n ('block_size', c_int),\n ('key_len', c_int),\n ('iv_len', c_int),\n ('flags', c_ulong),\n ('init', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), POINTER(c_ubyte), POINTER(c_ubyte), c_int)),\n ('do_cipher', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), POINTER(c_ubyte), POINTER(c_ubyte), c_uint)),\n ('cleanup', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX))),\n ('ctx_size', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "EVP_CIPHER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "EVP_CIPHER = evp_cipher_st\nevp_cipher_info_st._fields_ = [\n ('cipher', POINTER(EVP_CIPHER)),\n ('iv', c_ubyte * 16),\n]\nassert sizeof(evp_cipher_info_st) == 20, sizeof(evp_cipher_info_st)\nassert alignment(evp_cipher_info_st) == 4, alignment(evp_cipher_info_st)\nEVP_CIPHER_INFO = evp_cipher_info_st\nevp_cipher_ctx_st._fields_ = [\n ('cipher', POINTER(EVP_CIPHER)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "evp_cipher_info_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "evp_cipher_info_st._fields_ = [\n ('cipher', POINTER(EVP_CIPHER)),\n ('iv', c_ubyte * 16),\n]\nassert sizeof(evp_cipher_info_st) == 20, sizeof(evp_cipher_info_st)\nassert alignment(evp_cipher_info_st) == 4, alignment(evp_cipher_info_st)\nEVP_CIPHER_INFO = evp_cipher_info_st\nevp_cipher_ctx_st._fields_ = [\n ('cipher', POINTER(EVP_CIPHER)),\n ('engine', POINTER(ENGINE)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "EVP_CIPHER_INFO", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "EVP_CIPHER_INFO = evp_cipher_info_st\nevp_cipher_ctx_st._fields_ = [\n ('cipher', POINTER(EVP_CIPHER)),\n ('engine', POINTER(ENGINE)),\n ('encrypt', c_int),\n ('buf_len', c_int),\n ('oiv', c_ubyte * 16),\n ('iv', c_ubyte * 16),\n ('buf', c_ubyte * 32),\n ('num', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "evp_cipher_ctx_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "evp_cipher_ctx_st._fields_ = [\n ('cipher', POINTER(EVP_CIPHER)),\n ('engine', POINTER(ENGINE)),\n ('encrypt', c_int),\n ('buf_len', c_int),\n ('oiv', c_ubyte * 16),\n ('iv', c_ubyte * 16),\n ('buf', c_ubyte * 32),\n ('num', c_int),\n ('app_data', c_void_p),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "evp_Encode_Ctx_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "evp_Encode_Ctx_st._fields_ = [\n ('num', c_int),\n ('length', c_int),\n ('enc_data', c_ubyte * 80),\n ('line_num', c_int),\n ('expect_nl', c_int),\n]\nassert sizeof(evp_Encode_Ctx_st) == 96, sizeof(evp_Encode_Ctx_st)\nassert alignment(evp_Encode_Ctx_st) == 4, alignment(evp_Encode_Ctx_st)\nEVP_ENCODE_CTX = evp_Encode_Ctx_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "EVP_ENCODE_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "EVP_ENCODE_CTX = evp_Encode_Ctx_st\nEVP_PBE_KEYGEN = CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), STRING, c_int, POINTER(ASN1_TYPE), POINTER(EVP_CIPHER), POINTER(EVP_MD), c_int)\nclass lhash_node_st(Structure):\n pass\nlhash_node_st._fields_ = [\n ('data', c_void_p),\n ('next', POINTER(lhash_node_st)),\n ('hash', c_ulong),\n]\nassert sizeof(lhash_node_st) == 12, sizeof(lhash_node_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "EVP_PBE_KEYGEN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "EVP_PBE_KEYGEN = CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), STRING, c_int, POINTER(ASN1_TYPE), POINTER(EVP_CIPHER), POINTER(EVP_MD), c_int)\nclass lhash_node_st(Structure):\n pass\nlhash_node_st._fields_ = [\n ('data', c_void_p),\n ('next', POINTER(lhash_node_st)),\n ('hash', c_ulong),\n]\nassert sizeof(lhash_node_st) == 12, sizeof(lhash_node_st)\nassert alignment(lhash_node_st) == 4, alignment(lhash_node_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "lhash_node_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "lhash_node_st._fields_ = [\n ('data', c_void_p),\n ('next', POINTER(lhash_node_st)),\n ('hash', c_ulong),\n]\nassert sizeof(lhash_node_st) == 12, sizeof(lhash_node_st)\nassert alignment(lhash_node_st) == 4, alignment(lhash_node_st)\nLHASH_NODE = lhash_node_st\nLHASH_COMP_FN_TYPE = CFUNCTYPE(c_int, c_void_p, c_void_p)\nLHASH_HASH_FN_TYPE = CFUNCTYPE(c_ulong, c_void_p)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "LHASH_NODE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "LHASH_NODE = lhash_node_st\nLHASH_COMP_FN_TYPE = CFUNCTYPE(c_int, c_void_p, c_void_p)\nLHASH_HASH_FN_TYPE = CFUNCTYPE(c_ulong, c_void_p)\nLHASH_DOALL_FN_TYPE = CFUNCTYPE(None, c_void_p)\nLHASH_DOALL_ARG_FN_TYPE = CFUNCTYPE(None, c_void_p, c_void_p)\nclass lhash_st(Structure):\n pass\nlhash_st._fields_ = [\n ('b', POINTER(POINTER(LHASH_NODE))),\n ('comp', LHASH_COMP_FN_TYPE),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "LHASH_COMP_FN_TYPE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "LHASH_COMP_FN_TYPE = CFUNCTYPE(c_int, c_void_p, c_void_p)\nLHASH_HASH_FN_TYPE = CFUNCTYPE(c_ulong, c_void_p)\nLHASH_DOALL_FN_TYPE = CFUNCTYPE(None, c_void_p)\nLHASH_DOALL_ARG_FN_TYPE = CFUNCTYPE(None, c_void_p, c_void_p)\nclass lhash_st(Structure):\n pass\nlhash_st._fields_ = [\n ('b', POINTER(POINTER(LHASH_NODE))),\n ('comp', LHASH_COMP_FN_TYPE),\n ('hash', LHASH_HASH_FN_TYPE),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "LHASH_HASH_FN_TYPE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "LHASH_HASH_FN_TYPE = CFUNCTYPE(c_ulong, c_void_p)\nLHASH_DOALL_FN_TYPE = CFUNCTYPE(None, c_void_p)\nLHASH_DOALL_ARG_FN_TYPE = CFUNCTYPE(None, c_void_p, c_void_p)\nclass lhash_st(Structure):\n pass\nlhash_st._fields_ = [\n ('b', POINTER(POINTER(LHASH_NODE))),\n ('comp', LHASH_COMP_FN_TYPE),\n ('hash', LHASH_HASH_FN_TYPE),\n ('num_nodes', c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "LHASH_DOALL_FN_TYPE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "LHASH_DOALL_FN_TYPE = CFUNCTYPE(None, c_void_p)\nLHASH_DOALL_ARG_FN_TYPE = CFUNCTYPE(None, c_void_p, c_void_p)\nclass lhash_st(Structure):\n pass\nlhash_st._fields_ = [\n ('b', POINTER(POINTER(LHASH_NODE))),\n ('comp', LHASH_COMP_FN_TYPE),\n ('hash', LHASH_HASH_FN_TYPE),\n ('num_nodes', c_uint),\n ('num_alloc_nodes', c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "LHASH_DOALL_ARG_FN_TYPE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "LHASH_DOALL_ARG_FN_TYPE = CFUNCTYPE(None, c_void_p, c_void_p)\nclass lhash_st(Structure):\n pass\nlhash_st._fields_ = [\n ('b', POINTER(POINTER(LHASH_NODE))),\n ('comp', LHASH_COMP_FN_TYPE),\n ('hash', LHASH_HASH_FN_TYPE),\n ('num_nodes', c_uint),\n ('num_alloc_nodes', c_uint),\n ('p', c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "lhash_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "lhash_st._fields_ = [\n ('b', POINTER(POINTER(LHASH_NODE))),\n ('comp', LHASH_COMP_FN_TYPE),\n ('hash', LHASH_HASH_FN_TYPE),\n ('num_nodes', c_uint),\n ('num_alloc_nodes', c_uint),\n ('p', c_uint),\n ('pmax', c_uint),\n ('up_load', c_ulong),\n ('down_load', c_ulong),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "LHASH", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "LHASH = lhash_st\nclass MD2state_st(Structure):\n pass\nMD2state_st._fields_ = [\n ('num', c_int),\n ('data', c_ubyte * 16),\n ('cksm', c_uint * 16),\n ('state', c_uint * 16),\n]\nassert sizeof(MD2state_st) == 148, sizeof(MD2state_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "MD2state_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "MD2state_st._fields_ = [\n ('num', c_int),\n ('data', c_ubyte * 16),\n ('cksm', c_uint * 16),\n ('state', c_uint * 16),\n]\nassert sizeof(MD2state_st) == 148, sizeof(MD2state_st)\nassert alignment(MD2state_st) == 4, alignment(MD2state_st)\nMD2_CTX = MD2state_st\nclass MD4state_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "MD2_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "MD2_CTX = MD2state_st\nclass MD4state_st(Structure):\n pass\nMD4state_st._fields_ = [\n ('A', c_uint),\n ('B', c_uint),\n ('C', c_uint),\n ('D', c_uint),\n ('Nl', c_uint),\n ('Nh', c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "MD4state_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "MD4state_st._fields_ = [\n ('A', c_uint),\n ('B', c_uint),\n ('C', c_uint),\n ('D', c_uint),\n ('Nl', c_uint),\n ('Nh', c_uint),\n ('data', c_uint * 16),\n ('num', c_int),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "MD4_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "MD4_CTX = MD4state_st\nclass MD5state_st(Structure):\n pass\nMD5state_st._fields_ = [\n ('A', c_uint),\n ('B', c_uint),\n ('C', c_uint),\n ('D', c_uint),\n ('Nl', c_uint),\n ('Nh', c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "MD5state_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "MD5state_st._fields_ = [\n ('A', c_uint),\n ('B', c_uint),\n ('C', c_uint),\n ('D', c_uint),\n ('Nl', c_uint),\n ('Nh', c_uint),\n ('data', c_uint * 16),\n ('num', c_int),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "MD5_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "MD5_CTX = MD5state_st\nclass mdc2_ctx_st(Structure):\n pass\nmdc2_ctx_st._fields_ = [\n ('num', c_int),\n ('data', c_ubyte * 8),\n ('h', DES_cblock),\n ('hh', DES_cblock),\n ('pad_type', c_int),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "mdc2_ctx_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "mdc2_ctx_st._fields_ = [\n ('num', c_int),\n ('data', c_ubyte * 8),\n ('h', DES_cblock),\n ('hh', DES_cblock),\n ('pad_type', c_int),\n]\nassert sizeof(mdc2_ctx_st) == 32, sizeof(mdc2_ctx_st)\nassert alignment(mdc2_ctx_st) == 4, alignment(mdc2_ctx_st)\nMDC2_CTX = mdc2_ctx_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "MDC2_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "MDC2_CTX = mdc2_ctx_st\nclass obj_name_st(Structure):\n pass\nobj_name_st._fields_ = [\n ('type', c_int),\n ('alias', c_int),\n ('name', STRING),\n ('data', STRING),\n]\nassert sizeof(obj_name_st) == 16, sizeof(obj_name_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "obj_name_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "obj_name_st._fields_ = [\n ('type', c_int),\n ('alias', c_int),\n ('name', STRING),\n ('data', STRING),\n]\nassert sizeof(obj_name_st) == 16, sizeof(obj_name_st)\nassert alignment(obj_name_st) == 4, alignment(obj_name_st)\nOBJ_NAME = obj_name_st\nASN1_TIME = asn1_string_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "OBJ_NAME", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "OBJ_NAME = obj_name_st\nASN1_TIME = asn1_string_st\nASN1_NULL = c_int\nEVP_PKEY = evp_pkey_st\nclass x509_st(Structure):\n pass\nX509 = x509_st\nclass X509_algor_st(Structure):\n pass\nX509_ALGOR = X509_algor_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_TIME", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_TIME = asn1_string_st\nASN1_NULL = c_int\nEVP_PKEY = evp_pkey_st\nclass x509_st(Structure):\n pass\nX509 = x509_st\nclass X509_algor_st(Structure):\n pass\nX509_ALGOR = X509_algor_st\nclass X509_crl_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ASN1_NULL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ASN1_NULL = c_int\nEVP_PKEY = evp_pkey_st\nclass x509_st(Structure):\n pass\nX509 = x509_st\nclass X509_algor_st(Structure):\n pass\nX509_ALGOR = X509_algor_st\nclass X509_crl_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "EVP_PKEY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "EVP_PKEY = evp_pkey_st\nclass x509_st(Structure):\n pass\nX509 = x509_st\nclass X509_algor_st(Structure):\n pass\nX509_ALGOR = X509_algor_st\nclass X509_crl_st(Structure):\n pass\nX509_CRL = X509_crl_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509 = x509_st\nclass X509_algor_st(Structure):\n pass\nX509_ALGOR = X509_algor_st\nclass X509_crl_st(Structure):\n pass\nX509_CRL = X509_crl_st\nclass X509_name_st(Structure):\n pass\nX509_NAME = X509_name_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_ALGOR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_ALGOR = X509_algor_st\nclass X509_crl_st(Structure):\n pass\nX509_CRL = X509_crl_st\nclass X509_name_st(Structure):\n pass\nX509_NAME = X509_name_st\nclass x509_store_st(Structure):\n pass\nX509_STORE = x509_store_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_CRL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_CRL = X509_crl_st\nclass X509_name_st(Structure):\n pass\nX509_NAME = X509_name_st\nclass x509_store_st(Structure):\n pass\nX509_STORE = x509_store_st\nclass x509_store_ctx_st(Structure):\n pass\nX509_STORE_CTX = x509_store_ctx_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_NAME", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_NAME = X509_name_st\nclass x509_store_st(Structure):\n pass\nX509_STORE = x509_store_st\nclass x509_store_ctx_st(Structure):\n pass\nX509_STORE_CTX = x509_store_ctx_st\nengine_st._fields_ = [\n]\nclass PEM_Encode_Seal_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_STORE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_STORE = x509_store_st\nclass x509_store_ctx_st(Structure):\n pass\nX509_STORE_CTX = x509_store_ctx_st\nengine_st._fields_ = [\n]\nclass PEM_Encode_Seal_st(Structure):\n pass\nPEM_Encode_Seal_st._fields_ = [\n ('encode', EVP_ENCODE_CTX),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_STORE_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_STORE_CTX = x509_store_ctx_st\nengine_st._fields_ = [\n]\nclass PEM_Encode_Seal_st(Structure):\n pass\nPEM_Encode_Seal_st._fields_ = [\n ('encode', EVP_ENCODE_CTX),\n ('md', EVP_MD_CTX),\n ('cipher', EVP_CIPHER_CTX),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "engine_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "engine_st._fields_ = [\n]\nclass PEM_Encode_Seal_st(Structure):\n pass\nPEM_Encode_Seal_st._fields_ = [\n ('encode', EVP_ENCODE_CTX),\n ('md', EVP_MD_CTX),\n ('cipher', EVP_CIPHER_CTX),\n]\nassert sizeof(PEM_Encode_Seal_st) == 252, sizeof(PEM_Encode_Seal_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PEM_Encode_Seal_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PEM_Encode_Seal_st._fields_ = [\n ('encode', EVP_ENCODE_CTX),\n ('md', EVP_MD_CTX),\n ('cipher', EVP_CIPHER_CTX),\n]\nassert sizeof(PEM_Encode_Seal_st) == 252, sizeof(PEM_Encode_Seal_st)\nassert alignment(PEM_Encode_Seal_st) == 4, alignment(PEM_Encode_Seal_st)\nPEM_ENCODE_SEAL_CTX = PEM_Encode_Seal_st\nclass pem_recip_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PEM_ENCODE_SEAL_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PEM_ENCODE_SEAL_CTX = PEM_Encode_Seal_st\nclass pem_recip_st(Structure):\n pass\npem_recip_st._fields_ = [\n ('name', STRING),\n ('dn', POINTER(X509_NAME)),\n ('cipher', c_int),\n ('key_enc', c_int),\n]\nassert sizeof(pem_recip_st) == 16, sizeof(pem_recip_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pem_recip_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pem_recip_st._fields_ = [\n ('name', STRING),\n ('dn', POINTER(X509_NAME)),\n ('cipher', c_int),\n ('key_enc', c_int),\n]\nassert sizeof(pem_recip_st) == 16, sizeof(pem_recip_st)\nassert alignment(pem_recip_st) == 4, alignment(pem_recip_st)\nPEM_USER = pem_recip_st\nclass pem_ctx_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PEM_USER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PEM_USER = pem_recip_st\nclass pem_ctx_st(Structure):\n pass\nclass N10pem_ctx_st4DOLLAR_16E(Structure):\n pass\nN10pem_ctx_st4DOLLAR_16E._fields_ = [\n ('version', c_int),\n ('mode', c_int),\n]\nassert sizeof(N10pem_ctx_st4DOLLAR_16E) == 8, sizeof(N10pem_ctx_st4DOLLAR_16E)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N10pem_ctx_st4DOLLAR_16E._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "N10pem_ctx_st4DOLLAR_16E._fields_ = [\n ('version', c_int),\n ('mode', c_int),\n]\nassert sizeof(N10pem_ctx_st4DOLLAR_16E) == 8, sizeof(N10pem_ctx_st4DOLLAR_16E)\nassert alignment(N10pem_ctx_st4DOLLAR_16E) == 4, alignment(N10pem_ctx_st4DOLLAR_16E)\nclass N10pem_ctx_st4DOLLAR_17E(Structure):\n pass\nN10pem_ctx_st4DOLLAR_17E._fields_ = [\n ('cipher', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N10pem_ctx_st4DOLLAR_17E._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "N10pem_ctx_st4DOLLAR_17E._fields_ = [\n ('cipher', c_int),\n]\nassert sizeof(N10pem_ctx_st4DOLLAR_17E) == 4, sizeof(N10pem_ctx_st4DOLLAR_17E)\nassert alignment(N10pem_ctx_st4DOLLAR_17E) == 4, alignment(N10pem_ctx_st4DOLLAR_17E)\npem_ctx_st._fields_ = [\n ('type', c_int),\n ('proc_type', N10pem_ctx_st4DOLLAR_16E),\n ('domain', STRING),\n ('DEK_info', N10pem_ctx_st4DOLLAR_17E),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pem_ctx_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pem_ctx_st._fields_ = [\n ('type', c_int),\n ('proc_type', N10pem_ctx_st4DOLLAR_16E),\n ('domain', STRING),\n ('DEK_info', N10pem_ctx_st4DOLLAR_17E),\n ('originator', POINTER(PEM_USER)),\n ('num_recipient', c_int),\n ('recipient', POINTER(POINTER(PEM_USER))),\n ('x509_chain', POINTER(STACK)),\n ('md', POINTER(EVP_MD)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PEM_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PEM_CTX = pem_ctx_st\npem_password_cb = CFUNCTYPE(c_int, STRING, c_int, c_int, c_void_p)\nclass pkcs7_issuer_and_serial_st(Structure):\n pass\npkcs7_issuer_and_serial_st._fields_ = [\n ('issuer', POINTER(X509_NAME)),\n ('serial', POINTER(ASN1_INTEGER)),\n]\nassert sizeof(pkcs7_issuer_and_serial_st) == 8, sizeof(pkcs7_issuer_and_serial_st)\nassert alignment(pkcs7_issuer_and_serial_st) == 4, alignment(pkcs7_issuer_and_serial_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pem_password_cb", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pem_password_cb = CFUNCTYPE(c_int, STRING, c_int, c_int, c_void_p)\nclass pkcs7_issuer_and_serial_st(Structure):\n pass\npkcs7_issuer_and_serial_st._fields_ = [\n ('issuer', POINTER(X509_NAME)),\n ('serial', POINTER(ASN1_INTEGER)),\n]\nassert sizeof(pkcs7_issuer_and_serial_st) == 8, sizeof(pkcs7_issuer_and_serial_st)\nassert alignment(pkcs7_issuer_and_serial_st) == 4, alignment(pkcs7_issuer_and_serial_st)\nPKCS7_ISSUER_AND_SERIAL = pkcs7_issuer_and_serial_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_issuer_and_serial_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pkcs7_issuer_and_serial_st._fields_ = [\n ('issuer', POINTER(X509_NAME)),\n ('serial', POINTER(ASN1_INTEGER)),\n]\nassert sizeof(pkcs7_issuer_and_serial_st) == 8, sizeof(pkcs7_issuer_and_serial_st)\nassert alignment(pkcs7_issuer_and_serial_st) == 4, alignment(pkcs7_issuer_and_serial_st)\nPKCS7_ISSUER_AND_SERIAL = pkcs7_issuer_and_serial_st\nclass pkcs7_signer_info_st(Structure):\n pass\npkcs7_signer_info_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PKCS7_ISSUER_AND_SERIAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PKCS7_ISSUER_AND_SERIAL = pkcs7_issuer_and_serial_st\nclass pkcs7_signer_info_st(Structure):\n pass\npkcs7_signer_info_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('issuer_and_serial', POINTER(PKCS7_ISSUER_AND_SERIAL)),\n ('digest_alg', POINTER(X509_ALGOR)),\n ('auth_attr', POINTER(STACK)),\n ('digest_enc_alg', POINTER(X509_ALGOR)),\n ('enc_digest', POINTER(ASN1_OCTET_STRING)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_signer_info_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pkcs7_signer_info_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('issuer_and_serial', POINTER(PKCS7_ISSUER_AND_SERIAL)),\n ('digest_alg', POINTER(X509_ALGOR)),\n ('auth_attr', POINTER(STACK)),\n ('digest_enc_alg', POINTER(X509_ALGOR)),\n ('enc_digest', POINTER(ASN1_OCTET_STRING)),\n ('unauth_attr', POINTER(STACK)),\n ('pkey', POINTER(EVP_PKEY)),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PKCS7_SIGNER_INFO", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PKCS7_SIGNER_INFO = pkcs7_signer_info_st\nclass pkcs7_recip_info_st(Structure):\n pass\npkcs7_recip_info_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('issuer_and_serial', POINTER(PKCS7_ISSUER_AND_SERIAL)),\n ('key_enc_algor', POINTER(X509_ALGOR)),\n ('enc_key', POINTER(ASN1_OCTET_STRING)),\n ('cert', POINTER(X509)),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_recip_info_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pkcs7_recip_info_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('issuer_and_serial', POINTER(PKCS7_ISSUER_AND_SERIAL)),\n ('key_enc_algor', POINTER(X509_ALGOR)),\n ('enc_key', POINTER(ASN1_OCTET_STRING)),\n ('cert', POINTER(X509)),\n]\nassert sizeof(pkcs7_recip_info_st) == 20, sizeof(pkcs7_recip_info_st)\nassert alignment(pkcs7_recip_info_st) == 4, alignment(pkcs7_recip_info_st)\nPKCS7_RECIP_INFO = pkcs7_recip_info_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PKCS7_RECIP_INFO", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PKCS7_RECIP_INFO = pkcs7_recip_info_st\nclass pkcs7_signed_st(Structure):\n pass\nclass pkcs7_st(Structure):\n pass\npkcs7_signed_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('md_algs', POINTER(STACK)),\n ('cert', POINTER(STACK)),\n ('crl', POINTER(STACK)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_signed_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pkcs7_signed_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('md_algs', POINTER(STACK)),\n ('cert', POINTER(STACK)),\n ('crl', POINTER(STACK)),\n ('signer_info', POINTER(STACK)),\n ('contents', POINTER(pkcs7_st)),\n]\nassert sizeof(pkcs7_signed_st) == 24, sizeof(pkcs7_signed_st)\nassert alignment(pkcs7_signed_st) == 4, alignment(pkcs7_signed_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PKCS7_SIGNED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PKCS7_SIGNED = pkcs7_signed_st\nclass pkcs7_enc_content_st(Structure):\n pass\npkcs7_enc_content_st._fields_ = [\n ('content_type', POINTER(ASN1_OBJECT)),\n ('algorithm', POINTER(X509_ALGOR)),\n ('enc_data', POINTER(ASN1_OCTET_STRING)),\n ('cipher', POINTER(EVP_CIPHER)),\n]\nassert sizeof(pkcs7_enc_content_st) == 16, sizeof(pkcs7_enc_content_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_enc_content_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pkcs7_enc_content_st._fields_ = [\n ('content_type', POINTER(ASN1_OBJECT)),\n ('algorithm', POINTER(X509_ALGOR)),\n ('enc_data', POINTER(ASN1_OCTET_STRING)),\n ('cipher', POINTER(EVP_CIPHER)),\n]\nassert sizeof(pkcs7_enc_content_st) == 16, sizeof(pkcs7_enc_content_st)\nassert alignment(pkcs7_enc_content_st) == 4, alignment(pkcs7_enc_content_st)\nPKCS7_ENC_CONTENT = pkcs7_enc_content_st\nclass pkcs7_enveloped_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PKCS7_ENC_CONTENT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PKCS7_ENC_CONTENT = pkcs7_enc_content_st\nclass pkcs7_enveloped_st(Structure):\n pass\npkcs7_enveloped_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('recipientinfo', POINTER(STACK)),\n ('enc_data', POINTER(PKCS7_ENC_CONTENT)),\n]\nassert sizeof(pkcs7_enveloped_st) == 12, sizeof(pkcs7_enveloped_st)\nassert alignment(pkcs7_enveloped_st) == 4, alignment(pkcs7_enveloped_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_enveloped_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pkcs7_enveloped_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('recipientinfo', POINTER(STACK)),\n ('enc_data', POINTER(PKCS7_ENC_CONTENT)),\n]\nassert sizeof(pkcs7_enveloped_st) == 12, sizeof(pkcs7_enveloped_st)\nassert alignment(pkcs7_enveloped_st) == 4, alignment(pkcs7_enveloped_st)\nPKCS7_ENVELOPE = pkcs7_enveloped_st\nclass pkcs7_signedandenveloped_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PKCS7_ENVELOPE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PKCS7_ENVELOPE = pkcs7_enveloped_st\nclass pkcs7_signedandenveloped_st(Structure):\n pass\npkcs7_signedandenveloped_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('md_algs', POINTER(STACK)),\n ('cert', POINTER(STACK)),\n ('crl', POINTER(STACK)),\n ('signer_info', POINTER(STACK)),\n ('enc_data', POINTER(PKCS7_ENC_CONTENT)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_signedandenveloped_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pkcs7_signedandenveloped_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('md_algs', POINTER(STACK)),\n ('cert', POINTER(STACK)),\n ('crl', POINTER(STACK)),\n ('signer_info', POINTER(STACK)),\n ('enc_data', POINTER(PKCS7_ENC_CONTENT)),\n ('recipientinfo', POINTER(STACK)),\n]\nassert sizeof(pkcs7_signedandenveloped_st) == 28, sizeof(pkcs7_signedandenveloped_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PKCS7_SIGN_ENVELOPE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PKCS7_SIGN_ENVELOPE = pkcs7_signedandenveloped_st\nclass pkcs7_digest_st(Structure):\n pass\npkcs7_digest_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('md', POINTER(X509_ALGOR)),\n ('contents', POINTER(pkcs7_st)),\n ('digest', POINTER(ASN1_OCTET_STRING)),\n]\nassert sizeof(pkcs7_digest_st) == 16, sizeof(pkcs7_digest_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_digest_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pkcs7_digest_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('md', POINTER(X509_ALGOR)),\n ('contents', POINTER(pkcs7_st)),\n ('digest', POINTER(ASN1_OCTET_STRING)),\n]\nassert sizeof(pkcs7_digest_st) == 16, sizeof(pkcs7_digest_st)\nassert alignment(pkcs7_digest_st) == 4, alignment(pkcs7_digest_st)\nPKCS7_DIGEST = pkcs7_digest_st\nclass pkcs7_encrypted_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PKCS7_DIGEST", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PKCS7_DIGEST = pkcs7_digest_st\nclass pkcs7_encrypted_st(Structure):\n pass\npkcs7_encrypted_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('enc_data', POINTER(PKCS7_ENC_CONTENT)),\n]\nassert sizeof(pkcs7_encrypted_st) == 8, sizeof(pkcs7_encrypted_st)\nassert alignment(pkcs7_encrypted_st) == 4, alignment(pkcs7_encrypted_st)\nPKCS7_ENCRYPT = pkcs7_encrypted_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_encrypted_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pkcs7_encrypted_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('enc_data', POINTER(PKCS7_ENC_CONTENT)),\n]\nassert sizeof(pkcs7_encrypted_st) == 8, sizeof(pkcs7_encrypted_st)\nassert alignment(pkcs7_encrypted_st) == 4, alignment(pkcs7_encrypted_st)\nPKCS7_ENCRYPT = pkcs7_encrypted_st\nclass N8pkcs7_st4DOLLAR_15E(Union):\n pass\nN8pkcs7_st4DOLLAR_15E._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PKCS7_ENCRYPT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PKCS7_ENCRYPT = pkcs7_encrypted_st\nclass N8pkcs7_st4DOLLAR_15E(Union):\n pass\nN8pkcs7_st4DOLLAR_15E._fields_ = [\n ('ptr', STRING),\n ('data', POINTER(ASN1_OCTET_STRING)),\n ('sign', POINTER(PKCS7_SIGNED)),\n ('enveloped', POINTER(PKCS7_ENVELOPE)),\n ('signed_and_enveloped', POINTER(PKCS7_SIGN_ENVELOPE)),\n ('digest', POINTER(PKCS7_DIGEST)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N8pkcs7_st4DOLLAR_15E._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "N8pkcs7_st4DOLLAR_15E._fields_ = [\n ('ptr', STRING),\n ('data', POINTER(ASN1_OCTET_STRING)),\n ('sign', POINTER(PKCS7_SIGNED)),\n ('enveloped', POINTER(PKCS7_ENVELOPE)),\n ('signed_and_enveloped', POINTER(PKCS7_SIGN_ENVELOPE)),\n ('digest', POINTER(PKCS7_DIGEST)),\n ('encrypted', POINTER(PKCS7_ENCRYPT)),\n ('other', POINTER(ASN1_TYPE)),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs7_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pkcs7_st._fields_ = [\n ('asn1', POINTER(c_ubyte)),\n ('length', c_long),\n ('state', c_int),\n ('detached', c_int),\n ('type', POINTER(ASN1_OBJECT)),\n ('d', N8pkcs7_st4DOLLAR_15E),\n]\nassert sizeof(pkcs7_st) == 24, sizeof(pkcs7_st)\nassert alignment(pkcs7_st) == 4, alignment(pkcs7_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PKCS7", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PKCS7 = pkcs7_st\nclass rc2_key_st(Structure):\n pass\nrc2_key_st._fields_ = [\n ('data', c_uint * 64),\n]\nassert sizeof(rc2_key_st) == 256, sizeof(rc2_key_st)\nassert alignment(rc2_key_st) == 4, alignment(rc2_key_st)\nRC2_KEY = rc2_key_st\nclass rc4_key_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "rc2_key_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "rc2_key_st._fields_ = [\n ('data', c_uint * 64),\n]\nassert sizeof(rc2_key_st) == 256, sizeof(rc2_key_st)\nassert alignment(rc2_key_st) == 4, alignment(rc2_key_st)\nRC2_KEY = rc2_key_st\nclass rc4_key_st(Structure):\n pass\nrc4_key_st._fields_ = [\n ('x', c_ubyte),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "RC2_KEY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "RC2_KEY = rc2_key_st\nclass rc4_key_st(Structure):\n pass\nrc4_key_st._fields_ = [\n ('x', c_ubyte),\n ('y', c_ubyte),\n ('data', c_ubyte * 256),\n]\nassert sizeof(rc4_key_st) == 258, sizeof(rc4_key_st)\nassert alignment(rc4_key_st) == 1, alignment(rc4_key_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "rc4_key_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "rc4_key_st._fields_ = [\n ('x', c_ubyte),\n ('y', c_ubyte),\n ('data', c_ubyte * 256),\n]\nassert sizeof(rc4_key_st) == 258, sizeof(rc4_key_st)\nassert alignment(rc4_key_st) == 1, alignment(rc4_key_st)\nRC4_KEY = rc4_key_st\nclass rc5_key_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "RC4_KEY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "RC4_KEY = rc4_key_st\nclass rc5_key_st(Structure):\n pass\nrc5_key_st._fields_ = [\n ('rounds', c_int),\n ('data', c_ulong * 34),\n]\nassert sizeof(rc5_key_st) == 140, sizeof(rc5_key_st)\nassert alignment(rc5_key_st) == 4, alignment(rc5_key_st)\nRC5_32_KEY = rc5_key_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "rc5_key_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "rc5_key_st._fields_ = [\n ('rounds', c_int),\n ('data', c_ulong * 34),\n]\nassert sizeof(rc5_key_st) == 140, sizeof(rc5_key_st)\nassert alignment(rc5_key_st) == 4, alignment(rc5_key_st)\nRC5_32_KEY = rc5_key_st\nclass RIPEMD160state_st(Structure):\n pass\nRIPEMD160state_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "RC5_32_KEY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "RC5_32_KEY = rc5_key_st\nclass RIPEMD160state_st(Structure):\n pass\nRIPEMD160state_st._fields_ = [\n ('A', c_uint),\n ('B', c_uint),\n ('C', c_uint),\n ('D', c_uint),\n ('E', c_uint),\n ('Nl', c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "RIPEMD160state_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "RIPEMD160state_st._fields_ = [\n ('A', c_uint),\n ('B', c_uint),\n ('C', c_uint),\n ('D', c_uint),\n ('E', c_uint),\n ('Nl', c_uint),\n ('Nh', c_uint),\n ('data', c_uint * 16),\n ('num', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "RIPEMD160_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "RIPEMD160_CTX = RIPEMD160state_st\nRSA = rsa_st\nclass rsa_meth_st(Structure):\n pass\nrsa_meth_st._fields_ = [\n ('name', STRING),\n ('rsa_pub_enc', CFUNCTYPE(c_int, c_int, POINTER(c_ubyte), POINTER(c_ubyte), POINTER(RSA), c_int)),\n ('rsa_pub_dec', CFUNCTYPE(c_int, c_int, POINTER(c_ubyte), POINTER(c_ubyte), POINTER(RSA), c_int)),\n ('rsa_priv_enc', CFUNCTYPE(c_int, c_int, POINTER(c_ubyte), POINTER(c_ubyte), POINTER(RSA), c_int)),\n ('rsa_priv_dec', CFUNCTYPE(c_int, c_int, POINTER(c_ubyte), POINTER(c_ubyte), POINTER(RSA), c_int)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "RSA", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "RSA = rsa_st\nclass rsa_meth_st(Structure):\n pass\nrsa_meth_st._fields_ = [\n ('name', STRING),\n ('rsa_pub_enc', CFUNCTYPE(c_int, c_int, POINTER(c_ubyte), POINTER(c_ubyte), POINTER(RSA), c_int)),\n ('rsa_pub_dec', CFUNCTYPE(c_int, c_int, POINTER(c_ubyte), POINTER(c_ubyte), POINTER(RSA), c_int)),\n ('rsa_priv_enc', CFUNCTYPE(c_int, c_int, POINTER(c_ubyte), POINTER(c_ubyte), POINTER(RSA), c_int)),\n ('rsa_priv_dec', CFUNCTYPE(c_int, c_int, POINTER(c_ubyte), POINTER(c_ubyte), POINTER(RSA), c_int)),\n ('rsa_mod_exp', CFUNCTYPE(c_int, POINTER(BIGNUM), POINTER(BIGNUM), POINTER(RSA))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "rsa_meth_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "rsa_meth_st._fields_ = [\n ('name', STRING),\n ('rsa_pub_enc', CFUNCTYPE(c_int, c_int, POINTER(c_ubyte), POINTER(c_ubyte), POINTER(RSA), c_int)),\n ('rsa_pub_dec', CFUNCTYPE(c_int, c_int, POINTER(c_ubyte), POINTER(c_ubyte), POINTER(RSA), c_int)),\n ('rsa_priv_enc', CFUNCTYPE(c_int, c_int, POINTER(c_ubyte), POINTER(c_ubyte), POINTER(RSA), c_int)),\n ('rsa_priv_dec', CFUNCTYPE(c_int, c_int, POINTER(c_ubyte), POINTER(c_ubyte), POINTER(RSA), c_int)),\n ('rsa_mod_exp', CFUNCTYPE(c_int, POINTER(BIGNUM), POINTER(BIGNUM), POINTER(RSA))),\n ('bn_mod_exp', CFUNCTYPE(c_int, POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BIGNUM), POINTER(BN_CTX), POINTER(BN_MONT_CTX))),\n ('init', CFUNCTYPE(c_int, POINTER(RSA))),\n ('finish', CFUNCTYPE(c_int, POINTER(RSA))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "RSA_METHOD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "RSA_METHOD = rsa_meth_st\nrsa_st._fields_ = [\n ('pad', c_int),\n ('version', c_long),\n ('meth', POINTER(RSA_METHOD)),\n ('engine', POINTER(ENGINE)),\n ('n', POINTER(BIGNUM)),\n ('e', POINTER(BIGNUM)),\n ('d', POINTER(BIGNUM)),\n ('p', POINTER(BIGNUM)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "rsa_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "rsa_st._fields_ = [\n ('pad', c_int),\n ('version', c_long),\n ('meth', POINTER(RSA_METHOD)),\n ('engine', POINTER(ENGINE)),\n ('n', POINTER(BIGNUM)),\n ('e', POINTER(BIGNUM)),\n ('d', POINTER(BIGNUM)),\n ('p', POINTER(BIGNUM)),\n ('q', POINTER(BIGNUM)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "openssl_fptr", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "openssl_fptr = CFUNCTYPE(None)\nclass SHAstate_st(Structure):\n pass\nSHAstate_st._fields_ = [\n ('h0', c_uint),\n ('h1', c_uint),\n ('h2', c_uint),\n ('h3', c_uint),\n ('h4', c_uint),\n ('Nl', c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "SHAstate_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "SHAstate_st._fields_ = [\n ('h0', c_uint),\n ('h1', c_uint),\n ('h2', c_uint),\n ('h3', c_uint),\n ('h4', c_uint),\n ('Nl', c_uint),\n ('Nh', c_uint),\n ('data', c_uint * 16),\n ('num', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "SHA_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "SHA_CTX = SHAstate_st\nclass ssl_st(Structure):\n pass\nssl_crock_st = POINTER(ssl_st)\nclass ssl_cipher_st(Structure):\n pass\nssl_cipher_st._fields_ = [\n ('valid', c_int),\n ('name', STRING),\n ('id', c_ulong),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl_crock_st", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ssl_crock_st = POINTER(ssl_st)\nclass ssl_cipher_st(Structure):\n pass\nssl_cipher_st._fields_ = [\n ('valid', c_int),\n ('name', STRING),\n ('id', c_ulong),\n ('algorithms', c_ulong),\n ('algo_strength', c_ulong),\n ('algorithm2', c_ulong),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl_cipher_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ssl_cipher_st._fields_ = [\n ('valid', c_int),\n ('name', STRING),\n ('id', c_ulong),\n ('algorithms', c_ulong),\n ('algo_strength', c_ulong),\n ('algorithm2', c_ulong),\n ('strength_bits', c_int),\n ('alg_bits', c_int),\n ('mask', c_ulong),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "SSL_CIPHER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "SSL_CIPHER = ssl_cipher_st\nSSL = ssl_st\nclass ssl_ctx_st(Structure):\n pass\nSSL_CTX = ssl_ctx_st\nclass ssl_method_st(Structure):\n pass\nclass ssl3_enc_method(Structure):\n pass\nssl_method_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "SSL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "SSL = ssl_st\nclass ssl_ctx_st(Structure):\n pass\nSSL_CTX = ssl_ctx_st\nclass ssl_method_st(Structure):\n pass\nclass ssl3_enc_method(Structure):\n pass\nssl_method_st._fields_ = [\n ('version', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "SSL_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "SSL_CTX = ssl_ctx_st\nclass ssl_method_st(Structure):\n pass\nclass ssl3_enc_method(Structure):\n pass\nssl_method_st._fields_ = [\n ('version', c_int),\n ('ssl_new', CFUNCTYPE(c_int, POINTER(SSL))),\n ('ssl_clear', CFUNCTYPE(None, POINTER(SSL))),\n ('ssl_free', CFUNCTYPE(None, POINTER(SSL))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl_method_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ssl_method_st._fields_ = [\n ('version', c_int),\n ('ssl_new', CFUNCTYPE(c_int, POINTER(SSL))),\n ('ssl_clear', CFUNCTYPE(None, POINTER(SSL))),\n ('ssl_free', CFUNCTYPE(None, POINTER(SSL))),\n ('ssl_accept', CFUNCTYPE(c_int, POINTER(SSL))),\n ('ssl_connect', CFUNCTYPE(c_int, POINTER(SSL))),\n ('ssl_read', CFUNCTYPE(c_int, POINTER(SSL), c_void_p, c_int)),\n ('ssl_peek', CFUNCTYPE(c_int, POINTER(SSL), c_void_p, c_int)),\n ('ssl_write', CFUNCTYPE(c_int, POINTER(SSL), c_void_p, c_int)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl3_enc_method._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ssl3_enc_method._fields_ = [\n]\nSSL_METHOD = ssl_method_st\nclass ssl_session_st(Structure):\n pass\nclass sess_cert_st(Structure):\n pass\nssl_session_st._fields_ = [\n ('ssl_version', c_int),\n ('key_arg_length', c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "SSL_METHOD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "SSL_METHOD = ssl_method_st\nclass ssl_session_st(Structure):\n pass\nclass sess_cert_st(Structure):\n pass\nssl_session_st._fields_ = [\n ('ssl_version', c_int),\n ('key_arg_length', c_uint),\n ('key_arg', c_ubyte * 8),\n ('master_key_length', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl_session_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ssl_session_st._fields_ = [\n ('ssl_version', c_int),\n ('key_arg_length', c_uint),\n ('key_arg', c_ubyte * 8),\n ('master_key_length', c_int),\n ('master_key', c_ubyte * 48),\n ('session_id_length', c_uint),\n ('session_id', c_ubyte * 32),\n ('sid_ctx_length', c_uint),\n ('sid_ctx', c_ubyte * 32),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sess_cert_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "sess_cert_st._fields_ = [\n]\nSSL_SESSION = ssl_session_st\nGEN_SESSION_CB = CFUNCTYPE(c_int, POINTER(SSL), POINTER(c_ubyte), POINTER(c_uint))\nclass ssl_comp_st(Structure):\n pass\nssl_comp_st._fields_ = [\n ('id', c_int),\n ('name', STRING),\n ('method', POINTER(COMP_METHOD)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "SSL_SESSION", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "SSL_SESSION = ssl_session_st\nGEN_SESSION_CB = CFUNCTYPE(c_int, POINTER(SSL), POINTER(c_ubyte), POINTER(c_uint))\nclass ssl_comp_st(Structure):\n pass\nssl_comp_st._fields_ = [\n ('id', c_int),\n ('name', STRING),\n ('method', POINTER(COMP_METHOD)),\n]\nassert sizeof(ssl_comp_st) == 12, sizeof(ssl_comp_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "GEN_SESSION_CB", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "GEN_SESSION_CB = CFUNCTYPE(c_int, POINTER(SSL), POINTER(c_ubyte), POINTER(c_uint))\nclass ssl_comp_st(Structure):\n pass\nssl_comp_st._fields_ = [\n ('id', c_int),\n ('name', STRING),\n ('method', POINTER(COMP_METHOD)),\n]\nassert sizeof(ssl_comp_st) == 12, sizeof(ssl_comp_st)\nassert alignment(ssl_comp_st) == 4, alignment(ssl_comp_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl_comp_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ssl_comp_st._fields_ = [\n ('id', c_int),\n ('name', STRING),\n ('method', POINTER(COMP_METHOD)),\n]\nassert sizeof(ssl_comp_st) == 12, sizeof(ssl_comp_st)\nassert alignment(ssl_comp_st) == 4, alignment(ssl_comp_st)\nSSL_COMP = ssl_comp_st\nclass N10ssl_ctx_st4DOLLAR_18E(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "SSL_COMP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "SSL_COMP = ssl_comp_st\nclass N10ssl_ctx_st4DOLLAR_18E(Structure):\n pass\nN10ssl_ctx_st4DOLLAR_18E._fields_ = [\n ('sess_connect', c_int),\n ('sess_connect_renegotiate', c_int),\n ('sess_connect_good', c_int),\n ('sess_accept', c_int),\n ('sess_accept_renegotiate', c_int),\n ('sess_accept_good', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N10ssl_ctx_st4DOLLAR_18E._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "N10ssl_ctx_st4DOLLAR_18E._fields_ = [\n ('sess_connect', c_int),\n ('sess_connect_renegotiate', c_int),\n ('sess_connect_good', c_int),\n ('sess_accept', c_int),\n ('sess_accept_renegotiate', c_int),\n ('sess_accept_good', c_int),\n ('sess_miss', c_int),\n ('sess_timeout', c_int),\n ('sess_cache_full', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl_ctx_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ssl_ctx_st._fields_ = [\n ('method', POINTER(SSL_METHOD)),\n ('cipher_list', POINTER(STACK)),\n ('cipher_list_by_id', POINTER(STACK)),\n ('cert_store', POINTER(x509_store_st)),\n ('sessions', POINTER(lhash_st)),\n ('session_cache_size', c_ulong),\n ('session_cache_head', POINTER(ssl_session_st)),\n ('session_cache_tail', POINTER(ssl_session_st)),\n ('session_cache_mode', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "cert_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "cert_st._fields_ = [\n]\nclass ssl2_state_st(Structure):\n pass\nclass ssl3_state_st(Structure):\n pass\nssl_st._fields_ = [\n ('version', c_int),\n ('type', c_int),\n ('method', POINTER(SSL_METHOD)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ssl_st._fields_ = [\n ('version', c_int),\n ('type', c_int),\n ('method', POINTER(SSL_METHOD)),\n ('rbio', POINTER(BIO)),\n ('wbio', POINTER(BIO)),\n ('bbio', POINTER(BIO)),\n ('rwstate', c_int),\n ('in_handshake', c_int),\n ('handshake_func', CFUNCTYPE(c_int)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N13ssl2_state_st4DOLLAR_19E._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "N13ssl2_state_st4DOLLAR_19E._fields_ = [\n ('conn_id_length', c_uint),\n ('cert_type', c_uint),\n ('cert_length', c_uint),\n ('csl', c_uint),\n ('clear', c_uint),\n ('enc', c_uint),\n ('ccl', c_ubyte * 32),\n ('cipher_spec_length', c_uint),\n ('session_id_length', c_uint),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl2_state_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ssl2_state_st._fields_ = [\n ('three_byte_header', c_int),\n ('clear_text', c_int),\n ('escape', c_int),\n ('ssl2_rollback', c_int),\n ('wnum', c_uint),\n ('wpend_tot', c_int),\n ('wpend_buf', POINTER(c_ubyte)),\n ('wpend_off', c_int),\n ('wpend_len', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "SSL2_STATE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "SSL2_STATE = ssl2_state_st\nclass ssl3_record_st(Structure):\n pass\nssl3_record_st._fields_ = [\n ('type', c_int),\n ('length', c_uint),\n ('off', c_uint),\n ('data', POINTER(c_ubyte)),\n ('input', POINTER(c_ubyte)),\n ('comp', POINTER(c_ubyte)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl3_record_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ssl3_record_st._fields_ = [\n ('type', c_int),\n ('length', c_uint),\n ('off', c_uint),\n ('data', POINTER(c_ubyte)),\n ('input', POINTER(c_ubyte)),\n ('comp', POINTER(c_ubyte)),\n]\nassert sizeof(ssl3_record_st) == 24, sizeof(ssl3_record_st)\nassert alignment(ssl3_record_st) == 4, alignment(ssl3_record_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "SSL3_RECORD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "SSL3_RECORD = ssl3_record_st\nclass ssl3_buffer_st(Structure):\n pass\nsize_t = __darwin_size_t\nssl3_buffer_st._fields_ = [\n ('buf', POINTER(c_ubyte)),\n ('len', size_t),\n ('offset', c_int),\n ('left', c_int),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "size_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "size_t = __darwin_size_t\nssl3_buffer_st._fields_ = [\n ('buf', POINTER(c_ubyte)),\n ('len', size_t),\n ('offset', c_int),\n ('left', c_int),\n]\nassert sizeof(ssl3_buffer_st) == 16, sizeof(ssl3_buffer_st)\nassert alignment(ssl3_buffer_st) == 4, alignment(ssl3_buffer_st)\nSSL3_BUFFER = ssl3_buffer_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl3_buffer_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ssl3_buffer_st._fields_ = [\n ('buf', POINTER(c_ubyte)),\n ('len', size_t),\n ('offset', c_int),\n ('left', c_int),\n]\nassert sizeof(ssl3_buffer_st) == 16, sizeof(ssl3_buffer_st)\nassert alignment(ssl3_buffer_st) == 4, alignment(ssl3_buffer_st)\nSSL3_BUFFER = ssl3_buffer_st\nclass N13ssl3_state_st4DOLLAR_20E(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "SSL3_BUFFER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "SSL3_BUFFER = ssl3_buffer_st\nclass N13ssl3_state_st4DOLLAR_20E(Structure):\n pass\nN13ssl3_state_st4DOLLAR_20E._fields_ = [\n ('cert_verify_md', c_ubyte * 72),\n ('finish_md', c_ubyte * 72),\n ('finish_md_len', c_int),\n ('peer_finish_md', c_ubyte * 72),\n ('peer_finish_md_len', c_int),\n ('message_size', c_ulong),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N13ssl3_state_st4DOLLAR_20E._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "N13ssl3_state_st4DOLLAR_20E._fields_ = [\n ('cert_verify_md', c_ubyte * 72),\n ('finish_md', c_ubyte * 72),\n ('finish_md_len', c_int),\n ('peer_finish_md', c_ubyte * 72),\n ('peer_finish_md_len', c_int),\n ('message_size', c_ulong),\n ('message_type', c_int),\n ('new_cipher', POINTER(SSL_CIPHER)),\n ('dh', POINTER(DH)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssl3_state_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ssl3_state_st._fields_ = [\n ('flags', c_long),\n ('delay_buf_pop_ret', c_int),\n ('read_sequence', c_ubyte * 8),\n ('read_mac_secret', c_ubyte * 36),\n ('write_sequence', c_ubyte * 8),\n ('write_mac_secret', c_ubyte * 36),\n ('server_random', c_ubyte * 32),\n ('client_random', c_ubyte * 32),\n ('need_empty_fragments', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "SSL3_STATE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "SSL3_STATE = ssl3_state_st\nstack_st._fields_ = [\n ('num', c_int),\n ('data', POINTER(STRING)),\n ('sorted', c_int),\n ('num_alloc', c_int),\n ('comp', CFUNCTYPE(c_int, POINTER(STRING), POINTER(STRING))),\n]\nassert sizeof(stack_st) == 20, sizeof(stack_st)\nassert alignment(stack_st) == 4, alignment(stack_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "stack_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "stack_st._fields_ = [\n ('num', c_int),\n ('data', POINTER(STRING)),\n ('sorted', c_int),\n ('num_alloc', c_int),\n ('comp', CFUNCTYPE(c_int, POINTER(STRING), POINTER(STRING))),\n]\nassert sizeof(stack_st) == 20, sizeof(stack_st)\nassert alignment(stack_st) == 4, alignment(stack_st)\nclass ui_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ui_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ui_st._fields_ = [\n]\nUI = ui_st\nclass ui_method_st(Structure):\n pass\nui_method_st._fields_ = [\n]\nUI_METHOD = ui_method_st\nclass ui_string_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "UI", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "UI = ui_st\nclass ui_method_st(Structure):\n pass\nui_method_st._fields_ = [\n]\nUI_METHOD = ui_method_st\nclass ui_string_st(Structure):\n pass\nui_string_st._fields_ = [\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ui_method_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ui_method_st._fields_ = [\n]\nUI_METHOD = ui_method_st\nclass ui_string_st(Structure):\n pass\nui_string_st._fields_ = [\n]\nUI_STRING = ui_string_st\n# values for enumeration 'UI_string_types'\nUI_string_types = c_int # enum", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "UI_METHOD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "UI_METHOD = ui_method_st\nclass ui_string_st(Structure):\n pass\nui_string_st._fields_ = [\n]\nUI_STRING = ui_string_st\n# values for enumeration 'UI_string_types'\nUI_string_types = c_int # enum\nclass X509_objects_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ui_string_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ui_string_st._fields_ = [\n]\nUI_STRING = ui_string_st\n# values for enumeration 'UI_string_types'\nUI_string_types = c_int # enum\nclass X509_objects_st(Structure):\n pass\nX509_objects_st._fields_ = [\n ('nid', c_int),\n ('a2i', CFUNCTYPE(c_int)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "UI_STRING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "UI_STRING = ui_string_st\n# values for enumeration 'UI_string_types'\nUI_string_types = c_int # enum\nclass X509_objects_st(Structure):\n pass\nX509_objects_st._fields_ = [\n ('nid', c_int),\n ('a2i', CFUNCTYPE(c_int)),\n ('i2a', CFUNCTYPE(c_int)),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "UI_string_types", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "UI_string_types = c_int # enum\nclass X509_objects_st(Structure):\n pass\nX509_objects_st._fields_ = [\n ('nid', c_int),\n ('a2i', CFUNCTYPE(c_int)),\n ('i2a', CFUNCTYPE(c_int)),\n]\nassert sizeof(X509_objects_st) == 12, sizeof(X509_objects_st)\nassert alignment(X509_objects_st) == 4, alignment(X509_objects_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_objects_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_objects_st._fields_ = [\n ('nid', c_int),\n ('a2i', CFUNCTYPE(c_int)),\n ('i2a', CFUNCTYPE(c_int)),\n]\nassert sizeof(X509_objects_st) == 12, sizeof(X509_objects_st)\nassert alignment(X509_objects_st) == 4, alignment(X509_objects_st)\nX509_OBJECTS = X509_objects_st\nX509_algor_st._fields_ = [\n ('algorithm', POINTER(ASN1_OBJECT)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_OBJECTS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_OBJECTS = X509_objects_st\nX509_algor_st._fields_ = [\n ('algorithm', POINTER(ASN1_OBJECT)),\n ('parameter', POINTER(ASN1_TYPE)),\n]\nassert sizeof(X509_algor_st) == 8, sizeof(X509_algor_st)\nassert alignment(X509_algor_st) == 4, alignment(X509_algor_st)\nclass X509_val_st(Structure):\n pass\nX509_val_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_algor_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_algor_st._fields_ = [\n ('algorithm', POINTER(ASN1_OBJECT)),\n ('parameter', POINTER(ASN1_TYPE)),\n]\nassert sizeof(X509_algor_st) == 8, sizeof(X509_algor_st)\nassert alignment(X509_algor_st) == 4, alignment(X509_algor_st)\nclass X509_val_st(Structure):\n pass\nX509_val_st._fields_ = [\n ('notBefore', POINTER(ASN1_TIME)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_val_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_val_st._fields_ = [\n ('notBefore', POINTER(ASN1_TIME)),\n ('notAfter', POINTER(ASN1_TIME)),\n]\nassert sizeof(X509_val_st) == 8, sizeof(X509_val_st)\nassert alignment(X509_val_st) == 4, alignment(X509_val_st)\nX509_VAL = X509_val_st\nclass X509_pubkey_st(Structure):\n pass\nX509_pubkey_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_VAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_VAL = X509_val_st\nclass X509_pubkey_st(Structure):\n pass\nX509_pubkey_st._fields_ = [\n ('algor', POINTER(X509_ALGOR)),\n ('public_key', POINTER(ASN1_BIT_STRING)),\n ('pkey', POINTER(EVP_PKEY)),\n]\nassert sizeof(X509_pubkey_st) == 12, sizeof(X509_pubkey_st)\nassert alignment(X509_pubkey_st) == 4, alignment(X509_pubkey_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_pubkey_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_pubkey_st._fields_ = [\n ('algor', POINTER(X509_ALGOR)),\n ('public_key', POINTER(ASN1_BIT_STRING)),\n ('pkey', POINTER(EVP_PKEY)),\n]\nassert sizeof(X509_pubkey_st) == 12, sizeof(X509_pubkey_st)\nassert alignment(X509_pubkey_st) == 4, alignment(X509_pubkey_st)\nX509_PUBKEY = X509_pubkey_st\nclass X509_sig_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_PUBKEY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_PUBKEY = X509_pubkey_st\nclass X509_sig_st(Structure):\n pass\nX509_sig_st._fields_ = [\n ('algor', POINTER(X509_ALGOR)),\n ('digest', POINTER(ASN1_OCTET_STRING)),\n]\nassert sizeof(X509_sig_st) == 8, sizeof(X509_sig_st)\nassert alignment(X509_sig_st) == 4, alignment(X509_sig_st)\nX509_SIG = X509_sig_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_sig_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_sig_st._fields_ = [\n ('algor', POINTER(X509_ALGOR)),\n ('digest', POINTER(ASN1_OCTET_STRING)),\n]\nassert sizeof(X509_sig_st) == 8, sizeof(X509_sig_st)\nassert alignment(X509_sig_st) == 4, alignment(X509_sig_st)\nX509_SIG = X509_sig_st\nclass X509_name_entry_st(Structure):\n pass\nX509_name_entry_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_SIG", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_SIG = X509_sig_st\nclass X509_name_entry_st(Structure):\n pass\nX509_name_entry_st._fields_ = [\n ('object', POINTER(ASN1_OBJECT)),\n ('value', POINTER(ASN1_STRING)),\n ('set', c_int),\n ('size', c_int),\n]\nassert sizeof(X509_name_entry_st) == 16, sizeof(X509_name_entry_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_name_entry_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_name_entry_st._fields_ = [\n ('object', POINTER(ASN1_OBJECT)),\n ('value', POINTER(ASN1_STRING)),\n ('set', c_int),\n ('size', c_int),\n]\nassert sizeof(X509_name_entry_st) == 16, sizeof(X509_name_entry_st)\nassert alignment(X509_name_entry_st) == 4, alignment(X509_name_entry_st)\nX509_NAME_ENTRY = X509_name_entry_st\nX509_name_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_NAME_ENTRY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_NAME_ENTRY = X509_name_entry_st\nX509_name_st._fields_ = [\n ('entries', POINTER(STACK)),\n ('modified', c_int),\n ('bytes', POINTER(BUF_MEM)),\n ('hash', c_ulong),\n]\nassert sizeof(X509_name_st) == 16, sizeof(X509_name_st)\nassert alignment(X509_name_st) == 4, alignment(X509_name_st)\nclass X509_extension_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_name_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_name_st._fields_ = [\n ('entries', POINTER(STACK)),\n ('modified', c_int),\n ('bytes', POINTER(BUF_MEM)),\n ('hash', c_ulong),\n]\nassert sizeof(X509_name_st) == 16, sizeof(X509_name_st)\nassert alignment(X509_name_st) == 4, alignment(X509_name_st)\nclass X509_extension_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_extension_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_extension_st._fields_ = [\n ('object', POINTER(ASN1_OBJECT)),\n ('critical', ASN1_BOOLEAN),\n ('value', POINTER(ASN1_OCTET_STRING)),\n]\nassert sizeof(X509_extension_st) == 12, sizeof(X509_extension_st)\nassert alignment(X509_extension_st) == 4, alignment(X509_extension_st)\nX509_EXTENSION = X509_extension_st\nclass x509_attributes_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_EXTENSION", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_EXTENSION = X509_extension_st\nclass x509_attributes_st(Structure):\n pass\nclass N18x509_attributes_st4DOLLAR_13E(Union):\n pass\nN18x509_attributes_st4DOLLAR_13E._fields_ = [\n ('ptr', STRING),\n ('set', POINTER(STACK)),\n ('single', POINTER(ASN1_TYPE)),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N18x509_attributes_st4DOLLAR_13E._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "N18x509_attributes_st4DOLLAR_13E._fields_ = [\n ('ptr', STRING),\n ('set', POINTER(STACK)),\n ('single', POINTER(ASN1_TYPE)),\n]\nassert sizeof(N18x509_attributes_st4DOLLAR_13E) == 4, sizeof(N18x509_attributes_st4DOLLAR_13E)\nassert alignment(N18x509_attributes_st4DOLLAR_13E) == 4, alignment(N18x509_attributes_st4DOLLAR_13E)\nx509_attributes_st._fields_ = [\n ('object', POINTER(ASN1_OBJECT)),\n ('single', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_attributes_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "x509_attributes_st._fields_ = [\n ('object', POINTER(ASN1_OBJECT)),\n ('single', c_int),\n ('value', N18x509_attributes_st4DOLLAR_13E),\n]\nassert sizeof(x509_attributes_st) == 12, sizeof(x509_attributes_st)\nassert alignment(x509_attributes_st) == 4, alignment(x509_attributes_st)\nX509_ATTRIBUTE = x509_attributes_st\nclass X509_req_info_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_ATTRIBUTE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_ATTRIBUTE = x509_attributes_st\nclass X509_req_info_st(Structure):\n pass\nX509_req_info_st._fields_ = [\n ('enc', ASN1_ENCODING),\n ('version', POINTER(ASN1_INTEGER)),\n ('subject', POINTER(X509_NAME)),\n ('pubkey', POINTER(X509_PUBKEY)),\n ('attributes', POINTER(STACK)),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_req_info_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_req_info_st._fields_ = [\n ('enc', ASN1_ENCODING),\n ('version', POINTER(ASN1_INTEGER)),\n ('subject', POINTER(X509_NAME)),\n ('pubkey', POINTER(X509_PUBKEY)),\n ('attributes', POINTER(STACK)),\n]\nassert sizeof(X509_req_info_st) == 28, sizeof(X509_req_info_st)\nassert alignment(X509_req_info_st) == 4, alignment(X509_req_info_st)\nX509_REQ_INFO = X509_req_info_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_REQ_INFO", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_REQ_INFO = X509_req_info_st\nclass X509_req_st(Structure):\n pass\nX509_req_st._fields_ = [\n ('req_info', POINTER(X509_REQ_INFO)),\n ('sig_alg', POINTER(X509_ALGOR)),\n ('signature', POINTER(ASN1_BIT_STRING)),\n ('references', c_int),\n]\nassert sizeof(X509_req_st) == 16, sizeof(X509_req_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_req_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_req_st._fields_ = [\n ('req_info', POINTER(X509_REQ_INFO)),\n ('sig_alg', POINTER(X509_ALGOR)),\n ('signature', POINTER(ASN1_BIT_STRING)),\n ('references', c_int),\n]\nassert sizeof(X509_req_st) == 16, sizeof(X509_req_st)\nassert alignment(X509_req_st) == 4, alignment(X509_req_st)\nX509_REQ = X509_req_st\nclass x509_cinf_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_REQ", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_REQ = X509_req_st\nclass x509_cinf_st(Structure):\n pass\nx509_cinf_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('serialNumber', POINTER(ASN1_INTEGER)),\n ('signature', POINTER(X509_ALGOR)),\n ('issuer', POINTER(X509_NAME)),\n ('validity', POINTER(X509_VAL)),\n ('subject', POINTER(X509_NAME)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_cinf_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "x509_cinf_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('serialNumber', POINTER(ASN1_INTEGER)),\n ('signature', POINTER(X509_ALGOR)),\n ('issuer', POINTER(X509_NAME)),\n ('validity', POINTER(X509_VAL)),\n ('subject', POINTER(X509_NAME)),\n ('key', POINTER(X509_PUBKEY)),\n ('issuerUID', POINTER(ASN1_BIT_STRING)),\n ('subjectUID', POINTER(ASN1_BIT_STRING)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_CINF", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_CINF = x509_cinf_st\nclass x509_cert_aux_st(Structure):\n pass\nx509_cert_aux_st._fields_ = [\n ('trust', POINTER(STACK)),\n ('reject', POINTER(STACK)),\n ('alias', POINTER(ASN1_UTF8STRING)),\n ('keyid', POINTER(ASN1_OCTET_STRING)),\n ('other', POINTER(STACK)),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_cert_aux_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "x509_cert_aux_st._fields_ = [\n ('trust', POINTER(STACK)),\n ('reject', POINTER(STACK)),\n ('alias', POINTER(ASN1_UTF8STRING)),\n ('keyid', POINTER(ASN1_OCTET_STRING)),\n ('other', POINTER(STACK)),\n]\nassert sizeof(x509_cert_aux_st) == 20, sizeof(x509_cert_aux_st)\nassert alignment(x509_cert_aux_st) == 4, alignment(x509_cert_aux_st)\nX509_CERT_AUX = x509_cert_aux_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_CERT_AUX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_CERT_AUX = x509_cert_aux_st\nclass AUTHORITY_KEYID_st(Structure):\n pass\nx509_st._fields_ = [\n ('cert_info', POINTER(X509_CINF)),\n ('sig_alg', POINTER(X509_ALGOR)),\n ('signature', POINTER(ASN1_BIT_STRING)),\n ('valid', c_int),\n ('references', c_int),\n ('name', STRING),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "x509_st._fields_ = [\n ('cert_info', POINTER(X509_CINF)),\n ('sig_alg', POINTER(X509_ALGOR)),\n ('signature', POINTER(ASN1_BIT_STRING)),\n ('valid', c_int),\n ('references', c_int),\n ('name', STRING),\n ('ex_data', CRYPTO_EX_DATA),\n ('ex_pathlen', c_long),\n ('ex_flags', c_ulong),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "AUTHORITY_KEYID_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "AUTHORITY_KEYID_st._fields_ = [\n]\nclass x509_trust_st(Structure):\n pass\nx509_trust_st._fields_ = [\n ('trust', c_int),\n ('flags', c_int),\n ('check_trust', CFUNCTYPE(c_int, POINTER(x509_trust_st), POINTER(X509), c_int)),\n ('name', STRING),\n ('arg1', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_trust_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "x509_trust_st._fields_ = [\n ('trust', c_int),\n ('flags', c_int),\n ('check_trust', CFUNCTYPE(c_int, POINTER(x509_trust_st), POINTER(X509), c_int)),\n ('name', STRING),\n ('arg1', c_int),\n ('arg2', c_void_p),\n]\nassert sizeof(x509_trust_st) == 24, sizeof(x509_trust_st)\nassert alignment(x509_trust_st) == 4, alignment(x509_trust_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_TRUST", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_TRUST = x509_trust_st\nclass X509_revoked_st(Structure):\n pass\nX509_revoked_st._fields_ = [\n ('serialNumber', POINTER(ASN1_INTEGER)),\n ('revocationDate', POINTER(ASN1_TIME)),\n ('extensions', POINTER(STACK)),\n ('sequence', c_int),\n]\nassert sizeof(X509_revoked_st) == 16, sizeof(X509_revoked_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_revoked_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_revoked_st._fields_ = [\n ('serialNumber', POINTER(ASN1_INTEGER)),\n ('revocationDate', POINTER(ASN1_TIME)),\n ('extensions', POINTER(STACK)),\n ('sequence', c_int),\n]\nassert sizeof(X509_revoked_st) == 16, sizeof(X509_revoked_st)\nassert alignment(X509_revoked_st) == 4, alignment(X509_revoked_st)\nX509_REVOKED = X509_revoked_st\nclass X509_crl_info_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_REVOKED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_REVOKED = X509_revoked_st\nclass X509_crl_info_st(Structure):\n pass\nX509_crl_info_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('sig_alg', POINTER(X509_ALGOR)),\n ('issuer', POINTER(X509_NAME)),\n ('lastUpdate', POINTER(ASN1_TIME)),\n ('nextUpdate', POINTER(ASN1_TIME)),\n ('revoked', POINTER(STACK)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_crl_info_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_crl_info_st._fields_ = [\n ('version', POINTER(ASN1_INTEGER)),\n ('sig_alg', POINTER(X509_ALGOR)),\n ('issuer', POINTER(X509_NAME)),\n ('lastUpdate', POINTER(ASN1_TIME)),\n ('nextUpdate', POINTER(ASN1_TIME)),\n ('revoked', POINTER(STACK)),\n ('extensions', POINTER(STACK)),\n ('enc', ASN1_ENCODING),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_CRL_INFO", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_CRL_INFO = X509_crl_info_st\nX509_crl_st._fields_ = [\n ('crl', POINTER(X509_CRL_INFO)),\n ('sig_alg', POINTER(X509_ALGOR)),\n ('signature', POINTER(ASN1_BIT_STRING)),\n ('references', c_int),\n]\nassert sizeof(X509_crl_st) == 16, sizeof(X509_crl_st)\nassert alignment(X509_crl_st) == 4, alignment(X509_crl_st)\nclass private_key_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_crl_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_crl_st._fields_ = [\n ('crl', POINTER(X509_CRL_INFO)),\n ('sig_alg', POINTER(X509_ALGOR)),\n ('signature', POINTER(ASN1_BIT_STRING)),\n ('references', c_int),\n]\nassert sizeof(X509_crl_st) == 16, sizeof(X509_crl_st)\nassert alignment(X509_crl_st) == 4, alignment(X509_crl_st)\nclass private_key_st(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "private_key_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "private_key_st._fields_ = [\n ('version', c_int),\n ('enc_algor', POINTER(X509_ALGOR)),\n ('enc_pkey', POINTER(ASN1_OCTET_STRING)),\n ('dec_pkey', POINTER(EVP_PKEY)),\n ('key_length', c_int),\n ('key_data', STRING),\n ('key_free', c_int),\n ('cipher', EVP_CIPHER_INFO),\n ('references', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_PKEY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_PKEY = private_key_st\nclass X509_info_st(Structure):\n pass\nX509_info_st._fields_ = [\n ('x509', POINTER(X509)),\n ('crl', POINTER(X509_CRL)),\n ('x_pkey', POINTER(X509_PKEY)),\n ('enc_cipher', EVP_CIPHER_INFO),\n ('enc_len', c_int),\n ('enc_data', STRING),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_info_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_info_st._fields_ = [\n ('x509', POINTER(X509)),\n ('crl', POINTER(X509_CRL)),\n ('x_pkey', POINTER(X509_PKEY)),\n ('enc_cipher', EVP_CIPHER_INFO),\n ('enc_len', c_int),\n ('enc_data', STRING),\n ('references', c_int),\n]\nassert sizeof(X509_info_st) == 44, sizeof(X509_info_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_INFO", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_INFO = X509_info_st\nclass Netscape_spkac_st(Structure):\n pass\nNetscape_spkac_st._fields_ = [\n ('pubkey', POINTER(X509_PUBKEY)),\n ('challenge', POINTER(ASN1_IA5STRING)),\n]\nassert sizeof(Netscape_spkac_st) == 8, sizeof(Netscape_spkac_st)\nassert alignment(Netscape_spkac_st) == 4, alignment(Netscape_spkac_st)\nNETSCAPE_SPKAC = Netscape_spkac_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "Netscape_spkac_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "Netscape_spkac_st._fields_ = [\n ('pubkey', POINTER(X509_PUBKEY)),\n ('challenge', POINTER(ASN1_IA5STRING)),\n]\nassert sizeof(Netscape_spkac_st) == 8, sizeof(Netscape_spkac_st)\nassert alignment(Netscape_spkac_st) == 4, alignment(Netscape_spkac_st)\nNETSCAPE_SPKAC = Netscape_spkac_st\nclass Netscape_spki_st(Structure):\n pass\nNetscape_spki_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "NETSCAPE_SPKAC", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "NETSCAPE_SPKAC = Netscape_spkac_st\nclass Netscape_spki_st(Structure):\n pass\nNetscape_spki_st._fields_ = [\n ('spkac', POINTER(NETSCAPE_SPKAC)),\n ('sig_algor', POINTER(X509_ALGOR)),\n ('signature', POINTER(ASN1_BIT_STRING)),\n]\nassert sizeof(Netscape_spki_st) == 12, sizeof(Netscape_spki_st)\nassert alignment(Netscape_spki_st) == 4, alignment(Netscape_spki_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "Netscape_spki_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "Netscape_spki_st._fields_ = [\n ('spkac', POINTER(NETSCAPE_SPKAC)),\n ('sig_algor', POINTER(X509_ALGOR)),\n ('signature', POINTER(ASN1_BIT_STRING)),\n]\nassert sizeof(Netscape_spki_st) == 12, sizeof(Netscape_spki_st)\nassert alignment(Netscape_spki_st) == 4, alignment(Netscape_spki_st)\nNETSCAPE_SPKI = Netscape_spki_st\nclass Netscape_certificate_sequence(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "NETSCAPE_SPKI", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "NETSCAPE_SPKI = Netscape_spki_st\nclass Netscape_certificate_sequence(Structure):\n pass\nNetscape_certificate_sequence._fields_ = [\n ('type', POINTER(ASN1_OBJECT)),\n ('certs', POINTER(STACK)),\n]\nassert sizeof(Netscape_certificate_sequence) == 8, sizeof(Netscape_certificate_sequence)\nassert alignment(Netscape_certificate_sequence) == 4, alignment(Netscape_certificate_sequence)\nNETSCAPE_CERT_SEQUENCE = Netscape_certificate_sequence", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "Netscape_certificate_sequence._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "Netscape_certificate_sequence._fields_ = [\n ('type', POINTER(ASN1_OBJECT)),\n ('certs', POINTER(STACK)),\n]\nassert sizeof(Netscape_certificate_sequence) == 8, sizeof(Netscape_certificate_sequence)\nassert alignment(Netscape_certificate_sequence) == 4, alignment(Netscape_certificate_sequence)\nNETSCAPE_CERT_SEQUENCE = Netscape_certificate_sequence\nclass PBEPARAM_st(Structure):\n pass\nPBEPARAM_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "NETSCAPE_CERT_SEQUENCE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "NETSCAPE_CERT_SEQUENCE = Netscape_certificate_sequence\nclass PBEPARAM_st(Structure):\n pass\nPBEPARAM_st._fields_ = [\n ('salt', POINTER(ASN1_OCTET_STRING)),\n ('iter', POINTER(ASN1_INTEGER)),\n]\nassert sizeof(PBEPARAM_st) == 8, sizeof(PBEPARAM_st)\nassert alignment(PBEPARAM_st) == 4, alignment(PBEPARAM_st)\nPBEPARAM = PBEPARAM_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PBEPARAM_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PBEPARAM_st._fields_ = [\n ('salt', POINTER(ASN1_OCTET_STRING)),\n ('iter', POINTER(ASN1_INTEGER)),\n]\nassert sizeof(PBEPARAM_st) == 8, sizeof(PBEPARAM_st)\nassert alignment(PBEPARAM_st) == 4, alignment(PBEPARAM_st)\nPBEPARAM = PBEPARAM_st\nclass PBE2PARAM_st(Structure):\n pass\nPBE2PARAM_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PBEPARAM", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PBEPARAM = PBEPARAM_st\nclass PBE2PARAM_st(Structure):\n pass\nPBE2PARAM_st._fields_ = [\n ('keyfunc', POINTER(X509_ALGOR)),\n ('encryption', POINTER(X509_ALGOR)),\n]\nassert sizeof(PBE2PARAM_st) == 8, sizeof(PBE2PARAM_st)\nassert alignment(PBE2PARAM_st) == 4, alignment(PBE2PARAM_st)\nPBE2PARAM = PBE2PARAM_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PBE2PARAM_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PBE2PARAM_st._fields_ = [\n ('keyfunc', POINTER(X509_ALGOR)),\n ('encryption', POINTER(X509_ALGOR)),\n]\nassert sizeof(PBE2PARAM_st) == 8, sizeof(PBE2PARAM_st)\nassert alignment(PBE2PARAM_st) == 4, alignment(PBE2PARAM_st)\nPBE2PARAM = PBE2PARAM_st\nclass PBKDF2PARAM_st(Structure):\n pass\nPBKDF2PARAM_st._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PBE2PARAM", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PBE2PARAM = PBE2PARAM_st\nclass PBKDF2PARAM_st(Structure):\n pass\nPBKDF2PARAM_st._fields_ = [\n ('salt', POINTER(ASN1_TYPE)),\n ('iter', POINTER(ASN1_INTEGER)),\n ('keylength', POINTER(ASN1_INTEGER)),\n ('prf', POINTER(X509_ALGOR)),\n]\nassert sizeof(PBKDF2PARAM_st) == 16, sizeof(PBKDF2PARAM_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PBKDF2PARAM_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PBKDF2PARAM_st._fields_ = [\n ('salt', POINTER(ASN1_TYPE)),\n ('iter', POINTER(ASN1_INTEGER)),\n ('keylength', POINTER(ASN1_INTEGER)),\n ('prf', POINTER(X509_ALGOR)),\n]\nassert sizeof(PBKDF2PARAM_st) == 16, sizeof(PBKDF2PARAM_st)\nassert alignment(PBKDF2PARAM_st) == 4, alignment(PBKDF2PARAM_st)\nPBKDF2PARAM = PBKDF2PARAM_st\nclass pkcs8_priv_key_info_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PBKDF2PARAM", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PBKDF2PARAM = PBKDF2PARAM_st\nclass pkcs8_priv_key_info_st(Structure):\n pass\npkcs8_priv_key_info_st._fields_ = [\n ('broken', c_int),\n ('version', POINTER(ASN1_INTEGER)),\n ('pkeyalg', POINTER(X509_ALGOR)),\n ('pkey', POINTER(ASN1_TYPE)),\n ('attributes', POINTER(STACK)),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pkcs8_priv_key_info_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pkcs8_priv_key_info_st._fields_ = [\n ('broken', c_int),\n ('version', POINTER(ASN1_INTEGER)),\n ('pkeyalg', POINTER(X509_ALGOR)),\n ('pkey', POINTER(ASN1_TYPE)),\n ('attributes', POINTER(STACK)),\n]\nassert sizeof(pkcs8_priv_key_info_st) == 20, sizeof(pkcs8_priv_key_info_st)\nassert alignment(pkcs8_priv_key_info_st) == 4, alignment(pkcs8_priv_key_info_st)\nPKCS8_PRIV_KEY_INFO = pkcs8_priv_key_info_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "PKCS8_PRIV_KEY_INFO", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "PKCS8_PRIV_KEY_INFO = pkcs8_priv_key_info_st\nclass x509_hash_dir_st(Structure):\n pass\nx509_hash_dir_st._fields_ = [\n ('num_dirs', c_int),\n ('dirs', POINTER(STRING)),\n ('dirs_type', POINTER(c_int)),\n ('num_dirs_alloced', c_int),\n]\nassert sizeof(x509_hash_dir_st) == 16, sizeof(x509_hash_dir_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_hash_dir_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "x509_hash_dir_st._fields_ = [\n ('num_dirs', c_int),\n ('dirs', POINTER(STRING)),\n ('dirs_type', POINTER(c_int)),\n ('num_dirs_alloced', c_int),\n]\nassert sizeof(x509_hash_dir_st) == 16, sizeof(x509_hash_dir_st)\nassert alignment(x509_hash_dir_st) == 4, alignment(x509_hash_dir_st)\nX509_HASH_DIR_CTX = x509_hash_dir_st\nclass x509_file_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_HASH_DIR_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_HASH_DIR_CTX = x509_hash_dir_st\nclass x509_file_st(Structure):\n pass\nx509_file_st._fields_ = [\n ('num_paths', c_int),\n ('num_alloced', c_int),\n ('paths', POINTER(STRING)),\n ('path_type', POINTER(c_int)),\n]\nassert sizeof(x509_file_st) == 16, sizeof(x509_file_st)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_file_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "x509_file_st._fields_ = [\n ('num_paths', c_int),\n ('num_alloced', c_int),\n ('paths', POINTER(STRING)),\n ('path_type', POINTER(c_int)),\n]\nassert sizeof(x509_file_st) == 16, sizeof(x509_file_st)\nassert alignment(x509_file_st) == 4, alignment(x509_file_st)\nX509_CERT_FILE_CTX = x509_file_st\nclass x509_object_st(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_CERT_FILE_CTX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_CERT_FILE_CTX = x509_file_st\nclass x509_object_st(Structure):\n pass\nclass N14x509_object_st4DOLLAR_14E(Union):\n pass\nN14x509_object_st4DOLLAR_14E._fields_ = [\n ('ptr', STRING),\n ('x509', POINTER(X509)),\n ('crl', POINTER(X509_CRL)),\n ('pkey', POINTER(EVP_PKEY)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N14x509_object_st4DOLLAR_14E._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "N14x509_object_st4DOLLAR_14E._fields_ = [\n ('ptr', STRING),\n ('x509', POINTER(X509)),\n ('crl', POINTER(X509_CRL)),\n ('pkey', POINTER(EVP_PKEY)),\n]\nassert sizeof(N14x509_object_st4DOLLAR_14E) == 4, sizeof(N14x509_object_st4DOLLAR_14E)\nassert alignment(N14x509_object_st4DOLLAR_14E) == 4, alignment(N14x509_object_st4DOLLAR_14E)\nx509_object_st._fields_ = [\n ('type', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_object_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "x509_object_st._fields_ = [\n ('type', c_int),\n ('data', N14x509_object_st4DOLLAR_14E),\n]\nassert sizeof(x509_object_st) == 8, sizeof(x509_object_st)\nassert alignment(x509_object_st) == 4, alignment(x509_object_st)\nX509_OBJECT = x509_object_st\nclass x509_lookup_st(Structure):\n pass\nX509_LOOKUP = x509_lookup_st", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_OBJECT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_OBJECT = x509_object_st\nclass x509_lookup_st(Structure):\n pass\nX509_LOOKUP = x509_lookup_st\nclass x509_lookup_method_st(Structure):\n pass\nx509_lookup_method_st._fields_ = [\n ('name', STRING),\n ('new_item', CFUNCTYPE(c_int, POINTER(X509_LOOKUP))),\n ('free', CFUNCTYPE(None, POINTER(X509_LOOKUP))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_LOOKUP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_LOOKUP = x509_lookup_st\nclass x509_lookup_method_st(Structure):\n pass\nx509_lookup_method_st._fields_ = [\n ('name', STRING),\n ('new_item', CFUNCTYPE(c_int, POINTER(X509_LOOKUP))),\n ('free', CFUNCTYPE(None, POINTER(X509_LOOKUP))),\n ('init', CFUNCTYPE(c_int, POINTER(X509_LOOKUP))),\n ('shutdown', CFUNCTYPE(c_int, POINTER(X509_LOOKUP))),\n ('ctrl', CFUNCTYPE(c_int, POINTER(X509_LOOKUP), c_int, STRING, c_long, POINTER(STRING))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_lookup_method_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "x509_lookup_method_st._fields_ = [\n ('name', STRING),\n ('new_item', CFUNCTYPE(c_int, POINTER(X509_LOOKUP))),\n ('free', CFUNCTYPE(None, POINTER(X509_LOOKUP))),\n ('init', CFUNCTYPE(c_int, POINTER(X509_LOOKUP))),\n ('shutdown', CFUNCTYPE(c_int, POINTER(X509_LOOKUP))),\n ('ctrl', CFUNCTYPE(c_int, POINTER(X509_LOOKUP), c_int, STRING, c_long, POINTER(STRING))),\n ('get_by_subject', CFUNCTYPE(c_int, POINTER(X509_LOOKUP), c_int, POINTER(X509_NAME), POINTER(X509_OBJECT))),\n ('get_by_issuer_serial', CFUNCTYPE(c_int, POINTER(X509_LOOKUP), c_int, POINTER(X509_NAME), POINTER(ASN1_INTEGER), POINTER(X509_OBJECT))),\n ('get_by_fingerprint', CFUNCTYPE(c_int, POINTER(X509_LOOKUP), c_int, POINTER(c_ubyte), c_int, POINTER(X509_OBJECT))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "X509_LOOKUP_METHOD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "X509_LOOKUP_METHOD = x509_lookup_method_st\nx509_store_st._fields_ = [\n ('cache', c_int),\n ('objs', POINTER(STACK)),\n ('get_cert_methods', POINTER(STACK)),\n ('flags', c_ulong),\n ('purpose', c_int),\n ('trust', c_int),\n ('verify', CFUNCTYPE(c_int, POINTER(X509_STORE_CTX))),\n ('verify_cb', CFUNCTYPE(c_int, c_int, POINTER(X509_STORE_CTX))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_store_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "x509_store_st._fields_ = [\n ('cache', c_int),\n ('objs', POINTER(STACK)),\n ('get_cert_methods', POINTER(STACK)),\n ('flags', c_ulong),\n ('purpose', c_int),\n ('trust', c_int),\n ('verify', CFUNCTYPE(c_int, POINTER(X509_STORE_CTX))),\n ('verify_cb', CFUNCTYPE(c_int, c_int, POINTER(X509_STORE_CTX))),\n ('get_issuer', CFUNCTYPE(c_int, POINTER(POINTER(X509)), POINTER(X509_STORE_CTX), POINTER(X509))),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_lookup_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "x509_lookup_st._fields_ = [\n ('init', c_int),\n ('skip', c_int),\n ('method', POINTER(X509_LOOKUP_METHOD)),\n ('method_data', STRING),\n ('store_ctx', POINTER(X509_STORE)),\n]\nassert sizeof(x509_lookup_st) == 20, sizeof(x509_lookup_st)\nassert alignment(x509_lookup_st) == 4, alignment(x509_lookup_st)\ntime_t = __darwin_time_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "time_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "time_t = __darwin_time_t\nx509_store_ctx_st._fields_ = [\n ('ctx', POINTER(X509_STORE)),\n ('current_method', c_int),\n ('cert', POINTER(X509)),\n ('untrusted', POINTER(STACK)),\n ('purpose', c_int),\n ('trust', c_int),\n ('check_time', time_t),\n ('flags', c_ulong),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "x509_store_ctx_st._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "x509_store_ctx_st._fields_ = [\n ('ctx', POINTER(X509_STORE)),\n ('current_method', c_int),\n ('cert', POINTER(X509)),\n ('untrusted', POINTER(STACK)),\n ('purpose', c_int),\n ('trust', c_int),\n ('check_time', time_t),\n ('flags', c_ulong),\n ('other_ctx', c_void_p),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "va_list", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "va_list = __darwin_va_list\n__darwin_off_t = __int64_t\nfpos_t = __darwin_off_t\nclass __sbuf(Structure):\n pass\n__sbuf._fields_ = [\n ('_base', POINTER(c_ubyte)),\n ('_size', c_int),\n]\nassert sizeof(__sbuf) == 8, sizeof(__sbuf)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_off_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_off_t = __int64_t\nfpos_t = __darwin_off_t\nclass __sbuf(Structure):\n pass\n__sbuf._fields_ = [\n ('_base', POINTER(c_ubyte)),\n ('_size', c_int),\n]\nassert sizeof(__sbuf) == 8, sizeof(__sbuf)\nassert alignment(__sbuf) == 4, alignment(__sbuf)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "fpos_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "fpos_t = __darwin_off_t\nclass __sbuf(Structure):\n pass\n__sbuf._fields_ = [\n ('_base', POINTER(c_ubyte)),\n ('_size', c_int),\n]\nassert sizeof(__sbuf) == 8, sizeof(__sbuf)\nassert alignment(__sbuf) == 4, alignment(__sbuf)\nclass __sFILEX(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__sbuf._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__sbuf._fields_ = [\n ('_base', POINTER(c_ubyte)),\n ('_size', c_int),\n]\nassert sizeof(__sbuf) == 8, sizeof(__sbuf)\nassert alignment(__sbuf) == 4, alignment(__sbuf)\nclass __sFILEX(Structure):\n pass\n__sFILEX._fields_ = [\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__sFILEX._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__sFILEX._fields_ = [\n]\nclass __sFILE(Structure):\n pass\n__sFILE._pack_ = 4\n__sFILE._fields_ = [\n ('_p', POINTER(c_ubyte)),\n ('_r', c_int),\n ('_w', c_int),\n ('_flags', c_short),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__sFILE._pack_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__sFILE._pack_ = 4\n__sFILE._fields_ = [\n ('_p', POINTER(c_ubyte)),\n ('_r', c_int),\n ('_w', c_int),\n ('_flags', c_short),\n ('_file', c_short),\n ('_bf', __sbuf),\n ('_lbfsize', c_int),\n ('_cookie', c_void_p),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__sFILE._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__sFILE._fields_ = [\n ('_p', POINTER(c_ubyte)),\n ('_r', c_int),\n ('_w', c_int),\n ('_flags', c_short),\n ('_file', c_short),\n ('_bf', __sbuf),\n ('_lbfsize', c_int),\n ('_cookie', c_void_p),\n ('_close', CFUNCTYPE(c_int, c_void_p)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "FILE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "FILE = __sFILE\nct_rune_t = __darwin_ct_rune_t\nrune_t = __darwin_rune_t\nclass div_t(Structure):\n pass\ndiv_t._fields_ = [\n ('quot', c_int),\n ('rem', c_int),\n]\nassert sizeof(div_t) == 8, sizeof(div_t)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ct_rune_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ct_rune_t = __darwin_ct_rune_t\nrune_t = __darwin_rune_t\nclass div_t(Structure):\n pass\ndiv_t._fields_ = [\n ('quot', c_int),\n ('rem', c_int),\n]\nassert sizeof(div_t) == 8, sizeof(div_t)\nassert alignment(div_t) == 4, alignment(div_t)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "rune_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "rune_t = __darwin_rune_t\nclass div_t(Structure):\n pass\ndiv_t._fields_ = [\n ('quot', c_int),\n ('rem', c_int),\n]\nassert sizeof(div_t) == 8, sizeof(div_t)\nassert alignment(div_t) == 4, alignment(div_t)\nclass ldiv_t(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "div_t._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "div_t._fields_ = [\n ('quot', c_int),\n ('rem', c_int),\n]\nassert sizeof(div_t) == 8, sizeof(div_t)\nassert alignment(div_t) == 4, alignment(div_t)\nclass ldiv_t(Structure):\n pass\nldiv_t._fields_ = [\n ('quot', c_long),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ldiv_t._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ldiv_t._fields_ = [\n ('quot', c_long),\n ('rem', c_long),\n]\nassert sizeof(ldiv_t) == 8, sizeof(ldiv_t)\nassert alignment(ldiv_t) == 4, alignment(ldiv_t)\nclass lldiv_t(Structure):\n pass\nlldiv_t._pack_ = 4\nlldiv_t._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "lldiv_t._pack_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "lldiv_t._pack_ = 4\nlldiv_t._fields_ = [\n ('quot', c_longlong),\n ('rem', c_longlong),\n]\nassert sizeof(lldiv_t) == 16, sizeof(lldiv_t)\nassert alignment(lldiv_t) == 4, alignment(lldiv_t)\n__darwin_dev_t = __int32_t\ndev_t = __darwin_dev_t\n__darwin_mode_t = __uint16_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "lldiv_t._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "lldiv_t._fields_ = [\n ('quot', c_longlong),\n ('rem', c_longlong),\n]\nassert sizeof(lldiv_t) == 16, sizeof(lldiv_t)\nassert alignment(lldiv_t) == 4, alignment(lldiv_t)\n__darwin_dev_t = __int32_t\ndev_t = __darwin_dev_t\n__darwin_mode_t = __uint16_t\nmode_t = __darwin_mode_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_dev_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_dev_t = __int32_t\ndev_t = __darwin_dev_t\n__darwin_mode_t = __uint16_t\nmode_t = __darwin_mode_t\nclass mcontext(Structure):\n pass\nmcontext._fields_ = [\n]\nclass mcontext64(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "dev_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "dev_t = __darwin_dev_t\n__darwin_mode_t = __uint16_t\nmode_t = __darwin_mode_t\nclass mcontext(Structure):\n pass\nmcontext._fields_ = [\n]\nclass mcontext64(Structure):\n pass\nmcontext64._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_mode_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_mode_t = __uint16_t\nmode_t = __darwin_mode_t\nclass mcontext(Structure):\n pass\nmcontext._fields_ = [\n]\nclass mcontext64(Structure):\n pass\nmcontext64._fields_ = [\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "mode_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "mode_t = __darwin_mode_t\nclass mcontext(Structure):\n pass\nmcontext._fields_ = [\n]\nclass mcontext64(Structure):\n pass\nmcontext64._fields_ = [\n]\nclass __darwin_pthread_handler_rec(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "mcontext._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "mcontext._fields_ = [\n]\nclass mcontext64(Structure):\n pass\nmcontext64._fields_ = [\n]\nclass __darwin_pthread_handler_rec(Structure):\n pass\n__darwin_pthread_handler_rec._fields_ = [\n ('__routine', CFUNCTYPE(None, c_void_p)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "mcontext64._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "mcontext64._fields_ = [\n]\nclass __darwin_pthread_handler_rec(Structure):\n pass\n__darwin_pthread_handler_rec._fields_ = [\n ('__routine', CFUNCTYPE(None, c_void_p)),\n ('__arg', c_void_p),\n ('__next', POINTER(__darwin_pthread_handler_rec)),\n]\nassert sizeof(__darwin_pthread_handler_rec) == 12, sizeof(__darwin_pthread_handler_rec)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_pthread_handler_rec._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_pthread_handler_rec._fields_ = [\n ('__routine', CFUNCTYPE(None, c_void_p)),\n ('__arg', c_void_p),\n ('__next', POINTER(__darwin_pthread_handler_rec)),\n]\nassert sizeof(__darwin_pthread_handler_rec) == 12, sizeof(__darwin_pthread_handler_rec)\nassert alignment(__darwin_pthread_handler_rec) == 4, alignment(__darwin_pthread_handler_rec)\nclass _opaque_pthread_attr_t(Structure):\n pass\n_opaque_pthread_attr_t._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_opaque_pthread_attr_t._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "_opaque_pthread_attr_t._fields_ = [\n ('__sig', c_long),\n ('__opaque', c_char * 36),\n]\nassert sizeof(_opaque_pthread_attr_t) == 40, sizeof(_opaque_pthread_attr_t)\nassert alignment(_opaque_pthread_attr_t) == 4, alignment(_opaque_pthread_attr_t)\nclass _opaque_pthread_cond_t(Structure):\n pass\n_opaque_pthread_cond_t._fields_ = [\n ('__sig', c_long),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_opaque_pthread_cond_t._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "_opaque_pthread_cond_t._fields_ = [\n ('__sig', c_long),\n ('__opaque', c_char * 24),\n]\nassert sizeof(_opaque_pthread_cond_t) == 28, sizeof(_opaque_pthread_cond_t)\nassert alignment(_opaque_pthread_cond_t) == 4, alignment(_opaque_pthread_cond_t)\nclass _opaque_pthread_condattr_t(Structure):\n pass\n_opaque_pthread_condattr_t._fields_ = [\n ('__sig', c_long),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_opaque_pthread_condattr_t._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "_opaque_pthread_condattr_t._fields_ = [\n ('__sig', c_long),\n ('__opaque', c_char * 4),\n]\nassert sizeof(_opaque_pthread_condattr_t) == 8, sizeof(_opaque_pthread_condattr_t)\nassert alignment(_opaque_pthread_condattr_t) == 4, alignment(_opaque_pthread_condattr_t)\nclass _opaque_pthread_mutex_t(Structure):\n pass\n_opaque_pthread_mutex_t._fields_ = [\n ('__sig', c_long),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_opaque_pthread_mutex_t._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "_opaque_pthread_mutex_t._fields_ = [\n ('__sig', c_long),\n ('__opaque', c_char * 40),\n]\nassert sizeof(_opaque_pthread_mutex_t) == 44, sizeof(_opaque_pthread_mutex_t)\nassert alignment(_opaque_pthread_mutex_t) == 4, alignment(_opaque_pthread_mutex_t)\nclass _opaque_pthread_mutexattr_t(Structure):\n pass\n_opaque_pthread_mutexattr_t._fields_ = [\n ('__sig', c_long),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_opaque_pthread_mutexattr_t._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "_opaque_pthread_mutexattr_t._fields_ = [\n ('__sig', c_long),\n ('__opaque', c_char * 8),\n]\nassert sizeof(_opaque_pthread_mutexattr_t) == 12, sizeof(_opaque_pthread_mutexattr_t)\nassert alignment(_opaque_pthread_mutexattr_t) == 4, alignment(_opaque_pthread_mutexattr_t)\nclass _opaque_pthread_once_t(Structure):\n pass\n_opaque_pthread_once_t._fields_ = [\n ('__sig', c_long),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_opaque_pthread_once_t._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "_opaque_pthread_once_t._fields_ = [\n ('__sig', c_long),\n ('__opaque', c_char * 4),\n]\nassert sizeof(_opaque_pthread_once_t) == 8, sizeof(_opaque_pthread_once_t)\nassert alignment(_opaque_pthread_once_t) == 4, alignment(_opaque_pthread_once_t)\nclass _opaque_pthread_rwlock_t(Structure):\n pass\n_opaque_pthread_rwlock_t._fields_ = [\n ('__sig', c_long),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_opaque_pthread_rwlock_t._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "_opaque_pthread_rwlock_t._fields_ = [\n ('__sig', c_long),\n ('__opaque', c_char * 124),\n]\nassert sizeof(_opaque_pthread_rwlock_t) == 128, sizeof(_opaque_pthread_rwlock_t)\nassert alignment(_opaque_pthread_rwlock_t) == 4, alignment(_opaque_pthread_rwlock_t)\nclass _opaque_pthread_rwlockattr_t(Structure):\n pass\n_opaque_pthread_rwlockattr_t._fields_ = [\n ('__sig', c_long),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_opaque_pthread_rwlockattr_t._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "_opaque_pthread_rwlockattr_t._fields_ = [\n ('__sig', c_long),\n ('__opaque', c_char * 12),\n]\nassert sizeof(_opaque_pthread_rwlockattr_t) == 16, sizeof(_opaque_pthread_rwlockattr_t)\nassert alignment(_opaque_pthread_rwlockattr_t) == 4, alignment(_opaque_pthread_rwlockattr_t)\nclass _opaque_pthread_t(Structure):\n pass\n_opaque_pthread_t._fields_ = [\n ('__sig', c_long),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "_opaque_pthread_t._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "_opaque_pthread_t._fields_ = [\n ('__sig', c_long),\n ('__cleanup_stack', POINTER(__darwin_pthread_handler_rec)),\n ('__opaque', c_char * 596),\n]\nassert sizeof(_opaque_pthread_t) == 604, sizeof(_opaque_pthread_t)\nassert alignment(_opaque_pthread_t) == 4, alignment(_opaque_pthread_t)\n__darwin_blkcnt_t = __int64_t\n__darwin_blksize_t = __int32_t\n__darwin_fsblkcnt_t = c_uint", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_blkcnt_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_blkcnt_t = __int64_t\n__darwin_blksize_t = __int32_t\n__darwin_fsblkcnt_t = c_uint\n__darwin_fsfilcnt_t = c_uint\n__darwin_gid_t = __uint32_t\n__darwin_id_t = __uint32_t\n__darwin_ino_t = __uint32_t\n__darwin_mach_port_name_t = __darwin_natural_t\n__darwin_mach_port_t = __darwin_mach_port_name_t\n__darwin_mcontext_t = POINTER(mcontext)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_blksize_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_blksize_t = __int32_t\n__darwin_fsblkcnt_t = c_uint\n__darwin_fsfilcnt_t = c_uint\n__darwin_gid_t = __uint32_t\n__darwin_id_t = __uint32_t\n__darwin_ino_t = __uint32_t\n__darwin_mach_port_name_t = __darwin_natural_t\n__darwin_mach_port_t = __darwin_mach_port_name_t\n__darwin_mcontext_t = POINTER(mcontext)\n__darwin_mcontext64_t = POINTER(mcontext64)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_fsblkcnt_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_fsblkcnt_t = c_uint\n__darwin_fsfilcnt_t = c_uint\n__darwin_gid_t = __uint32_t\n__darwin_id_t = __uint32_t\n__darwin_ino_t = __uint32_t\n__darwin_mach_port_name_t = __darwin_natural_t\n__darwin_mach_port_t = __darwin_mach_port_name_t\n__darwin_mcontext_t = POINTER(mcontext)\n__darwin_mcontext64_t = POINTER(mcontext64)\n__darwin_pid_t = __int32_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_fsfilcnt_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_fsfilcnt_t = c_uint\n__darwin_gid_t = __uint32_t\n__darwin_id_t = __uint32_t\n__darwin_ino_t = __uint32_t\n__darwin_mach_port_name_t = __darwin_natural_t\n__darwin_mach_port_t = __darwin_mach_port_name_t\n__darwin_mcontext_t = POINTER(mcontext)\n__darwin_mcontext64_t = POINTER(mcontext64)\n__darwin_pid_t = __int32_t\n__darwin_pthread_attr_t = _opaque_pthread_attr_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_gid_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_gid_t = __uint32_t\n__darwin_id_t = __uint32_t\n__darwin_ino_t = __uint32_t\n__darwin_mach_port_name_t = __darwin_natural_t\n__darwin_mach_port_t = __darwin_mach_port_name_t\n__darwin_mcontext_t = POINTER(mcontext)\n__darwin_mcontext64_t = POINTER(mcontext64)\n__darwin_pid_t = __int32_t\n__darwin_pthread_attr_t = _opaque_pthread_attr_t\n__darwin_pthread_cond_t = _opaque_pthread_cond_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_id_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_id_t = __uint32_t\n__darwin_ino_t = __uint32_t\n__darwin_mach_port_name_t = __darwin_natural_t\n__darwin_mach_port_t = __darwin_mach_port_name_t\n__darwin_mcontext_t = POINTER(mcontext)\n__darwin_mcontext64_t = POINTER(mcontext64)\n__darwin_pid_t = __int32_t\n__darwin_pthread_attr_t = _opaque_pthread_attr_t\n__darwin_pthread_cond_t = _opaque_pthread_cond_t\n__darwin_pthread_condattr_t = _opaque_pthread_condattr_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_ino_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_ino_t = __uint32_t\n__darwin_mach_port_name_t = __darwin_natural_t\n__darwin_mach_port_t = __darwin_mach_port_name_t\n__darwin_mcontext_t = POINTER(mcontext)\n__darwin_mcontext64_t = POINTER(mcontext64)\n__darwin_pid_t = __int32_t\n__darwin_pthread_attr_t = _opaque_pthread_attr_t\n__darwin_pthread_cond_t = _opaque_pthread_cond_t\n__darwin_pthread_condattr_t = _opaque_pthread_condattr_t\n__darwin_pthread_key_t = c_ulong", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_mach_port_name_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_mach_port_name_t = __darwin_natural_t\n__darwin_mach_port_t = __darwin_mach_port_name_t\n__darwin_mcontext_t = POINTER(mcontext)\n__darwin_mcontext64_t = POINTER(mcontext64)\n__darwin_pid_t = __int32_t\n__darwin_pthread_attr_t = _opaque_pthread_attr_t\n__darwin_pthread_cond_t = _opaque_pthread_cond_t\n__darwin_pthread_condattr_t = _opaque_pthread_condattr_t\n__darwin_pthread_key_t = c_ulong\n__darwin_pthread_mutex_t = _opaque_pthread_mutex_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_mach_port_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_mach_port_t = __darwin_mach_port_name_t\n__darwin_mcontext_t = POINTER(mcontext)\n__darwin_mcontext64_t = POINTER(mcontext64)\n__darwin_pid_t = __int32_t\n__darwin_pthread_attr_t = _opaque_pthread_attr_t\n__darwin_pthread_cond_t = _opaque_pthread_cond_t\n__darwin_pthread_condattr_t = _opaque_pthread_condattr_t\n__darwin_pthread_key_t = c_ulong\n__darwin_pthread_mutex_t = _opaque_pthread_mutex_t\n__darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_mcontext_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_mcontext_t = POINTER(mcontext)\n__darwin_mcontext64_t = POINTER(mcontext64)\n__darwin_pid_t = __int32_t\n__darwin_pthread_attr_t = _opaque_pthread_attr_t\n__darwin_pthread_cond_t = _opaque_pthread_cond_t\n__darwin_pthread_condattr_t = _opaque_pthread_condattr_t\n__darwin_pthread_key_t = c_ulong\n__darwin_pthread_mutex_t = _opaque_pthread_mutex_t\n__darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t\n__darwin_pthread_once_t = _opaque_pthread_once_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_mcontext64_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_mcontext64_t = POINTER(mcontext64)\n__darwin_pid_t = __int32_t\n__darwin_pthread_attr_t = _opaque_pthread_attr_t\n__darwin_pthread_cond_t = _opaque_pthread_cond_t\n__darwin_pthread_condattr_t = _opaque_pthread_condattr_t\n__darwin_pthread_key_t = c_ulong\n__darwin_pthread_mutex_t = _opaque_pthread_mutex_t\n__darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t\n__darwin_pthread_once_t = _opaque_pthread_once_t\n__darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_pid_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_pid_t = __int32_t\n__darwin_pthread_attr_t = _opaque_pthread_attr_t\n__darwin_pthread_cond_t = _opaque_pthread_cond_t\n__darwin_pthread_condattr_t = _opaque_pthread_condattr_t\n__darwin_pthread_key_t = c_ulong\n__darwin_pthread_mutex_t = _opaque_pthread_mutex_t\n__darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t\n__darwin_pthread_once_t = _opaque_pthread_once_t\n__darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t\n__darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_pthread_attr_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_pthread_attr_t = _opaque_pthread_attr_t\n__darwin_pthread_cond_t = _opaque_pthread_cond_t\n__darwin_pthread_condattr_t = _opaque_pthread_condattr_t\n__darwin_pthread_key_t = c_ulong\n__darwin_pthread_mutex_t = _opaque_pthread_mutex_t\n__darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t\n__darwin_pthread_once_t = _opaque_pthread_once_t\n__darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t\n__darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t\n__darwin_pthread_t = POINTER(_opaque_pthread_t)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_pthread_cond_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_pthread_cond_t = _opaque_pthread_cond_t\n__darwin_pthread_condattr_t = _opaque_pthread_condattr_t\n__darwin_pthread_key_t = c_ulong\n__darwin_pthread_mutex_t = _opaque_pthread_mutex_t\n__darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t\n__darwin_pthread_once_t = _opaque_pthread_once_t\n__darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t\n__darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t\n__darwin_pthread_t = POINTER(_opaque_pthread_t)\n__darwin_sigset_t = __uint32_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_pthread_condattr_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_pthread_condattr_t = _opaque_pthread_condattr_t\n__darwin_pthread_key_t = c_ulong\n__darwin_pthread_mutex_t = _opaque_pthread_mutex_t\n__darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t\n__darwin_pthread_once_t = _opaque_pthread_once_t\n__darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t\n__darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t\n__darwin_pthread_t = POINTER(_opaque_pthread_t)\n__darwin_sigset_t = __uint32_t\n__darwin_suseconds_t = __int32_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_pthread_key_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_pthread_key_t = c_ulong\n__darwin_pthread_mutex_t = _opaque_pthread_mutex_t\n__darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t\n__darwin_pthread_once_t = _opaque_pthread_once_t\n__darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t\n__darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t\n__darwin_pthread_t = POINTER(_opaque_pthread_t)\n__darwin_sigset_t = __uint32_t\n__darwin_suseconds_t = __int32_t\n__darwin_uid_t = __uint32_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_pthread_mutex_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_pthread_mutex_t = _opaque_pthread_mutex_t\n__darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t\n__darwin_pthread_once_t = _opaque_pthread_once_t\n__darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t\n__darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t\n__darwin_pthread_t = POINTER(_opaque_pthread_t)\n__darwin_sigset_t = __uint32_t\n__darwin_suseconds_t = __int32_t\n__darwin_uid_t = __uint32_t\n__darwin_useconds_t = __uint32_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_pthread_mutexattr_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t\n__darwin_pthread_once_t = _opaque_pthread_once_t\n__darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t\n__darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t\n__darwin_pthread_t = POINTER(_opaque_pthread_t)\n__darwin_sigset_t = __uint32_t\n__darwin_suseconds_t = __int32_t\n__darwin_uid_t = __uint32_t\n__darwin_useconds_t = __uint32_t\n__darwin_uuid_t = c_ubyte * 16", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_pthread_once_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_pthread_once_t = _opaque_pthread_once_t\n__darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t\n__darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t\n__darwin_pthread_t = POINTER(_opaque_pthread_t)\n__darwin_sigset_t = __uint32_t\n__darwin_suseconds_t = __int32_t\n__darwin_uid_t = __uint32_t\n__darwin_useconds_t = __uint32_t\n__darwin_uuid_t = c_ubyte * 16\nclass sigaltstack(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_pthread_rwlock_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t\n__darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t\n__darwin_pthread_t = POINTER(_opaque_pthread_t)\n__darwin_sigset_t = __uint32_t\n__darwin_suseconds_t = __int32_t\n__darwin_uid_t = __uint32_t\n__darwin_useconds_t = __uint32_t\n__darwin_uuid_t = c_ubyte * 16\nclass sigaltstack(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_pthread_rwlockattr_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t\n__darwin_pthread_t = POINTER(_opaque_pthread_t)\n__darwin_sigset_t = __uint32_t\n__darwin_suseconds_t = __int32_t\n__darwin_uid_t = __uint32_t\n__darwin_useconds_t = __uint32_t\n__darwin_uuid_t = c_ubyte * 16\nclass sigaltstack(Structure):\n pass\nsigaltstack._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_pthread_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_pthread_t = POINTER(_opaque_pthread_t)\n__darwin_sigset_t = __uint32_t\n__darwin_suseconds_t = __int32_t\n__darwin_uid_t = __uint32_t\n__darwin_useconds_t = __uint32_t\n__darwin_uuid_t = c_ubyte * 16\nclass sigaltstack(Structure):\n pass\nsigaltstack._fields_ = [\n ('ss_sp', c_void_p),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_sigset_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_sigset_t = __uint32_t\n__darwin_suseconds_t = __int32_t\n__darwin_uid_t = __uint32_t\n__darwin_useconds_t = __uint32_t\n__darwin_uuid_t = c_ubyte * 16\nclass sigaltstack(Structure):\n pass\nsigaltstack._fields_ = [\n ('ss_sp', c_void_p),\n ('ss_size', __darwin_size_t),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_suseconds_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_suseconds_t = __int32_t\n__darwin_uid_t = __uint32_t\n__darwin_useconds_t = __uint32_t\n__darwin_uuid_t = c_ubyte * 16\nclass sigaltstack(Structure):\n pass\nsigaltstack._fields_ = [\n ('ss_sp', c_void_p),\n ('ss_size', __darwin_size_t),\n ('ss_flags', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_uid_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_uid_t = __uint32_t\n__darwin_useconds_t = __uint32_t\n__darwin_uuid_t = c_ubyte * 16\nclass sigaltstack(Structure):\n pass\nsigaltstack._fields_ = [\n ('ss_sp', c_void_p),\n ('ss_size', __darwin_size_t),\n ('ss_flags', c_int),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_useconds_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_useconds_t = __uint32_t\n__darwin_uuid_t = c_ubyte * 16\nclass sigaltstack(Structure):\n pass\nsigaltstack._fields_ = [\n ('ss_sp', c_void_p),\n ('ss_size', __darwin_size_t),\n ('ss_flags', c_int),\n]\nassert sizeof(sigaltstack) == 12, sizeof(sigaltstack)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_uuid_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_uuid_t = c_ubyte * 16\nclass sigaltstack(Structure):\n pass\nsigaltstack._fields_ = [\n ('ss_sp', c_void_p),\n ('ss_size', __darwin_size_t),\n ('ss_flags', c_int),\n]\nassert sizeof(sigaltstack) == 12, sizeof(sigaltstack)\nassert alignment(sigaltstack) == 4, alignment(sigaltstack)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sigaltstack._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "sigaltstack._fields_ = [\n ('ss_sp', c_void_p),\n ('ss_size', __darwin_size_t),\n ('ss_flags', c_int),\n]\nassert sizeof(sigaltstack) == 12, sizeof(sigaltstack)\nassert alignment(sigaltstack) == 4, alignment(sigaltstack)\n__darwin_stack_t = sigaltstack\nclass ucontext(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_stack_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_stack_t = sigaltstack\nclass ucontext(Structure):\n pass\nucontext._fields_ = [\n ('uc_onstack', c_int),\n ('uc_sigmask', __darwin_sigset_t),\n ('uc_stack', __darwin_stack_t),\n ('uc_link', POINTER(ucontext)),\n ('uc_mcsize', __darwin_size_t),\n ('uc_mcontext', __darwin_mcontext_t),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ucontext._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ucontext._fields_ = [\n ('uc_onstack', c_int),\n ('uc_sigmask', __darwin_sigset_t),\n ('uc_stack', __darwin_stack_t),\n ('uc_link', POINTER(ucontext)),\n ('uc_mcsize', __darwin_size_t),\n ('uc_mcontext', __darwin_mcontext_t),\n]\nassert sizeof(ucontext) == 32, sizeof(ucontext)\nassert alignment(ucontext) == 4, alignment(ucontext)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_ucontext_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_ucontext_t = ucontext\nclass ucontext64(Structure):\n pass\nucontext64._fields_ = [\n ('uc_onstack', c_int),\n ('uc_sigmask', __darwin_sigset_t),\n ('uc_stack', __darwin_stack_t),\n ('uc_link', POINTER(ucontext64)),\n ('uc_mcsize', __darwin_size_t),\n ('uc_mcontext64', __darwin_mcontext64_t),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ucontext64._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ucontext64._fields_ = [\n ('uc_onstack', c_int),\n ('uc_sigmask', __darwin_sigset_t),\n ('uc_stack', __darwin_stack_t),\n ('uc_link', POINTER(ucontext64)),\n ('uc_mcsize', __darwin_size_t),\n ('uc_mcontext64', __darwin_mcontext64_t),\n]\nassert sizeof(ucontext64) == 32, sizeof(ucontext64)\nassert alignment(ucontext64) == 4, alignment(ucontext64)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__darwin_ucontext64_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__darwin_ucontext64_t = ucontext64\nclass timeval(Structure):\n pass\ntimeval._fields_ = [\n ('tv_sec', __darwin_time_t),\n ('tv_usec', __darwin_suseconds_t),\n]\nassert sizeof(timeval) == 8, sizeof(timeval)\nassert alignment(timeval) == 4, alignment(timeval)\nrlim_t = __int64_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "timeval._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "timeval._fields_ = [\n ('tv_sec', __darwin_time_t),\n ('tv_usec', __darwin_suseconds_t),\n]\nassert sizeof(timeval) == 8, sizeof(timeval)\nassert alignment(timeval) == 4, alignment(timeval)\nrlim_t = __int64_t\nclass rusage(Structure):\n pass\nrusage._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "rlim_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "rlim_t = __int64_t\nclass rusage(Structure):\n pass\nrusage._fields_ = [\n ('ru_utime', timeval),\n ('ru_stime', timeval),\n ('ru_maxrss', c_long),\n ('ru_ixrss', c_long),\n ('ru_idrss', c_long),\n ('ru_isrss', c_long),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "rusage._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "rusage._fields_ = [\n ('ru_utime', timeval),\n ('ru_stime', timeval),\n ('ru_maxrss', c_long),\n ('ru_ixrss', c_long),\n ('ru_idrss', c_long),\n ('ru_isrss', c_long),\n ('ru_minflt', c_long),\n ('ru_majflt', c_long),\n ('ru_nswap', c_long),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "rlimit._pack_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "rlimit._pack_ = 4\nrlimit._fields_ = [\n ('rlim_cur', rlim_t),\n ('rlim_max', rlim_t),\n]\nassert sizeof(rlimit) == 16, sizeof(rlimit)\nassert alignment(rlimit) == 4, alignment(rlimit)\nmcontext_t = __darwin_mcontext_t\nmcontext64_t = __darwin_mcontext64_t\npthread_attr_t = __darwin_pthread_attr_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "rlimit._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "rlimit._fields_ = [\n ('rlim_cur', rlim_t),\n ('rlim_max', rlim_t),\n]\nassert sizeof(rlimit) == 16, sizeof(rlimit)\nassert alignment(rlimit) == 4, alignment(rlimit)\nmcontext_t = __darwin_mcontext_t\nmcontext64_t = __darwin_mcontext64_t\npthread_attr_t = __darwin_pthread_attr_t\nsigset_t = __darwin_sigset_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "mcontext_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "mcontext_t = __darwin_mcontext_t\nmcontext64_t = __darwin_mcontext64_t\npthread_attr_t = __darwin_pthread_attr_t\nsigset_t = __darwin_sigset_t\nucontext_t = __darwin_ucontext_t\nucontext64_t = __darwin_ucontext64_t\nuid_t = __darwin_uid_t\nclass sigval(Union):\n pass\nsigval._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "mcontext64_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "mcontext64_t = __darwin_mcontext64_t\npthread_attr_t = __darwin_pthread_attr_t\nsigset_t = __darwin_sigset_t\nucontext_t = __darwin_ucontext_t\nucontext64_t = __darwin_ucontext64_t\nuid_t = __darwin_uid_t\nclass sigval(Union):\n pass\nsigval._fields_ = [\n ('sival_int', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pthread_attr_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pthread_attr_t = __darwin_pthread_attr_t\nsigset_t = __darwin_sigset_t\nucontext_t = __darwin_ucontext_t\nucontext64_t = __darwin_ucontext64_t\nuid_t = __darwin_uid_t\nclass sigval(Union):\n pass\nsigval._fields_ = [\n ('sival_int', c_int),\n ('sival_ptr', c_void_p),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sigset_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "sigset_t = __darwin_sigset_t\nucontext_t = __darwin_ucontext_t\nucontext64_t = __darwin_ucontext64_t\nuid_t = __darwin_uid_t\nclass sigval(Union):\n pass\nsigval._fields_ = [\n ('sival_int', c_int),\n ('sival_ptr', c_void_p),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ucontext_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ucontext_t = __darwin_ucontext_t\nucontext64_t = __darwin_ucontext64_t\nuid_t = __darwin_uid_t\nclass sigval(Union):\n pass\nsigval._fields_ = [\n ('sival_int', c_int),\n ('sival_ptr', c_void_p),\n]\nassert sizeof(sigval) == 4, sizeof(sigval)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ucontext64_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ucontext64_t = __darwin_ucontext64_t\nuid_t = __darwin_uid_t\nclass sigval(Union):\n pass\nsigval._fields_ = [\n ('sival_int', c_int),\n ('sival_ptr', c_void_p),\n]\nassert sizeof(sigval) == 4, sizeof(sigval)\nassert alignment(sigval) == 4, alignment(sigval)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "uid_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "uid_t = __darwin_uid_t\nclass sigval(Union):\n pass\nsigval._fields_ = [\n ('sival_int', c_int),\n ('sival_ptr', c_void_p),\n]\nassert sizeof(sigval) == 4, sizeof(sigval)\nassert alignment(sigval) == 4, alignment(sigval)\nclass sigevent(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sigval._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "sigval._fields_ = [\n ('sival_int', c_int),\n ('sival_ptr', c_void_p),\n]\nassert sizeof(sigval) == 4, sizeof(sigval)\nassert alignment(sigval) == 4, alignment(sigval)\nclass sigevent(Structure):\n pass\nsigevent._fields_ = [\n ('sigev_notify', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sigevent._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "sigevent._fields_ = [\n ('sigev_notify', c_int),\n ('sigev_signo', c_int),\n ('sigev_value', sigval),\n ('sigev_notify_function', CFUNCTYPE(None, sigval)),\n ('sigev_notify_attributes', POINTER(pthread_attr_t)),\n]\nassert sizeof(sigevent) == 20, sizeof(sigevent)\nassert alignment(sigevent) == 4, alignment(sigevent)\nclass __siginfo(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pid_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pid_t = __darwin_pid_t\n__siginfo._fields_ = [\n ('si_signo', c_int),\n ('si_errno', c_int),\n ('si_code', c_int),\n ('si_pid', pid_t),\n ('si_uid', uid_t),\n ('si_status', c_int),\n ('si_addr', c_void_p),\n ('si_value', sigval),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__siginfo._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__siginfo._fields_ = [\n ('si_signo', c_int),\n ('si_errno', c_int),\n ('si_code', c_int),\n ('si_pid', pid_t),\n ('si_uid', uid_t),\n ('si_status', c_int),\n ('si_addr', c_void_p),\n ('si_value', sigval),\n ('si_band', c_long),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "siginfo_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "siginfo_t = __siginfo\nclass __sigaction_u(Union):\n pass\n__sigaction_u._fields_ = [\n ('__sa_handler', CFUNCTYPE(None, c_int)),\n ('__sa_sigaction', CFUNCTYPE(None, c_int, POINTER(__siginfo), c_void_p)),\n]\nassert sizeof(__sigaction_u) == 4, sizeof(__sigaction_u)\nassert alignment(__sigaction_u) == 4, alignment(__sigaction_u)\nclass __sigaction(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__sigaction_u._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__sigaction_u._fields_ = [\n ('__sa_handler', CFUNCTYPE(None, c_int)),\n ('__sa_sigaction', CFUNCTYPE(None, c_int, POINTER(__siginfo), c_void_p)),\n]\nassert sizeof(__sigaction_u) == 4, sizeof(__sigaction_u)\nassert alignment(__sigaction_u) == 4, alignment(__sigaction_u)\nclass __sigaction(Structure):\n pass\n__sigaction._fields_ = [\n ('__sigaction_u', __sigaction_u),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__sigaction._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__sigaction._fields_ = [\n ('__sigaction_u', __sigaction_u),\n ('sa_tramp', CFUNCTYPE(None, c_void_p, c_int, c_int, POINTER(siginfo_t), c_void_p)),\n ('sa_mask', sigset_t),\n ('sa_flags', c_int),\n]\nassert sizeof(__sigaction) == 16, sizeof(__sigaction)\nassert alignment(__sigaction) == 4, alignment(__sigaction)\nclass sigaction(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sigaction._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "sigaction._fields_ = [\n ('__sigaction_u', __sigaction_u),\n ('sa_mask', sigset_t),\n ('sa_flags', c_int),\n]\nassert sizeof(sigaction) == 12, sizeof(sigaction)\nassert alignment(sigaction) == 4, alignment(sigaction)\nsig_t = CFUNCTYPE(None, c_int)\nstack_t = __darwin_stack_t\nclass sigvec(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sig_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "sig_t = CFUNCTYPE(None, c_int)\nstack_t = __darwin_stack_t\nclass sigvec(Structure):\n pass\nsigvec._fields_ = [\n ('sv_handler', CFUNCTYPE(None, c_int)),\n ('sv_mask', c_int),\n ('sv_flags', c_int),\n]\nassert sizeof(sigvec) == 12, sizeof(sigvec)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "stack_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "stack_t = __darwin_stack_t\nclass sigvec(Structure):\n pass\nsigvec._fields_ = [\n ('sv_handler', CFUNCTYPE(None, c_int)),\n ('sv_mask', c_int),\n ('sv_flags', c_int),\n]\nassert sizeof(sigvec) == 12, sizeof(sigvec)\nassert alignment(sigvec) == 4, alignment(sigvec)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sigvec._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "sigvec._fields_ = [\n ('sv_handler', CFUNCTYPE(None, c_int)),\n ('sv_mask', c_int),\n ('sv_flags', c_int),\n]\nassert sizeof(sigvec) == 12, sizeof(sigvec)\nassert alignment(sigvec) == 4, alignment(sigvec)\nclass sigstack(Structure):\n pass\nsigstack._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "sigstack._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "sigstack._fields_ = [\n ('ss_sp', STRING),\n ('ss_onstack', c_int),\n]\nassert sizeof(sigstack) == 8, sizeof(sigstack)\nassert alignment(sigstack) == 4, alignment(sigstack)\nu_char = c_ubyte\nu_short = c_ushort\nu_int = c_uint\nu_long = c_ulong", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "u_char", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "u_char = c_ubyte\nu_short = c_ushort\nu_int = c_uint\nu_long = c_ulong\nushort = c_ushort\nuint = c_uint\nu_quad_t = u_int64_t\nquad_t = int64_t\nqaddr_t = POINTER(quad_t)\ncaddr_t = STRING", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "u_short", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "u_short = c_ushort\nu_int = c_uint\nu_long = c_ulong\nushort = c_ushort\nuint = c_uint\nu_quad_t = u_int64_t\nquad_t = int64_t\nqaddr_t = POINTER(quad_t)\ncaddr_t = STRING\ndaddr_t = int32_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "u_int", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "u_int = c_uint\nu_long = c_ulong\nushort = c_ushort\nuint = c_uint\nu_quad_t = u_int64_t\nquad_t = int64_t\nqaddr_t = POINTER(quad_t)\ncaddr_t = STRING\ndaddr_t = int32_t\nfixpt_t = u_int32_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "u_long", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "u_long = c_ulong\nushort = c_ushort\nuint = c_uint\nu_quad_t = u_int64_t\nquad_t = int64_t\nqaddr_t = POINTER(quad_t)\ncaddr_t = STRING\ndaddr_t = int32_t\nfixpt_t = u_int32_t\nblkcnt_t = __darwin_blkcnt_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ushort", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ushort = c_ushort\nuint = c_uint\nu_quad_t = u_int64_t\nquad_t = int64_t\nqaddr_t = POINTER(quad_t)\ncaddr_t = STRING\ndaddr_t = int32_t\nfixpt_t = u_int32_t\nblkcnt_t = __darwin_blkcnt_t\nblksize_t = __darwin_blksize_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "uint", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "uint = c_uint\nu_quad_t = u_int64_t\nquad_t = int64_t\nqaddr_t = POINTER(quad_t)\ncaddr_t = STRING\ndaddr_t = int32_t\nfixpt_t = u_int32_t\nblkcnt_t = __darwin_blkcnt_t\nblksize_t = __darwin_blksize_t\ngid_t = __darwin_gid_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "u_quad_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "u_quad_t = u_int64_t\nquad_t = int64_t\nqaddr_t = POINTER(quad_t)\ncaddr_t = STRING\ndaddr_t = int32_t\nfixpt_t = u_int32_t\nblkcnt_t = __darwin_blkcnt_t\nblksize_t = __darwin_blksize_t\ngid_t = __darwin_gid_t\nin_addr_t = __uint32_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "quad_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "quad_t = int64_t\nqaddr_t = POINTER(quad_t)\ncaddr_t = STRING\ndaddr_t = int32_t\nfixpt_t = u_int32_t\nblkcnt_t = __darwin_blkcnt_t\nblksize_t = __darwin_blksize_t\ngid_t = __darwin_gid_t\nin_addr_t = __uint32_t\nin_port_t = __uint16_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "qaddr_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "qaddr_t = POINTER(quad_t)\ncaddr_t = STRING\ndaddr_t = int32_t\nfixpt_t = u_int32_t\nblkcnt_t = __darwin_blkcnt_t\nblksize_t = __darwin_blksize_t\ngid_t = __darwin_gid_t\nin_addr_t = __uint32_t\nin_port_t = __uint16_t\nino_t = __darwin_ino_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "caddr_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "caddr_t = STRING\ndaddr_t = int32_t\nfixpt_t = u_int32_t\nblkcnt_t = __darwin_blkcnt_t\nblksize_t = __darwin_blksize_t\ngid_t = __darwin_gid_t\nin_addr_t = __uint32_t\nin_port_t = __uint16_t\nino_t = __darwin_ino_t\nkey_t = __int32_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "daddr_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "daddr_t = int32_t\nfixpt_t = u_int32_t\nblkcnt_t = __darwin_blkcnt_t\nblksize_t = __darwin_blksize_t\ngid_t = __darwin_gid_t\nin_addr_t = __uint32_t\nin_port_t = __uint16_t\nino_t = __darwin_ino_t\nkey_t = __int32_t\nnlink_t = __uint16_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "fixpt_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "fixpt_t = u_int32_t\nblkcnt_t = __darwin_blkcnt_t\nblksize_t = __darwin_blksize_t\ngid_t = __darwin_gid_t\nin_addr_t = __uint32_t\nin_port_t = __uint16_t\nino_t = __darwin_ino_t\nkey_t = __int32_t\nnlink_t = __uint16_t\noff_t = __darwin_off_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "blkcnt_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "blkcnt_t = __darwin_blkcnt_t\nblksize_t = __darwin_blksize_t\ngid_t = __darwin_gid_t\nin_addr_t = __uint32_t\nin_port_t = __uint16_t\nino_t = __darwin_ino_t\nkey_t = __int32_t\nnlink_t = __uint16_t\noff_t = __darwin_off_t\nsegsz_t = int32_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "blksize_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "blksize_t = __darwin_blksize_t\ngid_t = __darwin_gid_t\nin_addr_t = __uint32_t\nin_port_t = __uint16_t\nino_t = __darwin_ino_t\nkey_t = __int32_t\nnlink_t = __uint16_t\noff_t = __darwin_off_t\nsegsz_t = int32_t\nswblk_t = int32_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "gid_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "gid_t = __darwin_gid_t\nin_addr_t = __uint32_t\nin_port_t = __uint16_t\nino_t = __darwin_ino_t\nkey_t = __int32_t\nnlink_t = __uint16_t\noff_t = __darwin_off_t\nsegsz_t = int32_t\nswblk_t = int32_t\nclock_t = __darwin_clock_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "in_addr_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "in_addr_t = __uint32_t\nin_port_t = __uint16_t\nino_t = __darwin_ino_t\nkey_t = __int32_t\nnlink_t = __uint16_t\noff_t = __darwin_off_t\nsegsz_t = int32_t\nswblk_t = int32_t\nclock_t = __darwin_clock_t\nssize_t = __darwin_ssize_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "in_port_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "in_port_t = __uint16_t\nino_t = __darwin_ino_t\nkey_t = __int32_t\nnlink_t = __uint16_t\noff_t = __darwin_off_t\nsegsz_t = int32_t\nswblk_t = int32_t\nclock_t = __darwin_clock_t\nssize_t = __darwin_ssize_t\nuseconds_t = __darwin_useconds_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ino_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ino_t = __darwin_ino_t\nkey_t = __int32_t\nnlink_t = __uint16_t\noff_t = __darwin_off_t\nsegsz_t = int32_t\nswblk_t = int32_t\nclock_t = __darwin_clock_t\nssize_t = __darwin_ssize_t\nuseconds_t = __darwin_useconds_t\nsuseconds_t = __darwin_suseconds_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "key_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "key_t = __int32_t\nnlink_t = __uint16_t\noff_t = __darwin_off_t\nsegsz_t = int32_t\nswblk_t = int32_t\nclock_t = __darwin_clock_t\nssize_t = __darwin_ssize_t\nuseconds_t = __darwin_useconds_t\nsuseconds_t = __darwin_suseconds_t\nfd_mask = __int32_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "nlink_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "nlink_t = __uint16_t\noff_t = __darwin_off_t\nsegsz_t = int32_t\nswblk_t = int32_t\nclock_t = __darwin_clock_t\nssize_t = __darwin_ssize_t\nuseconds_t = __darwin_useconds_t\nsuseconds_t = __darwin_suseconds_t\nfd_mask = __int32_t\nclass fd_set(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "off_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "off_t = __darwin_off_t\nsegsz_t = int32_t\nswblk_t = int32_t\nclock_t = __darwin_clock_t\nssize_t = __darwin_ssize_t\nuseconds_t = __darwin_useconds_t\nsuseconds_t = __darwin_suseconds_t\nfd_mask = __int32_t\nclass fd_set(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "segsz_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "segsz_t = int32_t\nswblk_t = int32_t\nclock_t = __darwin_clock_t\nssize_t = __darwin_ssize_t\nuseconds_t = __darwin_useconds_t\nsuseconds_t = __darwin_suseconds_t\nfd_mask = __int32_t\nclass fd_set(Structure):\n pass\nfd_set._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "swblk_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "swblk_t = int32_t\nclock_t = __darwin_clock_t\nssize_t = __darwin_ssize_t\nuseconds_t = __darwin_useconds_t\nsuseconds_t = __darwin_suseconds_t\nfd_mask = __int32_t\nclass fd_set(Structure):\n pass\nfd_set._fields_ = [\n ('fds_bits', __int32_t * 32),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "clock_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "clock_t = __darwin_clock_t\nssize_t = __darwin_ssize_t\nuseconds_t = __darwin_useconds_t\nsuseconds_t = __darwin_suseconds_t\nfd_mask = __int32_t\nclass fd_set(Structure):\n pass\nfd_set._fields_ = [\n ('fds_bits', __int32_t * 32),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ssize_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ssize_t = __darwin_ssize_t\nuseconds_t = __darwin_useconds_t\nsuseconds_t = __darwin_suseconds_t\nfd_mask = __int32_t\nclass fd_set(Structure):\n pass\nfd_set._fields_ = [\n ('fds_bits', __int32_t * 32),\n]\nassert sizeof(fd_set) == 128, sizeof(fd_set)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "useconds_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "useconds_t = __darwin_useconds_t\nsuseconds_t = __darwin_suseconds_t\nfd_mask = __int32_t\nclass fd_set(Structure):\n pass\nfd_set._fields_ = [\n ('fds_bits', __int32_t * 32),\n]\nassert sizeof(fd_set) == 128, sizeof(fd_set)\nassert alignment(fd_set) == 4, alignment(fd_set)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "suseconds_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "suseconds_t = __darwin_suseconds_t\nfd_mask = __int32_t\nclass fd_set(Structure):\n pass\nfd_set._fields_ = [\n ('fds_bits', __int32_t * 32),\n]\nassert sizeof(fd_set) == 128, sizeof(fd_set)\nassert alignment(fd_set) == 4, alignment(fd_set)\npthread_cond_t = __darwin_pthread_cond_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "fd_mask", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "fd_mask = __int32_t\nclass fd_set(Structure):\n pass\nfd_set._fields_ = [\n ('fds_bits', __int32_t * 32),\n]\nassert sizeof(fd_set) == 128, sizeof(fd_set)\nassert alignment(fd_set) == 4, alignment(fd_set)\npthread_cond_t = __darwin_pthread_cond_t\npthread_condattr_t = __darwin_pthread_condattr_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "fd_set._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "fd_set._fields_ = [\n ('fds_bits', __int32_t * 32),\n]\nassert sizeof(fd_set) == 128, sizeof(fd_set)\nassert alignment(fd_set) == 4, alignment(fd_set)\npthread_cond_t = __darwin_pthread_cond_t\npthread_condattr_t = __darwin_pthread_condattr_t\npthread_mutex_t = __darwin_pthread_mutex_t\npthread_mutexattr_t = __darwin_pthread_mutexattr_t\npthread_once_t = __darwin_pthread_once_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pthread_cond_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pthread_cond_t = __darwin_pthread_cond_t\npthread_condattr_t = __darwin_pthread_condattr_t\npthread_mutex_t = __darwin_pthread_mutex_t\npthread_mutexattr_t = __darwin_pthread_mutexattr_t\npthread_once_t = __darwin_pthread_once_t\npthread_rwlock_t = __darwin_pthread_rwlock_t\npthread_rwlockattr_t = __darwin_pthread_rwlockattr_t\npthread_t = __darwin_pthread_t\npthread_key_t = __darwin_pthread_key_t\nfsblkcnt_t = __darwin_fsblkcnt_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pthread_condattr_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pthread_condattr_t = __darwin_pthread_condattr_t\npthread_mutex_t = __darwin_pthread_mutex_t\npthread_mutexattr_t = __darwin_pthread_mutexattr_t\npthread_once_t = __darwin_pthread_once_t\npthread_rwlock_t = __darwin_pthread_rwlock_t\npthread_rwlockattr_t = __darwin_pthread_rwlockattr_t\npthread_t = __darwin_pthread_t\npthread_key_t = __darwin_pthread_key_t\nfsblkcnt_t = __darwin_fsblkcnt_t\nfsfilcnt_t = __darwin_fsfilcnt_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pthread_mutex_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pthread_mutex_t = __darwin_pthread_mutex_t\npthread_mutexattr_t = __darwin_pthread_mutexattr_t\npthread_once_t = __darwin_pthread_once_t\npthread_rwlock_t = __darwin_pthread_rwlock_t\npthread_rwlockattr_t = __darwin_pthread_rwlockattr_t\npthread_t = __darwin_pthread_t\npthread_key_t = __darwin_pthread_key_t\nfsblkcnt_t = __darwin_fsblkcnt_t\nfsfilcnt_t = __darwin_fsfilcnt_t\n# values for enumeration 'idtype_t'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pthread_mutexattr_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pthread_mutexattr_t = __darwin_pthread_mutexattr_t\npthread_once_t = __darwin_pthread_once_t\npthread_rwlock_t = __darwin_pthread_rwlock_t\npthread_rwlockattr_t = __darwin_pthread_rwlockattr_t\npthread_t = __darwin_pthread_t\npthread_key_t = __darwin_pthread_key_t\nfsblkcnt_t = __darwin_fsblkcnt_t\nfsfilcnt_t = __darwin_fsfilcnt_t\n# values for enumeration 'idtype_t'\nidtype_t = c_int # enum", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pthread_once_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pthread_once_t = __darwin_pthread_once_t\npthread_rwlock_t = __darwin_pthread_rwlock_t\npthread_rwlockattr_t = __darwin_pthread_rwlockattr_t\npthread_t = __darwin_pthread_t\npthread_key_t = __darwin_pthread_key_t\nfsblkcnt_t = __darwin_fsblkcnt_t\nfsfilcnt_t = __darwin_fsfilcnt_t\n# values for enumeration 'idtype_t'\nidtype_t = c_int # enum\nid_t = __darwin_id_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pthread_rwlock_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pthread_rwlock_t = __darwin_pthread_rwlock_t\npthread_rwlockattr_t = __darwin_pthread_rwlockattr_t\npthread_t = __darwin_pthread_t\npthread_key_t = __darwin_pthread_key_t\nfsblkcnt_t = __darwin_fsblkcnt_t\nfsfilcnt_t = __darwin_fsfilcnt_t\n# values for enumeration 'idtype_t'\nidtype_t = c_int # enum\nid_t = __darwin_id_t\nclass wait(Union):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pthread_rwlockattr_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pthread_rwlockattr_t = __darwin_pthread_rwlockattr_t\npthread_t = __darwin_pthread_t\npthread_key_t = __darwin_pthread_key_t\nfsblkcnt_t = __darwin_fsblkcnt_t\nfsfilcnt_t = __darwin_fsfilcnt_t\n# values for enumeration 'idtype_t'\nidtype_t = c_int # enum\nid_t = __darwin_id_t\nclass wait(Union):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pthread_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pthread_t = __darwin_pthread_t\npthread_key_t = __darwin_pthread_key_t\nfsblkcnt_t = __darwin_fsblkcnt_t\nfsfilcnt_t = __darwin_fsfilcnt_t\n# values for enumeration 'idtype_t'\nidtype_t = c_int # enum\nid_t = __darwin_id_t\nclass wait(Union):\n pass\nclass N4wait3DOLLAR_3E(Structure):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "pthread_key_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "pthread_key_t = __darwin_pthread_key_t\nfsblkcnt_t = __darwin_fsblkcnt_t\nfsfilcnt_t = __darwin_fsfilcnt_t\n# values for enumeration 'idtype_t'\nidtype_t = c_int # enum\nid_t = __darwin_id_t\nclass wait(Union):\n pass\nclass N4wait3DOLLAR_3E(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "fsblkcnt_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "fsblkcnt_t = __darwin_fsblkcnt_t\nfsfilcnt_t = __darwin_fsfilcnt_t\n# values for enumeration 'idtype_t'\nidtype_t = c_int # enum\nid_t = __darwin_id_t\nclass wait(Union):\n pass\nclass N4wait3DOLLAR_3E(Structure):\n pass\nN4wait3DOLLAR_3E._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "fsfilcnt_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "fsfilcnt_t = __darwin_fsfilcnt_t\n# values for enumeration 'idtype_t'\nidtype_t = c_int # enum\nid_t = __darwin_id_t\nclass wait(Union):\n pass\nclass N4wait3DOLLAR_3E(Structure):\n pass\nN4wait3DOLLAR_3E._fields_ = [\n ('w_Termsig', c_uint, 7),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "idtype_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "idtype_t = c_int # enum\nid_t = __darwin_id_t\nclass wait(Union):\n pass\nclass N4wait3DOLLAR_3E(Structure):\n pass\nN4wait3DOLLAR_3E._fields_ = [\n ('w_Termsig', c_uint, 7),\n ('w_Coredump', c_uint, 1),\n ('w_Retcode', c_uint, 8),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "id_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "id_t = __darwin_id_t\nclass wait(Union):\n pass\nclass N4wait3DOLLAR_3E(Structure):\n pass\nN4wait3DOLLAR_3E._fields_ = [\n ('w_Termsig', c_uint, 7),\n ('w_Coredump', c_uint, 1),\n ('w_Retcode', c_uint, 8),\n ('w_Filler', c_uint, 16),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N4wait3DOLLAR_3E._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "N4wait3DOLLAR_3E._fields_ = [\n ('w_Termsig', c_uint, 7),\n ('w_Coredump', c_uint, 1),\n ('w_Retcode', c_uint, 8),\n ('w_Filler', c_uint, 16),\n]\nassert sizeof(N4wait3DOLLAR_3E) == 4, sizeof(N4wait3DOLLAR_3E)\nassert alignment(N4wait3DOLLAR_3E) == 4, alignment(N4wait3DOLLAR_3E)\nclass N4wait3DOLLAR_4E(Structure):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "N4wait3DOLLAR_4E._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "N4wait3DOLLAR_4E._fields_ = [\n ('w_Stopval', c_uint, 8),\n ('w_Stopsig', c_uint, 8),\n ('w_Filler', c_uint, 16),\n]\nassert sizeof(N4wait3DOLLAR_4E) == 4, sizeof(N4wait3DOLLAR_4E)\nassert alignment(N4wait3DOLLAR_4E) == 4, alignment(N4wait3DOLLAR_4E)\nwait._fields_ = [\n ('w_status', c_int),\n ('w_T', N4wait3DOLLAR_3E),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "wait._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "wait._fields_ = [\n ('w_status', c_int),\n ('w_T', N4wait3DOLLAR_3E),\n ('w_S', N4wait3DOLLAR_4E),\n]\nassert sizeof(wait) == 4, sizeof(wait)\nassert alignment(wait) == 4, alignment(wait)\nclass timespec(Structure):\n pass\ntimespec._fields_ = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "timespec._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "timespec._fields_ = [\n ('tv_sec', time_t),\n ('tv_nsec', c_long),\n]\nassert sizeof(timespec) == 8, sizeof(timespec)\nassert alignment(timespec) == 4, alignment(timespec)\nclass tm(Structure):\n pass\ntm._fields_ = [\n ('tm_sec', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "tm._fields_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "tm._fields_ = [\n ('tm_sec', c_int),\n ('tm_min', c_int),\n ('tm_hour', c_int),\n ('tm_mday', c_int),\n ('tm_mon', c_int),\n ('tm_year', c_int),\n ('tm_wday', c_int),\n ('tm_yday', c_int),\n ('tm_isdst', c_int),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__gnuc_va_list", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__gnuc_va_list = STRING\nptrdiff_t = c_int\nint8_t = c_byte\nint16_t = c_short\nuint8_t = c_ubyte\nuint16_t = c_ushort\nuint32_t = c_uint\nuint64_t = c_ulonglong\nint_least8_t = int8_t\nint_least16_t = int16_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "ptrdiff_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "ptrdiff_t = c_int\nint8_t = c_byte\nint16_t = c_short\nuint8_t = c_ubyte\nuint16_t = c_ushort\nuint32_t = c_uint\nuint64_t = c_ulonglong\nint_least8_t = int8_t\nint_least16_t = int16_t\nint_least32_t = int32_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "int8_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "int8_t = c_byte\nint16_t = c_short\nuint8_t = c_ubyte\nuint16_t = c_ushort\nuint32_t = c_uint\nuint64_t = c_ulonglong\nint_least8_t = int8_t\nint_least16_t = int16_t\nint_least32_t = int32_t\nint_least64_t = int64_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "int16_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "int16_t = c_short\nuint8_t = c_ubyte\nuint16_t = c_ushort\nuint32_t = c_uint\nuint64_t = c_ulonglong\nint_least8_t = int8_t\nint_least16_t = int16_t\nint_least32_t = int32_t\nint_least64_t = int64_t\nuint_least8_t = uint8_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "uint8_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "uint8_t = c_ubyte\nuint16_t = c_ushort\nuint32_t = c_uint\nuint64_t = c_ulonglong\nint_least8_t = int8_t\nint_least16_t = int16_t\nint_least32_t = int32_t\nint_least64_t = int64_t\nuint_least8_t = uint8_t\nuint_least16_t = uint16_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "uint16_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "uint16_t = c_ushort\nuint32_t = c_uint\nuint64_t = c_ulonglong\nint_least8_t = int8_t\nint_least16_t = int16_t\nint_least32_t = int32_t\nint_least64_t = int64_t\nuint_least8_t = uint8_t\nuint_least16_t = uint16_t\nuint_least32_t = uint32_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "uint32_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "uint32_t = c_uint\nuint64_t = c_ulonglong\nint_least8_t = int8_t\nint_least16_t = int16_t\nint_least32_t = int32_t\nint_least64_t = int64_t\nuint_least8_t = uint8_t\nuint_least16_t = uint16_t\nuint_least32_t = uint32_t\nuint_least64_t = uint64_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "uint64_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "uint64_t = c_ulonglong\nint_least8_t = int8_t\nint_least16_t = int16_t\nint_least32_t = int32_t\nint_least64_t = int64_t\nuint_least8_t = uint8_t\nuint_least16_t = uint16_t\nuint_least32_t = uint32_t\nuint_least64_t = uint64_t\nint_fast8_t = int8_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "int_least8_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "int_least8_t = int8_t\nint_least16_t = int16_t\nint_least32_t = int32_t\nint_least64_t = int64_t\nuint_least8_t = uint8_t\nuint_least16_t = uint16_t\nuint_least32_t = uint32_t\nuint_least64_t = uint64_t\nint_fast8_t = int8_t\nint_fast16_t = int16_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "int_least16_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "int_least16_t = int16_t\nint_least32_t = int32_t\nint_least64_t = int64_t\nuint_least8_t = uint8_t\nuint_least16_t = uint16_t\nuint_least32_t = uint32_t\nuint_least64_t = uint64_t\nint_fast8_t = int8_t\nint_fast16_t = int16_t\nint_fast32_t = int32_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "int_least32_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "int_least32_t = int32_t\nint_least64_t = int64_t\nuint_least8_t = uint8_t\nuint_least16_t = uint16_t\nuint_least32_t = uint32_t\nuint_least64_t = uint64_t\nint_fast8_t = int8_t\nint_fast16_t = int16_t\nint_fast32_t = int32_t\nint_fast64_t = int64_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "int_least64_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "int_least64_t = int64_t\nuint_least8_t = uint8_t\nuint_least16_t = uint16_t\nuint_least32_t = uint32_t\nuint_least64_t = uint64_t\nint_fast8_t = int8_t\nint_fast16_t = int16_t\nint_fast32_t = int32_t\nint_fast64_t = int64_t\nuint_fast8_t = uint8_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "uint_least8_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "uint_least8_t = uint8_t\nuint_least16_t = uint16_t\nuint_least32_t = uint32_t\nuint_least64_t = uint64_t\nint_fast8_t = int8_t\nint_fast16_t = int16_t\nint_fast32_t = int32_t\nint_fast64_t = int64_t\nuint_fast8_t = uint8_t\nuint_fast16_t = uint16_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "uint_least16_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "uint_least16_t = uint16_t\nuint_least32_t = uint32_t\nuint_least64_t = uint64_t\nint_fast8_t = int8_t\nint_fast16_t = int16_t\nint_fast32_t = int32_t\nint_fast64_t = int64_t\nuint_fast8_t = uint8_t\nuint_fast16_t = uint16_t\nuint_fast32_t = uint32_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "uint_least32_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "uint_least32_t = uint32_t\nuint_least64_t = uint64_t\nint_fast8_t = int8_t\nint_fast16_t = int16_t\nint_fast32_t = int32_t\nint_fast64_t = int64_t\nuint_fast8_t = uint8_t\nuint_fast16_t = uint16_t\nuint_fast32_t = uint32_t\nuint_fast64_t = uint64_t", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "uint_least64_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "uint_least64_t = uint64_t\nint_fast8_t = int8_t\nint_fast16_t = int16_t\nint_fast32_t = int32_t\nint_fast64_t = int64_t\nuint_fast8_t = uint8_t\nuint_fast16_t = uint16_t\nuint_fast32_t = uint32_t\nuint_fast64_t = uint64_t\nintptr_t = c_long", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "int_fast8_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "int_fast8_t = int8_t\nint_fast16_t = int16_t\nint_fast32_t = int32_t\nint_fast64_t = int64_t\nuint_fast8_t = uint8_t\nuint_fast16_t = uint16_t\nuint_fast32_t = uint32_t\nuint_fast64_t = uint64_t\nintptr_t = c_long\nuintptr_t = c_ulong", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "int_fast16_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "int_fast16_t = int16_t\nint_fast32_t = int32_t\nint_fast64_t = int64_t\nuint_fast8_t = uint8_t\nuint_fast16_t = uint16_t\nuint_fast32_t = uint32_t\nuint_fast64_t = uint64_t\nintptr_t = c_long\nuintptr_t = c_ulong\nintmax_t = c_longlong", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "int_fast32_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "int_fast32_t = int32_t\nint_fast64_t = int64_t\nuint_fast8_t = uint8_t\nuint_fast16_t = uint16_t\nuint_fast32_t = uint32_t\nuint_fast64_t = uint64_t\nintptr_t = c_long\nuintptr_t = c_ulong\nintmax_t = c_longlong\nuintmax_t = c_ulonglong", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "int_fast64_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "int_fast64_t = int64_t\nuint_fast8_t = uint8_t\nuint_fast16_t = uint16_t\nuint_fast32_t = uint32_t\nuint_fast64_t = uint64_t\nintptr_t = c_long\nuintptr_t = c_ulong\nintmax_t = c_longlong\nuintmax_t = c_ulonglong\n__all__ = ['ENGINE', 'pkcs7_enc_content_st', '__int16_t',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "uint_fast8_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "uint_fast8_t = uint8_t\nuint_fast16_t = uint16_t\nuint_fast32_t = uint32_t\nuint_fast64_t = uint64_t\nintptr_t = c_long\nuintptr_t = c_ulong\nintmax_t = c_longlong\nuintmax_t = c_ulonglong\n__all__ = ['ENGINE', 'pkcs7_enc_content_st', '__int16_t',\n 'X509_REVOKED', 'SSL_CTX', 'UIT_BOOLEAN',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "uint_fast16_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "uint_fast16_t = uint16_t\nuint_fast32_t = uint32_t\nuint_fast64_t = uint64_t\nintptr_t = c_long\nuintptr_t = c_ulong\nintmax_t = c_longlong\nuintmax_t = c_ulonglong\n__all__ = ['ENGINE', 'pkcs7_enc_content_st', '__int16_t',\n 'X509_REVOKED', 'SSL_CTX', 'UIT_BOOLEAN',\n '__darwin_time_t', 'ucontext64_t', 'int_fast32_t',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "uint_fast32_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "uint_fast32_t = uint32_t\nuint_fast64_t = uint64_t\nintptr_t = c_long\nuintptr_t = c_ulong\nintmax_t = c_longlong\nuintmax_t = c_ulonglong\n__all__ = ['ENGINE', 'pkcs7_enc_content_st', '__int16_t',\n 'X509_REVOKED', 'SSL_CTX', 'UIT_BOOLEAN',\n '__darwin_time_t', 'ucontext64_t', 'int_fast32_t',\n 'pem_ctx_st', 'uint8_t', 'fpos_t', 'X509', 'COMP_CTX',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "uint_fast64_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "uint_fast64_t = uint64_t\nintptr_t = c_long\nuintptr_t = c_ulong\nintmax_t = c_longlong\nuintmax_t = c_ulonglong\n__all__ = ['ENGINE', 'pkcs7_enc_content_st', '__int16_t',\n 'X509_REVOKED', 'SSL_CTX', 'UIT_BOOLEAN',\n '__darwin_time_t', 'ucontext64_t', 'int_fast32_t',\n 'pem_ctx_st', 'uint8_t', 'fpos_t', 'X509', 'COMP_CTX',\n 'tm', 'N10pem_ctx_st4DOLLAR_17E', 'swblk_t',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "intptr_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "intptr_t = c_long\nuintptr_t = c_ulong\nintmax_t = c_longlong\nuintmax_t = c_ulonglong\n__all__ = ['ENGINE', 'pkcs7_enc_content_st', '__int16_t',\n 'X509_REVOKED', 'SSL_CTX', 'UIT_BOOLEAN',\n '__darwin_time_t', 'ucontext64_t', 'int_fast32_t',\n 'pem_ctx_st', 'uint8_t', 'fpos_t', 'X509', 'COMP_CTX',\n 'tm', 'N10pem_ctx_st4DOLLAR_17E', 'swblk_t',\n 'ASN1_TEMPLATE', '__darwin_pthread_t', 'fixpt_t',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "uintptr_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "uintptr_t = c_ulong\nintmax_t = c_longlong\nuintmax_t = c_ulonglong\n__all__ = ['ENGINE', 'pkcs7_enc_content_st', '__int16_t',\n 'X509_REVOKED', 'SSL_CTX', 'UIT_BOOLEAN',\n '__darwin_time_t', 'ucontext64_t', 'int_fast32_t',\n 'pem_ctx_st', 'uint8_t', 'fpos_t', 'X509', 'COMP_CTX',\n 'tm', 'N10pem_ctx_st4DOLLAR_17E', 'swblk_t',\n 'ASN1_TEMPLATE', '__darwin_pthread_t', 'fixpt_t',\n 'BIO_METHOD', 'ASN1_PRINTABLESTRING', 'EVP_ENCODE_CTX',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "intmax_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "intmax_t = c_longlong\nuintmax_t = c_ulonglong\n__all__ = ['ENGINE', 'pkcs7_enc_content_st', '__int16_t',\n 'X509_REVOKED', 'SSL_CTX', 'UIT_BOOLEAN',\n '__darwin_time_t', 'ucontext64_t', 'int_fast32_t',\n 'pem_ctx_st', 'uint8_t', 'fpos_t', 'X509', 'COMP_CTX',\n 'tm', 'N10pem_ctx_st4DOLLAR_17E', 'swblk_t',\n 'ASN1_TEMPLATE', '__darwin_pthread_t', 'fixpt_t',\n 'BIO_METHOD', 'ASN1_PRINTABLESTRING', 'EVP_ENCODE_CTX',\n 'dh_method', 'bio_f_buffer_ctx_struct', 'in_port_t',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "uintmax_t", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "uintmax_t = c_ulonglong\n__all__ = ['ENGINE', 'pkcs7_enc_content_st', '__int16_t',\n 'X509_REVOKED', 'SSL_CTX', 'UIT_BOOLEAN',\n '__darwin_time_t', 'ucontext64_t', 'int_fast32_t',\n 'pem_ctx_st', 'uint8_t', 'fpos_t', 'X509', 'COMP_CTX',\n 'tm', 'N10pem_ctx_st4DOLLAR_17E', 'swblk_t',\n 'ASN1_TEMPLATE', '__darwin_pthread_t', 'fixpt_t',\n 'BIO_METHOD', 'ASN1_PRINTABLESTRING', 'EVP_ENCODE_CTX',\n 'dh_method', 'bio_f_buffer_ctx_struct', 'in_port_t',\n 'X509_SIG', '__darwin_ssize_t', '__darwin_sigset_t',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "peekOfCode": "__all__ = ['ENGINE', 'pkcs7_enc_content_st', '__int16_t',\n 'X509_REVOKED', 'SSL_CTX', 'UIT_BOOLEAN',\n '__darwin_time_t', 'ucontext64_t', 'int_fast32_t',\n 'pem_ctx_st', 'uint8_t', 'fpos_t', 'X509', 'COMP_CTX',\n 'tm', 'N10pem_ctx_st4DOLLAR_17E', 'swblk_t',\n 'ASN1_TEMPLATE', '__darwin_pthread_t', 'fixpt_t',\n 'BIO_METHOD', 'ASN1_PRINTABLESTRING', 'EVP_ENCODE_CTX',\n 'dh_method', 'bio_f_buffer_ctx_struct', 'in_port_t',\n 'X509_SIG', '__darwin_ssize_t', '__darwin_sigset_t',\n 'wait', 'uint_fast16_t', 'N12asn1_type_st4DOLLAR_11E',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.infinite_recursion", "documentation": {} }, { "label": "TokenTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.py2_test_grammar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.py2_test_grammar", "peekOfCode": "class TokenTests(unittest.TestCase):\n def testBackslash(self):\n # Backslash means line continuation:\n x = 1 \\\n + 1\n self.assertEquals(x, 2, 'backslash for line continuation')\n # Backslash does not means continuation in comments :\\\n x = 0\n self.assertEquals(x, 0, 'backslash ending comment')\n def testPlainIntegers(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.py2_test_grammar", "documentation": {} }, { "label": "GrammarTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.py2_test_grammar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.py2_test_grammar", "peekOfCode": "class GrammarTests(unittest.TestCase):\n # single_input: NEWLINE | simple_stmt | compound_stmt NEWLINE\n # XXX can't test in a script -- this rule is only used when interactive\n # file_input: (NEWLINE | stmt)* ENDMARKER\n # Being tested as this very moment this very module\n # expr_input: testlist NEWLINE\n # XXX Hard to test -- used only in calls to input()\n def testEvalInput(self):\n # testlist ENDMARKER\n x = eval('1, 0 or 1')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.py2_test_grammar", "documentation": {} }, { "label": "TokenTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.py3_test_grammar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.py3_test_grammar", "peekOfCode": "class TokenTests(unittest.TestCase):\n def testBackslash(self):\n # Backslash means line continuation:\n x = 1 \\\n + 1\n self.assertEquals(x, 2, 'backslash for line continuation')\n # Backslash does not means continuation in comments :\\\n x = 0\n self.assertEquals(x, 0, 'backslash ending comment')\n def testPlainIntegers(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.py3_test_grammar", "documentation": {} }, { "label": "GrammarTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.py3_test_grammar", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.py3_test_grammar", "peekOfCode": "class GrammarTests(unittest.TestCase):\n # single_input: NEWLINE | simple_stmt | compound_stmt NEWLINE\n # XXX can't test in a script -- this rule is only used when interactive\n # file_input: (NEWLINE | stmt)* ENDMARKER\n # Being tested as this very moment this very module\n # expr_input: testlist NEWLINE\n # XXX Hard to test -- used only in calls to input()\n def testEvalInput(self):\n # testlist ENDMARKER\n x = eval('1, 0 or 1')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.data.py3_test_grammar", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.pytree_idempotency", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.pytree_idempotency", "peekOfCode": "def main():\n gr = driver.load_grammar(\"Grammar.txt\")\n dr = driver.Driver(gr, convert=pytree.convert)\n fn = \"example.py\"\n tree = dr.parse_file(fn, debug=True)\n if not diff(fn, tree):\n print(\"No diffs.\")\n if not sys.argv[1:]:\n return # Pass a dummy argument to run the complete test suite below\n problems = []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.pytree_idempotency", "documentation": {} }, { "label": "diff", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.pytree_idempotency", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.pytree_idempotency", "peekOfCode": "def diff(fn, tree):\n f = open(\"@\", \"w\")\n try:\n f.write(str(tree))\n finally:\n f.close()\n try:\n return os.system(\"diff -u %s @\" % fn)\n finally:\n os.remove(\"@\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.pytree_idempotency", "documentation": {} }, { "label": "__author__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.pytree_idempotency", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.pytree_idempotency", "peekOfCode": "__author__ = \"Guido van Rossum \"\n# Support imports (need to be imported first)\nfrom . import support\n# Python imports\nimport os\nimport sys\nimport logging\n# Local imports\nfrom .. import pytree\nfrom .. import pgen2", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.pytree_idempotency", "documentation": {} }, { "label": "parse_string", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "peekOfCode": "def parse_string(string):\n return driver.parse_string(reformat(string), debug=True)\ndef run_all_tests(test_mod=None, tests=None):\n if tests is None:\n tests = unittest.TestLoader().loadTestsFromModule(test_mod)\n unittest.TextTestRunner(verbosity=2).run(tests)\ndef reformat(string):\n return dedent(string) + \"\\n\\n\"\ndef get_refactorer(fixer_pkg=\"lib2to3\", fixers=None, options=None):\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "documentation": {} }, { "label": "run_all_tests", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "peekOfCode": "def run_all_tests(test_mod=None, tests=None):\n if tests is None:\n tests = unittest.TestLoader().loadTestsFromModule(test_mod)\n unittest.TextTestRunner(verbosity=2).run(tests)\ndef reformat(string):\n return dedent(string) + \"\\n\\n\"\ndef get_refactorer(fixer_pkg=\"lib2to3\", fixers=None, options=None):\n \"\"\"\n A convenience function for creating a RefactoringTool for tests.\n fixers is a list of fixers for the RefactoringTool to use. By default", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "documentation": {} }, { "label": "reformat", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "peekOfCode": "def reformat(string):\n return dedent(string) + \"\\n\\n\"\ndef get_refactorer(fixer_pkg=\"lib2to3\", fixers=None, options=None):\n \"\"\"\n A convenience function for creating a RefactoringTool for tests.\n fixers is a list of fixers for the RefactoringTool to use. By default\n \"lib2to3.fixes.*\" is used. options is an optional dictionary of options to\n be passed to the RefactoringTool.\n \"\"\"\n if fixers is not None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "documentation": {} }, { "label": "get_refactorer", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "peekOfCode": "def get_refactorer(fixer_pkg=\"lib2to3\", fixers=None, options=None):\n \"\"\"\n A convenience function for creating a RefactoringTool for tests.\n fixers is a list of fixers for the RefactoringTool to use. By default\n \"lib2to3.fixes.*\" is used. options is an optional dictionary of options to\n be passed to the RefactoringTool.\n \"\"\"\n if fixers is not None:\n fixers = [fixer_pkg + \".fixes.fix_\" + fix for fix in fixers]\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "documentation": {} }, { "label": "all_project_files", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "peekOfCode": "def all_project_files():\n for dirpath, dirnames, filenames in os.walk(proj_dir):\n for filename in filenames:\n if filename.endswith(\".py\"):\n yield os.path.join(dirpath, filename)\nTestCase = unittest.TestCase", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "documentation": {} }, { "label": "test_dir", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "peekOfCode": "test_dir = os.path.dirname(__file__)\nproj_dir = os.path.normpath(os.path.join(test_dir, \"..\"))\ngrammar_path = os.path.join(test_dir, \"..\", \"Grammar.txt\")\ngrammar = pgen2_driver.load_grammar(grammar_path)\ngrammar_no_print_statement = pgen2_driver.load_grammar(grammar_path)\ndel grammar_no_print_statement.keywords[\"print\"]\ndriver = pgen2_driver.Driver(grammar, convert=pytree.convert)\ndriver_no_print_statement = pgen2_driver.Driver(\n grammar_no_print_statement,\n convert=pytree.convert", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "documentation": {} }, { "label": "proj_dir", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "peekOfCode": "proj_dir = os.path.normpath(os.path.join(test_dir, \"..\"))\ngrammar_path = os.path.join(test_dir, \"..\", \"Grammar.txt\")\ngrammar = pgen2_driver.load_grammar(grammar_path)\ngrammar_no_print_statement = pgen2_driver.load_grammar(grammar_path)\ndel grammar_no_print_statement.keywords[\"print\"]\ndriver = pgen2_driver.Driver(grammar, convert=pytree.convert)\ndriver_no_print_statement = pgen2_driver.Driver(\n grammar_no_print_statement,\n convert=pytree.convert\n)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "documentation": {} }, { "label": "grammar_path", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "peekOfCode": "grammar_path = os.path.join(test_dir, \"..\", \"Grammar.txt\")\ngrammar = pgen2_driver.load_grammar(grammar_path)\ngrammar_no_print_statement = pgen2_driver.load_grammar(grammar_path)\ndel grammar_no_print_statement.keywords[\"print\"]\ndriver = pgen2_driver.Driver(grammar, convert=pytree.convert)\ndriver_no_print_statement = pgen2_driver.Driver(\n grammar_no_print_statement,\n convert=pytree.convert\n)\ndef parse_string(string):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "documentation": {} }, { "label": "grammar", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "peekOfCode": "grammar = pgen2_driver.load_grammar(grammar_path)\ngrammar_no_print_statement = pgen2_driver.load_grammar(grammar_path)\ndel grammar_no_print_statement.keywords[\"print\"]\ndriver = pgen2_driver.Driver(grammar, convert=pytree.convert)\ndriver_no_print_statement = pgen2_driver.Driver(\n grammar_no_print_statement,\n convert=pytree.convert\n)\ndef parse_string(string):\n return driver.parse_string(reformat(string), debug=True)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "documentation": {} }, { "label": "grammar_no_print_statement", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "peekOfCode": "grammar_no_print_statement = pgen2_driver.load_grammar(grammar_path)\ndel grammar_no_print_statement.keywords[\"print\"]\ndriver = pgen2_driver.Driver(grammar, convert=pytree.convert)\ndriver_no_print_statement = pgen2_driver.Driver(\n grammar_no_print_statement,\n convert=pytree.convert\n)\ndef parse_string(string):\n return driver.parse_string(reformat(string), debug=True)\ndef run_all_tests(test_mod=None, tests=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "documentation": {} }, { "label": "driver", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "peekOfCode": "driver = pgen2_driver.Driver(grammar, convert=pytree.convert)\ndriver_no_print_statement = pgen2_driver.Driver(\n grammar_no_print_statement,\n convert=pytree.convert\n)\ndef parse_string(string):\n return driver.parse_string(reformat(string), debug=True)\ndef run_all_tests(test_mod=None, tests=None):\n if tests is None:\n tests = unittest.TestLoader().loadTestsFromModule(test_mod)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "documentation": {} }, { "label": "driver_no_print_statement", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "peekOfCode": "driver_no_print_statement = pgen2_driver.Driver(\n grammar_no_print_statement,\n convert=pytree.convert\n)\ndef parse_string(string):\n return driver.parse_string(reformat(string), debug=True)\ndef run_all_tests(test_mod=None, tests=None):\n if tests is None:\n tests = unittest.TestLoader().loadTestsFromModule(test_mod)\n unittest.TextTestRunner(verbosity=2).run(tests)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "documentation": {} }, { "label": "TestCase", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "peekOfCode": "TestCase = unittest.TestCase", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.support", "documentation": {} }, { "label": "Test_all", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_all_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_all_fixers", "peekOfCode": "class Test_all(support.TestCase):\n def setUp(self):\n self.refactor = support.get_refactorer()\n def refactor_file(self, filepath):\n if test.support.verbose:\n print(f\"Refactor file: {filepath}\")\n if os.path.basename(filepath) == 'infinite_recursion.py':\n # bpo-46542: Processing infinite_recursion.py can crash Python\n # if Python is built in debug mode: lower the recursion limit\n # to prevent a crash.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_all_fixers", "documentation": {} }, { "label": "FixerTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class FixerTestCase(support.TestCase):\n # Other test cases can subclass this class and replace \"fixer_pkg\" with\n # their own.\n def setUp(self, fix_list=None, fixer_pkg=\"lib2to3\", options=None):\n if fix_list is None:\n fix_list = [self.fixer]\n self.refactor = support.get_refactorer(fixer_pkg, fix_list, options)\n self.fixer_log = []\n self.filename = \"\"\n for fixer in chain(self.refactor.pre_order,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_ne", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_ne(FixerTestCase):\n fixer = \"ne\"\n def test_basic(self):\n b = \"\"\"if x <> y:\n pass\"\"\"\n a = \"\"\"if x != y:\n pass\"\"\"\n self.check(b, a)\n def test_no_spaces(self):\n b = \"\"\"if x<>y:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_has_key", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_has_key(FixerTestCase):\n fixer = \"has_key\"\n def test_1(self):\n b = \"\"\"x = d.has_key(\"x\") or d.has_key(\"y\")\"\"\"\n a = \"\"\"x = \"x\" in d or \"y\" in d\"\"\"\n self.check(b, a)\n def test_2(self):\n b = \"\"\"x = a.b.c.d.has_key(\"x\") ** 3\"\"\"\n a = \"\"\"x = (\"x\" in a.b.c.d) ** 3\"\"\"\n self.check(b, a)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_apply", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_apply(FixerTestCase):\n fixer = \"apply\"\n def test_1(self):\n b = \"\"\"x = apply(f, g + h)\"\"\"\n a = \"\"\"x = f(*g + h)\"\"\"\n self.check(b, a)\n def test_2(self):\n b = \"\"\"y = apply(f, g, h)\"\"\"\n a = \"\"\"y = f(*g, **h)\"\"\"\n self.check(b, a)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_reload", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_reload(FixerTestCase):\n fixer = \"reload\"\n def test(self):\n b = \"\"\"reload(a)\"\"\"\n a = \"\"\"import importlib\\nimportlib.reload(a)\"\"\"\n self.check(b, a)\n def test_comment(self):\n b = \"\"\"reload( a ) # comment\"\"\"\n a = \"\"\"import importlib\\nimportlib.reload( a ) # comment\"\"\"\n self.check(b, a)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_intern", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_intern(FixerTestCase):\n fixer = \"intern\"\n def test_prefix_preservation(self):\n b = \"\"\"x = intern( a )\"\"\"\n a = \"\"\"import sys\\nx = sys.intern( a )\"\"\"\n self.check(b, a)\n b = \"\"\"y = intern(\"b\" # test\n )\"\"\"\n a = \"\"\"import sys\\ny = sys.intern(\"b\" # test\n )\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_reduce", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_reduce(FixerTestCase):\n fixer = \"reduce\"\n def test_simple_call(self):\n b = \"reduce(a, b, c)\"\n a = \"from functools import reduce\\nreduce(a, b, c)\"\n self.check(b, a)\n def test_bug_7253(self):\n # fix_tuple_params was being bad and orphaning nodes in the tree.\n b = \"def x(arg): reduce(sum, [])\"\n a = \"from functools import reduce\\ndef x(arg): reduce(sum, [])\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_print", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_print(FixerTestCase):\n fixer = \"print\"\n def test_prefix_preservation(self):\n b = \"\"\"print 1, 1+1, 1+1+1\"\"\"\n a = \"\"\"print(1, 1+1, 1+1+1)\"\"\"\n self.check(b, a)\n def test_idempotency(self):\n s = \"\"\"print()\"\"\"\n self.unchanged(s)\n s = \"\"\"print('')\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_exec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_exec(FixerTestCase):\n fixer = \"exec\"\n def test_prefix_preservation(self):\n b = \"\"\" exec code in ns1, ns2\"\"\"\n a = \"\"\" exec(code, ns1, ns2)\"\"\"\n self.check(b, a)\n def test_basic(self):\n b = \"\"\"exec code\"\"\"\n a = \"\"\"exec(code)\"\"\"\n self.check(b, a)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_repr", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_repr(FixerTestCase):\n fixer = \"repr\"\n def test_prefix_preservation(self):\n b = \"\"\"x = `1 + 2`\"\"\"\n a = \"\"\"x = repr(1 + 2)\"\"\"\n self.check(b, a)\n def test_simple_1(self):\n b = \"\"\"x = `1 + 2`\"\"\"\n a = \"\"\"x = repr(1 + 2)\"\"\"\n self.check(b, a)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_except", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_except(FixerTestCase):\n fixer = \"except\"\n def test_prefix_preservation(self):\n b = \"\"\"\n try:\n pass\n except (RuntimeError, ImportError), e:\n pass\"\"\"\n a = \"\"\"\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_raise", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_raise(FixerTestCase):\n fixer = \"raise\"\n def test_basic(self):\n b = \"\"\"raise Exception, 5\"\"\"\n a = \"\"\"raise Exception(5)\"\"\"\n self.check(b, a)\n def test_prefix_preservation(self):\n b = \"\"\"raise Exception,5\"\"\"\n a = \"\"\"raise Exception(5)\"\"\"\n self.check(b, a)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_throw", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_throw(FixerTestCase):\n fixer = \"throw\"\n def test_1(self):\n b = \"\"\"g.throw(Exception, 5)\"\"\"\n a = \"\"\"g.throw(Exception(5))\"\"\"\n self.check(b, a)\n def test_2(self):\n b = \"\"\"g.throw(Exception,5)\"\"\"\n a = \"\"\"g.throw(Exception(5))\"\"\"\n self.check(b, a)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_long", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_long(FixerTestCase):\n fixer = \"long\"\n def test_1(self):\n b = \"\"\"x = long(x)\"\"\"\n a = \"\"\"x = int(x)\"\"\"\n self.check(b, a)\n def test_2(self):\n b = \"\"\"y = isinstance(x, long)\"\"\"\n a = \"\"\"y = isinstance(x, int)\"\"\"\n self.check(b, a)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_execfile", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_execfile(FixerTestCase):\n fixer = \"execfile\"\n def test_conversion(self):\n b = \"\"\"execfile(\"fn\")\"\"\"\n a = \"\"\"exec(compile(open(\"fn\", \"rb\").read(), \"fn\", 'exec'))\"\"\"\n self.check(b, a)\n b = \"\"\"execfile(\"fn\", glob)\"\"\"\n a = \"\"\"exec(compile(open(\"fn\", \"rb\").read(), \"fn\", 'exec'), glob)\"\"\"\n self.check(b, a)\n b = \"\"\"execfile(\"fn\", glob, loc)\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_isinstance", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_isinstance(FixerTestCase):\n fixer = \"isinstance\"\n def test_remove_multiple_items(self):\n b = \"\"\"isinstance(x, (int, int, int))\"\"\"\n a = \"\"\"isinstance(x, int)\"\"\"\n self.check(b, a)\n b = \"\"\"isinstance(x, (int, float, int, int, float))\"\"\"\n a = \"\"\"isinstance(x, (int, float))\"\"\"\n self.check(b, a)\n b = \"\"\"isinstance(x, (int, float, int, int, float, str))\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_dict", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_dict(FixerTestCase):\n fixer = \"dict\"\n def test_prefix_preservation(self):\n b = \"if d. keys ( ) : pass\"\n a = \"if list(d. keys ( )) : pass\"\n self.check(b, a)\n b = \"if d. items ( ) : pass\"\n a = \"if list(d. items ( )) : pass\"\n self.check(b, a)\n b = \"if d. iterkeys ( ) : pass\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_xrange", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_xrange(FixerTestCase):\n fixer = \"xrange\"\n def test_prefix_preservation(self):\n b = \"\"\"x = xrange( 10 )\"\"\"\n a = \"\"\"x = range( 10 )\"\"\"\n self.check(b, a)\n b = \"\"\"x = xrange( 1 , 10 )\"\"\"\n a = \"\"\"x = range( 1 , 10 )\"\"\"\n self.check(b, a)\n b = \"\"\"x = xrange( 0 , 10 , 2 )\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_xrange_with_reduce", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_xrange_with_reduce(FixerTestCase):\n def setUp(self):\n super(Test_xrange_with_reduce, self).setUp([\"xrange\", \"reduce\"])\n def test_double_transform(self):\n b = \"\"\"reduce(x, xrange(5))\"\"\"\n a = \"\"\"from functools import reduce\nreduce(x, range(5))\"\"\"\n self.check(b, a)\nclass Test_raw_input(FixerTestCase):\n fixer = \"raw_input\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_raw_input", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_raw_input(FixerTestCase):\n fixer = \"raw_input\"\n def test_prefix_preservation(self):\n b = \"\"\"x = raw_input( )\"\"\"\n a = \"\"\"x = input( )\"\"\"\n self.check(b, a)\n b = \"\"\"x = raw_input( '' )\"\"\"\n a = \"\"\"x = input( '' )\"\"\"\n self.check(b, a)\n def test_1(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_funcattrs", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_funcattrs(FixerTestCase):\n fixer = \"funcattrs\"\n attrs = [\"closure\", \"doc\", \"name\", \"defaults\", \"code\", \"globals\", \"dict\"]\n def test(self):\n for attr in self.attrs:\n b = \"a.func_%s\" % attr\n a = \"a.__%s__\" % attr\n self.check(b, a)\n b = \"self.foo.func_%s.foo_bar\" % attr\n a = \"self.foo.__%s__.foo_bar\" % attr", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_xreadlines", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_xreadlines(FixerTestCase):\n fixer = \"xreadlines\"\n def test_call(self):\n b = \"for x in f.xreadlines(): pass\"\n a = \"for x in f: pass\"\n self.check(b, a)\n b = \"for x in foo().xreadlines(): pass\"\n a = \"for x in foo(): pass\"\n self.check(b, a)\n b = \"for x in (5 + foo()).xreadlines(): pass\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "ImportsFixerTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class ImportsFixerTests:\n def test_import_module(self):\n for old, new in self.modules.items():\n b = \"import %s\" % old\n a = \"import %s\" % new\n self.check(b, a)\n b = \"import foo, %s, bar\" % old\n a = \"import foo, %s, bar\" % new\n self.check(b, a)\n def test_import_from(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_imports", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_imports(FixerTestCase, ImportsFixerTests):\n fixer = \"imports\"\n from ..fixes.fix_imports import MAPPING as modules\n def test_multiple_imports(self):\n b = \"\"\"import urlparse, cStringIO\"\"\"\n a = \"\"\"import urllib.parse, io\"\"\"\n self.check(b, a)\n def test_multiple_imports_as(self):\n b = \"\"\"\n import copy_reg as bar, HTMLParser as foo, urlparse", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_imports2", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_imports2(FixerTestCase, ImportsFixerTests):\n fixer = \"imports2\"\n from ..fixes.fix_imports2 import MAPPING as modules\nclass Test_imports_fixer_order(FixerTestCase, ImportsFixerTests):\n def setUp(self):\n super(Test_imports_fixer_order, self).setUp(['imports', 'imports2'])\n from ..fixes.fix_imports2 import MAPPING as mapping2\n self.modules = mapping2.copy()\n from ..fixes.fix_imports import MAPPING as mapping1\n for key in ('dbhash', 'dumbdbm', 'dbm', 'gdbm'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_imports_fixer_order", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_imports_fixer_order(FixerTestCase, ImportsFixerTests):\n def setUp(self):\n super(Test_imports_fixer_order, self).setUp(['imports', 'imports2'])\n from ..fixes.fix_imports2 import MAPPING as mapping2\n self.modules = mapping2.copy()\n from ..fixes.fix_imports import MAPPING as mapping1\n for key in ('dbhash', 'dumbdbm', 'dbm', 'gdbm'):\n self.modules[key] = mapping1[key]\n def test_after_local_imports_refactoring(self):\n for fix in (\"imports\", \"imports2\"):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_urllib", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_urllib(FixerTestCase):\n fixer = \"urllib\"\n from ..fixes.fix_urllib import MAPPING as modules\n def test_import_module(self):\n for old, changes in self.modules.items():\n b = \"import %s\" % old\n a = \"import %s\" % \", \".join(map(itemgetter(0), changes))\n self.check(b, a)\n def test_import_from(self):\n for old, changes in self.modules.items():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_input", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_input(FixerTestCase):\n fixer = \"input\"\n def test_prefix_preservation(self):\n b = \"\"\"x = input( )\"\"\"\n a = \"\"\"x = eval(input( ))\"\"\"\n self.check(b, a)\n b = \"\"\"x = input( '' )\"\"\"\n a = \"\"\"x = eval(input( '' ))\"\"\"\n self.check(b, a)\n def test_trailing_comment(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_tuple_params", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_tuple_params(FixerTestCase):\n fixer = \"tuple_params\"\n def test_unchanged_1(self):\n s = \"\"\"def foo(): pass\"\"\"\n self.unchanged(s)\n def test_unchanged_2(self):\n s = \"\"\"def foo(a, b, c): pass\"\"\"\n self.unchanged(s)\n def test_unchanged_3(self):\n s = \"\"\"def foo(a=3, b=4, c=5): pass\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_methodattrs", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_methodattrs(FixerTestCase):\n fixer = \"methodattrs\"\n attrs = [\"func\", \"self\", \"class\"]\n def test(self):\n for attr in self.attrs:\n b = \"a.im_%s\" % attr\n if attr == \"class\":\n a = \"a.__self__.__class__\"\n else:\n a = \"a.__%s__\" % attr", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_next", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_next(FixerTestCase):\n fixer = \"next\"\n def test_1(self):\n b = \"\"\"it.next()\"\"\"\n a = \"\"\"next(it)\"\"\"\n self.check(b, a)\n def test_2(self):\n b = \"\"\"a.b.c.d.next()\"\"\"\n a = \"\"\"next(a.b.c.d)\"\"\"\n self.check(b, a)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_nonzero", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_nonzero(FixerTestCase):\n fixer = \"nonzero\"\n def test_1(self):\n b = \"\"\"\n class A:\n def __nonzero__(self):\n pass\n \"\"\"\n a = \"\"\"\n class A:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_numliterals", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_numliterals(FixerTestCase):\n fixer = \"numliterals\"\n def test_octal_1(self):\n b = \"\"\"0755\"\"\"\n a = \"\"\"0o755\"\"\"\n self.check(b, a)\n def test_long_int_1(self):\n b = \"\"\"a = 12L\"\"\"\n a = \"\"\"a = 12\"\"\"\n self.check(b, a)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_renames", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_renames(FixerTestCase):\n fixer = \"renames\"\n modules = {\"sys\": (\"maxint\", \"maxsize\"),\n }\n def test_import_from(self):\n for mod, (old, new) in list(self.modules.items()):\n b = \"from %s import %s\" % (mod, old)\n a = \"from %s import %s\" % (mod, new)\n self.check(b, a)\n s = \"from foo import %s\" % old", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_unicode", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_unicode(FixerTestCase):\n fixer = \"unicode\"\n def test_whitespace(self):\n b = \"\"\"unicode( x)\"\"\"\n a = \"\"\"str( x)\"\"\"\n self.check(b, a)\n b = \"\"\" unicode(x )\"\"\"\n a = \"\"\" str(x )\"\"\"\n self.check(b, a)\n b = \"\"\" u'h'\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_filter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_filter(FixerTestCase):\n fixer = \"filter\"\n def test_prefix_preservation(self):\n b = \"\"\"x = filter( foo, 'abc' )\"\"\"\n a = \"\"\"x = list(filter( foo, 'abc' ))\"\"\"\n self.check(b, a)\n b = \"\"\"x = filter( None , 'abc' )\"\"\"\n a = \"\"\"x = [_f for _f in 'abc' if _f]\"\"\"\n self.check(b, a)\n def test_filter_basic(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_map", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_map(FixerTestCase):\n fixer = \"map\"\n def check(self, b, a):\n self.unchanged(\"from future_builtins import map; \" + b, a)\n super(Test_map, self).check(b, a)\n def test_prefix_preservation(self):\n b = \"\"\"x = map( f, 'abc' )\"\"\"\n a = \"\"\"x = list(map( f, 'abc' ))\"\"\"\n self.check(b, a)\n def test_map_trailers(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_zip", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_zip(FixerTestCase):\n fixer = \"zip\"\n def check(self, b, a):\n self.unchanged(\"from future_builtins import zip; \" + b, a)\n super(Test_zip, self).check(b, a)\n def test_zip_basic(self):\n b = \"\"\"x = zip()\"\"\"\n a = \"\"\"x = list(zip())\"\"\"\n self.check(b, a)\n b = \"\"\"x = zip(a, b, c)\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_standarderror", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_standarderror(FixerTestCase):\n fixer = \"standarderror\"\n def test(self):\n b = \"\"\"x = StandardError()\"\"\"\n a = \"\"\"x = Exception()\"\"\"\n self.check(b, a)\n b = \"\"\"x = StandardError(a, b, c)\"\"\"\n a = \"\"\"x = Exception(a, b, c)\"\"\"\n self.check(b, a)\n b = \"\"\"f(2 + StandardError(a, b, c))\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_types", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_types(FixerTestCase):\n fixer = \"types\"\n def test_basic_types_convert(self):\n b = \"\"\"types.StringType\"\"\"\n a = \"\"\"bytes\"\"\"\n self.check(b, a)\n b = \"\"\"types.DictType\"\"\"\n a = \"\"\"dict\"\"\"\n self.check(b, a)\n b = \"\"\"types . IntType\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_idioms", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_idioms(FixerTestCase):\n fixer = \"idioms\"\n def test_while(self):\n b = \"\"\"while 1: foo()\"\"\"\n a = \"\"\"while True: foo()\"\"\"\n self.check(b, a)\n b = \"\"\"while 1: foo()\"\"\"\n a = \"\"\"while True: foo()\"\"\"\n self.check(b, a)\n b = \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_basestring", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_basestring(FixerTestCase):\n fixer = \"basestring\"\n def test_basestring(self):\n b = \"\"\"isinstance(x, basestring)\"\"\"\n a = \"\"\"isinstance(x, str)\"\"\"\n self.check(b, a)\nclass Test_buffer(FixerTestCase):\n fixer = \"buffer\"\n def test_buffer(self):\n b = \"\"\"x = buffer(y)\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_buffer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_buffer(FixerTestCase):\n fixer = \"buffer\"\n def test_buffer(self):\n b = \"\"\"x = buffer(y)\"\"\"\n a = \"\"\"x = memoryview(y)\"\"\"\n self.check(b, a)\n def test_slicing(self):\n b = \"\"\"buffer(y)[4:5]\"\"\"\n a = \"\"\"memoryview(y)[4:5]\"\"\"\n self.check(b, a)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_future", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_future(FixerTestCase):\n fixer = \"future\"\n def test_future(self):\n b = \"\"\"from __future__ import braces\"\"\"\n a = \"\"\"\"\"\"\n self.check(b, a)\n b = \"\"\"# comment\\nfrom __future__ import braces\"\"\"\n a = \"\"\"# comment\\n\"\"\"\n self.check(b, a)\n b = \"\"\"from __future__ import braces\\n# comment\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_itertools", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_itertools(FixerTestCase):\n fixer = \"itertools\"\n def checkall(self, before, after):\n # Because we need to check with and without the itertools prefix\n # and on each of the three functions, these loops make it all\n # much easier\n for i in ('itertools.', ''):\n for f in ('map', 'filter', 'zip'):\n b = before %(i+'i'+f)\n a = after %(f)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_itertools_imports", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_itertools_imports(FixerTestCase):\n fixer = 'itertools_imports'\n def test_reduced(self):\n b = \"from itertools import imap, izip, foo\"\n a = \"from itertools import foo\"\n self.check(b, a)\n b = \"from itertools import bar, imap, izip, foo\"\n a = \"from itertools import bar, foo\"\n self.check(b, a)\n b = \"from itertools import chain, imap, izip\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_import", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_import(FixerTestCase):\n fixer = \"import\"\n def setUp(self):\n super(Test_import, self).setUp()\n # Need to replace fix_import's exists method\n # so we can check that it's doing the right thing\n self.files_checked = []\n self.present_files = set()\n self.always_exists = True\n def fake_exists(name):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_set_literal", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_set_literal(FixerTestCase):\n fixer = \"set_literal\"\n def test_basic(self):\n b = \"\"\"set([1, 2, 3])\"\"\"\n a = \"\"\"{1, 2, 3}\"\"\"\n self.check(b, a)\n b = \"\"\"set((1, 2, 3))\"\"\"\n a = \"\"\"{1, 2, 3}\"\"\"\n self.check(b, a)\n b = \"\"\"set((1,))\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_sys_exc", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_sys_exc(FixerTestCase):\n fixer = \"sys_exc\"\n def test_0(self):\n b = \"sys.exc_type\"\n a = \"sys.exc_info()[0]\"\n self.check(b, a)\n def test_1(self):\n b = \"sys.exc_value\"\n a = \"sys.exc_info()[1]\"\n self.check(b, a)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_paren", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_paren(FixerTestCase):\n fixer = \"paren\"\n def test_0(self):\n b = \"\"\"[i for i in 1, 2 ]\"\"\"\n a = \"\"\"[i for i in (1, 2) ]\"\"\"\n self.check(b, a)\n def test_1(self):\n b = \"\"\"[i for i in 1, 2, ]\"\"\"\n a = \"\"\"[i for i in (1, 2,) ]\"\"\"\n self.check(b, a)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_metaclass", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_metaclass(FixerTestCase):\n fixer = 'metaclass'\n def test_unchanged(self):\n self.unchanged(\"class X(): pass\")\n self.unchanged(\"class X(object): pass\")\n self.unchanged(\"class X(object1, object2): pass\")\n self.unchanged(\"class X(object1, object2, object3): pass\")\n self.unchanged(\"class X(metaclass=Meta): pass\")\n self.unchanged(\"class X(b, arg=23, metclass=Meta): pass\")\n self.unchanged(\"class X(b, arg=23, metaclass=Meta, other=42): pass\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_getcwdu", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_getcwdu(FixerTestCase):\n fixer = 'getcwdu'\n def test_basic(self):\n b = \"\"\"os.getcwdu\"\"\"\n a = \"\"\"os.getcwd\"\"\"\n self.check(b, a)\n b = \"\"\"os.getcwdu()\"\"\"\n a = \"\"\"os.getcwd()\"\"\"\n self.check(b, a)\n b = \"\"\"meth = os.getcwdu\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_operator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_operator(FixerTestCase):\n fixer = \"operator\"\n def test_operator_isCallable(self):\n b = \"operator.isCallable(x)\"\n a = \"callable(x)\"\n self.check(b, a)\n def test_operator_sequenceIncludes(self):\n b = \"operator.sequenceIncludes(x, y)\"\n a = \"operator.contains(x, y)\"\n self.check(b, a)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_exitfunc", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_exitfunc(FixerTestCase):\n fixer = \"exitfunc\"\n def test_simple(self):\n b = \"\"\"\n import sys\n sys.exitfunc = my_atexit\n \"\"\"\n a = \"\"\"\n import sys\n import atexit", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "Test_asserts", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "class Test_asserts(FixerTestCase):\n fixer = \"asserts\"\n def test_deprecated_names(self):\n tests = [\n ('self.assert_(True)', 'self.assertTrue(True)'),\n ('self.assertEquals(2, 2)', 'self.assertEqual(2, 2)'),\n ('self.assertNotEquals(2, 3)', 'self.assertNotEqual(2, 3)'),\n ('self.assertAlmostEquals(2, 3)', 'self.assertAlmostEqual(2, 3)'),\n ('self.assertNotAlmostEquals(2, 8)', 'self.assertNotAlmostEqual(2, 8)'),\n ('self.failUnlessEqual(2, 2)', 'self.assertEqual(2, 2)'),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "foo", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "def foo():\n from urllib import urlencode, urlopen\n\"\"\"\n a = \"\"\"\ndef foo():\n from urllib.parse import urlencode\n from urllib.request import urlopen\n\"\"\"\n self.check(b, a)\n b = \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "foo", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "def foo():\n from urllib.parse import urlencode\n from urllib.request import urlopen\n\"\"\"\n self.check(b, a)\n b = \"\"\"\ndef foo():\n other()\n from urllib import urlencode, urlopen\n\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "foo", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "def foo():\n other()\n from urllib import urlencode, urlopen\n\"\"\"\n a = \"\"\"\ndef foo():\n other()\n from urllib.parse import urlencode\n from urllib.request import urlopen\n\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "foo", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "peekOfCode": "def foo():\n other()\n from urllib.parse import urlencode\n from urllib.request import urlopen\n\"\"\"\n self.check(b, a)\n def test_single_import(self):\n b = \"from urllib import getproxies\"\n a = \"from urllib.request import getproxies\"\n self.check(b, a)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_fixers", "documentation": {} }, { "label": "TestMain", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_main", "peekOfCode": "class TestMain(unittest.TestCase):\n def setUp(self):\n self.temp_dir = None # tearDown() will rmtree this directory if set.\n def tearDown(self):\n # Clean up logging configuration down by main.\n del logging.root.handlers[:]\n if self.temp_dir:\n shutil.rmtree(self.temp_dir)\n def run_2to3_capture(self, args, in_capture, out_capture, err_capture):\n save_stdin = sys.stdin", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_main", "documentation": {} }, { "label": "TEST_DATA_DIR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_main", "peekOfCode": "TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), \"data\")\nPY2_TEST_MODULE = os.path.join(TEST_DATA_DIR, \"py2_test_grammar.py\")\nclass TestMain(unittest.TestCase):\n def setUp(self):\n self.temp_dir = None # tearDown() will rmtree this directory if set.\n def tearDown(self):\n # Clean up logging configuration down by main.\n del logging.root.handlers[:]\n if self.temp_dir:\n shutil.rmtree(self.temp_dir)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_main", "documentation": {} }, { "label": "PY2_TEST_MODULE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_main", "peekOfCode": "PY2_TEST_MODULE = os.path.join(TEST_DATA_DIR, \"py2_test_grammar.py\")\nclass TestMain(unittest.TestCase):\n def setUp(self):\n self.temp_dir = None # tearDown() will rmtree this directory if set.\n def tearDown(self):\n # Clean up logging configuration down by main.\n del logging.root.handlers[:]\n if self.temp_dir:\n shutil.rmtree(self.temp_dir)\n def run_2to3_capture(self, args, in_capture, out_capture, err_capture):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_main", "documentation": {} }, { "label": "TestDriver", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestDriver(support.TestCase):\n def test_formfeed(self):\n s = \"\"\"print 1\\n\\x0Cprint 2\\n\"\"\"\n t = driver.parse_string(s)\n self.assertEqual(t.children[0].children[0].type, syms.print_stmt)\n self.assertEqual(t.children[1].children[0].type, syms.print_stmt)\nclass TestPgen2Caching(support.TestCase):\n def test_load_grammar_from_txt_file(self):\n pgen2_driver.load_grammar(support.grammar_path, save=False, force=True)\n def test_load_grammar_from_pickle(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestPgen2Caching", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestPgen2Caching(support.TestCase):\n def test_load_grammar_from_txt_file(self):\n pgen2_driver.load_grammar(support.grammar_path, save=False, force=True)\n def test_load_grammar_from_pickle(self):\n # Make a copy of the grammar file in a temp directory we are\n # guaranteed to be able to write to.\n tmpdir = tempfile.mkdtemp()\n try:\n grammar_copy = os.path.join(\n tmpdir, os.path.basename(support.grammar_path))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "GrammarTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class GrammarTest(support.TestCase):\n def validate(self, code):\n support.parse_string(code)\n def invalid_syntax(self, code):\n try:\n self.validate(code)\n except ParseError:\n pass\n else:\n raise AssertionError(\"Syntax shouldn't have been valid\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestMatrixMultiplication", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestMatrixMultiplication(GrammarTest):\n def test_matrix_multiplication_operator(self):\n self.validate(\"a @ b\")\n self.validate(\"a @= b\")\nclass TestYieldFrom(GrammarTest):\n def test_yield_from(self):\n self.validate(\"yield from x\")\n self.validate(\"(yield from x) + y\")\n self.invalid_syntax(\"yield from\")\nclass TestAsyncAwait(GrammarTest):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestYieldFrom", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestYieldFrom(GrammarTest):\n def test_yield_from(self):\n self.validate(\"yield from x\")\n self.validate(\"(yield from x) + y\")\n self.invalid_syntax(\"yield from\")\nclass TestAsyncAwait(GrammarTest):\n def test_await_expr(self):\n self.validate(\"\"\"async def foo():\n await x\n \"\"\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestAsyncAwait", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestAsyncAwait(GrammarTest):\n def test_await_expr(self):\n self.validate(\"\"\"async def foo():\n await x\n \"\"\")\n self.validate(\"\"\"async def foo():\n [i async for i in b]\n \"\"\")\n self.validate(\"\"\"async def foo():\n {i for i in b", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestRaiseChanges", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestRaiseChanges(GrammarTest):\n def test_2x_style_1(self):\n self.validate(\"raise\")\n def test_2x_style_2(self):\n self.validate(\"raise E, V\")\n def test_2x_style_3(self):\n self.validate(\"raise E, V, T\")\n def test_2x_style_invalid_1(self):\n self.invalid_syntax(\"raise E, V, T, Z\")\n def test_3x_style(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestUnpackingGeneralizations", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestUnpackingGeneralizations(GrammarTest):\n def test_mid_positional_star(self):\n self.validate(\"\"\"func(1, *(2, 3), 4)\"\"\")\n def test_double_star_dict_literal(self):\n self.validate(\"\"\"func(**{'eggs':'scrambled', 'spam':'fried'})\"\"\")\n def test_double_star_dict_literal_after_keywords(self):\n self.validate(\"\"\"func(spam='fried', **{'eggs':'scrambled'})\"\"\")\n def test_double_star_expression(self):\n self.validate(\"\"\"func(**{'a':2} or {})\"\"\")\n self.validate(\"\"\"func(**() or {})\"\"\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestFunctionAnnotations", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestFunctionAnnotations(GrammarTest):\n def test_1(self):\n self.validate(\"\"\"def f(x) -> list: pass\"\"\")\n def test_2(self):\n self.validate(\"\"\"def f(x:int): pass\"\"\")\n def test_3(self):\n self.validate(\"\"\"def f(*x:str): pass\"\"\")\n def test_4(self):\n self.validate(\"\"\"def f(**x:float): pass\"\"\")\n def test_5(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestVarAnnotations", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestVarAnnotations(GrammarTest):\n def test_1(self):\n self.validate(\"var1: int = 5\")\n def test_2(self):\n self.validate(\"var2: [int, str]\")\n def test_3(self):\n self.validate(\"def f():\\n\"\n \" st: str = 'Hello'\\n\"\n \" a.b: int = (1, 2)\\n\"\n \" return st\\n\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestExcept", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestExcept(GrammarTest):\n def test_new(self):\n s = \"\"\"\n try:\n x\n except E as N:\n y\"\"\"\n self.validate(s)\n def test_old(self):\n s = \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestStringLiterals", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestStringLiterals(GrammarTest):\n prefixes = (\"'\", '\"',\n \"r'\", 'r\"', \"R'\", 'R\"',\n \"u'\", 'u\"', \"U'\", 'U\"',\n \"b'\", 'b\"', \"B'\", 'B\"',\n \"f'\", 'f\"', \"F'\", 'F\"',\n \"ur'\", 'ur\"', \"Ur'\", 'Ur\"',\n \"uR'\", 'uR\"', \"UR'\", 'UR\"',\n \"br'\", 'br\"', \"Br'\", 'Br\"',\n \"bR'\", 'bR\"', \"BR'\", 'BR\"',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestSetLiteral", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestSetLiteral(GrammarTest):\n def test_1(self):\n self.validate(\"\"\"x = {'one'}\"\"\")\n def test_2(self):\n self.validate(\"\"\"x = {'one', 1,}\"\"\")\n def test_3(self):\n self.validate(\"\"\"x = {'one', 'two', 'three'}\"\"\")\n def test_4(self):\n self.validate(\"\"\"x = {2, 3, 4,}\"\"\")\n# Adapted from Python 3's Lib/test/test_unicode_identifiers.py and", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestIdentifier", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestIdentifier(GrammarTest):\n def test_non_ascii_identifiers(self):\n self.validate(\"Örter = 'places'\\ngrün = 'green'\")\n self.validate(\"蟒 = a蟒 = 锦蛇 = 1\")\n self.validate(\"µ = aµ = µµ = 1\")\n self.validate(\"𝔘𝔫𝔦𝔠𝔬𝔡𝔢 = a_𝔘𝔫𝔦𝔠𝔬𝔡𝔢 = 1\")\nclass TestNumericLiterals(GrammarTest):\n def test_new_octal_notation(self):\n self.validate(\"\"\"0o7777777777777\"\"\")\n self.invalid_syntax(\"\"\"0o7324528887\"\"\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestNumericLiterals", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestNumericLiterals(GrammarTest):\n def test_new_octal_notation(self):\n self.validate(\"\"\"0o7777777777777\"\"\")\n self.invalid_syntax(\"\"\"0o7324528887\"\"\")\n def test_new_binary_notation(self):\n self.validate(\"\"\"0b101010\"\"\")\n self.invalid_syntax(\"\"\"0b0101021\"\"\")\nclass TestClassDef(GrammarTest):\n def test_new_syntax(self):\n self.validate(\"class B(t=7): pass\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestClassDef", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestClassDef(GrammarTest):\n def test_new_syntax(self):\n self.validate(\"class B(t=7): pass\")\n self.validate(\"class B(t, *args): pass\")\n self.validate(\"class B(t, **kwargs): pass\")\n self.validate(\"class B(t, *args, **kwargs): pass\")\n self.validate(\"class B(t, y=9, *args, **kwargs,): pass\")\nclass TestParserIdempotency(support.TestCase):\n \"\"\"A cut-down version of pytree_idempotency.py.\"\"\"\n def parse_file(self, filepath):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestParserIdempotency", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestParserIdempotency(support.TestCase):\n \"\"\"A cut-down version of pytree_idempotency.py.\"\"\"\n def parse_file(self, filepath):\n if test.support.verbose:\n print(f\"Parse file: {filepath}\")\n with open(filepath, \"rb\") as fp:\n encoding = tokenize.detect_encoding(fp.readline)[0]\n self.assertIsNotNone(encoding,\n \"can't detect encoding for %s\" % filepath)\n with open(filepath, \"r\", encoding=encoding) as fp:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestLiterals", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestLiterals(GrammarTest):\n def validate(self, s):\n driver.parse_string(support.dedent(s) + \"\\n\\n\")\n def test_multiline_bytes_literals(self):\n s = \"\"\"\n md5test(b\"\\xaa\" * 80,\n (b\"Test Using Larger Than Block-Size Key \"\n b\"and Larger Than One Block-Size Data\"),\n \"6f630fad67cda0ee1fb1f562db3aa53e\")\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestNamedAssignments", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestNamedAssignments(GrammarTest):\n \"\"\"Also known as the walrus operator.\"\"\"\n def test_named_assignment_if(self):\n driver.parse_string(\"if f := x(): pass\\n\")\n def test_named_assignment_while(self):\n driver.parse_string(\"while f := x(): pass\\n\")\n def test_named_assignment_generator(self):\n driver.parse_string(\"any((lastNum := num) == 1 for num in [1, 2, 3])\\n\")\n def test_named_assignment_listcomp(self):\n driver.parse_string(\"[(lastNum := num) == 1 for num in [1, 2, 3]]\\n\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestPositionalOnlyArgs", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestPositionalOnlyArgs(GrammarTest):\n def test_one_pos_only_arg(self):\n driver.parse_string(\"def one_pos_only_arg(a, /): pass\\n\")\n def test_all_markers(self):\n driver.parse_string(\n \"def all_markers(a, b=2, /, c, d=4, *, e=5, f): pass\\n\")\n def test_all_with_args_and_kwargs(self):\n driver.parse_string(\n \"\"\"def all_markers_with_args_and_kwargs(\n aa, b, /, _cc, d, *args, e, f_f, **kwargs,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestPickleableException", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "class TestPickleableException(unittest.TestCase):\n def test_ParseError(self):\n err = ParseError('msg', 2, None, (1, 'context'))\n for proto in range(pickle.HIGHEST_PROTOCOL + 1):\n err2 = pickle.loads(pickle.dumps(err, protocol=proto))\n self.assertEqual(err.args, err2.args)\n self.assertEqual(err.msg, err2.msg)\n self.assertEqual(err.type, err2.type)\n self.assertEqual(err.value, err2.value)\n self.assertEqual(err.context, err2.context)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "diff_texts", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "peekOfCode": "def diff_texts(a, b, filename):\n a = a.splitlines()\n b = b.splitlines()\n return difflib.unified_diff(a, b, filename, filename,\n \"(original)\", \"(reserialized)\",\n lineterm=\"\")\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_parser", "documentation": {} }, { "label": "TestNodes", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_pytree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_pytree", "peekOfCode": "class TestNodes(support.TestCase):\n \"\"\"Unit tests for nodes (Base, Leaf, Node).\"\"\"\n def test_instantiate_base(self):\n if __debug__:\n # Test that instantiating Base() raises an AssertionError\n self.assertRaises(AssertionError, pytree.Base)\n def test_leaf(self):\n l1 = pytree.Leaf(100, \"foo\")\n self.assertEqual(l1.type, 100)\n self.assertEqual(l1.value, \"foo\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_pytree", "documentation": {} }, { "label": "TestPatterns", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_pytree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_pytree", "peekOfCode": "class TestPatterns(support.TestCase):\n \"\"\"Unit tests for tree matching patterns.\"\"\"\n def test_basic_patterns(self):\n # Build a tree\n l1 = pytree.Leaf(100, \"foo\")\n l2 = pytree.Leaf(100, \"bar\")\n l3 = pytree.Leaf(100, \"foo\")\n n1 = pytree.Node(1000, [l1, l2])\n n2 = pytree.Node(1000, [l3])\n root = pytree.Node(1000, [n1, n2])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_pytree", "documentation": {} }, { "label": "TestRefactoringTool", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_refactor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_refactor", "peekOfCode": "class TestRefactoringTool(unittest.TestCase):\n def setUp(self):\n sys.path.append(FIXER_DIR)\n def tearDown(self):\n sys.path.pop()\n def check_instances(self, instances, classes):\n for inst, cls in zip(instances, classes):\n if not isinstance(inst, cls):\n self.fail(\"%s are not instances of %s\" % instances, classes)\n def rt(self, options=None, fixers=_DEFAULT_FIXERS, explicit=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_refactor", "documentation": {} }, { "label": "TEST_DATA_DIR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_refactor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_refactor", "peekOfCode": "TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), \"data\")\nFIXER_DIR = os.path.join(TEST_DATA_DIR, \"fixers\")\nsys.path.append(FIXER_DIR)\ntry:\n _DEFAULT_FIXERS = refactor.get_fixers_from_package(\"myfixes\")\nfinally:\n sys.path.pop()\n_2TO3_FIXERS = refactor.get_fixers_from_package(\"lib2to3.fixes\")\nclass TestRefactoringTool(unittest.TestCase):\n def setUp(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_refactor", "documentation": {} }, { "label": "FIXER_DIR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_refactor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_refactor", "peekOfCode": "FIXER_DIR = os.path.join(TEST_DATA_DIR, \"fixers\")\nsys.path.append(FIXER_DIR)\ntry:\n _DEFAULT_FIXERS = refactor.get_fixers_from_package(\"myfixes\")\nfinally:\n sys.path.pop()\n_2TO3_FIXERS = refactor.get_fixers_from_package(\"lib2to3.fixes\")\nclass TestRefactoringTool(unittest.TestCase):\n def setUp(self):\n sys.path.append(FIXER_DIR)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_refactor", "documentation": {} }, { "label": "_2TO3_FIXERS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_refactor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_refactor", "peekOfCode": "_2TO3_FIXERS = refactor.get_fixers_from_package(\"lib2to3.fixes\")\nclass TestRefactoringTool(unittest.TestCase):\n def setUp(self):\n sys.path.append(FIXER_DIR)\n def tearDown(self):\n sys.path.pop()\n def check_instances(self, instances, classes):\n for inst, cls in zip(instances, classes):\n if not isinstance(inst, cls):\n self.fail(\"%s are not instances of %s\" % instances, classes)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_refactor", "documentation": {} }, { "label": "MacroTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "peekOfCode": "class MacroTestCase(support.TestCase):\n def assertStr(self, node, string):\n if isinstance(node, (tuple, list)):\n node = Node(fixer_util.syms.simple_stmt, node)\n self.assertEqual(str(node), string)\nclass Test_is_tuple(support.TestCase):\n def is_tuple(self, string):\n return fixer_util.is_tuple(parse(string, strip_levels=2))\n def test_valid(self):\n self.assertTrue(self.is_tuple(\"(a, b)\"))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "documentation": {} }, { "label": "Test_is_tuple", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "peekOfCode": "class Test_is_tuple(support.TestCase):\n def is_tuple(self, string):\n return fixer_util.is_tuple(parse(string, strip_levels=2))\n def test_valid(self):\n self.assertTrue(self.is_tuple(\"(a, b)\"))\n self.assertTrue(self.is_tuple(\"(a, (b, c))\"))\n self.assertTrue(self.is_tuple(\"((a, (b, c)),)\"))\n self.assertTrue(self.is_tuple(\"(a,)\"))\n self.assertTrue(self.is_tuple(\"()\"))\n def test_invalid(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "documentation": {} }, { "label": "Test_is_list", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "peekOfCode": "class Test_is_list(support.TestCase):\n def is_list(self, string):\n return fixer_util.is_list(parse(string, strip_levels=2))\n def test_valid(self):\n self.assertTrue(self.is_list(\"[]\"))\n self.assertTrue(self.is_list(\"[a]\"))\n self.assertTrue(self.is_list(\"[a, b]\"))\n self.assertTrue(self.is_list(\"[a, [b, c]]\"))\n self.assertTrue(self.is_list(\"[[a, [b, c]],]\"))\n def test_invalid(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "documentation": {} }, { "label": "Test_Attr", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "peekOfCode": "class Test_Attr(MacroTestCase):\n def test(self):\n call = parse(\"foo()\", strip_levels=2)\n self.assertStr(Attr(Name(\"a\"), Name(\"b\")), \"a.b\")\n self.assertStr(Attr(call, Name(\"b\")), \"foo().b\")\n def test_returns(self):\n attr = Attr(Name(\"a\"), Name(\"b\"))\n self.assertEqual(type(attr), list)\nclass Test_Name(MacroTestCase):\n def test(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "documentation": {} }, { "label": "Test_Name", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "peekOfCode": "class Test_Name(MacroTestCase):\n def test(self):\n self.assertStr(Name(\"a\"), \"a\")\n self.assertStr(Name(\"foo.foo().bar\"), \"foo.foo().bar\")\n self.assertStr(Name(\"a\", prefix=\"b\"), \"ba\")\nclass Test_Call(MacroTestCase):\n def _Call(self, name, args=None, prefix=None):\n \"\"\"Help the next test\"\"\"\n children = []\n if isinstance(args, list):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "documentation": {} }, { "label": "Test_Call", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "peekOfCode": "class Test_Call(MacroTestCase):\n def _Call(self, name, args=None, prefix=None):\n \"\"\"Help the next test\"\"\"\n children = []\n if isinstance(args, list):\n for arg in args:\n children.append(arg)\n children.append(Comma())\n children.pop()\n return Call(Name(name), children, prefix)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "documentation": {} }, { "label": "Test_does_tree_import", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "peekOfCode": "class Test_does_tree_import(support.TestCase):\n def _find_bind_rec(self, name, node):\n # Search a tree for a binding -- used to find the starting\n # point for these tests.\n c = fixer_util.find_binding(name, node)\n if c: return c\n for child in node.children:\n c = self._find_bind_rec(name, child)\n if c: return c\n def does_tree_import(self, package, name, string):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "documentation": {} }, { "label": "Test_find_binding", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "peekOfCode": "class Test_find_binding(support.TestCase):\n def find_binding(self, name, string, package=None):\n return fixer_util.find_binding(name, parse(string), package)\n def test_simple_assignment(self):\n self.assertTrue(self.find_binding(\"a\", \"a = b\"))\n self.assertTrue(self.find_binding(\"a\", \"a = [b, c, d]\"))\n self.assertTrue(self.find_binding(\"a\", \"a = foo()\"))\n self.assertTrue(self.find_binding(\"a\", \"a = foo().foo.foo[6][foo]\"))\n self.assertFalse(self.find_binding(\"a\", \"foo = a\"))\n self.assertFalse(self.find_binding(\"a\", \"foo = (a, b, c)\"))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "documentation": {} }, { "label": "Test_touch_import", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "peekOfCode": "class Test_touch_import(support.TestCase):\n def test_after_docstring(self):\n node = parse('\"\"\"foo\"\"\"\\nbar()')\n fixer_util.touch_import(None, \"foo\", node)\n self.assertEqual(str(node), '\"\"\"foo\"\"\"\\nimport foo\\nbar()\\n\\n')\n def test_after_imports(self):\n node = parse('\"\"\"foo\"\"\"\\nimport bar\\nbar()')\n fixer_util.touch_import(None, \"foo\", node)\n self.assertEqual(str(node), '\"\"\"foo\"\"\"\\nimport bar\\nimport foo\\nbar()\\n\\n')\n def test_beginning(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "documentation": {} }, { "label": "Test_find_indentation", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "peekOfCode": "class Test_find_indentation(support.TestCase):\n def test_nothing(self):\n fi = fixer_util.find_indentation\n node = parse(\"node()\")\n self.assertEqual(fi(node), \"\")\n node = parse(\"\")\n self.assertEqual(fi(node), \"\")\n def test_simple(self):\n fi = fixer_util.find_indentation\n node = parse(\"def f():\\n x()\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "documentation": {} }, { "label": "parse", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "peekOfCode": "def parse(code, strip_levels=0):\n # The topmost node is file_input, which we don't care about.\n # The next-topmost node is a *_stmt node, which we also don't care about\n tree = support.parse_string(code)\n for i in range(strip_levels):\n tree = tree.children[0]\n tree.parent = None\n return tree\nclass MacroTestCase(support.TestCase):\n def assertStr(self, node, string):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.tests.test_util", "documentation": {} }, { "label": "BMNode", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_matcher", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_matcher", "peekOfCode": "class BMNode(object):\n \"\"\"Class for a node of the Aho-Corasick automaton used in matching\"\"\"\n count = itertools.count()\n def __init__(self):\n self.transition_table = {}\n self.fixers = []\n self.id = next(BMNode.count)\n self.content = ''\nclass BottomMatcher(object):\n \"\"\"The main matcher class. After instantiating the patterns should", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_matcher", "documentation": {} }, { "label": "BottomMatcher", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_matcher", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_matcher", "peekOfCode": "class BottomMatcher(object):\n \"\"\"The main matcher class. After instantiating the patterns should\n be added using the add_fixer method\"\"\"\n def __init__(self):\n self.match = set()\n self.root = BMNode()\n self.nodes = [self.root]\n self.fixers = []\n self.logger = logging.getLogger(\"RefactoringTool\")\n def add_fixer(self, fixer):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_matcher", "documentation": {} }, { "label": "type_repr", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_matcher", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_matcher", "peekOfCode": "def type_repr(type_num):\n global _type_reprs\n if not _type_reprs:\n from .pygram import python_symbols\n # printing tokens is possible but not as useful\n # from .pgen2 import token // token.__dict__.items():\n for name, val in python_symbols.__dict__.items():\n if type(val) == int: _type_reprs[val] = name\n return _type_reprs.setdefault(type_num, type_num)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_matcher", "documentation": {} }, { "label": "__author__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_matcher", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_matcher", "peekOfCode": "__author__ = \"George Boutsioukis \"\nimport logging\nimport itertools\nfrom collections import defaultdict\nfrom . import pytree\nfrom .btm_utils import reduce_tree\nclass BMNode(object):\n \"\"\"Class for a node of the Aho-Corasick automaton used in matching\"\"\"\n count = itertools.count()\n def __init__(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_matcher", "documentation": {} }, { "label": "_type_reprs", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_matcher", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_matcher", "peekOfCode": "_type_reprs = {}\ndef type_repr(type_num):\n global _type_reprs\n if not _type_reprs:\n from .pygram import python_symbols\n # printing tokens is possible but not as useful\n # from .pgen2 import token // token.__dict__.items():\n for name, val in python_symbols.__dict__.items():\n if type(val) == int: _type_reprs[val] = name\n return _type_reprs.setdefault(type_num, type_num)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_matcher", "documentation": {} }, { "label": "MinNode", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "peekOfCode": "class MinNode(object):\n \"\"\"This class serves as an intermediate representation of the\n pattern tree during the conversion to sets of leaf-to-root\n subpatterns\"\"\"\n def __init__(self, type=None, name=None):\n self.type = type\n self.name = name\n self.children = []\n self.leaf = False\n self.parent = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "documentation": {} }, { "label": "reduce_tree", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "peekOfCode": "def reduce_tree(node, parent=None):\n \"\"\"\n Internal function. Reduces a compiled pattern tree to an\n intermediate representation suitable for feeding the\n automaton. This also trims off any optional pattern elements(like\n [a], a*).\n \"\"\"\n new_node = None\n #switch on the node type\n if node.type == syms.Matcher:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "documentation": {} }, { "label": "get_characteristic_subpattern", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "peekOfCode": "def get_characteristic_subpattern(subpatterns):\n \"\"\"Picks the most characteristic from a list of linear patterns\n Current order used is:\n names > common_names > common_chars\n \"\"\"\n if not isinstance(subpatterns, list):\n return subpatterns\n if len(subpatterns)==1:\n return subpatterns[0]\n # first pick out the ones containing variable names", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "documentation": {} }, { "label": "rec_test", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "peekOfCode": "def rec_test(sequence, test_func):\n \"\"\"Tests test_func on all items of sequence and items of included\n sub-iterables\"\"\"\n for x in sequence:\n if isinstance(x, (list, tuple)):\n yield from rec_test(x, test_func)\n else:\n yield test_func(x)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "documentation": {} }, { "label": "syms", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "peekOfCode": "syms = pattern_symbols\npysyms = python_symbols\ntokens = grammar.opmap\ntoken_labels = token\nTYPE_ANY = -1\nTYPE_ALTERNATIVES = -2\nTYPE_GROUP = -3\nclass MinNode(object):\n \"\"\"This class serves as an intermediate representation of the\n pattern tree during the conversion to sets of leaf-to-root", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "documentation": {} }, { "label": "pysyms", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "peekOfCode": "pysyms = python_symbols\ntokens = grammar.opmap\ntoken_labels = token\nTYPE_ANY = -1\nTYPE_ALTERNATIVES = -2\nTYPE_GROUP = -3\nclass MinNode(object):\n \"\"\"This class serves as an intermediate representation of the\n pattern tree during the conversion to sets of leaf-to-root\n subpatterns\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "documentation": {} }, { "label": "tokens", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "peekOfCode": "tokens = grammar.opmap\ntoken_labels = token\nTYPE_ANY = -1\nTYPE_ALTERNATIVES = -2\nTYPE_GROUP = -3\nclass MinNode(object):\n \"\"\"This class serves as an intermediate representation of the\n pattern tree during the conversion to sets of leaf-to-root\n subpatterns\"\"\"\n def __init__(self, type=None, name=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "documentation": {} }, { "label": "token_labels", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "peekOfCode": "token_labels = token\nTYPE_ANY = -1\nTYPE_ALTERNATIVES = -2\nTYPE_GROUP = -3\nclass MinNode(object):\n \"\"\"This class serves as an intermediate representation of the\n pattern tree during the conversion to sets of leaf-to-root\n subpatterns\"\"\"\n def __init__(self, type=None, name=None):\n self.type = type", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "documentation": {} }, { "label": "TYPE_ANY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "peekOfCode": "TYPE_ANY = -1\nTYPE_ALTERNATIVES = -2\nTYPE_GROUP = -3\nclass MinNode(object):\n \"\"\"This class serves as an intermediate representation of the\n pattern tree during the conversion to sets of leaf-to-root\n subpatterns\"\"\"\n def __init__(self, type=None, name=None):\n self.type = type\n self.name = name", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "documentation": {} }, { "label": "TYPE_ALTERNATIVES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "peekOfCode": "TYPE_ALTERNATIVES = -2\nTYPE_GROUP = -3\nclass MinNode(object):\n \"\"\"This class serves as an intermediate representation of the\n pattern tree during the conversion to sets of leaf-to-root\n subpatterns\"\"\"\n def __init__(self, type=None, name=None):\n self.type = type\n self.name = name\n self.children = []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "documentation": {} }, { "label": "TYPE_GROUP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "peekOfCode": "TYPE_GROUP = -3\nclass MinNode(object):\n \"\"\"This class serves as an intermediate representation of the\n pattern tree during the conversion to sets of leaf-to-root\n subpatterns\"\"\"\n def __init__(self, type=None, name=None):\n self.type = type\n self.name = name\n self.children = []\n self.leaf = False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.btm_utils", "documentation": {} }, { "label": "BaseFix", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_base", "peekOfCode": "class BaseFix(object):\n \"\"\"Optional base class for fixers.\n The subclass name must be FixFooBar where FooBar is the result of\n removing underscores and capitalizing the words of the fix name.\n For example, the class name for a fixer named 'has_key' should be\n FixHasKey.\n \"\"\"\n PATTERN = None # Most subclasses should override with a string literal\n pattern = None # Compiled pattern, set by compile_pattern()\n pattern_tree = None # Tree representation of the pattern", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_base", "documentation": {} }, { "label": "ConditionalFix", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_base", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_base", "peekOfCode": "class ConditionalFix(BaseFix):\n \"\"\" Base class for fixers which not execute if an import is found. \"\"\"\n # This is the name of the import which, if found, will cause the test to be skipped\n skip_on = None\n def start_tree(self, *args):\n super(ConditionalFix, self).start_tree(*args)\n self._should_skip = None\n def should_skip(self, node):\n if self._should_skip is not None:\n return self._should_skip", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_base", "documentation": {} }, { "label": "KeywordArg", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def KeywordArg(keyword, value):\n return Node(syms.argument,\n [keyword, Leaf(token.EQUAL, \"=\"), value])\ndef LParen():\n return Leaf(token.LPAR, \"(\")\ndef RParen():\n return Leaf(token.RPAR, \")\")\ndef Assign(target, source):\n \"\"\"Build an assignment statement\"\"\"\n if not isinstance(target, list):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "LParen", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def LParen():\n return Leaf(token.LPAR, \"(\")\ndef RParen():\n return Leaf(token.RPAR, \")\")\ndef Assign(target, source):\n \"\"\"Build an assignment statement\"\"\"\n if not isinstance(target, list):\n target = [target]\n if not isinstance(source, list):\n source.prefix = \" \"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "RParen", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def RParen():\n return Leaf(token.RPAR, \")\")\ndef Assign(target, source):\n \"\"\"Build an assignment statement\"\"\"\n if not isinstance(target, list):\n target = [target]\n if not isinstance(source, list):\n source.prefix = \" \"\n source = [source]\n return Node(syms.atom,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "Assign", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def Assign(target, source):\n \"\"\"Build an assignment statement\"\"\"\n if not isinstance(target, list):\n target = [target]\n if not isinstance(source, list):\n source.prefix = \" \"\n source = [source]\n return Node(syms.atom,\n target + [Leaf(token.EQUAL, \"=\", prefix=\" \")] + source)\ndef Name(name, prefix=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "Name", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def Name(name, prefix=None):\n \"\"\"Return a NAME leaf\"\"\"\n return Leaf(token.NAME, name, prefix=prefix)\ndef Attr(obj, attr):\n \"\"\"A node tuple for obj.attr\"\"\"\n return [obj, Node(syms.trailer, [Dot(), attr])]\ndef Comma():\n \"\"\"A comma leaf\"\"\"\n return Leaf(token.COMMA, \",\")\ndef Dot():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "Attr", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def Attr(obj, attr):\n \"\"\"A node tuple for obj.attr\"\"\"\n return [obj, Node(syms.trailer, [Dot(), attr])]\ndef Comma():\n \"\"\"A comma leaf\"\"\"\n return Leaf(token.COMMA, \",\")\ndef Dot():\n \"\"\"A period (.) leaf\"\"\"\n return Leaf(token.DOT, \".\")\ndef ArgList(args, lparen=LParen(), rparen=RParen()):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "Comma", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def Comma():\n \"\"\"A comma leaf\"\"\"\n return Leaf(token.COMMA, \",\")\ndef Dot():\n \"\"\"A period (.) leaf\"\"\"\n return Leaf(token.DOT, \".\")\ndef ArgList(args, lparen=LParen(), rparen=RParen()):\n \"\"\"A parenthesised argument list, used by Call()\"\"\"\n node = Node(syms.trailer, [lparen.clone(), rparen.clone()])\n if args:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "Dot", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def Dot():\n \"\"\"A period (.) leaf\"\"\"\n return Leaf(token.DOT, \".\")\ndef ArgList(args, lparen=LParen(), rparen=RParen()):\n \"\"\"A parenthesised argument list, used by Call()\"\"\"\n node = Node(syms.trailer, [lparen.clone(), rparen.clone()])\n if args:\n node.insert_child(1, Node(syms.arglist, args))\n return node\ndef Call(func_name, args=None, prefix=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "ArgList", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def ArgList(args, lparen=LParen(), rparen=RParen()):\n \"\"\"A parenthesised argument list, used by Call()\"\"\"\n node = Node(syms.trailer, [lparen.clone(), rparen.clone()])\n if args:\n node.insert_child(1, Node(syms.arglist, args))\n return node\ndef Call(func_name, args=None, prefix=None):\n \"\"\"A function call\"\"\"\n node = Node(syms.power, [func_name, ArgList(args)])\n if prefix is not None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "Call", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def Call(func_name, args=None, prefix=None):\n \"\"\"A function call\"\"\"\n node = Node(syms.power, [func_name, ArgList(args)])\n if prefix is not None:\n node.prefix = prefix\n return node\ndef Newline():\n \"\"\"A newline literal\"\"\"\n return Leaf(token.NEWLINE, \"\\n\")\ndef BlankLine():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "Newline", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def Newline():\n \"\"\"A newline literal\"\"\"\n return Leaf(token.NEWLINE, \"\\n\")\ndef BlankLine():\n \"\"\"A blank line\"\"\"\n return Leaf(token.NEWLINE, \"\")\ndef Number(n, prefix=None):\n return Leaf(token.NUMBER, n, prefix=prefix)\ndef Subscript(index_node):\n \"\"\"A numeric or string subscript\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "BlankLine", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def BlankLine():\n \"\"\"A blank line\"\"\"\n return Leaf(token.NEWLINE, \"\")\ndef Number(n, prefix=None):\n return Leaf(token.NUMBER, n, prefix=prefix)\ndef Subscript(index_node):\n \"\"\"A numeric or string subscript\"\"\"\n return Node(syms.trailer, [Leaf(token.LBRACE, \"[\"),\n index_node,\n Leaf(token.RBRACE, \"]\")])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "Number", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def Number(n, prefix=None):\n return Leaf(token.NUMBER, n, prefix=prefix)\ndef Subscript(index_node):\n \"\"\"A numeric or string subscript\"\"\"\n return Node(syms.trailer, [Leaf(token.LBRACE, \"[\"),\n index_node,\n Leaf(token.RBRACE, \"]\")])\ndef String(string, prefix=None):\n \"\"\"A string leaf\"\"\"\n return Leaf(token.STRING, string, prefix=prefix)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "Subscript", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def Subscript(index_node):\n \"\"\"A numeric or string subscript\"\"\"\n return Node(syms.trailer, [Leaf(token.LBRACE, \"[\"),\n index_node,\n Leaf(token.RBRACE, \"]\")])\ndef String(string, prefix=None):\n \"\"\"A string leaf\"\"\"\n return Leaf(token.STRING, string, prefix=prefix)\ndef ListComp(xp, fp, it, test=None):\n \"\"\"A list comprehension of the form [xp for fp in it if test].", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "String", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def String(string, prefix=None):\n \"\"\"A string leaf\"\"\"\n return Leaf(token.STRING, string, prefix=prefix)\ndef ListComp(xp, fp, it, test=None):\n \"\"\"A list comprehension of the form [xp for fp in it if test].\n If test is None, the \"if test\" part is omitted.\n \"\"\"\n xp.prefix = \"\"\n fp.prefix = \" \"\n it.prefix = \" \"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "ListComp", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def ListComp(xp, fp, it, test=None):\n \"\"\"A list comprehension of the form [xp for fp in it if test].\n If test is None, the \"if test\" part is omitted.\n \"\"\"\n xp.prefix = \"\"\n fp.prefix = \" \"\n it.prefix = \" \"\n for_leaf = Leaf(token.NAME, \"for\")\n for_leaf.prefix = \" \"\n in_leaf = Leaf(token.NAME, \"in\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "FromImport", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def FromImport(package_name, name_leafs):\n \"\"\" Return an import statement in the form:\n from package import name_leafs\"\"\"\n # XXX: May not handle dotted imports properly (eg, package_name='foo.bar')\n #assert package_name == '.' or '.' not in package_name, \"FromImport has \"\\\n # \"not been tested with dotted package names -- use at your own \"\\\n # \"peril!\"\n for leaf in name_leafs:\n # Pull the leaves out of their old tree\n leaf.remove()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "ImportAndCall", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def ImportAndCall(node, results, names):\n \"\"\"Returns an import statement and calls a method\n of the module:\n import module\n module.name()\"\"\"\n obj = results[\"obj\"].clone()\n if obj.type == syms.arglist:\n newarglist = obj.clone()\n else:\n newarglist = Node(syms.arglist, [obj.clone()])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "is_tuple", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def is_tuple(node):\n \"\"\"Does the node represent a tuple literal?\"\"\"\n if isinstance(node, Node) and node.children == [LParen(), RParen()]:\n return True\n return (isinstance(node, Node)\n and len(node.children) == 3\n and isinstance(node.children[0], Leaf)\n and isinstance(node.children[1], Node)\n and isinstance(node.children[2], Leaf)\n and node.children[0].value == \"(\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "is_list", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def is_list(node):\n \"\"\"Does the node represent a list literal?\"\"\"\n return (isinstance(node, Node)\n and len(node.children) > 1\n and isinstance(node.children[0], Leaf)\n and isinstance(node.children[-1], Leaf)\n and node.children[0].value == \"[\"\n and node.children[-1].value == \"]\")\n###########################################################\n### Misc", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "parenthesize", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def parenthesize(node):\n return Node(syms.atom, [LParen(), node, RParen()])\nconsuming_calls = {\"sorted\", \"list\", \"set\", \"any\", \"all\", \"tuple\", \"sum\",\n \"min\", \"max\", \"enumerate\"}\ndef attr_chain(obj, attr):\n \"\"\"Follow an attribute chain.\n If you have a chain of objects where a.foo -> b, b.foo-> c, etc,\n use this to iterate over all objects in the chain. Iteration is\n terminated by getattr(x, attr) is None.\n Args:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "attr_chain", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def attr_chain(obj, attr):\n \"\"\"Follow an attribute chain.\n If you have a chain of objects where a.foo -> b, b.foo-> c, etc,\n use this to iterate over all objects in the chain. Iteration is\n terminated by getattr(x, attr) is None.\n Args:\n obj: the starting object\n attr: the name of the chaining attribute\n Yields:\n Each successive object in the chain.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "in_special_context", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def in_special_context(node):\n \"\"\" Returns true if node is in an environment where all that is required\n of it is being iterable (ie, it doesn't matter if it returns a list\n or an iterator).\n See test_map_nochange in test_fixers.py for some examples and tests.\n \"\"\"\n global p0, p1, p2, pats_built\n if not pats_built:\n p0 = patcomp.compile_pattern(p0)\n p1 = patcomp.compile_pattern(p1)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "is_probably_builtin", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def is_probably_builtin(node):\n \"\"\"\n Check that something isn't an attribute or function name etc.\n \"\"\"\n prev = node.prev_sibling\n if prev is not None and prev.type == token.DOT:\n # Attribute lookup.\n return False\n parent = node.parent\n if parent.type in (syms.funcdef, syms.classdef):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "find_indentation", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def find_indentation(node):\n \"\"\"Find the indentation of *node*.\"\"\"\n while node is not None:\n if node.type == syms.suite and len(node.children) > 2:\n indent = node.children[1]\n if indent.type == token.INDENT:\n return indent.value\n node = node.parent\n return \"\"\n###########################################################", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "make_suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def make_suite(node):\n if node.type == syms.suite:\n return node\n node = node.clone()\n parent, node.parent = node.parent, None\n suite = Node(syms.suite, [node])\n suite.parent = parent\n return suite\ndef find_root(node):\n \"\"\"Find the top level namespace.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "find_root", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def find_root(node):\n \"\"\"Find the top level namespace.\"\"\"\n # Scamper up to the top level namespace\n while node.type != syms.file_input:\n node = node.parent\n if not node:\n raise ValueError(\"root found before file_input node was found.\")\n return node\ndef does_tree_import(package, name, node):\n \"\"\" Returns true if name is imported from package at the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "does_tree_import", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def does_tree_import(package, name, node):\n \"\"\" Returns true if name is imported from package at the\n top level of the tree which node belongs to.\n To cover the case of an import like 'import foo', use\n None for the package and 'foo' for the name. \"\"\"\n binding = find_binding(name, find_root(node), package)\n return bool(binding)\ndef is_import(node):\n \"\"\"Returns true if the node is an import statement.\"\"\"\n return node.type in (syms.import_name, syms.import_from)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "is_import", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def is_import(node):\n \"\"\"Returns true if the node is an import statement.\"\"\"\n return node.type in (syms.import_name, syms.import_from)\ndef touch_import(package, name, node):\n \"\"\" Works like `does_tree_import` but adds an import statement\n if it was not imported. \"\"\"\n def is_import_stmt(node):\n return (node.type == syms.simple_stmt and node.children and\n is_import(node.children[0]))\n root = find_root(node)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "touch_import", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def touch_import(package, name, node):\n \"\"\" Works like `does_tree_import` but adds an import statement\n if it was not imported. \"\"\"\n def is_import_stmt(node):\n return (node.type == syms.simple_stmt and node.children and\n is_import(node.children[0]))\n root = find_root(node)\n if does_tree_import(package, name, root):\n return\n # figure out where to insert the new import. First try to find", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "find_binding", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "def find_binding(name, node, package=None):\n \"\"\" Returns the node which binds variable name, otherwise None.\n If optional argument package is supplied, only imports will\n be returned.\n See test cases for examples.\"\"\"\n for child in node.children:\n ret = None\n if child.type == syms.for_stmt:\n if _find(name, child.children[1]):\n return child", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "consuming_calls", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "consuming_calls = {\"sorted\", \"list\", \"set\", \"any\", \"all\", \"tuple\", \"sum\",\n \"min\", \"max\", \"enumerate\"}\ndef attr_chain(obj, attr):\n \"\"\"Follow an attribute chain.\n If you have a chain of objects where a.foo -> b, b.foo-> c, etc,\n use this to iterate over all objects in the chain. Iteration is\n terminated by getattr(x, attr) is None.\n Args:\n obj: the starting object\n attr: the name of the chaining attribute", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "p0", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "p0 = \"\"\"for_stmt< 'for' any 'in' node=any ':' any* >\n | comp_for< 'for' any 'in' node=any any* >\n \"\"\"\np1 = \"\"\"\npower<\n ( 'iter' | 'list' | 'tuple' | 'sorted' | 'set' | 'sum' |\n 'any' | 'all' | 'enumerate' | (any* trailer< '.' 'join' >) )\n trailer< '(' node=any ')' >\n any*\n>", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "p1", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "p1 = \"\"\"\npower<\n ( 'iter' | 'list' | 'tuple' | 'sorted' | 'set' | 'sum' |\n 'any' | 'all' | 'enumerate' | (any* trailer< '.' 'join' >) )\n trailer< '(' node=any ')' >\n any*\n>\n\"\"\"\np2 = \"\"\"\npower<", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "p2", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "p2 = \"\"\"\npower<\n ( 'sorted' | 'enumerate' )\n trailer< '(' arglist ')' >\n any*\n>\n\"\"\"\npats_built = False\ndef in_special_context(node):\n \"\"\" Returns true if node is in an environment where all that is required", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "pats_built", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "pats_built = False\ndef in_special_context(node):\n \"\"\" Returns true if node is in an environment where all that is required\n of it is being iterable (ie, it doesn't matter if it returns a list\n or an iterator).\n See test_map_nochange in test_fixers.py for some examples and tests.\n \"\"\"\n global p0, p1, p2, pats_built\n if not pats_built:\n p0 = patcomp.compile_pattern(p0)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "_def_syms", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "_def_syms = {syms.classdef, syms.funcdef}\ndef find_binding(name, node, package=None):\n \"\"\" Returns the node which binds variable name, otherwise None.\n If optional argument package is supplied, only imports will\n be returned.\n See test cases for examples.\"\"\"\n for child in node.children:\n ret = None\n if child.type == syms.for_stmt:\n if _find(name, child.children[1]):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "_block_syms", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "peekOfCode": "_block_syms = {syms.funcdef, syms.classdef, syms.trailer}\ndef _find(name, node):\n nodes = [node]\n while nodes:\n node = nodes.pop()\n if node.type > 256 and node.type not in _block_syms:\n nodes.extend(node.children)\n elif node.type == token.NAME and node.value == name:\n return node\n return None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.fixer_util", "documentation": {} }, { "label": "StdoutRefactoringTool", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.main", "peekOfCode": "class StdoutRefactoringTool(refactor.MultiprocessRefactoringTool):\n \"\"\"\n A refactoring tool that can avoid overwriting its input files.\n Prints output to stdout.\n Output files can optionally be written to a different directory and or\n have an extra file suffix appended to their name for use in situations\n where you do not want to replace the input files.\n \"\"\"\n def __init__(self, fixers, options, explicit, nobackups, show_diffs,\n input_base_dir='', output_dir='', append_suffix=''):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.main", "documentation": {} }, { "label": "diff_texts", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.main", "peekOfCode": "def diff_texts(a, b, filename):\n \"\"\"Return a unified diff of two strings.\"\"\"\n a = a.splitlines()\n b = b.splitlines()\n return difflib.unified_diff(a, b, filename, filename,\n \"(original)\", \"(refactored)\",\n lineterm=\"\")\nclass StdoutRefactoringTool(refactor.MultiprocessRefactoringTool):\n \"\"\"\n A refactoring tool that can avoid overwriting its input files.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.main", "documentation": {} }, { "label": "warn", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.main", "peekOfCode": "def warn(msg):\n print(\"WARNING: %s\" % (msg,), file=sys.stderr)\ndef main(fixer_pkg, args=None):\n \"\"\"Main program.\n Args:\n fixer_pkg: the name of a package where the fixers are located.\n args: optional; a list of command line arguments. If omitted,\n sys.argv[1:] is used.\n Returns a suggested exit status (0, 1, 2).\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.main", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.main", "peekOfCode": "def main(fixer_pkg, args=None):\n \"\"\"Main program.\n Args:\n fixer_pkg: the name of a package where the fixers are located.\n args: optional; a list of command line arguments. If omitted,\n sys.argv[1:] is used.\n Returns a suggested exit status (0, 1, 2).\n \"\"\"\n # Set up option parser\n parser = optparse.OptionParser(usage=\"2to3 [options] file|dir ...\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.main", "documentation": {} }, { "label": "PatternSyntaxError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "peekOfCode": "class PatternSyntaxError(Exception):\n pass\ndef tokenize_wrapper(input):\n \"\"\"Tokenizes a string suppressing significant whitespace.\"\"\"\n skip = {token.NEWLINE, token.INDENT, token.DEDENT}\n tokens = tokenize.generate_tokens(io.StringIO(input).readline)\n for quintuple in tokens:\n type, value, start, end, line_text = quintuple\n if type not in skip:\n yield quintuple", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "documentation": {} }, { "label": "PatternCompiler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "peekOfCode": "class PatternCompiler(object):\n def __init__(self, grammar_file=None):\n \"\"\"Initializer.\n Takes an optional alternative filename for the pattern grammar.\n \"\"\"\n if grammar_file is None:\n self.grammar = pygram.pattern_grammar\n self.syms = pygram.pattern_symbols\n else:\n self.grammar = driver.load_grammar(grammar_file)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "documentation": {} }, { "label": "tokenize_wrapper", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "peekOfCode": "def tokenize_wrapper(input):\n \"\"\"Tokenizes a string suppressing significant whitespace.\"\"\"\n skip = {token.NEWLINE, token.INDENT, token.DEDENT}\n tokens = tokenize.generate_tokens(io.StringIO(input).readline)\n for quintuple in tokens:\n type, value, start, end, line_text = quintuple\n if type not in skip:\n yield quintuple\nclass PatternCompiler(object):\n def __init__(self, grammar_file=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "documentation": {} }, { "label": "pattern_convert", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "peekOfCode": "def pattern_convert(grammar, raw_node_info):\n \"\"\"Converts raw node information to a Node or Leaf instance.\"\"\"\n type, value, context, children = raw_node_info\n if children or type in grammar.number2symbol:\n return pytree.Node(type, children, context=context)\n else:\n return pytree.Leaf(type, value, context=context)\ndef compile_pattern(pattern):\n return PatternCompiler().compile_pattern(pattern)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "documentation": {} }, { "label": "compile_pattern", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "peekOfCode": "def compile_pattern(pattern):\n return PatternCompiler().compile_pattern(pattern)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "documentation": {} }, { "label": "__author__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "peekOfCode": "__author__ = \"Guido van Rossum \"\n# Python imports\nimport io\n# Fairly local imports\nfrom .pgen2 import driver, literals, token, tokenize, parse, grammar\n# Really local imports\nfrom . import pytree\nfrom . import pygram\nclass PatternSyntaxError(Exception):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "documentation": {} }, { "label": "TOKEN_MAP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "peekOfCode": "TOKEN_MAP = {\"NAME\": token.NAME,\n \"STRING\": token.STRING,\n \"NUMBER\": token.NUMBER,\n \"TOKEN\": None}\ndef _type_of_literal(value):\n if value[0].isalpha():\n return token.NAME\n elif value in grammar.opmap:\n return grammar.opmap[value]\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.patcomp", "documentation": {} }, { "label": "Symbols", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "peekOfCode": "class Symbols(object):\n def __init__(self, grammar):\n \"\"\"Initializer.\n Creates an attribute for each grammar symbol (nonterminal),\n whose value is the symbol's type (an int >= 256).\n \"\"\"\n for name, symbol in grammar.symbol2number.items():\n setattr(self, name, symbol)\npython_grammar = driver.load_packaged_grammar(\"lib2to3\", _GRAMMAR_FILE)\npython_symbols = Symbols(python_grammar)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "documentation": {} }, { "label": "_GRAMMAR_FILE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "peekOfCode": "_GRAMMAR_FILE = os.path.join(os.path.dirname(__file__), \"Grammar.txt\")\n_PATTERN_GRAMMAR_FILE = os.path.join(os.path.dirname(__file__),\n \"PatternGrammar.txt\")\nclass Symbols(object):\n def __init__(self, grammar):\n \"\"\"Initializer.\n Creates an attribute for each grammar symbol (nonterminal),\n whose value is the symbol's type (an int >= 256).\n \"\"\"\n for name, symbol in grammar.symbol2number.items():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "documentation": {} }, { "label": "_PATTERN_GRAMMAR_FILE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "peekOfCode": "_PATTERN_GRAMMAR_FILE = os.path.join(os.path.dirname(__file__),\n \"PatternGrammar.txt\")\nclass Symbols(object):\n def __init__(self, grammar):\n \"\"\"Initializer.\n Creates an attribute for each grammar symbol (nonterminal),\n whose value is the symbol's type (an int >= 256).\n \"\"\"\n for name, symbol in grammar.symbol2number.items():\n setattr(self, name, symbol)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "documentation": {} }, { "label": "python_grammar", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "peekOfCode": "python_grammar = driver.load_packaged_grammar(\"lib2to3\", _GRAMMAR_FILE)\npython_symbols = Symbols(python_grammar)\npython_grammar_no_print_statement = python_grammar.copy()\ndel python_grammar_no_print_statement.keywords[\"print\"]\npython_grammar_no_print_and_exec_statement = python_grammar_no_print_statement.copy()\ndel python_grammar_no_print_and_exec_statement.keywords[\"exec\"]\npattern_grammar = driver.load_packaged_grammar(\"lib2to3\", _PATTERN_GRAMMAR_FILE)\npattern_symbols = Symbols(pattern_grammar)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "documentation": {} }, { "label": "python_symbols", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "peekOfCode": "python_symbols = Symbols(python_grammar)\npython_grammar_no_print_statement = python_grammar.copy()\ndel python_grammar_no_print_statement.keywords[\"print\"]\npython_grammar_no_print_and_exec_statement = python_grammar_no_print_statement.copy()\ndel python_grammar_no_print_and_exec_statement.keywords[\"exec\"]\npattern_grammar = driver.load_packaged_grammar(\"lib2to3\", _PATTERN_GRAMMAR_FILE)\npattern_symbols = Symbols(pattern_grammar)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "documentation": {} }, { "label": "python_grammar_no_print_statement", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "peekOfCode": "python_grammar_no_print_statement = python_grammar.copy()\ndel python_grammar_no_print_statement.keywords[\"print\"]\npython_grammar_no_print_and_exec_statement = python_grammar_no_print_statement.copy()\ndel python_grammar_no_print_and_exec_statement.keywords[\"exec\"]\npattern_grammar = driver.load_packaged_grammar(\"lib2to3\", _PATTERN_GRAMMAR_FILE)\npattern_symbols = Symbols(pattern_grammar)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "documentation": {} }, { "label": "python_grammar_no_print_and_exec_statement", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "peekOfCode": "python_grammar_no_print_and_exec_statement = python_grammar_no_print_statement.copy()\ndel python_grammar_no_print_and_exec_statement.keywords[\"exec\"]\npattern_grammar = driver.load_packaged_grammar(\"lib2to3\", _PATTERN_GRAMMAR_FILE)\npattern_symbols = Symbols(pattern_grammar)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "documentation": {} }, { "label": "pattern_grammar", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "peekOfCode": "pattern_grammar = driver.load_packaged_grammar(\"lib2to3\", _PATTERN_GRAMMAR_FILE)\npattern_symbols = Symbols(pattern_grammar)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "documentation": {} }, { "label": "pattern_symbols", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "peekOfCode": "pattern_symbols = Symbols(pattern_grammar)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pygram", "documentation": {} }, { "label": "Base", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "peekOfCode": "class Base(object):\n \"\"\"\n Abstract base class for Node and Leaf.\n This provides some default functionality and boilerplate using the\n template pattern.\n A node may be a subnode of at most one parent.\n \"\"\"\n # Default values for instance variables\n type = None # int: token number (< 256) or symbol number (>= 256)\n parent = None # Parent node pointer, or None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "documentation": {} }, { "label": "Node", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "peekOfCode": "class Node(Base):\n \"\"\"Concrete implementation for interior nodes.\"\"\"\n def __init__(self,type, children,\n context=None,\n prefix=None,\n fixers_applied=None):\n \"\"\"\n Initializer.\n Takes a type constant (a symbol number >= 256), a sequence of\n child nodes, and an optional context keyword argument.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "documentation": {} }, { "label": "Leaf", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "peekOfCode": "class Leaf(Base):\n \"\"\"Concrete implementation for leaf nodes.\"\"\"\n # Default values for instance variables\n _prefix = \"\" # Whitespace and comments preceding this token in the input\n lineno = 0 # Line where this token starts in the input\n column = 0 # Column where this token tarts in the input\n def __init__(self, type, value,\n context=None,\n prefix=None,\n fixers_applied=[]):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "documentation": {} }, { "label": "BasePattern", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "peekOfCode": "class BasePattern(object):\n \"\"\"\n A pattern is a tree matching pattern.\n It looks for a specific node type (token or symbol), and\n optionally for a specific content.\n This is an abstract base class. There are three concrete\n subclasses:\n - LeafPattern matches a single leaf node;\n - NodePattern matches a single node (usually non-leaf);\n - WildcardPattern matches a sequence of nodes of variable length.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "documentation": {} }, { "label": "LeafPattern", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "peekOfCode": "class LeafPattern(BasePattern):\n def __init__(self, type=None, content=None, name=None):\n \"\"\"\n Initializer. Takes optional type, content, and name.\n The type, if given must be a token type (< 256). If not given,\n this matches any *leaf* node; the content may still be required.\n The content, if given, must be a string.\n If a name is given, the matching node is stored in the results\n dict under that key.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "documentation": {} }, { "label": "NodePattern", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "peekOfCode": "class NodePattern(BasePattern):\n wildcards = False\n def __init__(self, type=None, content=None, name=None):\n \"\"\"\n Initializer. Takes optional type, content, and name.\n The type, if given, must be a symbol type (>= 256). If the\n type is None this matches *any* single node (leaf or not),\n except if content is not None, in which it only matches\n non-leaf nodes that also match the content pattern.\n The content, if not None, must be a sequence of Patterns that", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "documentation": {} }, { "label": "WildcardPattern", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "peekOfCode": "class WildcardPattern(BasePattern):\n \"\"\"\n A wildcard pattern can match zero or more nodes.\n This has all the flexibility needed to implement patterns like:\n .* .+ .? .{m,n}\n (a b c | d e | f)\n (...)* (...)+ (...)? (...){m,n}\n except it always uses non-greedy matching.\n \"\"\"\n def __init__(self, content=None, min=0, max=HUGE, name=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "documentation": {} }, { "label": "NegatedPattern", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "peekOfCode": "class NegatedPattern(BasePattern):\n def __init__(self, content=None):\n \"\"\"\n Initializer.\n The argument is either a pattern or None. If it is None, this\n only matches an empty sequence (effectively '$' in regex\n lingo). If it is not None, this matches whenever the argument\n pattern doesn't have any matches.\n \"\"\"\n if content is not None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "documentation": {} }, { "label": "type_repr", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "peekOfCode": "def type_repr(type_num):\n global _type_reprs\n if not _type_reprs:\n from .pygram import python_symbols\n # printing tokens is possible but not as useful\n # from .pgen2 import token // token.__dict__.items():\n for name, val in python_symbols.__dict__.items():\n if type(val) == int: _type_reprs[val] = name\n return _type_reprs.setdefault(type_num, type_num)\nclass Base(object):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "documentation": {} }, { "label": "convert", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "peekOfCode": "def convert(gr, raw_node):\n \"\"\"\n Convert raw node information to a Node or Leaf instance.\n This is passed to the parser driver which calls it whenever a reduction of a\n grammar rule produces a new complete node, so that the tree is build\n strictly bottom-up.\n \"\"\"\n type, value, context, children = raw_node\n if children or type in gr.number2symbol:\n # If there's exactly one child, return that child instead of", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "documentation": {} }, { "label": "generate_matches", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "peekOfCode": "def generate_matches(patterns, nodes):\n \"\"\"\n Generator yielding matches for a sequence of patterns and nodes.\n Args:\n patterns: a sequence of patterns\n nodes: a sequence of nodes\n Yields:\n (count, results) tuples where:\n count: the entire sequence of patterns matches nodes[:count];\n results: dict containing named submatches.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "documentation": {} }, { "label": "__author__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "peekOfCode": "__author__ = \"Guido van Rossum \"\nimport sys\nfrom io import StringIO\nHUGE = 0x7FFFFFFF # maximum repeat count, default max\n_type_reprs = {}\ndef type_repr(type_num):\n global _type_reprs\n if not _type_reprs:\n from .pygram import python_symbols\n # printing tokens is possible but not as useful", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "documentation": {} }, { "label": "HUGE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "peekOfCode": "HUGE = 0x7FFFFFFF # maximum repeat count, default max\n_type_reprs = {}\ndef type_repr(type_num):\n global _type_reprs\n if not _type_reprs:\n from .pygram import python_symbols\n # printing tokens is possible but not as useful\n # from .pgen2 import token // token.__dict__.items():\n for name, val in python_symbols.__dict__.items():\n if type(val) == int: _type_reprs[val] = name", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "documentation": {} }, { "label": "_type_reprs", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "peekOfCode": "_type_reprs = {}\ndef type_repr(type_num):\n global _type_reprs\n if not _type_reprs:\n from .pygram import python_symbols\n # printing tokens is possible but not as useful\n # from .pgen2 import token // token.__dict__.items():\n for name, val in python_symbols.__dict__.items():\n if type(val) == int: _type_reprs[val] = name\n return _type_reprs.setdefault(type_num, type_num)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.pytree", "documentation": {} }, { "label": "_EveryNode", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "peekOfCode": "class _EveryNode(Exception):\n pass\ndef _get_head_types(pat):\n \"\"\" Accepts a pytree Pattern Node and returns a set\n of the pattern types which will match first. \"\"\"\n if isinstance(pat, (pytree.NodePattern, pytree.LeafPattern)):\n # NodePatters must either have no type and no content\n # or a type and content -- so they don't get any farther\n # Always return leafs\n if pat.type is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "documentation": {} }, { "label": "FixerError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "peekOfCode": "class FixerError(Exception):\n \"\"\"A fixer could not be loaded.\"\"\"\nclass RefactoringTool(object):\n _default_options = {\"print_function\" : False,\n \"exec_function\": False,\n \"write_unchanged_files\" : False}\n CLASS_PREFIX = \"Fix\" # The prefix for fixer classes\n FILE_PREFIX = \"fix_\" # The prefix for modules with a fixer within\n def __init__(self, fixer_names, options=None, explicit=None):\n \"\"\"Initializer.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "documentation": {} }, { "label": "RefactoringTool", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "peekOfCode": "class RefactoringTool(object):\n _default_options = {\"print_function\" : False,\n \"exec_function\": False,\n \"write_unchanged_files\" : False}\n CLASS_PREFIX = \"Fix\" # The prefix for fixer classes\n FILE_PREFIX = \"fix_\" # The prefix for modules with a fixer within\n def __init__(self, fixer_names, options=None, explicit=None):\n \"\"\"Initializer.\n Args:\n fixer_names: a list of fixers to import", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "documentation": {} }, { "label": "MultiprocessingUnsupported", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "peekOfCode": "class MultiprocessingUnsupported(Exception):\n pass\nclass MultiprocessRefactoringTool(RefactoringTool):\n def __init__(self, *args, **kwargs):\n super(MultiprocessRefactoringTool, self).__init__(*args, **kwargs)\n self.queue = None\n self.output_lock = None\n def refactor(self, items, write=False, doctests_only=False,\n num_processes=1):\n if num_processes == 1:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "documentation": {} }, { "label": "MultiprocessRefactoringTool", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "peekOfCode": "class MultiprocessRefactoringTool(RefactoringTool):\n def __init__(self, *args, **kwargs):\n super(MultiprocessRefactoringTool, self).__init__(*args, **kwargs)\n self.queue = None\n self.output_lock = None\n def refactor(self, items, write=False, doctests_only=False,\n num_processes=1):\n if num_processes == 1:\n return super(MultiprocessRefactoringTool, self).refactor(\n items, write, doctests_only)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "documentation": {} }, { "label": "get_all_fix_names", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "peekOfCode": "def get_all_fix_names(fixer_pkg, remove_prefix=True):\n \"\"\"Return a sorted list of all available fix names in the given package.\"\"\"\n pkg = __import__(fixer_pkg, [], [], [\"*\"])\n fix_names = []\n for finder, name, ispkg in pkgutil.iter_modules(pkg.__path__):\n if name.startswith(\"fix_\"):\n if remove_prefix:\n name = name[4:]\n fix_names.append(name)\n return fix_names", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "documentation": {} }, { "label": "get_fixers_from_package", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "peekOfCode": "def get_fixers_from_package(pkg_name):\n \"\"\"\n Return the fully qualified names for fixers in the package pkg_name.\n \"\"\"\n return [pkg_name + \".\" + fix_name\n for fix_name in get_all_fix_names(pkg_name, False)]\ndef _identity(obj):\n return obj\ndef _detect_future_features(source):\n have_docstring = False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "documentation": {} }, { "label": "__author__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "peekOfCode": "__author__ = \"Guido van Rossum \"\n# Python imports\nimport io\nimport os\nimport pkgutil\nimport sys\nimport logging\nimport operator\nimport collections\nfrom itertools import chain", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.lib2to3.refactor", "documentation": {} }, { "label": "ConvertingMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "peekOfCode": "class ConvertingMixin(object):\n \"\"\"For ConvertingXXX's, this mixin class provides common functions\"\"\"\n def convert_with_key(self, key, value, replace=True):\n result = self.configurator.convert(value)\n #If the converted value is different, save for next time\n if value is not result:\n if replace:\n self[key] = result\n if type(result) in (ConvertingDict, ConvertingList,\n ConvertingTuple):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "documentation": {} }, { "label": "ConvertingDict", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "peekOfCode": "class ConvertingDict(dict, ConvertingMixin):\n \"\"\"A converting dictionary wrapper.\"\"\"\n def __getitem__(self, key):\n value = dict.__getitem__(self, key)\n return self.convert_with_key(key, value)\n def get(self, key, default=None):\n value = dict.get(self, key, default)\n return self.convert_with_key(key, value)\n def pop(self, key, default=None):\n value = dict.pop(self, key, default)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "documentation": {} }, { "label": "ConvertingList", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "peekOfCode": "class ConvertingList(list, ConvertingMixin):\n \"\"\"A converting list wrapper.\"\"\"\n def __getitem__(self, key):\n value = list.__getitem__(self, key)\n return self.convert_with_key(key, value)\n def pop(self, idx=-1):\n value = list.pop(self, idx)\n return self.convert(value)\nclass ConvertingTuple(tuple, ConvertingMixin):\n \"\"\"A converting tuple wrapper.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "documentation": {} }, { "label": "ConvertingTuple", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "peekOfCode": "class ConvertingTuple(tuple, ConvertingMixin):\n \"\"\"A converting tuple wrapper.\"\"\"\n def __getitem__(self, key):\n value = tuple.__getitem__(self, key)\n # Can't replace a tuple entry.\n return self.convert_with_key(key, value, replace=False)\nclass BaseConfigurator(object):\n \"\"\"\n The configurator base class which defines some useful defaults.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "documentation": {} }, { "label": "BaseConfigurator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "peekOfCode": "class BaseConfigurator(object):\n \"\"\"\n The configurator base class which defines some useful defaults.\n \"\"\"\n CONVERT_PATTERN = re.compile(r'^(?P[a-z]+)://(?P.*)$')\n WORD_PATTERN = re.compile(r'^\\s*(\\w+)\\s*')\n DOT_PATTERN = re.compile(r'^\\.\\s*(\\w+)\\s*')\n INDEX_PATTERN = re.compile(r'^\\[\\s*(\\w+)\\s*\\]\\s*')\n DIGIT_PATTERN = re.compile(r'^\\d+$')\n value_converters = {", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "documentation": {} }, { "label": "DictConfigurator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "peekOfCode": "class DictConfigurator(BaseConfigurator):\n \"\"\"\n Configure logging using a dictionary-like object to describe the\n configuration.\n \"\"\"\n def configure(self):\n \"\"\"Do the configuration.\"\"\"\n config = self.config\n if 'version' not in config:\n raise ValueError(\"dictionary doesn't specify a version\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "documentation": {} }, { "label": "fileConfig", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "peekOfCode": "def fileConfig(fname, defaults=None, disable_existing_loggers=True, encoding=None):\n \"\"\"\n Read the logging configuration from a ConfigParser-format file.\n This can be called several times from an application, allowing an end user\n the ability to select from various pre-canned configurations (if the\n developer provides a mechanism to present the choices and load the chosen\n configuration).\n \"\"\"\n import configparser\n if isinstance(fname, configparser.RawConfigParser):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "documentation": {} }, { "label": "valid_ident", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "peekOfCode": "def valid_ident(s):\n m = IDENTIFIER.match(s)\n if not m:\n raise ValueError('Not a valid Python identifier: %r' % s)\n return True\nclass ConvertingMixin(object):\n \"\"\"For ConvertingXXX's, this mixin class provides common functions\"\"\"\n def convert_with_key(self, key, value, replace=True):\n result = self.configurator.convert(value)\n #If the converted value is different, save for next time", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "documentation": {} }, { "label": "dictConfig", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "peekOfCode": "def dictConfig(config):\n \"\"\"Configure logging using a dictionary.\"\"\"\n dictConfigClass(config).configure()\ndef listen(port=DEFAULT_LOGGING_CONFIG_PORT, verify=None):\n \"\"\"\n Start up a socket server on the specified port, and listen for new\n configurations.\n These will be sent as a file suitable for processing by fileConfig().\n Returns a Thread object on which you can call start() to start the server,\n and which you can join() when appropriate. To stop the server, call", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "documentation": {} }, { "label": "listen", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "peekOfCode": "def listen(port=DEFAULT_LOGGING_CONFIG_PORT, verify=None):\n \"\"\"\n Start up a socket server on the specified port, and listen for new\n configurations.\n These will be sent as a file suitable for processing by fileConfig().\n Returns a Thread object on which you can call start() to start the server,\n and which you can join() when appropriate. To stop the server, call\n stopListening().\n Use the ``verify`` argument to verify any bytes received across the wire\n from a client. If specified, it should be a callable which receives a", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "documentation": {} }, { "label": "stopListening", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "peekOfCode": "def stopListening():\n \"\"\"\n Stop the listening server which was created with a call to listen().\n \"\"\"\n global _listener\n logging._acquireLock()\n try:\n if _listener:\n _listener.abort = 1\n _listener = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "documentation": {} }, { "label": "DEFAULT_LOGGING_CONFIG_PORT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "peekOfCode": "DEFAULT_LOGGING_CONFIG_PORT = 9030\nRESET_ERROR = errno.ECONNRESET\n#\n# The following code implements a socket listener for on-the-fly\n# reconfiguration of logging.\n#\n# _listener holds the server object doing the listening\n_listener = None\ndef fileConfig(fname, defaults=None, disable_existing_loggers=True, encoding=None):\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "documentation": {} }, { "label": "RESET_ERROR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "peekOfCode": "RESET_ERROR = errno.ECONNRESET\n#\n# The following code implements a socket listener for on-the-fly\n# reconfiguration of logging.\n#\n# _listener holds the server object doing the listening\n_listener = None\ndef fileConfig(fname, defaults=None, disable_existing_loggers=True, encoding=None):\n \"\"\"\n Read the logging configuration from a ConfigParser-format file.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "documentation": {} }, { "label": "_listener", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "peekOfCode": "_listener = None\ndef fileConfig(fname, defaults=None, disable_existing_loggers=True, encoding=None):\n \"\"\"\n Read the logging configuration from a ConfigParser-format file.\n This can be called several times from an application, allowing an end user\n the ability to select from various pre-canned configurations (if the\n developer provides a mechanism to present the choices and load the chosen\n configuration).\n \"\"\"\n import configparser", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "documentation": {} }, { "label": "IDENTIFIER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "peekOfCode": "IDENTIFIER = re.compile('^[a-z_][a-z0-9_]*$', re.I)\ndef valid_ident(s):\n m = IDENTIFIER.match(s)\n if not m:\n raise ValueError('Not a valid Python identifier: %r' % s)\n return True\nclass ConvertingMixin(object):\n \"\"\"For ConvertingXXX's, this mixin class provides common functions\"\"\"\n def convert_with_key(self, key, value, replace=True):\n result = self.configurator.convert(value)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "documentation": {} }, { "label": "dictConfigClass", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "peekOfCode": "dictConfigClass = DictConfigurator\ndef dictConfig(config):\n \"\"\"Configure logging using a dictionary.\"\"\"\n dictConfigClass(config).configure()\ndef listen(port=DEFAULT_LOGGING_CONFIG_PORT, verify=None):\n \"\"\"\n Start up a socket server on the specified port, and listen for new\n configurations.\n These will be sent as a file suitable for processing by fileConfig().\n Returns a Thread object on which you can call start() to start the server,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.config", "documentation": {} }, { "label": "BaseRotatingHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "peekOfCode": "class BaseRotatingHandler(logging.FileHandler):\n \"\"\"\n Base class for handlers that rotate log files at a certain point.\n Not meant to be instantiated directly. Instead, use RotatingFileHandler\n or TimedRotatingFileHandler.\n \"\"\"\n namer = None\n rotator = None\n def __init__(self, filename, mode, encoding=None, delay=False, errors=None):\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "documentation": {} }, { "label": "RotatingFileHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "peekOfCode": "class RotatingFileHandler(BaseRotatingHandler):\n \"\"\"\n Handler for logging to a set of files, which switches from one file\n to the next when the current file reaches a certain size.\n \"\"\"\n def __init__(self, filename, mode='a', maxBytes=0, backupCount=0,\n encoding=None, delay=False, errors=None):\n \"\"\"\n Open the specified file and use it as the stream for logging.\n By default, the file grows indefinitely. You can specify particular", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "documentation": {} }, { "label": "TimedRotatingFileHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "peekOfCode": "class TimedRotatingFileHandler(BaseRotatingHandler):\n \"\"\"\n Handler for logging to a file, rotating the log file at certain timed\n intervals.\n If backupCount is > 0, when rollover is done, no more than backupCount\n files are kept - the oldest ones are deleted.\n \"\"\"\n def __init__(self, filename, when='h', interval=1, backupCount=0,\n encoding=None, delay=False, utc=False, atTime=None,\n errors=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "documentation": {} }, { "label": "WatchedFileHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "peekOfCode": "class WatchedFileHandler(logging.FileHandler):\n \"\"\"\n A handler for logging to a file, which watches the file\n to see if it has changed while in use. This can happen because of\n usage of programs such as newsyslog and logrotate which perform\n log file rotation. This handler, intended for use under Unix,\n watches the file to see if it has changed since the last emit.\n (A file has changed if its device or inode have changed.)\n If it has changed, the old file stream is closed, and the file\n opened to get a new stream.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "documentation": {} }, { "label": "SocketHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "peekOfCode": "class SocketHandler(logging.Handler):\n \"\"\"\n A handler class which writes logging records, in pickle format, to\n a streaming socket. The socket is kept open across logging calls.\n If the peer resets it, an attempt is made to reconnect on the next call.\n The pickle which is sent is that of the LogRecord's attribute dictionary\n (__dict__), so that the receiver does not need to have the logging module\n installed in order to process the logging event.\n To unpickle the record at the receiving end into a LogRecord, use the\n makeLogRecord function.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "documentation": {} }, { "label": "DatagramHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "peekOfCode": "class DatagramHandler(SocketHandler):\n \"\"\"\n A handler class which writes logging records, in pickle format, to\n a datagram socket. The pickle which is sent is that of the LogRecord's\n attribute dictionary (__dict__), so that the receiver does not need to\n have the logging module installed in order to process the logging event.\n To unpickle the record at the receiving end into a LogRecord, use the\n makeLogRecord function.\n \"\"\"\n def __init__(self, host, port):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "documentation": {} }, { "label": "SysLogHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "peekOfCode": "class SysLogHandler(logging.Handler):\n \"\"\"\n A handler class which sends formatted logging records to a syslog\n server. Based on Sam Rushing's syslog module:\n http://www.nightmare.com/squirl/python-ext/misc/syslog.py\n Contributed by Nicolas Untz (after which minor refactoring changes\n have been made).\n \"\"\"\n # from :\n # ======================================================================", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "documentation": {} }, { "label": "SMTPHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "peekOfCode": "class SMTPHandler(logging.Handler):\n \"\"\"\n A handler class which sends an SMTP email for each logging event.\n \"\"\"\n def __init__(self, mailhost, fromaddr, toaddrs, subject,\n credentials=None, secure=None, timeout=5.0):\n \"\"\"\n Initialize the handler.\n Initialize the instance with the from and to addresses and subject\n line of the email. To specify a non-standard SMTP port, use the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "documentation": {} }, { "label": "NTEventLogHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "peekOfCode": "class NTEventLogHandler(logging.Handler):\n \"\"\"\n A handler class which sends events to the NT Event Log. Adds a\n registry entry for the specified application name. If no dllname is\n provided, win32service.pyd (which contains some basic message\n placeholders) is used. Note that use of these placeholders will make\n your event logs big, as the entire message source is held in the log.\n If you want slimmer logs, you have to pass in the name of your own DLL\n which contains the message definitions you want to use in the event log.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "documentation": {} }, { "label": "HTTPHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "peekOfCode": "class HTTPHandler(logging.Handler):\n \"\"\"\n A class which sends records to a web server, using either GET or\n POST semantics.\n \"\"\"\n def __init__(self, host, url, method=\"GET\", secure=False, credentials=None,\n context=None):\n \"\"\"\n Initialize the instance with the host, the request URL, and the method\n (\"GET\" or \"POST\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "documentation": {} }, { "label": "BufferingHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "peekOfCode": "class BufferingHandler(logging.Handler):\n \"\"\"\n A handler class which buffers logging records in memory. Whenever each\n record is added to the buffer, a check is made to see if the buffer should\n be flushed. If it should, then flush() is expected to do what's needed.\n \"\"\"\n def __init__(self, capacity):\n \"\"\"\n Initialize the handler with the buffer size.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "documentation": {} }, { "label": "MemoryHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "peekOfCode": "class MemoryHandler(BufferingHandler):\n \"\"\"\n A handler class which buffers logging records in memory, periodically\n flushing them to a target handler. Flushing occurs whenever the buffer\n is full, or when an event of a certain severity or greater is seen.\n \"\"\"\n def __init__(self, capacity, flushLevel=logging.ERROR, target=None,\n flushOnClose=True):\n \"\"\"\n Initialize the handler with the buffer size, the level at which", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "documentation": {} }, { "label": "QueueHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "peekOfCode": "class QueueHandler(logging.Handler):\n \"\"\"\n This handler sends events to a queue. Typically, it would be used together\n with a multiprocessing Queue to centralise logging to file in one process\n (in a multi-process application), so as to avoid file write contention\n between processes.\n This code is new in Python 3.2, but this class can be copy pasted into\n user code for use with earlier Python versions.\n \"\"\"\n def __init__(self, queue):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "documentation": {} }, { "label": "QueueListener", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "peekOfCode": "class QueueListener(object):\n \"\"\"\n This class implements an internal threaded listener which watches for\n LogRecords being added to a queue, removes them and passes them to a\n list of handlers for processing.\n \"\"\"\n _sentinel = None\n def __init__(self, queue, *handlers, respect_handler_level=False):\n \"\"\"\n Initialise an instance with the specified queue and", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "documentation": {} }, { "label": "_MIDNIGHT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "peekOfCode": "_MIDNIGHT = 24 * 60 * 60 # number of seconds in a day\nclass BaseRotatingHandler(logging.FileHandler):\n \"\"\"\n Base class for handlers that rotate log files at a certain point.\n Not meant to be instantiated directly. Instead, use RotatingFileHandler\n or TimedRotatingFileHandler.\n \"\"\"\n namer = None\n rotator = None\n def __init__(self, filename, mode, encoding=None, delay=False, errors=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.logging.handlers", "documentation": {} }, { "label": "_Validation", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "_Validation = Table('_Validation')\n_Validation.add_field(1,'Table',11552)\n_Validation.add_field(2,'Column',11552)\n_Validation.add_field(3,'Nullable',3332)\n_Validation.add_field(4,'MinValue',4356)\n_Validation.add_field(5,'MaxValue',4356)\n_Validation.add_field(6,'KeyTable',7679)\n_Validation.add_field(7,'KeyColumn',5378)\n_Validation.add_field(8,'Category',7456)\n_Validation.add_field(9,'Set',7679)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "ActionText", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "ActionText = Table('ActionText')\nActionText.add_field(1,'Action',11592)\nActionText.add_field(2,'Description',7936)\nActionText.add_field(3,'Template',7936)\nAdminExecuteSequence = Table('AdminExecuteSequence')\nAdminExecuteSequence.add_field(1,'Action',11592)\nAdminExecuteSequence.add_field(2,'Condition',7679)\nAdminExecuteSequence.add_field(3,'Sequence',5378)\nCondition = Table('Condition')\nCondition.add_field(1,'Feature_',11558)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "AdminExecuteSequence", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "AdminExecuteSequence = Table('AdminExecuteSequence')\nAdminExecuteSequence.add_field(1,'Action',11592)\nAdminExecuteSequence.add_field(2,'Condition',7679)\nAdminExecuteSequence.add_field(3,'Sequence',5378)\nCondition = Table('Condition')\nCondition.add_field(1,'Feature_',11558)\nCondition.add_field(2,'Level',9474)\nCondition.add_field(3,'Condition',7679)\nAdminUISequence = Table('AdminUISequence')\nAdminUISequence.add_field(1,'Action',11592)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Condition", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Condition = Table('Condition')\nCondition.add_field(1,'Feature_',11558)\nCondition.add_field(2,'Level',9474)\nCondition.add_field(3,'Condition',7679)\nAdminUISequence = Table('AdminUISequence')\nAdminUISequence.add_field(1,'Action',11592)\nAdminUISequence.add_field(2,'Condition',7679)\nAdminUISequence.add_field(3,'Sequence',5378)\nAdvtExecuteSequence = Table('AdvtExecuteSequence')\nAdvtExecuteSequence.add_field(1,'Action',11592)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "AdminUISequence", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "AdminUISequence = Table('AdminUISequence')\nAdminUISequence.add_field(1,'Action',11592)\nAdminUISequence.add_field(2,'Condition',7679)\nAdminUISequence.add_field(3,'Sequence',5378)\nAdvtExecuteSequence = Table('AdvtExecuteSequence')\nAdvtExecuteSequence.add_field(1,'Action',11592)\nAdvtExecuteSequence.add_field(2,'Condition',7679)\nAdvtExecuteSequence.add_field(3,'Sequence',5378)\nAdvtUISequence = Table('AdvtUISequence')\nAdvtUISequence.add_field(1,'Action',11592)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "AdvtExecuteSequence", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "AdvtExecuteSequence = Table('AdvtExecuteSequence')\nAdvtExecuteSequence.add_field(1,'Action',11592)\nAdvtExecuteSequence.add_field(2,'Condition',7679)\nAdvtExecuteSequence.add_field(3,'Sequence',5378)\nAdvtUISequence = Table('AdvtUISequence')\nAdvtUISequence.add_field(1,'Action',11592)\nAdvtUISequence.add_field(2,'Condition',7679)\nAdvtUISequence.add_field(3,'Sequence',5378)\nAppId = Table('AppId')\nAppId.add_field(1,'AppId',11558)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "AdvtUISequence", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "AdvtUISequence = Table('AdvtUISequence')\nAdvtUISequence.add_field(1,'Action',11592)\nAdvtUISequence.add_field(2,'Condition',7679)\nAdvtUISequence.add_field(3,'Sequence',5378)\nAppId = Table('AppId')\nAppId.add_field(1,'AppId',11558)\nAppId.add_field(2,'RemoteServerName',7679)\nAppId.add_field(3,'LocalService',7679)\nAppId.add_field(4,'ServiceParameters',7679)\nAppId.add_field(5,'DllSurrogate',7679)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "AppId", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "AppId = Table('AppId')\nAppId.add_field(1,'AppId',11558)\nAppId.add_field(2,'RemoteServerName',7679)\nAppId.add_field(3,'LocalService',7679)\nAppId.add_field(4,'ServiceParameters',7679)\nAppId.add_field(5,'DllSurrogate',7679)\nAppId.add_field(6,'ActivateAtStorage',5378)\nAppId.add_field(7,'RunAsInteractiveUser',5378)\nAppSearch = Table('AppSearch')\nAppSearch.add_field(1,'Property',11592)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "AppSearch", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "AppSearch = Table('AppSearch')\nAppSearch.add_field(1,'Property',11592)\nAppSearch.add_field(2,'Signature_',11592)\nProperty = Table('Property')\nProperty.add_field(1,'Property',11592)\nProperty.add_field(2,'Value',3840)\nBBControl = Table('BBControl')\nBBControl.add_field(1,'Billboard_',11570)\nBBControl.add_field(2,'BBControl',11570)\nBBControl.add_field(3,'Type',3378)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Property", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Property = Table('Property')\nProperty.add_field(1,'Property',11592)\nProperty.add_field(2,'Value',3840)\nBBControl = Table('BBControl')\nBBControl.add_field(1,'Billboard_',11570)\nBBControl.add_field(2,'BBControl',11570)\nBBControl.add_field(3,'Type',3378)\nBBControl.add_field(4,'X',1282)\nBBControl.add_field(5,'Y',1282)\nBBControl.add_field(6,'Width',1282)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "BBControl", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "BBControl = Table('BBControl')\nBBControl.add_field(1,'Billboard_',11570)\nBBControl.add_field(2,'BBControl',11570)\nBBControl.add_field(3,'Type',3378)\nBBControl.add_field(4,'X',1282)\nBBControl.add_field(5,'Y',1282)\nBBControl.add_field(6,'Width',1282)\nBBControl.add_field(7,'Height',1282)\nBBControl.add_field(8,'Attributes',4356)\nBBControl.add_field(9,'Text',7986)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Billboard", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Billboard = Table('Billboard')\nBillboard.add_field(1,'Billboard',11570)\nBillboard.add_field(2,'Feature_',3366)\nBillboard.add_field(3,'Action',7474)\nBillboard.add_field(4,'Ordering',5378)\nFeature = Table('Feature')\nFeature.add_field(1,'Feature',11558)\nFeature.add_field(2,'Feature_Parent',7462)\nFeature.add_field(3,'Title',8000)\nFeature.add_field(4,'Description',8191)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Feature", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Feature = Table('Feature')\nFeature.add_field(1,'Feature',11558)\nFeature.add_field(2,'Feature_Parent',7462)\nFeature.add_field(3,'Title',8000)\nFeature.add_field(4,'Description',8191)\nFeature.add_field(5,'Display',5378)\nFeature.add_field(6,'Level',1282)\nFeature.add_field(7,'Directory_',7496)\nFeature.add_field(8,'Attributes',1282)\nBinary = Table('Binary')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Binary", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Binary = Table('Binary')\nBinary.add_field(1,'Name',11592)\nBinary.add_field(2,'Data',2304)\nBindImage = Table('BindImage')\nBindImage.add_field(1,'File_',11592)\nBindImage.add_field(2,'Path',7679)\nFile = Table('File')\nFile.add_field(1,'File',11592)\nFile.add_field(2,'Component_',3400)\nFile.add_field(3,'FileName',4095)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "BindImage", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "BindImage = Table('BindImage')\nBindImage.add_field(1,'File_',11592)\nBindImage.add_field(2,'Path',7679)\nFile = Table('File')\nFile.add_field(1,'File',11592)\nFile.add_field(2,'Component_',3400)\nFile.add_field(3,'FileName',4095)\nFile.add_field(4,'FileSize',260)\nFile.add_field(5,'Version',7496)\nFile.add_field(6,'Language',7444)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "File", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "File = Table('File')\nFile.add_field(1,'File',11592)\nFile.add_field(2,'Component_',3400)\nFile.add_field(3,'FileName',4095)\nFile.add_field(4,'FileSize',260)\nFile.add_field(5,'Version',7496)\nFile.add_field(6,'Language',7444)\nFile.add_field(7,'Attributes',5378)\nFile.add_field(8,'Sequence',1282)\nCCPSearch = Table('CCPSearch')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "CCPSearch", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "CCPSearch = Table('CCPSearch')\nCCPSearch.add_field(1,'Signature_',11592)\nCheckBox = Table('CheckBox')\nCheckBox.add_field(1,'Property',11592)\nCheckBox.add_field(2,'Value',7488)\nClass = Table('Class')\nClass.add_field(1,'CLSID',11558)\nClass.add_field(2,'Context',11552)\nClass.add_field(3,'Component_',11592)\nClass.add_field(4,'ProgId_Default',7679)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "CheckBox", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "CheckBox = Table('CheckBox')\nCheckBox.add_field(1,'Property',11592)\nCheckBox.add_field(2,'Value',7488)\nClass = Table('Class')\nClass.add_field(1,'CLSID',11558)\nClass.add_field(2,'Context',11552)\nClass.add_field(3,'Component_',11592)\nClass.add_field(4,'ProgId_Default',7679)\nClass.add_field(5,'Description',8191)\nClass.add_field(6,'AppId_',7462)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Class", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Class = Table('Class')\nClass.add_field(1,'CLSID',11558)\nClass.add_field(2,'Context',11552)\nClass.add_field(3,'Component_',11592)\nClass.add_field(4,'ProgId_Default',7679)\nClass.add_field(5,'Description',8191)\nClass.add_field(6,'AppId_',7462)\nClass.add_field(7,'FileTypeMask',7679)\nClass.add_field(8,'Icon_',7496)\nClass.add_field(9,'IconIndex',5378)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Component", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Component = Table('Component')\nComponent.add_field(1,'Component',11592)\nComponent.add_field(2,'ComponentId',7462)\nComponent.add_field(3,'Directory_',3400)\nComponent.add_field(4,'Attributes',1282)\nComponent.add_field(5,'Condition',7679)\nComponent.add_field(6,'KeyPath',7496)\nIcon = Table('Icon')\nIcon.add_field(1,'Name',11592)\nIcon.add_field(2,'Data',2304)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Icon", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Icon = Table('Icon')\nIcon.add_field(1,'Name',11592)\nIcon.add_field(2,'Data',2304)\nProgId = Table('ProgId')\nProgId.add_field(1,'ProgId',11775)\nProgId.add_field(2,'ProgId_Parent',7679)\nProgId.add_field(3,'Class_',7462)\nProgId.add_field(4,'Description',8191)\nProgId.add_field(5,'Icon_',7496)\nProgId.add_field(6,'IconIndex',5378)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "ProgId", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "ProgId = Table('ProgId')\nProgId.add_field(1,'ProgId',11775)\nProgId.add_field(2,'ProgId_Parent',7679)\nProgId.add_field(3,'Class_',7462)\nProgId.add_field(4,'Description',8191)\nProgId.add_field(5,'Icon_',7496)\nProgId.add_field(6,'IconIndex',5378)\nComboBox = Table('ComboBox')\nComboBox.add_field(1,'Property',11592)\nComboBox.add_field(2,'Order',9474)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "ComboBox", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "ComboBox = Table('ComboBox')\nComboBox.add_field(1,'Property',11592)\nComboBox.add_field(2,'Order',9474)\nComboBox.add_field(3,'Value',3392)\nComboBox.add_field(4,'Text',8000)\nCompLocator = Table('CompLocator')\nCompLocator.add_field(1,'Signature_',11592)\nCompLocator.add_field(2,'ComponentId',3366)\nCompLocator.add_field(3,'Type',5378)\nComplus = Table('Complus')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "CompLocator", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "CompLocator = Table('CompLocator')\nCompLocator.add_field(1,'Signature_',11592)\nCompLocator.add_field(2,'ComponentId',3366)\nCompLocator.add_field(3,'Type',5378)\nComplus = Table('Complus')\nComplus.add_field(1,'Component_',11592)\nComplus.add_field(2,'ExpType',13570)\nDirectory = Table('Directory')\nDirectory.add_field(1,'Directory',11592)\nDirectory.add_field(2,'Directory_Parent',7496)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Complus", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Complus = Table('Complus')\nComplus.add_field(1,'Component_',11592)\nComplus.add_field(2,'ExpType',13570)\nDirectory = Table('Directory')\nDirectory.add_field(1,'Directory',11592)\nDirectory.add_field(2,'Directory_Parent',7496)\nDirectory.add_field(3,'DefaultDir',4095)\nControl = Table('Control')\nControl.add_field(1,'Dialog_',11592)\nControl.add_field(2,'Control',11570)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Directory", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Directory = Table('Directory')\nDirectory.add_field(1,'Directory',11592)\nDirectory.add_field(2,'Directory_Parent',7496)\nDirectory.add_field(3,'DefaultDir',4095)\nControl = Table('Control')\nControl.add_field(1,'Dialog_',11592)\nControl.add_field(2,'Control',11570)\nControl.add_field(3,'Type',3348)\nControl.add_field(4,'X',1282)\nControl.add_field(5,'Y',1282)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Control", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Control = Table('Control')\nControl.add_field(1,'Dialog_',11592)\nControl.add_field(2,'Control',11570)\nControl.add_field(3,'Type',3348)\nControl.add_field(4,'X',1282)\nControl.add_field(5,'Y',1282)\nControl.add_field(6,'Width',1282)\nControl.add_field(7,'Height',1282)\nControl.add_field(8,'Attributes',4356)\nControl.add_field(9,'Property',7474)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Dialog", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Dialog = Table('Dialog')\nDialog.add_field(1,'Dialog',11592)\nDialog.add_field(2,'HCentering',1282)\nDialog.add_field(3,'VCentering',1282)\nDialog.add_field(4,'Width',1282)\nDialog.add_field(5,'Height',1282)\nDialog.add_field(6,'Attributes',4356)\nDialog.add_field(7,'Title',8064)\nDialog.add_field(8,'Control_First',3378)\nDialog.add_field(9,'Control_Default',7474)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "ControlCondition", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "ControlCondition = Table('ControlCondition')\nControlCondition.add_field(1,'Dialog_',11592)\nControlCondition.add_field(2,'Control_',11570)\nControlCondition.add_field(3,'Action',11570)\nControlCondition.add_field(4,'Condition',11775)\nControlEvent = Table('ControlEvent')\nControlEvent.add_field(1,'Dialog_',11592)\nControlEvent.add_field(2,'Control_',11570)\nControlEvent.add_field(3,'Event',11570)\nControlEvent.add_field(4,'Argument',11775)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "ControlEvent", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "ControlEvent = Table('ControlEvent')\nControlEvent.add_field(1,'Dialog_',11592)\nControlEvent.add_field(2,'Control_',11570)\nControlEvent.add_field(3,'Event',11570)\nControlEvent.add_field(4,'Argument',11775)\nControlEvent.add_field(5,'Condition',15871)\nControlEvent.add_field(6,'Ordering',5378)\nCreateFolder = Table('CreateFolder')\nCreateFolder.add_field(1,'Directory_',11592)\nCreateFolder.add_field(2,'Component_',11592)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "CreateFolder", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "CreateFolder = Table('CreateFolder')\nCreateFolder.add_field(1,'Directory_',11592)\nCreateFolder.add_field(2,'Component_',11592)\nCustomAction = Table('CustomAction')\nCustomAction.add_field(1,'Action',11592)\nCustomAction.add_field(2,'Type',1282)\nCustomAction.add_field(3,'Source',7496)\nCustomAction.add_field(4,'Target',7679)\nDrLocator = Table('DrLocator')\nDrLocator.add_field(1,'Signature_',11592)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "CustomAction", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "CustomAction = Table('CustomAction')\nCustomAction.add_field(1,'Action',11592)\nCustomAction.add_field(2,'Type',1282)\nCustomAction.add_field(3,'Source',7496)\nCustomAction.add_field(4,'Target',7679)\nDrLocator = Table('DrLocator')\nDrLocator.add_field(1,'Signature_',11592)\nDrLocator.add_field(2,'Parent',15688)\nDrLocator.add_field(3,'Path',15871)\nDrLocator.add_field(4,'Depth',5378)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "DrLocator", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "DrLocator = Table('DrLocator')\nDrLocator.add_field(1,'Signature_',11592)\nDrLocator.add_field(2,'Parent',15688)\nDrLocator.add_field(3,'Path',15871)\nDrLocator.add_field(4,'Depth',5378)\nDuplicateFile = Table('DuplicateFile')\nDuplicateFile.add_field(1,'FileKey',11592)\nDuplicateFile.add_field(2,'Component_',3400)\nDuplicateFile.add_field(3,'File_',3400)\nDuplicateFile.add_field(4,'DestName',8191)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "DuplicateFile", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "DuplicateFile = Table('DuplicateFile')\nDuplicateFile.add_field(1,'FileKey',11592)\nDuplicateFile.add_field(2,'Component_',3400)\nDuplicateFile.add_field(3,'File_',3400)\nDuplicateFile.add_field(4,'DestName',8191)\nDuplicateFile.add_field(5,'DestFolder',7496)\nEnvironment = Table('Environment')\nEnvironment.add_field(1,'Environment',11592)\nEnvironment.add_field(2,'Name',4095)\nEnvironment.add_field(3,'Value',8191)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Environment", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Environment = Table('Environment')\nEnvironment.add_field(1,'Environment',11592)\nEnvironment.add_field(2,'Name',4095)\nEnvironment.add_field(3,'Value',8191)\nEnvironment.add_field(4,'Component_',3400)\nError = Table('Error')\nError.add_field(1,'Error',9474)\nError.add_field(2,'Message',7936)\nEventMapping = Table('EventMapping')\nEventMapping.add_field(1,'Dialog_',11592)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Error", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Error = Table('Error')\nError.add_field(1,'Error',9474)\nError.add_field(2,'Message',7936)\nEventMapping = Table('EventMapping')\nEventMapping.add_field(1,'Dialog_',11592)\nEventMapping.add_field(2,'Control_',11570)\nEventMapping.add_field(3,'Event',11570)\nEventMapping.add_field(4,'Attribute',3378)\nExtension = Table('Extension')\nExtension.add_field(1,'Extension',11775)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "EventMapping", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "EventMapping = Table('EventMapping')\nEventMapping.add_field(1,'Dialog_',11592)\nEventMapping.add_field(2,'Control_',11570)\nEventMapping.add_field(3,'Event',11570)\nEventMapping.add_field(4,'Attribute',3378)\nExtension = Table('Extension')\nExtension.add_field(1,'Extension',11775)\nExtension.add_field(2,'Component_',11592)\nExtension.add_field(3,'ProgId_',7679)\nExtension.add_field(4,'MIME_',7488)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Extension", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Extension = Table('Extension')\nExtension.add_field(1,'Extension',11775)\nExtension.add_field(2,'Component_',11592)\nExtension.add_field(3,'ProgId_',7679)\nExtension.add_field(4,'MIME_',7488)\nExtension.add_field(5,'Feature_',3366)\nMIME = Table('MIME')\nMIME.add_field(1,'ContentType',11584)\nMIME.add_field(2,'Extension_',3583)\nMIME.add_field(3,'CLSID',7462)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "MIME", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "MIME = Table('MIME')\nMIME.add_field(1,'ContentType',11584)\nMIME.add_field(2,'Extension_',3583)\nMIME.add_field(3,'CLSID',7462)\nFeatureComponents = Table('FeatureComponents')\nFeatureComponents.add_field(1,'Feature_',11558)\nFeatureComponents.add_field(2,'Component_',11592)\nFileSFPCatalog = Table('FileSFPCatalog')\nFileSFPCatalog.add_field(1,'File_',11592)\nFileSFPCatalog.add_field(2,'SFPCatalog_',11775)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "FeatureComponents", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "FeatureComponents = Table('FeatureComponents')\nFeatureComponents.add_field(1,'Feature_',11558)\nFeatureComponents.add_field(2,'Component_',11592)\nFileSFPCatalog = Table('FileSFPCatalog')\nFileSFPCatalog.add_field(1,'File_',11592)\nFileSFPCatalog.add_field(2,'SFPCatalog_',11775)\nSFPCatalog = Table('SFPCatalog')\nSFPCatalog.add_field(1,'SFPCatalog',11775)\nSFPCatalog.add_field(2,'Catalog',2304)\nSFPCatalog.add_field(3,'Dependency',7424)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "FileSFPCatalog", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "FileSFPCatalog = Table('FileSFPCatalog')\nFileSFPCatalog.add_field(1,'File_',11592)\nFileSFPCatalog.add_field(2,'SFPCatalog_',11775)\nSFPCatalog = Table('SFPCatalog')\nSFPCatalog.add_field(1,'SFPCatalog',11775)\nSFPCatalog.add_field(2,'Catalog',2304)\nSFPCatalog.add_field(3,'Dependency',7424)\nFont = Table('Font')\nFont.add_field(1,'File_',11592)\nFont.add_field(2,'FontTitle',7552)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "SFPCatalog", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "SFPCatalog = Table('SFPCatalog')\nSFPCatalog.add_field(1,'SFPCatalog',11775)\nSFPCatalog.add_field(2,'Catalog',2304)\nSFPCatalog.add_field(3,'Dependency',7424)\nFont = Table('Font')\nFont.add_field(1,'File_',11592)\nFont.add_field(2,'FontTitle',7552)\nIniFile = Table('IniFile')\nIniFile.add_field(1,'IniFile',11592)\nIniFile.add_field(2,'FileName',4095)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Font", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Font = Table('Font')\nFont.add_field(1,'File_',11592)\nFont.add_field(2,'FontTitle',7552)\nIniFile = Table('IniFile')\nIniFile.add_field(1,'IniFile',11592)\nIniFile.add_field(2,'FileName',4095)\nIniFile.add_field(3,'DirProperty',7496)\nIniFile.add_field(4,'Section',3936)\nIniFile.add_field(5,'Key',3968)\nIniFile.add_field(6,'Value',4095)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "IniFile", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "IniFile = Table('IniFile')\nIniFile.add_field(1,'IniFile',11592)\nIniFile.add_field(2,'FileName',4095)\nIniFile.add_field(3,'DirProperty',7496)\nIniFile.add_field(4,'Section',3936)\nIniFile.add_field(5,'Key',3968)\nIniFile.add_field(6,'Value',4095)\nIniFile.add_field(7,'Action',1282)\nIniFile.add_field(8,'Component_',3400)\nIniLocator = Table('IniLocator')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "IniLocator", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "IniLocator = Table('IniLocator')\nIniLocator.add_field(1,'Signature_',11592)\nIniLocator.add_field(2,'FileName',3583)\nIniLocator.add_field(3,'Section',3424)\nIniLocator.add_field(4,'Key',3456)\nIniLocator.add_field(5,'Field',5378)\nIniLocator.add_field(6,'Type',5378)\nInstallExecuteSequence = Table('InstallExecuteSequence')\nInstallExecuteSequence.add_field(1,'Action',11592)\nInstallExecuteSequence.add_field(2,'Condition',7679)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "InstallExecuteSequence", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "InstallExecuteSequence = Table('InstallExecuteSequence')\nInstallExecuteSequence.add_field(1,'Action',11592)\nInstallExecuteSequence.add_field(2,'Condition',7679)\nInstallExecuteSequence.add_field(3,'Sequence',5378)\nInstallUISequence = Table('InstallUISequence')\nInstallUISequence.add_field(1,'Action',11592)\nInstallUISequence.add_field(2,'Condition',7679)\nInstallUISequence.add_field(3,'Sequence',5378)\nIsolatedComponent = Table('IsolatedComponent')\nIsolatedComponent.add_field(1,'Component_Shared',11592)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "InstallUISequence", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "InstallUISequence = Table('InstallUISequence')\nInstallUISequence.add_field(1,'Action',11592)\nInstallUISequence.add_field(2,'Condition',7679)\nInstallUISequence.add_field(3,'Sequence',5378)\nIsolatedComponent = Table('IsolatedComponent')\nIsolatedComponent.add_field(1,'Component_Shared',11592)\nIsolatedComponent.add_field(2,'Component_Application',11592)\nLaunchCondition = Table('LaunchCondition')\nLaunchCondition.add_field(1,'Condition',11775)\nLaunchCondition.add_field(2,'Description',4095)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "IsolatedComponent", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "IsolatedComponent = Table('IsolatedComponent')\nIsolatedComponent.add_field(1,'Component_Shared',11592)\nIsolatedComponent.add_field(2,'Component_Application',11592)\nLaunchCondition = Table('LaunchCondition')\nLaunchCondition.add_field(1,'Condition',11775)\nLaunchCondition.add_field(2,'Description',4095)\nListBox = Table('ListBox')\nListBox.add_field(1,'Property',11592)\nListBox.add_field(2,'Order',9474)\nListBox.add_field(3,'Value',3392)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "LaunchCondition", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "LaunchCondition = Table('LaunchCondition')\nLaunchCondition.add_field(1,'Condition',11775)\nLaunchCondition.add_field(2,'Description',4095)\nListBox = Table('ListBox')\nListBox.add_field(1,'Property',11592)\nListBox.add_field(2,'Order',9474)\nListBox.add_field(3,'Value',3392)\nListBox.add_field(4,'Text',8000)\nListView = Table('ListView')\nListView.add_field(1,'Property',11592)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "ListBox", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "ListBox = Table('ListBox')\nListBox.add_field(1,'Property',11592)\nListBox.add_field(2,'Order',9474)\nListBox.add_field(3,'Value',3392)\nListBox.add_field(4,'Text',8000)\nListView = Table('ListView')\nListView.add_field(1,'Property',11592)\nListView.add_field(2,'Order',9474)\nListView.add_field(3,'Value',3392)\nListView.add_field(4,'Text',8000)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "ListView", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "ListView = Table('ListView')\nListView.add_field(1,'Property',11592)\nListView.add_field(2,'Order',9474)\nListView.add_field(3,'Value',3392)\nListView.add_field(4,'Text',8000)\nListView.add_field(5,'Binary_',7496)\nLockPermissions = Table('LockPermissions')\nLockPermissions.add_field(1,'LockObject',11592)\nLockPermissions.add_field(2,'Table',11552)\nLockPermissions.add_field(3,'Domain',15871)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "LockPermissions", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "LockPermissions = Table('LockPermissions')\nLockPermissions.add_field(1,'LockObject',11592)\nLockPermissions.add_field(2,'Table',11552)\nLockPermissions.add_field(3,'Domain',15871)\nLockPermissions.add_field(4,'User',11775)\nLockPermissions.add_field(5,'Permission',4356)\nMedia = Table('Media')\nMedia.add_field(1,'DiskId',9474)\nMedia.add_field(2,'LastSequence',1282)\nMedia.add_field(3,'DiskPrompt',8000)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Media", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Media = Table('Media')\nMedia.add_field(1,'DiskId',9474)\nMedia.add_field(2,'LastSequence',1282)\nMedia.add_field(3,'DiskPrompt',8000)\nMedia.add_field(4,'Cabinet',7679)\nMedia.add_field(5,'VolumeLabel',7456)\nMedia.add_field(6,'Source',7496)\nMoveFile = Table('MoveFile')\nMoveFile.add_field(1,'FileKey',11592)\nMoveFile.add_field(2,'Component_',3400)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "MoveFile", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "MoveFile = Table('MoveFile')\nMoveFile.add_field(1,'FileKey',11592)\nMoveFile.add_field(2,'Component_',3400)\nMoveFile.add_field(3,'SourceName',8191)\nMoveFile.add_field(4,'DestName',8191)\nMoveFile.add_field(5,'SourceFolder',7496)\nMoveFile.add_field(6,'DestFolder',3400)\nMoveFile.add_field(7,'Options',1282)\nMsiAssembly = Table('MsiAssembly')\nMsiAssembly.add_field(1,'Component_',11592)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "MsiAssembly", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "MsiAssembly = Table('MsiAssembly')\nMsiAssembly.add_field(1,'Component_',11592)\nMsiAssembly.add_field(2,'Feature_',3366)\nMsiAssembly.add_field(3,'File_Manifest',7496)\nMsiAssembly.add_field(4,'File_Application',7496)\nMsiAssembly.add_field(5,'Attributes',5378)\nMsiAssemblyName = Table('MsiAssemblyName')\nMsiAssemblyName.add_field(1,'Component_',11592)\nMsiAssemblyName.add_field(2,'Name',11775)\nMsiAssemblyName.add_field(3,'Value',3583)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "MsiAssemblyName", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "MsiAssemblyName = Table('MsiAssemblyName')\nMsiAssemblyName.add_field(1,'Component_',11592)\nMsiAssemblyName.add_field(2,'Name',11775)\nMsiAssemblyName.add_field(3,'Value',3583)\nMsiDigitalCertificate = Table('MsiDigitalCertificate')\nMsiDigitalCertificate.add_field(1,'DigitalCertificate',11592)\nMsiDigitalCertificate.add_field(2,'CertData',2304)\nMsiDigitalSignature = Table('MsiDigitalSignature')\nMsiDigitalSignature.add_field(1,'Table',11552)\nMsiDigitalSignature.add_field(2,'SignObject',11592)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "MsiDigitalCertificate", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "MsiDigitalCertificate = Table('MsiDigitalCertificate')\nMsiDigitalCertificate.add_field(1,'DigitalCertificate',11592)\nMsiDigitalCertificate.add_field(2,'CertData',2304)\nMsiDigitalSignature = Table('MsiDigitalSignature')\nMsiDigitalSignature.add_field(1,'Table',11552)\nMsiDigitalSignature.add_field(2,'SignObject',11592)\nMsiDigitalSignature.add_field(3,'DigitalCertificate_',3400)\nMsiDigitalSignature.add_field(4,'Hash',6400)\nMsiFileHash = Table('MsiFileHash')\nMsiFileHash.add_field(1,'File_',11592)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "MsiDigitalSignature", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "MsiDigitalSignature = Table('MsiDigitalSignature')\nMsiDigitalSignature.add_field(1,'Table',11552)\nMsiDigitalSignature.add_field(2,'SignObject',11592)\nMsiDigitalSignature.add_field(3,'DigitalCertificate_',3400)\nMsiDigitalSignature.add_field(4,'Hash',6400)\nMsiFileHash = Table('MsiFileHash')\nMsiFileHash.add_field(1,'File_',11592)\nMsiFileHash.add_field(2,'Options',1282)\nMsiFileHash.add_field(3,'HashPart1',260)\nMsiFileHash.add_field(4,'HashPart2',260)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "MsiFileHash", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "MsiFileHash = Table('MsiFileHash')\nMsiFileHash.add_field(1,'File_',11592)\nMsiFileHash.add_field(2,'Options',1282)\nMsiFileHash.add_field(3,'HashPart1',260)\nMsiFileHash.add_field(4,'HashPart2',260)\nMsiFileHash.add_field(5,'HashPart3',260)\nMsiFileHash.add_field(6,'HashPart4',260)\nMsiPatchHeaders = Table('MsiPatchHeaders')\nMsiPatchHeaders.add_field(1,'StreamRef',11558)\nMsiPatchHeaders.add_field(2,'Header',2304)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "MsiPatchHeaders", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "MsiPatchHeaders = Table('MsiPatchHeaders')\nMsiPatchHeaders.add_field(1,'StreamRef',11558)\nMsiPatchHeaders.add_field(2,'Header',2304)\nODBCAttribute = Table('ODBCAttribute')\nODBCAttribute.add_field(1,'Driver_',11592)\nODBCAttribute.add_field(2,'Attribute',11560)\nODBCAttribute.add_field(3,'Value',8191)\nODBCDriver = Table('ODBCDriver')\nODBCDriver.add_field(1,'Driver',11592)\nODBCDriver.add_field(2,'Component_',3400)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "ODBCAttribute", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "ODBCAttribute = Table('ODBCAttribute')\nODBCAttribute.add_field(1,'Driver_',11592)\nODBCAttribute.add_field(2,'Attribute',11560)\nODBCAttribute.add_field(3,'Value',8191)\nODBCDriver = Table('ODBCDriver')\nODBCDriver.add_field(1,'Driver',11592)\nODBCDriver.add_field(2,'Component_',3400)\nODBCDriver.add_field(3,'Description',3583)\nODBCDriver.add_field(4,'File_',3400)\nODBCDriver.add_field(5,'File_Setup',7496)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "ODBCDriver", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "ODBCDriver = Table('ODBCDriver')\nODBCDriver.add_field(1,'Driver',11592)\nODBCDriver.add_field(2,'Component_',3400)\nODBCDriver.add_field(3,'Description',3583)\nODBCDriver.add_field(4,'File_',3400)\nODBCDriver.add_field(5,'File_Setup',7496)\nODBCDataSource = Table('ODBCDataSource')\nODBCDataSource.add_field(1,'DataSource',11592)\nODBCDataSource.add_field(2,'Component_',3400)\nODBCDataSource.add_field(3,'Description',3583)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "ODBCDataSource", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "ODBCDataSource = Table('ODBCDataSource')\nODBCDataSource.add_field(1,'DataSource',11592)\nODBCDataSource.add_field(2,'Component_',3400)\nODBCDataSource.add_field(3,'Description',3583)\nODBCDataSource.add_field(4,'DriverDescription',3583)\nODBCDataSource.add_field(5,'Registration',1282)\nODBCSourceAttribute = Table('ODBCSourceAttribute')\nODBCSourceAttribute.add_field(1,'DataSource_',11592)\nODBCSourceAttribute.add_field(2,'Attribute',11552)\nODBCSourceAttribute.add_field(3,'Value',8191)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "ODBCSourceAttribute", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "ODBCSourceAttribute = Table('ODBCSourceAttribute')\nODBCSourceAttribute.add_field(1,'DataSource_',11592)\nODBCSourceAttribute.add_field(2,'Attribute',11552)\nODBCSourceAttribute.add_field(3,'Value',8191)\nODBCTranslator = Table('ODBCTranslator')\nODBCTranslator.add_field(1,'Translator',11592)\nODBCTranslator.add_field(2,'Component_',3400)\nODBCTranslator.add_field(3,'Description',3583)\nODBCTranslator.add_field(4,'File_',3400)\nODBCTranslator.add_field(5,'File_Setup',7496)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "ODBCTranslator", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "ODBCTranslator = Table('ODBCTranslator')\nODBCTranslator.add_field(1,'Translator',11592)\nODBCTranslator.add_field(2,'Component_',3400)\nODBCTranslator.add_field(3,'Description',3583)\nODBCTranslator.add_field(4,'File_',3400)\nODBCTranslator.add_field(5,'File_Setup',7496)\nPatch = Table('Patch')\nPatch.add_field(1,'File_',11592)\nPatch.add_field(2,'Sequence',9474)\nPatch.add_field(3,'PatchSize',260)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Patch", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Patch = Table('Patch')\nPatch.add_field(1,'File_',11592)\nPatch.add_field(2,'Sequence',9474)\nPatch.add_field(3,'PatchSize',260)\nPatch.add_field(4,'Attributes',1282)\nPatch.add_field(5,'Header',6400)\nPatch.add_field(6,'StreamRef_',7462)\nPatchPackage = Table('PatchPackage')\nPatchPackage.add_field(1,'PatchId',11558)\nPatchPackage.add_field(2,'Media_',1282)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "PatchPackage", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "PatchPackage = Table('PatchPackage')\nPatchPackage.add_field(1,'PatchId',11558)\nPatchPackage.add_field(2,'Media_',1282)\nPublishComponent = Table('PublishComponent')\nPublishComponent.add_field(1,'ComponentId',11558)\nPublishComponent.add_field(2,'Qualifier',11775)\nPublishComponent.add_field(3,'Component_',11592)\nPublishComponent.add_field(4,'AppData',8191)\nPublishComponent.add_field(5,'Feature_',3366)\nRadioButton = Table('RadioButton')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "PublishComponent", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "PublishComponent = Table('PublishComponent')\nPublishComponent.add_field(1,'ComponentId',11558)\nPublishComponent.add_field(2,'Qualifier',11775)\nPublishComponent.add_field(3,'Component_',11592)\nPublishComponent.add_field(4,'AppData',8191)\nPublishComponent.add_field(5,'Feature_',3366)\nRadioButton = Table('RadioButton')\nRadioButton.add_field(1,'Property',11592)\nRadioButton.add_field(2,'Order',9474)\nRadioButton.add_field(3,'Value',3392)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "RadioButton", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "RadioButton = Table('RadioButton')\nRadioButton.add_field(1,'Property',11592)\nRadioButton.add_field(2,'Order',9474)\nRadioButton.add_field(3,'Value',3392)\nRadioButton.add_field(4,'X',1282)\nRadioButton.add_field(5,'Y',1282)\nRadioButton.add_field(6,'Width',1282)\nRadioButton.add_field(7,'Height',1282)\nRadioButton.add_field(8,'Text',8000)\nRadioButton.add_field(9,'Help',7986)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Registry", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Registry = Table('Registry')\nRegistry.add_field(1,'Registry',11592)\nRegistry.add_field(2,'Root',1282)\nRegistry.add_field(3,'Key',4095)\nRegistry.add_field(4,'Name',8191)\nRegistry.add_field(5,'Value',7936)\nRegistry.add_field(6,'Component_',3400)\nRegLocator = Table('RegLocator')\nRegLocator.add_field(1,'Signature_',11592)\nRegLocator.add_field(2,'Root',1282)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "RegLocator", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "RegLocator = Table('RegLocator')\nRegLocator.add_field(1,'Signature_',11592)\nRegLocator.add_field(2,'Root',1282)\nRegLocator.add_field(3,'Key',3583)\nRegLocator.add_field(4,'Name',7679)\nRegLocator.add_field(5,'Type',5378)\nRemoveFile = Table('RemoveFile')\nRemoveFile.add_field(1,'FileKey',11592)\nRemoveFile.add_field(2,'Component_',3400)\nRemoveFile.add_field(3,'FileName',8191)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "RemoveFile", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "RemoveFile = Table('RemoveFile')\nRemoveFile.add_field(1,'FileKey',11592)\nRemoveFile.add_field(2,'Component_',3400)\nRemoveFile.add_field(3,'FileName',8191)\nRemoveFile.add_field(4,'DirProperty',3400)\nRemoveFile.add_field(5,'InstallMode',1282)\nRemoveIniFile = Table('RemoveIniFile')\nRemoveIniFile.add_field(1,'RemoveIniFile',11592)\nRemoveIniFile.add_field(2,'FileName',4095)\nRemoveIniFile.add_field(3,'DirProperty',7496)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "RemoveIniFile", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "RemoveIniFile = Table('RemoveIniFile')\nRemoveIniFile.add_field(1,'RemoveIniFile',11592)\nRemoveIniFile.add_field(2,'FileName',4095)\nRemoveIniFile.add_field(3,'DirProperty',7496)\nRemoveIniFile.add_field(4,'Section',3936)\nRemoveIniFile.add_field(5,'Key',3968)\nRemoveIniFile.add_field(6,'Value',8191)\nRemoveIniFile.add_field(7,'Action',1282)\nRemoveIniFile.add_field(8,'Component_',3400)\nRemoveRegistry = Table('RemoveRegistry')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "RemoveRegistry", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "RemoveRegistry = Table('RemoveRegistry')\nRemoveRegistry.add_field(1,'RemoveRegistry',11592)\nRemoveRegistry.add_field(2,'Root',1282)\nRemoveRegistry.add_field(3,'Key',4095)\nRemoveRegistry.add_field(4,'Name',8191)\nRemoveRegistry.add_field(5,'Component_',3400)\nReserveCost = Table('ReserveCost')\nReserveCost.add_field(1,'ReserveKey',11592)\nReserveCost.add_field(2,'Component_',3400)\nReserveCost.add_field(3,'ReserveFolder',7496)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "ReserveCost", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "ReserveCost = Table('ReserveCost')\nReserveCost.add_field(1,'ReserveKey',11592)\nReserveCost.add_field(2,'Component_',3400)\nReserveCost.add_field(3,'ReserveFolder',7496)\nReserveCost.add_field(4,'ReserveLocal',260)\nReserveCost.add_field(5,'ReserveSource',260)\nSelfReg = Table('SelfReg')\nSelfReg.add_field(1,'File_',11592)\nSelfReg.add_field(2,'Cost',5378)\nServiceControl = Table('ServiceControl')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "SelfReg", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "SelfReg = Table('SelfReg')\nSelfReg.add_field(1,'File_',11592)\nSelfReg.add_field(2,'Cost',5378)\nServiceControl = Table('ServiceControl')\nServiceControl.add_field(1,'ServiceControl',11592)\nServiceControl.add_field(2,'Name',4095)\nServiceControl.add_field(3,'Event',1282)\nServiceControl.add_field(4,'Arguments',8191)\nServiceControl.add_field(5,'Wait',5378)\nServiceControl.add_field(6,'Component_',3400)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "ServiceControl", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "ServiceControl = Table('ServiceControl')\nServiceControl.add_field(1,'ServiceControl',11592)\nServiceControl.add_field(2,'Name',4095)\nServiceControl.add_field(3,'Event',1282)\nServiceControl.add_field(4,'Arguments',8191)\nServiceControl.add_field(5,'Wait',5378)\nServiceControl.add_field(6,'Component_',3400)\nServiceInstall = Table('ServiceInstall')\nServiceInstall.add_field(1,'ServiceInstall',11592)\nServiceInstall.add_field(2,'Name',3583)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "ServiceInstall", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "ServiceInstall = Table('ServiceInstall')\nServiceInstall.add_field(1,'ServiceInstall',11592)\nServiceInstall.add_field(2,'Name',3583)\nServiceInstall.add_field(3,'DisplayName',8191)\nServiceInstall.add_field(4,'ServiceType',260)\nServiceInstall.add_field(5,'StartType',260)\nServiceInstall.add_field(6,'ErrorControl',260)\nServiceInstall.add_field(7,'LoadOrderGroup',7679)\nServiceInstall.add_field(8,'Dependencies',7679)\nServiceInstall.add_field(9,'StartName',7679)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Shortcut", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Shortcut = Table('Shortcut')\nShortcut.add_field(1,'Shortcut',11592)\nShortcut.add_field(2,'Directory_',3400)\nShortcut.add_field(3,'Name',3968)\nShortcut.add_field(4,'Component_',3400)\nShortcut.add_field(5,'Target',3400)\nShortcut.add_field(6,'Arguments',7679)\nShortcut.add_field(7,'Description',8191)\nShortcut.add_field(8,'Hotkey',5378)\nShortcut.add_field(9,'Icon_',7496)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Signature", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Signature = Table('Signature')\nSignature.add_field(1,'Signature',11592)\nSignature.add_field(2,'FileName',3583)\nSignature.add_field(3,'MinVersion',7444)\nSignature.add_field(4,'MaxVersion',7444)\nSignature.add_field(5,'MinSize',4356)\nSignature.add_field(6,'MaxSize',4356)\nSignature.add_field(7,'MinDate',4356)\nSignature.add_field(8,'MaxDate',4356)\nSignature.add_field(9,'Languages',7679)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "TextStyle", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "TextStyle = Table('TextStyle')\nTextStyle.add_field(1,'TextStyle',11592)\nTextStyle.add_field(2,'FaceName',3360)\nTextStyle.add_field(3,'Size',1282)\nTextStyle.add_field(4,'Color',4356)\nTextStyle.add_field(5,'StyleBits',5378)\nTypeLib = Table('TypeLib')\nTypeLib.add_field(1,'LibID',11558)\nTypeLib.add_field(2,'Language',9474)\nTypeLib.add_field(3,'Component_',11592)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "TypeLib", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "TypeLib = Table('TypeLib')\nTypeLib.add_field(1,'LibID',11558)\nTypeLib.add_field(2,'Language',9474)\nTypeLib.add_field(3,'Component_',11592)\nTypeLib.add_field(4,'Version',4356)\nTypeLib.add_field(5,'Description',8064)\nTypeLib.add_field(6,'Directory_',7496)\nTypeLib.add_field(7,'Feature_',3366)\nTypeLib.add_field(8,'Cost',4356)\nUIText = Table('UIText')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "UIText", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "UIText = Table('UIText')\nUIText.add_field(1,'Key',11592)\nUIText.add_field(2,'Text',8191)\nUpgrade = Table('Upgrade')\nUpgrade.add_field(1,'UpgradeCode',11558)\nUpgrade.add_field(2,'VersionMin',15636)\nUpgrade.add_field(3,'VersionMax',15636)\nUpgrade.add_field(4,'Language',15871)\nUpgrade.add_field(5,'Attributes',8452)\nUpgrade.add_field(6,'Remove',7679)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Upgrade", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Upgrade = Table('Upgrade')\nUpgrade.add_field(1,'UpgradeCode',11558)\nUpgrade.add_field(2,'VersionMin',15636)\nUpgrade.add_field(3,'VersionMax',15636)\nUpgrade.add_field(4,'Language',15871)\nUpgrade.add_field(5,'Attributes',8452)\nUpgrade.add_field(6,'Remove',7679)\nUpgrade.add_field(7,'ActionProperty',3400)\nVerb = Table('Verb')\nVerb.add_field(1,'Extension_',11775)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "Verb", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "Verb = Table('Verb')\nVerb.add_field(1,'Extension_',11775)\nVerb.add_field(2,'Verb',11552)\nVerb.add_field(3,'Sequence',5378)\nVerb.add_field(4,'Command',8191)\nVerb.add_field(5,'Argument',8191)\ntables=[_Validation, ActionText, AdminExecuteSequence, Condition, AdminUISequence, AdvtExecuteSequence, AdvtUISequence, AppId, AppSearch, Property, BBControl, Billboard, Feature, Binary, BindImage, File, CCPSearch, CheckBox, Class, Component, Icon, ProgId, ComboBox, CompLocator, Complus, Directory, Control, Dialog, ControlCondition, ControlEvent, CreateFolder, CustomAction, DrLocator, DuplicateFile, Environment, Error, EventMapping, Extension, MIME, FeatureComponents, FileSFPCatalog, SFPCatalog, Font, IniFile, IniLocator, InstallExecuteSequence, InstallUISequence, IsolatedComponent, LaunchCondition, ListBox, ListView, LockPermissions, Media, MoveFile, MsiAssembly, MsiAssemblyName, MsiDigitalCertificate, MsiDigitalSignature, MsiFileHash, MsiPatchHeaders, ODBCAttribute, ODBCDriver, ODBCDataSource, ODBCSourceAttribute, ODBCTranslator, Patch, PatchPackage, PublishComponent, RadioButton, Registry, RegLocator, RemoveFile, RemoveIniFile, RemoveRegistry, ReserveCost, SelfReg, ServiceControl, ServiceInstall, Shortcut, Signature, TextStyle, TypeLib, UIText, Upgrade, Verb]\n_Validation_records = [\n('_Validation','Table','N',None, None, None, None, 'Identifier',None, 'Name of table',),\n('_Validation','Column','N',None, None, None, None, 'Identifier',None, 'Name of column',),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "_Validation_records", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "peekOfCode": "_Validation_records = [\n('_Validation','Table','N',None, None, None, None, 'Identifier',None, 'Name of table',),\n('_Validation','Column','N',None, None, None, None, 'Identifier',None, 'Name of column',),\n('_Validation','Description','Y',None, None, None, None, 'Text',None, 'Description of column',),\n('_Validation','Set','Y',None, None, None, None, 'Text',None, 'Set of values that are permitted',),\n('_Validation','Category','Y',None, None, None, None, None, 'Text;Formatted;Template;Condition;Guid;Path;Version;Language;Identifier;Binary;UpperCase;LowerCase;Filename;Paths;AnyPath;WildCardFilename;RegPath;KeyFormatted;CustomSource;Property;Cabinet;Shortcut;URL','String category',),\n('_Validation','KeyColumn','Y',1,32,None, None, None, None, 'Column to which foreign key connects',),\n('_Validation','KeyTable','Y',None, None, None, None, 'Identifier',None, 'For foreign key, Name of table to which data must link',),\n('_Validation','MaxValue','Y',-2147483647,2147483647,None, None, None, None, 'Maximum value allowed',),\n('_Validation','MinValue','Y',-2147483647,2147483647,None, None, None, None, 'Minimum value allowed',),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.schema", "documentation": {} }, { "label": "AdminExecuteSequence", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.sequence", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.sequence", "peekOfCode": "AdminExecuteSequence = [\n('InstallInitialize', None, 1500),\n('InstallFinalize', None, 6600),\n('InstallFiles', None, 4000),\n('InstallAdminPackage', None, 3900),\n('FileCost', None, 900),\n('CostInitialize', None, 800),\n('CostFinalize', None, 1000),\n('InstallValidate', None, 1400),\n]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.sequence", "documentation": {} }, { "label": "AdminUISequence", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.sequence", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.sequence", "peekOfCode": "AdminUISequence = [\n('FileCost', None, 900),\n('CostInitialize', None, 800),\n('CostFinalize', None, 1000),\n('ExecuteAction', None, 1300),\n('ExitDialog', None, -1),\n('FatalError', None, -3),\n('UserExit', None, -2),\n]\nAdvtExecuteSequence = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.sequence", "documentation": {} }, { "label": "AdvtExecuteSequence", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.sequence", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.sequence", "peekOfCode": "AdvtExecuteSequence = [\n('InstallInitialize', None, 1500),\n('InstallFinalize', None, 6600),\n('CostInitialize', None, 800),\n('CostFinalize', None, 1000),\n('InstallValidate', None, 1400),\n('CreateShortcuts', None, 4500),\n('MsiPublishAssemblies', None, 6250),\n('PublishComponents', None, 6200),\n('PublishFeatures', None, 6300),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.sequence", "documentation": {} }, { "label": "InstallExecuteSequence", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.sequence", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.sequence", "peekOfCode": "InstallExecuteSequence = [\n('InstallInitialize', None, 1500),\n('InstallFinalize', None, 6600),\n('InstallFiles', None, 4000),\n('FileCost', None, 900),\n('CostInitialize', None, 800),\n('CostFinalize', None, 1000),\n('InstallValidate', None, 1400),\n('CreateShortcuts', None, 4500),\n('MsiPublishAssemblies', None, 6250),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.sequence", "documentation": {} }, { "label": "InstallUISequence", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.sequence", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.sequence", "peekOfCode": "InstallUISequence = [\n('FileCost', None, 900),\n('CostInitialize', None, 800),\n('CostFinalize', None, 1000),\n('ExecuteAction', None, 1300),\n('ExitDialog', None, -1),\n('FatalError', None, -3),\n('UserExit', None, -2),\n('AppSearch', None, 400),\n('CCPSearch', 'NOT Installed', 500),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.sequence", "documentation": {} }, { "label": "ActionText", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.text", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.text", "peekOfCode": "ActionText = [\n('InstallValidate', 'Validating install', None),\n('InstallFiles', 'Copying new files', 'File: [1], Directory: [9], Size: [6]'),\n('InstallAdminPackage', 'Copying network install files', 'File: [1], Directory: [9], Size: [6]'),\n('FileCost', 'Computing space requirements', None),\n('CostInitialize', 'Computing space requirements', None),\n('CostFinalize', 'Computing space requirements', None),\n('CreateShortcuts', 'Creating shortcuts', 'Shortcut: [1]'),\n('PublishComponents', 'Publishing Qualified Components', 'Component ID: [1], Qualifier: [2]'),\n('PublishFeatures', 'Publishing Product Features', 'Feature: [1]'),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.text", "documentation": {} }, { "label": "UIText", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.text", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.text", "peekOfCode": "UIText = [\n('AbsentPath', None),\n('bytes', 'bytes'),\n('GB', 'GB'),\n('KB', 'KB'),\n('MB', 'MB'),\n('MenuAbsent', 'Entire feature will be unavailable'),\n('MenuAdvertise', 'Feature will be installed when required'),\n('MenuAllCD', 'Entire feature will be installed to run from CD'),\n('MenuAllLocal', 'Entire feature will be installed on local hard drive'),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.msilib.text", "documentation": {} }, { "label": "Listener", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.dummy.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.dummy.connection", "peekOfCode": "class Listener(object):\n def __init__(self, address=None, family=None, backlog=1):\n self._backlog_queue = Queue(backlog)\n def accept(self):\n return Connection(*self._backlog_queue.get())\n def close(self):\n self._backlog_queue = None\n @property\n def address(self):\n return self._backlog_queue", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.dummy.connection", "documentation": {} }, { "label": "Connection", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.dummy.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.dummy.connection", "peekOfCode": "class Connection(object):\n def __init__(self, _in, _out):\n self._out = _out\n self._in = _in\n self.send = self.send_bytes = _out.put\n self.recv = self.recv_bytes = _in.get\n def poll(self, timeout=0.0):\n if self._in.qsize() > 0:\n return True\n if timeout <= 0.0:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.dummy.connection", "documentation": {} }, { "label": "Client", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.dummy.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.dummy.connection", "peekOfCode": "def Client(address):\n _in, _out = Queue(), Queue()\n address.put((_out, _in))\n return Connection(_in, _out)\ndef Pipe(duplex=True):\n a, b = Queue(), Queue()\n return Connection(a, b), Connection(b, a)\nclass Connection(object):\n def __init__(self, _in, _out):\n self._out = _out", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.dummy.connection", "documentation": {} }, { "label": "Pipe", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.dummy.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.dummy.connection", "peekOfCode": "def Pipe(duplex=True):\n a, b = Queue(), Queue()\n return Connection(a, b), Connection(b, a)\nclass Connection(object):\n def __init__(self, _in, _out):\n self._out = _out\n self._in = _in\n self.send = self.send_bytes = _out.put\n self.recv = self.recv_bytes = _in.get\n def poll(self, timeout=0.0):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.dummy.connection", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.dummy.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.dummy.connection", "peekOfCode": "__all__ = [ 'Client', 'Listener', 'Pipe' ]\nfrom queue import Queue\nfamilies = [None]\nclass Listener(object):\n def __init__(self, address=None, family=None, backlog=1):\n self._backlog_queue = Queue(backlog)\n def accept(self):\n return Connection(*self._backlog_queue.get())\n def close(self):\n self._backlog_queue = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.dummy.connection", "documentation": {} }, { "label": "families", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.dummy.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.dummy.connection", "peekOfCode": "families = [None]\nclass Listener(object):\n def __init__(self, address=None, family=None, backlog=1):\n self._backlog_queue = Queue(backlog)\n def accept(self):\n return Connection(*self._backlog_queue.get())\n def close(self):\n self._backlog_queue = None\n @property\n def address(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.dummy.connection", "documentation": {} }, { "label": "_ConnectionBase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "class _ConnectionBase:\n _handle = None\n def __init__(self, handle, readable=True, writable=True):\n handle = handle.__index__()\n if handle < 0:\n raise ValueError(\"invalid handle\")\n if not readable and not writable:\n raise ValueError(\n \"at least one of `readable` and `writable` must be True\")\n self._handle = handle", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "Connection", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "class Connection(_ConnectionBase):\n \"\"\"\n Connection class based on an arbitrary file descriptor (Unix only), or\n a socket handle (Windows).\n \"\"\"\n if _winapi:\n def _close(self, _close=_multiprocessing.closesocket):\n _close(self._handle)\n _write = _multiprocessing.send\n _read = _multiprocessing.recv", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "Listener", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "class Listener(object):\n '''\n Returns a listener object.\n This is a wrapper for a bound socket which is 'listening' for\n connections, or for a Windows named pipe.\n '''\n def __init__(self, address=None, family=None, backlog=1, authkey=None):\n family = family or (address and address_type(address)) \\\n or default_family\n address = address or arbitrary_address(family)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "SocketListener", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "class SocketListener(object):\n '''\n Representation of a socket which is bound to an address and listening\n '''\n def __init__(self, address, family, backlog=1):\n self._socket = socket.socket(getattr(socket, family))\n try:\n # SO_REUSEADDR has different semantics on Windows (issue #2550).\n if os.name == 'posix':\n self._socket.setsockopt(socket.SOL_SOCKET,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "ConnectionWrapper", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "class ConnectionWrapper(object):\n def __init__(self, conn, dumps, loads):\n self._conn = conn\n self._dumps = dumps\n self._loads = loads\n for attr in ('fileno', 'close', 'poll', 'recv_bytes', 'send_bytes'):\n obj = getattr(conn, attr)\n setattr(self, attr, obj)\n def send(self, obj):\n s = self._dumps(obj)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "XmlListener", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "class XmlListener(Listener):\n def accept(self):\n global xmlrpclib\n import xmlrpc.client as xmlrpclib\n obj = Listener.accept(self)\n return ConnectionWrapper(obj, _xml_dumps, _xml_loads)\ndef XmlClient(*args, **kwds):\n global xmlrpclib\n import xmlrpc.client as xmlrpclib\n return ConnectionWrapper(Client(*args, **kwds), _xml_dumps, _xml_loads)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "arbitrary_address", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "def arbitrary_address(family):\n '''\n Return an arbitrary free address for the given family\n '''\n if family == 'AF_INET':\n return ('localhost', 0)\n elif family == 'AF_UNIX':\n # Prefer abstract sockets if possible to avoid problems with the address\n # size. When coding portable applications, some implementations have\n # sun_path as short as 92 bytes in the sockaddr_un struct.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "address_type", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "def address_type(address):\n '''\n Return the types of the address\n This can be 'AF_INET', 'AF_UNIX', or 'AF_PIPE'\n '''\n if type(address) == tuple:\n return 'AF_INET'\n elif type(address) is str and address.startswith('\\\\\\\\'):\n return 'AF_PIPE'\n elif type(address) is str or util.is_abstract_socket_namespace(address):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "Client", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "def Client(address, family=None, authkey=None):\n '''\n Returns a connection to the address of a `Listener`\n '''\n family = family or address_type(address)\n _validate_family(family)\n if family == 'AF_PIPE':\n c = PipeClient(address)\n else:\n c = SocketClient(address)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "SocketClient", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "def SocketClient(address):\n '''\n Return a connection object connected to the socket given by `address`\n '''\n family = address_type(address)\n with socket.socket( getattr(socket, family) ) as s:\n s.setblocking(True)\n s.connect(address)\n return Connection(s.detach())\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "deliver_challenge", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "def deliver_challenge(connection, authkey):\n import hmac\n if not isinstance(authkey, bytes):\n raise ValueError(\n \"Authkey must be bytes, not {0!s}\".format(type(authkey)))\n message = os.urandom(MESSAGE_LENGTH)\n connection.send_bytes(CHALLENGE + message)\n digest = hmac.new(authkey, message, 'md5').digest()\n response = connection.recv_bytes(256) # reject large message\n if response == digest:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "answer_challenge", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "def answer_challenge(connection, authkey):\n import hmac\n if not isinstance(authkey, bytes):\n raise ValueError(\n \"Authkey must be bytes, not {0!s}\".format(type(authkey)))\n message = connection.recv_bytes(256) # reject large message\n assert message[:len(CHALLENGE)] == CHALLENGE, 'message = %r' % message\n message = message[len(CHALLENGE):]\n digest = hmac.new(authkey, message, 'md5').digest()\n connection.send_bytes(digest)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "XmlClient", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "def XmlClient(*args, **kwds):\n global xmlrpclib\n import xmlrpc.client as xmlrpclib\n return ConnectionWrapper(Client(*args, **kwds), _xml_dumps, _xml_loads)\n#\n# Wait\n#\nif sys.platform == 'win32':\n def _exhaustive_wait(handles, timeout):\n # Return ALL handles which are currently signalled. (Only", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "__all__ = [ 'Client', 'Listener', 'Pipe', 'wait' ]\nimport io\nimport os\nimport sys\nimport socket\nimport struct\nimport time\nimport tempfile\nimport itertools\nimport _multiprocessing", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "_ForkingPickler", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "_ForkingPickler = reduction.ForkingPickler\ntry:\n import _winapi\n from _winapi import WAIT_OBJECT_0, WAIT_ABANDONED_0, WAIT_TIMEOUT, INFINITE\nexcept ImportError:\n if sys.platform == 'win32':\n raise\n _winapi = None\n#\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "BUFSIZE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "BUFSIZE = 8192\n# A very generous timeout when it comes to local connections...\nCONNECTION_TIMEOUT = 20.\n_mmap_counter = itertools.count()\ndefault_family = 'AF_INET'\nfamilies = ['AF_INET']\nif hasattr(socket, 'AF_UNIX'):\n default_family = 'AF_UNIX'\n families += ['AF_UNIX']\nif sys.platform == 'win32':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "CONNECTION_TIMEOUT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "CONNECTION_TIMEOUT = 20.\n_mmap_counter = itertools.count()\ndefault_family = 'AF_INET'\nfamilies = ['AF_INET']\nif hasattr(socket, 'AF_UNIX'):\n default_family = 'AF_UNIX'\n families += ['AF_UNIX']\nif sys.platform == 'win32':\n default_family = 'AF_PIPE'\n families += ['AF_PIPE']", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "_mmap_counter", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "_mmap_counter = itertools.count()\ndefault_family = 'AF_INET'\nfamilies = ['AF_INET']\nif hasattr(socket, 'AF_UNIX'):\n default_family = 'AF_UNIX'\n families += ['AF_UNIX']\nif sys.platform == 'win32':\n default_family = 'AF_PIPE'\n families += ['AF_PIPE']\ndef _init_timeout(timeout=CONNECTION_TIMEOUT):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "default_family", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "default_family = 'AF_INET'\nfamilies = ['AF_INET']\nif hasattr(socket, 'AF_UNIX'):\n default_family = 'AF_UNIX'\n families += ['AF_UNIX']\nif sys.platform == 'win32':\n default_family = 'AF_PIPE'\n families += ['AF_PIPE']\ndef _init_timeout(timeout=CONNECTION_TIMEOUT):\n return time.monotonic() + timeout", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "families", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "families = ['AF_INET']\nif hasattr(socket, 'AF_UNIX'):\n default_family = 'AF_UNIX'\n families += ['AF_UNIX']\nif sys.platform == 'win32':\n default_family = 'AF_PIPE'\n families += ['AF_PIPE']\ndef _init_timeout(timeout=CONNECTION_TIMEOUT):\n return time.monotonic() + timeout\ndef _check_timeout(t):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "MESSAGE_LENGTH", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "MESSAGE_LENGTH = 20\nCHALLENGE = b'#CHALLENGE#'\nWELCOME = b'#WELCOME#'\nFAILURE = b'#FAILURE#'\ndef deliver_challenge(connection, authkey):\n import hmac\n if not isinstance(authkey, bytes):\n raise ValueError(\n \"Authkey must be bytes, not {0!s}\".format(type(authkey)))\n message = os.urandom(MESSAGE_LENGTH)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "CHALLENGE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "CHALLENGE = b'#CHALLENGE#'\nWELCOME = b'#WELCOME#'\nFAILURE = b'#FAILURE#'\ndef deliver_challenge(connection, authkey):\n import hmac\n if not isinstance(authkey, bytes):\n raise ValueError(\n \"Authkey must be bytes, not {0!s}\".format(type(authkey)))\n message = os.urandom(MESSAGE_LENGTH)\n connection.send_bytes(CHALLENGE + message)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "WELCOME", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "WELCOME = b'#WELCOME#'\nFAILURE = b'#FAILURE#'\ndef deliver_challenge(connection, authkey):\n import hmac\n if not isinstance(authkey, bytes):\n raise ValueError(\n \"Authkey must be bytes, not {0!s}\".format(type(authkey)))\n message = os.urandom(MESSAGE_LENGTH)\n connection.send_bytes(CHALLENGE + message)\n digest = hmac.new(authkey, message, 'md5').digest()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "FAILURE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "peekOfCode": "FAILURE = b'#FAILURE#'\ndef deliver_challenge(connection, authkey):\n import hmac\n if not isinstance(authkey, bytes):\n raise ValueError(\n \"Authkey must be bytes, not {0!s}\".format(type(authkey)))\n message = os.urandom(MESSAGE_LENGTH)\n connection.send_bytes(CHALLENGE + message)\n digest = hmac.new(authkey, message, 'md5').digest()\n response = connection.recv_bytes(256) # reject large message", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.connection", "documentation": {} }, { "label": "ProcessError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "peekOfCode": "class ProcessError(Exception):\n pass\nclass BufferTooShort(ProcessError):\n pass\nclass TimeoutError(ProcessError):\n pass\nclass AuthenticationError(ProcessError):\n pass\n#\n# Base type for contexts. Bound methods of an instance of this type are included in __all__ of __init__.py", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "documentation": {} }, { "label": "BufferTooShort", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "peekOfCode": "class BufferTooShort(ProcessError):\n pass\nclass TimeoutError(ProcessError):\n pass\nclass AuthenticationError(ProcessError):\n pass\n#\n# Base type for contexts. Bound methods of an instance of this type are included in __all__ of __init__.py\n#\nclass BaseContext(object):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "documentation": {} }, { "label": "TimeoutError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "peekOfCode": "class TimeoutError(ProcessError):\n pass\nclass AuthenticationError(ProcessError):\n pass\n#\n# Base type for contexts. Bound methods of an instance of this type are included in __all__ of __init__.py\n#\nclass BaseContext(object):\n ProcessError = ProcessError\n BufferTooShort = BufferTooShort", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "documentation": {} }, { "label": "AuthenticationError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "peekOfCode": "class AuthenticationError(ProcessError):\n pass\n#\n# Base type for contexts. Bound methods of an instance of this type are included in __all__ of __init__.py\n#\nclass BaseContext(object):\n ProcessError = ProcessError\n BufferTooShort = BufferTooShort\n TimeoutError = TimeoutError\n AuthenticationError = AuthenticationError", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "documentation": {} }, { "label": "BaseContext", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "peekOfCode": "class BaseContext(object):\n ProcessError = ProcessError\n BufferTooShort = BufferTooShort\n TimeoutError = TimeoutError\n AuthenticationError = AuthenticationError\n current_process = staticmethod(process.current_process)\n parent_process = staticmethod(process.parent_process)\n active_children = staticmethod(process.active_children)\n def cpu_count(self):\n '''Returns the number of CPUs in the system'''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "documentation": {} }, { "label": "Process", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "peekOfCode": "class Process(process.BaseProcess):\n _start_method = None\n @staticmethod\n def _Popen(process_obj):\n return _default_context.get_context().Process._Popen(process_obj)\nclass DefaultContext(BaseContext):\n Process = Process\n def __init__(self, context):\n self._default_context = context\n self._actual_context = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "documentation": {} }, { "label": "DefaultContext", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "peekOfCode": "class DefaultContext(BaseContext):\n Process = Process\n def __init__(self, context):\n self._default_context = context\n self._actual_context = None\n def get_context(self, method=None):\n if method is None:\n if self._actual_context is None:\n self._actual_context = self._default_context\n return self._actual_context", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "documentation": {} }, { "label": "get_spawning_popen", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "peekOfCode": "def get_spawning_popen():\n return getattr(_tls, 'spawning_popen', None)\ndef set_spawning_popen(popen):\n _tls.spawning_popen = popen\ndef assert_spawning(obj):\n if get_spawning_popen() is None:\n raise RuntimeError(\n '%s objects should only be shared between processes'\n ' through inheritance' % type(obj).__name__\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "documentation": {} }, { "label": "set_spawning_popen", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "peekOfCode": "def set_spawning_popen(popen):\n _tls.spawning_popen = popen\ndef assert_spawning(obj):\n if get_spawning_popen() is None:\n raise RuntimeError(\n '%s objects should only be shared between processes'\n ' through inheritance' % type(obj).__name__\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "documentation": {} }, { "label": "assert_spawning", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "peekOfCode": "def assert_spawning(obj):\n if get_spawning_popen() is None:\n raise RuntimeError(\n '%s objects should only be shared between processes'\n ' through inheritance' % type(obj).__name__\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "peekOfCode": "__all__ = ()\n#\n# Exceptions\n#\nclass ProcessError(Exception):\n pass\nclass BufferTooShort(ProcessError):\n pass\nclass TimeoutError(ProcessError):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "documentation": {} }, { "label": "_tls", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "peekOfCode": "_tls = threading.local()\ndef get_spawning_popen():\n return getattr(_tls, 'spawning_popen', None)\ndef set_spawning_popen(popen):\n _tls.spawning_popen = popen\ndef assert_spawning(obj):\n if get_spawning_popen() is None:\n raise RuntimeError(\n '%s objects should only be shared between processes'\n ' through inheritance' % type(obj).__name__", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.context", "documentation": {} }, { "label": "ForkServer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "peekOfCode": "class ForkServer(object):\n def __init__(self):\n self._forkserver_address = None\n self._forkserver_alive_fd = None\n self._forkserver_pid = None\n self._inherited_fds = None\n self._lock = threading.Lock()\n self._preload_modules = ['__main__']\n def _stop(self):\n # Method used by unit tests to stop the server", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "peekOfCode": "def main(listener_fd, alive_r, preload, main_path=None, sys_path=None):\n '''Run forkserver.'''\n if preload:\n if '__main__' in preload and main_path is not None:\n process.current_process()._inheriting = True\n try:\n spawn.import_main_path(main_path)\n finally:\n del process.current_process()._inheriting\n for modname in preload:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "documentation": {} }, { "label": "read_signed", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "peekOfCode": "def read_signed(fd):\n data = b''\n length = SIGNED_STRUCT.size\n while len(data) < length:\n s = os.read(fd, length - len(data))\n if not s:\n raise EOFError('unexpected EOF')\n data += s\n return SIGNED_STRUCT.unpack(data)[0]\ndef write_signed(fd, n):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "documentation": {} }, { "label": "write_signed", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "peekOfCode": "def write_signed(fd, n):\n msg = SIGNED_STRUCT.pack(n)\n while msg:\n nbytes = os.write(fd, msg)\n if nbytes == 0:\n raise RuntimeError('should not get here')\n msg = msg[nbytes:]\n#\n#\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "peekOfCode": "__all__ = ['ensure_running', 'get_inherited_fds', 'connect_to_new_process',\n 'set_forkserver_preload']\n#\n#\n#\nMAXFDS_TO_SEND = 256\nSIGNED_STRUCT = struct.Struct('q') # large enough for pid_t\n#\n# Forkserver class\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "documentation": {} }, { "label": "MAXFDS_TO_SEND", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "peekOfCode": "MAXFDS_TO_SEND = 256\nSIGNED_STRUCT = struct.Struct('q') # large enough for pid_t\n#\n# Forkserver class\n#\nclass ForkServer(object):\n def __init__(self):\n self._forkserver_address = None\n self._forkserver_alive_fd = None\n self._forkserver_pid = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "documentation": {} }, { "label": "SIGNED_STRUCT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "peekOfCode": "SIGNED_STRUCT = struct.Struct('q') # large enough for pid_t\n#\n# Forkserver class\n#\nclass ForkServer(object):\n def __init__(self):\n self._forkserver_address = None\n self._forkserver_alive_fd = None\n self._forkserver_pid = None\n self._inherited_fds = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "documentation": {} }, { "label": "_forkserver", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "peekOfCode": "_forkserver = ForkServer()\nensure_running = _forkserver.ensure_running\nget_inherited_fds = _forkserver.get_inherited_fds\nconnect_to_new_process = _forkserver.connect_to_new_process\nset_forkserver_preload = _forkserver.set_forkserver_preload", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "documentation": {} }, { "label": "ensure_running", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "peekOfCode": "ensure_running = _forkserver.ensure_running\nget_inherited_fds = _forkserver.get_inherited_fds\nconnect_to_new_process = _forkserver.connect_to_new_process\nset_forkserver_preload = _forkserver.set_forkserver_preload", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "documentation": {} }, { "label": "get_inherited_fds", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "peekOfCode": "get_inherited_fds = _forkserver.get_inherited_fds\nconnect_to_new_process = _forkserver.connect_to_new_process\nset_forkserver_preload = _forkserver.set_forkserver_preload", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "documentation": {} }, { "label": "connect_to_new_process", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "peekOfCode": "connect_to_new_process = _forkserver.connect_to_new_process\nset_forkserver_preload = _forkserver.set_forkserver_preload", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "documentation": {} }, { "label": "set_forkserver_preload", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "peekOfCode": "set_forkserver_preload = _forkserver.set_forkserver_preload", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.forkserver", "documentation": {} }, { "label": "Heap", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.heap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.heap", "peekOfCode": "class Heap(object):\n # Minimum malloc() alignment\n _alignment = 8\n _DISCARD_FREE_SPACE_LARGER_THAN = 4 * 1024 ** 2 # 4 MB\n _DOUBLE_ARENA_SIZE_UNTIL = 4 * 1024 ** 2\n def __init__(self, size=mmap.PAGESIZE):\n self._lastpid = os.getpid()\n self._lock = threading.Lock()\n # Current arena allocation size\n self._size = size", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.heap", "documentation": {} }, { "label": "BufferWrapper", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.heap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.heap", "peekOfCode": "class BufferWrapper(object):\n _heap = Heap()\n def __init__(self, size):\n if size < 0:\n raise ValueError(\"Size {0:n} out of range\".format(size))\n if sys.maxsize <= size:\n raise OverflowError(\"Size {0:n} too large\".format(size))\n block = BufferWrapper._heap.malloc(size)\n self._state = (block, size)\n util.Finalize(self, BufferWrapper._heap.free, args=(block,))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.heap", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.heap", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.heap", "peekOfCode": "__all__ = ['BufferWrapper']\n#\n# Inheritable class which wraps an mmap, and from which blocks can be allocated\n#\nif sys.platform == 'win32':\n import _winapi\n class Arena(object):\n \"\"\"\n A shared memory area backed by anonymous memory (Windows).\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.heap", "documentation": {} }, { "label": "Token", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class Token(object):\n '''\n Type to uniquely identify a shared object\n '''\n __slots__ = ('typeid', 'address', 'id')\n def __init__(self, typeid, address, id):\n (self.typeid, self.address, self.id) = (typeid, address, id)\n def __getstate__(self):\n return (self.typeid, self.address, self.id)\n def __setstate__(self, state):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "RemoteError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class RemoteError(Exception):\n def __str__(self):\n return ('\\n' + '-'*75 + '\\n' + str(self.args[0]) + '-'*75)\n#\n# Functions for finding the method names of an object\n#\ndef all_methods(obj):\n '''\n Return a list of names of methods of `obj`\n '''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "Server", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class Server(object):\n '''\n Server class which runs in a process controlled by a manager object\n '''\n public = ['shutdown', 'create', 'accept_connection', 'get_methods',\n 'debug_info', 'number_of_objects', 'dummy', 'incref', 'decref']\n def __init__(self, registry, address, authkey, serializer):\n if not isinstance(authkey, bytes):\n raise TypeError(\n \"Authkey {0!r} is type {1!s}, not bytes\".format(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "State", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class State(object):\n __slots__ = ['value']\n INITIAL = 0\n STARTED = 1\n SHUTDOWN = 2\n#\n# Mapping from serializer name to Listener and Client types\n#\nlistener_client = {\n 'pickle' : (connection.Listener, connection.Client),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "BaseManager", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class BaseManager(object):\n '''\n Base class for managers\n '''\n _registry = {}\n _Server = Server\n def __init__(self, address=None, authkey=None, serializer='pickle',\n ctx=None):\n if authkey is None:\n authkey = process.current_process().authkey", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "ProcessLocalSet", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class ProcessLocalSet(set):\n def __init__(self):\n util.register_after_fork(self, lambda obj: obj.clear())\n def __reduce__(self):\n return type(self), ()\n#\n# Definition of BaseProxy\n#\nclass BaseProxy(object):\n '''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "BaseProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class BaseProxy(object):\n '''\n A base for proxies of shared objects\n '''\n _address_to_local = {}\n _mutex = util.ForkAwareThreadLock()\n def __init__(self, token, serializer, manager=None,\n authkey=None, exposed=None, incref=True, manager_owned=False):\n with BaseProxy._mutex:\n tls_idset = BaseProxy._address_to_local.get(token.address, None)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "Namespace", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class Namespace(object):\n def __init__(self, /, **kwds):\n self.__dict__.update(kwds)\n def __repr__(self):\n items = list(self.__dict__.items())\n temp = []\n for name, value in items:\n if not name.startswith('_'):\n temp.append('%s=%r' % (name, value))\n temp.sort()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "Value", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class Value(object):\n def __init__(self, typecode, value, lock=True):\n self._typecode = typecode\n self._value = value\n def get(self):\n return self._value\n def set(self, value):\n self._value = value\n def __repr__(self):\n return '%s(%r, %r)'%(type(self).__name__, self._typecode, self._value)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "IteratorProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class IteratorProxy(BaseProxy):\n _exposed_ = ('__next__', 'send', 'throw', 'close')\n def __iter__(self):\n return self\n def __next__(self, *args):\n return self._callmethod('__next__', args)\n def send(self, *args):\n return self._callmethod('send', args)\n def throw(self, *args):\n return self._callmethod('throw', args)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "AcquirerProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class AcquirerProxy(BaseProxy):\n _exposed_ = ('acquire', 'release')\n def acquire(self, blocking=True, timeout=None):\n args = (blocking,) if timeout is None else (blocking, timeout)\n return self._callmethod('acquire', args)\n def release(self):\n return self._callmethod('release')\n def __enter__(self):\n return self._callmethod('acquire')\n def __exit__(self, exc_type, exc_val, exc_tb):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "ConditionProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class ConditionProxy(AcquirerProxy):\n _exposed_ = ('acquire', 'release', 'wait', 'notify', 'notify_all')\n def wait(self, timeout=None):\n return self._callmethod('wait', (timeout,))\n def notify(self, n=1):\n return self._callmethod('notify', (n,))\n def notify_all(self):\n return self._callmethod('notify_all')\n def wait_for(self, predicate, timeout=None):\n result = predicate()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "EventProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class EventProxy(BaseProxy):\n _exposed_ = ('is_set', 'set', 'clear', 'wait')\n def is_set(self):\n return self._callmethod('is_set')\n def set(self):\n return self._callmethod('set')\n def clear(self):\n return self._callmethod('clear')\n def wait(self, timeout=None):\n return self._callmethod('wait', (timeout,))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "BarrierProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class BarrierProxy(BaseProxy):\n _exposed_ = ('__getattribute__', 'wait', 'abort', 'reset')\n def wait(self, timeout=None):\n return self._callmethod('wait', (timeout,))\n def abort(self):\n return self._callmethod('abort')\n def reset(self):\n return self._callmethod('reset')\n @property\n def parties(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "NamespaceProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class NamespaceProxy(BaseProxy):\n _exposed_ = ('__getattribute__', '__setattr__', '__delattr__')\n def __getattr__(self, key):\n if key[0] == '_':\n return object.__getattribute__(self, key)\n callmethod = object.__getattribute__(self, '_callmethod')\n return callmethod('__getattribute__', (key,))\n def __setattr__(self, key, value):\n if key[0] == '_':\n return object.__setattr__(self, key, value)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "ValueProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class ValueProxy(BaseProxy):\n _exposed_ = ('get', 'set')\n def get(self):\n return self._callmethod('get')\n def set(self, value):\n return self._callmethod('set', (value,))\n value = property(get, set)\n __class_getitem__ = classmethod(types.GenericAlias)\nBaseListProxy = MakeProxyType('BaseListProxy', (\n '__add__', '__contains__', '__delitem__', '__getitem__', '__len__',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "ListProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class ListProxy(BaseListProxy):\n def __iadd__(self, value):\n self._callmethod('extend', (value,))\n return self\n def __imul__(self, value):\n self._callmethod('__imul__', (value,))\n return self\nDictProxy = MakeProxyType('DictProxy', (\n '__contains__', '__delitem__', '__getitem__', '__iter__', '__len__',\n '__setitem__', 'clear', 'copy', 'get', 'items',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "PoolProxy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class PoolProxy(BasePoolProxy):\n def __enter__(self):\n return self\n def __exit__(self, exc_type, exc_val, exc_tb):\n self.terminate()\n#\n# Definition of SyncManager\n#\nclass SyncManager(BaseManager):\n '''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "SyncManager", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "class SyncManager(BaseManager):\n '''\n Subclass of `BaseManager` which supports a number of shared object types.\n The types registered are those intended for the synchronization\n of threads, plus `dict`, `list` and `Namespace`.\n The `multiprocessing.Manager()` function creates started instances of\n this class.\n '''\nSyncManager.register('Queue', queue.Queue)\nSyncManager.register('JoinableQueue', queue.Queue)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "reduce_array", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "def reduce_array(a):\n return array.array, (a.typecode, a.tobytes())\nreduction.register(array.array, reduce_array)\nview_types = [type(getattr({}, name)()) for name in ('items','keys','values')]\nif view_types[0] is not list: # only needed in Py3.0\n def rebuild_as_list(obj):\n return list, (list(obj),)\n for view_type in view_types:\n reduction.register(view_type, rebuild_as_list)\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "dispatch", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "def dispatch(c, id, methodname, args=(), kwds={}):\n '''\n Send a message to manager using connection `c` and return response\n '''\n c.send((id, methodname, args, kwds))\n kind, result = c.recv()\n if kind == '#RETURN':\n return result\n raise convert_to_error(kind, result)\ndef convert_to_error(kind, result):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "convert_to_error", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "def convert_to_error(kind, result):\n if kind == '#ERROR':\n return result\n elif kind in ('#TRACEBACK', '#UNSERIALIZABLE'):\n if not isinstance(result, str):\n raise TypeError(\n \"Result {0!r} (kind '{1}') type is {2}, not str\".format(\n result, kind, type(result)))\n if kind == '#UNSERIALIZABLE':\n return RemoteError('Unserializable message: %s\\n' % result)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "all_methods", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "def all_methods(obj):\n '''\n Return a list of names of methods of `obj`\n '''\n temp = []\n for name in dir(obj):\n func = getattr(obj, name)\n if callable(func):\n temp.append(name)\n return temp", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "public_methods", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "def public_methods(obj):\n '''\n Return a list of names of methods of `obj` which do not start with '_'\n '''\n return [name for name in all_methods(obj) if name[0] != '_']\n#\n# Server which is run in a process controlled by a manager\n#\nclass Server(object):\n '''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "RebuildProxy", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "def RebuildProxy(func, token, serializer, kwds):\n '''\n Function used for unpickling proxy objects.\n '''\n server = getattr(process.current_process(), '_manager_server', None)\n if server and server.address == token.address:\n util.debug('Rebuild a proxy owned by manager, token=%r', token)\n kwds['manager_owned'] = True\n if token.id not in server.id_to_local_proxy_obj:\n server.id_to_local_proxy_obj[token.id] = \\", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "MakeProxyType", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "def MakeProxyType(name, exposed, _cache={}):\n '''\n Return a proxy type whose methods are given by `exposed`\n '''\n exposed = tuple(exposed)\n try:\n return _cache[(name, exposed)]\n except KeyError:\n pass\n dic = {}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "AutoProxy", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "def AutoProxy(token, serializer, manager=None, authkey=None,\n exposed=None, incref=True, manager_owned=False):\n '''\n Return an auto-proxy for `token`\n '''\n _Client = listener_client[serializer][1]\n if exposed is None:\n conn = _Client(token.address, authkey=authkey)\n try:\n exposed = dispatch(conn, None, 'get_methods', (token,))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "Array", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "def Array(typecode, sequence, lock=True):\n return array.array(typecode, sequence)\n#\n# Proxy types used by SyncManager\n#\nclass IteratorProxy(BaseProxy):\n _exposed_ = ('__next__', 'send', 'throw', 'close')\n def __iter__(self):\n return self\n def __next__(self, *args):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "__all__ = [ 'BaseManager', 'SyncManager', 'BaseProxy', 'Token' ]\n#\n# Imports\n#\nimport sys\nimport threading\nimport signal\nimport array\nimport queue\nimport time", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "view_types", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "view_types = [type(getattr({}, name)()) for name in ('items','keys','values')]\nif view_types[0] is not list: # only needed in Py3.0\n def rebuild_as_list(obj):\n return list, (list(obj),)\n for view_type in view_types:\n reduction.register(view_type, rebuild_as_list)\n#\n# Type for identifying shared objects\n#\nclass Token(object):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "listener_client", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "listener_client = {\n 'pickle' : (connection.Listener, connection.Client),\n 'xmlrpclib' : (connection.XmlListener, connection.XmlClient)\n }\n#\n# Definition of BaseManager\n#\nclass BaseManager(object):\n '''\n Base class for managers", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "BaseListProxy", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "BaseListProxy = MakeProxyType('BaseListProxy', (\n '__add__', '__contains__', '__delitem__', '__getitem__', '__len__',\n '__mul__', '__reversed__', '__rmul__', '__setitem__',\n 'append', 'count', 'extend', 'index', 'insert', 'pop', 'remove',\n 'reverse', 'sort', '__imul__'\n ))\nclass ListProxy(BaseListProxy):\n def __iadd__(self, value):\n self._callmethod('extend', (value,))\n return self", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "DictProxy", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "DictProxy = MakeProxyType('DictProxy', (\n '__contains__', '__delitem__', '__getitem__', '__iter__', '__len__',\n '__setitem__', 'clear', 'copy', 'get', 'items',\n 'keys', 'pop', 'popitem', 'setdefault', 'update', 'values'\n ))\nDictProxy._method_to_typeid_ = {\n '__iter__': 'Iterator',\n }\nArrayProxy = MakeProxyType('ArrayProxy', (\n '__len__', '__getitem__', '__setitem__'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "DictProxy._method_to_typeid_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "DictProxy._method_to_typeid_ = {\n '__iter__': 'Iterator',\n }\nArrayProxy = MakeProxyType('ArrayProxy', (\n '__len__', '__getitem__', '__setitem__'\n ))\nBasePoolProxy = MakeProxyType('PoolProxy', (\n 'apply', 'apply_async', 'close', 'imap', 'imap_unordered', 'join',\n 'map', 'map_async', 'starmap', 'starmap_async', 'terminate',\n ))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "ArrayProxy", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "ArrayProxy = MakeProxyType('ArrayProxy', (\n '__len__', '__getitem__', '__setitem__'\n ))\nBasePoolProxy = MakeProxyType('PoolProxy', (\n 'apply', 'apply_async', 'close', 'imap', 'imap_unordered', 'join',\n 'map', 'map_async', 'starmap', 'starmap_async', 'terminate',\n ))\nBasePoolProxy._method_to_typeid_ = {\n 'apply_async': 'AsyncResult',\n 'map_async': 'AsyncResult',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "BasePoolProxy", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "BasePoolProxy = MakeProxyType('PoolProxy', (\n 'apply', 'apply_async', 'close', 'imap', 'imap_unordered', 'join',\n 'map', 'map_async', 'starmap', 'starmap_async', 'terminate',\n ))\nBasePoolProxy._method_to_typeid_ = {\n 'apply_async': 'AsyncResult',\n 'map_async': 'AsyncResult',\n 'starmap_async': 'AsyncResult',\n 'imap': 'Iterator',\n 'imap_unordered': 'Iterator'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "BasePoolProxy._method_to_typeid_", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "peekOfCode": "BasePoolProxy._method_to_typeid_ = {\n 'apply_async': 'AsyncResult',\n 'map_async': 'AsyncResult',\n 'starmap_async': 'AsyncResult',\n 'imap': 'Iterator',\n 'imap_unordered': 'Iterator'\n }\nclass PoolProxy(BasePoolProxy):\n def __enter__(self):\n return self", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.managers", "documentation": {} }, { "label": "RemoteTraceback", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "class RemoteTraceback(Exception):\n def __init__(self, tb):\n self.tb = tb\n def __str__(self):\n return self.tb\nclass ExceptionWithTraceback:\n def __init__(self, exc, tb):\n tb = traceback.format_exception(type(exc), exc, tb)\n tb = ''.join(tb)\n self.exc = exc", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "ExceptionWithTraceback", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "class ExceptionWithTraceback:\n def __init__(self, exc, tb):\n tb = traceback.format_exception(type(exc), exc, tb)\n tb = ''.join(tb)\n self.exc = exc\n self.tb = '\\n\"\"\"\\n%s\"\"\"' % tb\n def __reduce__(self):\n return rebuild_exc, (self.exc, self.tb)\ndef rebuild_exc(exc, tb):\n exc.__cause__ = RemoteTraceback(tb)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "MaybeEncodingError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "class MaybeEncodingError(Exception):\n \"\"\"Wraps possible unpickleable errors, so they can be\n safely sent through the socket.\"\"\"\n def __init__(self, exc, value):\n self.exc = repr(exc)\n self.value = repr(value)\n super(MaybeEncodingError, self).__init__(self.exc, self.value)\n def __str__(self):\n return \"Error sending result: '%s'. Reason: '%s'\" % (self.value,\n self.exc)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "_PoolCache", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "class _PoolCache(dict):\n \"\"\"\n Class that implements a cache for the Pool class that will notify\n the pool management threads every time the cache is emptied. The\n notification is done by the use of a queue that is provided when\n instantiating the cache.\n \"\"\"\n def __init__(self, /, *args, notifier=None, **kwds):\n self.notifier = notifier\n super().__init__(*args, **kwds)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "Pool", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "class Pool(object):\n '''\n Class which supports an async version of applying functions to arguments.\n '''\n _wrap_exception = True\n @staticmethod\n def Process(ctx, *args, **kwds):\n return ctx.Process(*args, **kwds)\n def __init__(self, processes=None, initializer=None, initargs=(),\n maxtasksperchild=None, context=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "ApplyResult", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "class ApplyResult(object):\n def __init__(self, pool, callback, error_callback):\n self._pool = pool\n self._event = threading.Event()\n self._job = next(job_counter)\n self._cache = pool._cache\n self._callback = callback\n self._error_callback = error_callback\n self._cache[self._job] = self\n def ready(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "MapResult", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "class MapResult(ApplyResult):\n def __init__(self, pool, chunksize, length, callback, error_callback):\n ApplyResult.__init__(self, pool, callback,\n error_callback=error_callback)\n self._success = True\n self._value = [None] * length\n self._chunksize = chunksize\n if chunksize <= 0:\n self._number_left = 0\n self._event.set()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "IMapIterator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "class IMapIterator(object):\n def __init__(self, pool):\n self._pool = pool\n self._cond = threading.Condition(threading.Lock())\n self._job = next(job_counter)\n self._cache = pool._cache\n self._items = collections.deque()\n self._index = 0\n self._length = None\n self._unsorted = {}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "IMapUnorderedIterator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "class IMapUnorderedIterator(IMapIterator):\n def _set(self, i, obj):\n with self._cond:\n self._items.append(obj)\n self._index += 1\n self._cond.notify()\n if self._index == self._length:\n del self._cache[self._job]\n self._pool = None\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "ThreadPool", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "class ThreadPool(Pool):\n _wrap_exception = False\n @staticmethod\n def Process(ctx, *args, **kwds):\n from .dummy import Process\n return Process(*args, **kwds)\n def __init__(self, processes=None, initializer=None, initargs=()):\n Pool.__init__(self, processes, initializer, initargs)\n def _setup_queues(self):\n self._inqueue = queue.SimpleQueue()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "mapstar", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "def mapstar(args):\n return list(map(*args))\ndef starmapstar(args):\n return list(itertools.starmap(args[0], args[1]))\n#\n# Hack to embed stringification of remote traceback in local traceback\n#\nclass RemoteTraceback(Exception):\n def __init__(self, tb):\n self.tb = tb", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "starmapstar", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "def starmapstar(args):\n return list(itertools.starmap(args[0], args[1]))\n#\n# Hack to embed stringification of remote traceback in local traceback\n#\nclass RemoteTraceback(Exception):\n def __init__(self, tb):\n self.tb = tb\n def __str__(self):\n return self.tb", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "rebuild_exc", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "def rebuild_exc(exc, tb):\n exc.__cause__ = RemoteTraceback(tb)\n return exc\n#\n# Code run by worker processes\n#\nclass MaybeEncodingError(Exception):\n \"\"\"Wraps possible unpickleable errors, so they can be\n safely sent through the socket.\"\"\"\n def __init__(self, exc, value):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "worker", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "def worker(inqueue, outqueue, initializer=None, initargs=(), maxtasks=None,\n wrap_exception=False):\n if (maxtasks is not None) and not (isinstance(maxtasks, int)\n and maxtasks >= 1):\n raise AssertionError(\"Maxtasks {!r} is not valid\".format(maxtasks))\n put = outqueue.put\n get = inqueue.get\n if hasattr(inqueue, '_writer'):\n inqueue._writer.close()\n outqueue._reader.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "__all__ = ['Pool', 'ThreadPool']\n#\n# Imports\n#\nimport collections\nimport itertools\nimport os\nimport queue\nimport threading\nimport time", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "INIT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "INIT = \"INIT\"\nRUN = \"RUN\"\nCLOSE = \"CLOSE\"\nTERMINATE = \"TERMINATE\"\n#\n# Miscellaneous\n#\njob_counter = itertools.count()\ndef mapstar(args):\n return list(map(*args))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "RUN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "RUN = \"RUN\"\nCLOSE = \"CLOSE\"\nTERMINATE = \"TERMINATE\"\n#\n# Miscellaneous\n#\njob_counter = itertools.count()\ndef mapstar(args):\n return list(map(*args))\ndef starmapstar(args):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "CLOSE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "CLOSE = \"CLOSE\"\nTERMINATE = \"TERMINATE\"\n#\n# Miscellaneous\n#\njob_counter = itertools.count()\ndef mapstar(args):\n return list(map(*args))\ndef starmapstar(args):\n return list(itertools.starmap(args[0], args[1]))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "TERMINATE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "TERMINATE = \"TERMINATE\"\n#\n# Miscellaneous\n#\njob_counter = itertools.count()\ndef mapstar(args):\n return list(map(*args))\ndef starmapstar(args):\n return list(itertools.starmap(args[0], args[1]))\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "job_counter", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "job_counter = itertools.count()\ndef mapstar(args):\n return list(map(*args))\ndef starmapstar(args):\n return list(itertools.starmap(args[0], args[1]))\n#\n# Hack to embed stringification of remote traceback in local traceback\n#\nclass RemoteTraceback(Exception):\n def __init__(self, tb):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "AsyncResult", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "peekOfCode": "AsyncResult = ApplyResult # create alias -- see #17805\n#\n# Class whose instances are returned by `Pool.map_async()`\n#\nclass MapResult(ApplyResult):\n def __init__(self, pool, chunksize, length, callback, error_callback):\n ApplyResult.__init__(self, pool, callback,\n error_callback=error_callback)\n self._success = True\n self._value = [None] * length", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.pool", "documentation": {} }, { "label": "Popen", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_fork", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_fork", "peekOfCode": "class Popen(object):\n method = 'fork'\n def __init__(self, process_obj):\n util._flush_std_streams()\n self.returncode = None\n self.finalizer = None\n self._launch(process_obj)\n def duplicate_for_child(self, fd):\n return fd\n def poll(self, flag=os.WNOHANG):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_fork", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_fork", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_fork", "peekOfCode": "__all__ = ['Popen']\n#\n# Start child process using fork\n#\nclass Popen(object):\n method = 'fork'\n def __init__(self, process_obj):\n util._flush_std_streams()\n self.returncode = None\n self.finalizer = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_fork", "documentation": {} }, { "label": "_DupFd", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_forkserver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_forkserver", "peekOfCode": "class _DupFd(object):\n def __init__(self, ind):\n self.ind = ind\n def detach(self):\n return forkserver.get_inherited_fds()[self.ind]\n#\n# Start child process using a server process\n#\nclass Popen(popen_fork.Popen):\n method = 'forkserver'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_forkserver", "documentation": {} }, { "label": "Popen", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_forkserver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_forkserver", "peekOfCode": "class Popen(popen_fork.Popen):\n method = 'forkserver'\n DupFd = _DupFd\n def __init__(self, process_obj):\n self._fds = []\n super().__init__(process_obj)\n def duplicate_for_child(self, fd):\n self._fds.append(fd)\n return len(self._fds) - 1\n def _launch(self, process_obj):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_forkserver", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_forkserver", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_forkserver", "peekOfCode": "__all__ = ['Popen']\n#\n# Wrapper for an fd used while launching a process\n#\nclass _DupFd(object):\n def __init__(self, ind):\n self.ind = ind\n def detach(self):\n return forkserver.get_inherited_fds()[self.ind]\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_forkserver", "documentation": {} }, { "label": "_DupFd", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_posix", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_posix", "peekOfCode": "class _DupFd(object):\n def __init__(self, fd):\n self.fd = fd\n def detach(self):\n return self.fd\n#\n# Start child process using a fresh interpreter\n#\nclass Popen(popen_fork.Popen):\n method = 'spawn'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_posix", "documentation": {} }, { "label": "Popen", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_posix", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_posix", "peekOfCode": "class Popen(popen_fork.Popen):\n method = 'spawn'\n DupFd = _DupFd\n def __init__(self, process_obj):\n self._fds = []\n super().__init__(process_obj)\n def duplicate_for_child(self, fd):\n self._fds.append(fd)\n return fd\n def _launch(self, process_obj):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_posix", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_posix", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_posix", "peekOfCode": "__all__ = ['Popen']\n#\n# Wrapper for an fd used while launching a process\n#\nclass _DupFd(object):\n def __init__(self, fd):\n self.fd = fd\n def detach(self):\n return self.fd\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_posix", "documentation": {} }, { "label": "Popen", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_win32", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_win32", "peekOfCode": "class Popen(object):\n '''\n Start a subprocess to run the code of a process object\n '''\n method = 'spawn'\n def __init__(self, process_obj):\n prep_data = spawn.get_preparation_data(process_obj._name)\n # read end of pipe will be duplicated by the child process\n # -- see spawn_main() in spawn.py.\n #", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_win32", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_win32", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_win32", "peekOfCode": "__all__ = ['Popen']\n#\n#\n#\nTERMINATE = 0x10000\nWINEXE = (sys.platform == 'win32' and getattr(sys, 'frozen', False))\nWINSERVICE = sys.executable.lower().endswith(\"pythonservice.exe\")\ndef _path_eq(p1, p2):\n return p1 == p2 or os.path.normcase(p1) == os.path.normcase(p2)\nWINENV = not _path_eq(sys.executable, sys._base_executable)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_win32", "documentation": {} }, { "label": "TERMINATE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_win32", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_win32", "peekOfCode": "TERMINATE = 0x10000\nWINEXE = (sys.platform == 'win32' and getattr(sys, 'frozen', False))\nWINSERVICE = sys.executable.lower().endswith(\"pythonservice.exe\")\ndef _path_eq(p1, p2):\n return p1 == p2 or os.path.normcase(p1) == os.path.normcase(p2)\nWINENV = not _path_eq(sys.executable, sys._base_executable)\ndef _close_handles(*handles):\n for handle in handles:\n _winapi.CloseHandle(handle)\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_win32", "documentation": {} }, { "label": "WINEXE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_win32", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_win32", "peekOfCode": "WINEXE = (sys.platform == 'win32' and getattr(sys, 'frozen', False))\nWINSERVICE = sys.executable.lower().endswith(\"pythonservice.exe\")\ndef _path_eq(p1, p2):\n return p1 == p2 or os.path.normcase(p1) == os.path.normcase(p2)\nWINENV = not _path_eq(sys.executable, sys._base_executable)\ndef _close_handles(*handles):\n for handle in handles:\n _winapi.CloseHandle(handle)\n#\n# We define a Popen class similar to the one from subprocess, but", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_win32", "documentation": {} }, { "label": "WINSERVICE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_win32", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_win32", "peekOfCode": "WINSERVICE = sys.executable.lower().endswith(\"pythonservice.exe\")\ndef _path_eq(p1, p2):\n return p1 == p2 or os.path.normcase(p1) == os.path.normcase(p2)\nWINENV = not _path_eq(sys.executable, sys._base_executable)\ndef _close_handles(*handles):\n for handle in handles:\n _winapi.CloseHandle(handle)\n#\n# We define a Popen class similar to the one from subprocess, but\n# whose constructor takes a process object as its argument.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_win32", "documentation": {} }, { "label": "WINENV", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_win32", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_win32", "peekOfCode": "WINENV = not _path_eq(sys.executable, sys._base_executable)\ndef _close_handles(*handles):\n for handle in handles:\n _winapi.CloseHandle(handle)\n#\n# We define a Popen class similar to the one from subprocess, but\n# whose constructor takes a process object as its argument.\n#\nclass Popen(object):\n '''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.popen_spawn_win32", "documentation": {} }, { "label": "BaseProcess", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "peekOfCode": "class BaseProcess(object):\n '''\n Process objects represent activity that is run in a separate process\n The class is analogous to `threading.Thread`\n '''\n def _Popen(self):\n raise NotImplementedError\n def __init__(self, group=None, target=None, name=None, args=(), kwargs={},\n *, daemon=None):\n assert group is None, 'group argument must be None for now'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "documentation": {} }, { "label": "AuthenticationString", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "peekOfCode": "class AuthenticationString(bytes):\n def __reduce__(self):\n from .context import get_spawning_popen\n if get_spawning_popen() is None:\n raise TypeError(\n 'Pickling an AuthenticationString object is '\n 'disallowed for security reasons'\n )\n return AuthenticationString, (bytes(self),)\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "documentation": {} }, { "label": "_ParentProcess", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "peekOfCode": "class _ParentProcess(BaseProcess):\n def __init__(self, name, pid, sentinel):\n self._identity = ()\n self._name = name\n self._pid = pid\n self._parent_pid = None\n self._popen = None\n self._closed = False\n self._sentinel = sentinel\n self._config = {}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "documentation": {} }, { "label": "_MainProcess", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "peekOfCode": "class _MainProcess(BaseProcess):\n def __init__(self):\n self._identity = ()\n self._name = 'MainProcess'\n self._parent_pid = None\n self._popen = None\n self._closed = False\n self._config = {'authkey': AuthenticationString(os.urandom(32)),\n 'semprefix': '/mp'}\n # Note that some versions of FreeBSD only allow named", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "documentation": {} }, { "label": "current_process", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "peekOfCode": "def current_process():\n '''\n Return process object representing the current process\n '''\n return _current_process\ndef active_children():\n '''\n Return list of process objects corresponding to live child processes\n '''\n _cleanup()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "documentation": {} }, { "label": "active_children", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "peekOfCode": "def active_children():\n '''\n Return list of process objects corresponding to live child processes\n '''\n _cleanup()\n return list(_children)\ndef parent_process():\n '''\n Return process object representing the parent process\n '''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "documentation": {} }, { "label": "parent_process", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "peekOfCode": "def parent_process():\n '''\n Return process object representing the parent process\n '''\n return _parent_process\n#\n#\n#\ndef _cleanup():\n # check for processes which have finished", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "peekOfCode": "__all__ = ['BaseProcess', 'current_process', 'active_children',\n 'parent_process']\n#\n# Imports\n#\nimport os\nimport sys\nimport signal\nimport itertools\nimport threading", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "documentation": {} }, { "label": "_parent_process", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "peekOfCode": "_parent_process = None\n_current_process = _MainProcess()\n_process_counter = itertools.count(1)\n_children = set()\ndel _MainProcess\n#\n# Give names to some return codes\n#\n_exitcode_to_name = {}\nfor name, signum in list(signal.__dict__.items()):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "documentation": {} }, { "label": "_current_process", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "peekOfCode": "_current_process = _MainProcess()\n_process_counter = itertools.count(1)\n_children = set()\ndel _MainProcess\n#\n# Give names to some return codes\n#\n_exitcode_to_name = {}\nfor name, signum in list(signal.__dict__.items()):\n if name[:3]=='SIG' and '_' not in name:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "documentation": {} }, { "label": "_process_counter", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "peekOfCode": "_process_counter = itertools.count(1)\n_children = set()\ndel _MainProcess\n#\n# Give names to some return codes\n#\n_exitcode_to_name = {}\nfor name, signum in list(signal.__dict__.items()):\n if name[:3]=='SIG' and '_' not in name:\n _exitcode_to_name[-signum] = f'-{name}'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "documentation": {} }, { "label": "_children", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "peekOfCode": "_children = set()\ndel _MainProcess\n#\n# Give names to some return codes\n#\n_exitcode_to_name = {}\nfor name, signum in list(signal.__dict__.items()):\n if name[:3]=='SIG' and '_' not in name:\n _exitcode_to_name[-signum] = f'-{name}'\n# For debug and leak testing", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "documentation": {} }, { "label": "_exitcode_to_name", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "peekOfCode": "_exitcode_to_name = {}\nfor name, signum in list(signal.__dict__.items()):\n if name[:3]=='SIG' and '_' not in name:\n _exitcode_to_name[-signum] = f'-{name}'\n# For debug and leak testing\n_dangling = WeakSet()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "documentation": {} }, { "label": "_dangling", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "peekOfCode": "_dangling = WeakSet()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.process", "documentation": {} }, { "label": "Queue", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.queues", "peekOfCode": "class Queue(object):\n def __init__(self, maxsize=0, *, ctx):\n if maxsize <= 0:\n # Can raise ImportError (see issues #3770 and #23400)\n from .synchronize import SEM_VALUE_MAX as maxsize\n self._maxsize = maxsize\n self._reader, self._writer = connection.Pipe(duplex=False)\n self._rlock = ctx.Lock()\n self._opid = os.getpid()\n if sys.platform == 'win32':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.queues", "documentation": {} }, { "label": "JoinableQueue", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.queues", "peekOfCode": "class JoinableQueue(Queue):\n def __init__(self, maxsize=0, *, ctx):\n Queue.__init__(self, maxsize, ctx=ctx)\n self._unfinished_tasks = ctx.Semaphore(0)\n self._cond = ctx.Condition()\n def __getstate__(self):\n return Queue.__getstate__(self) + (self._cond, self._unfinished_tasks)\n def __setstate__(self, state):\n Queue.__setstate__(self, state[:-2])\n self._cond, self._unfinished_tasks = state[-2:]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.queues", "documentation": {} }, { "label": "SimpleQueue", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.queues", "peekOfCode": "class SimpleQueue(object):\n def __init__(self, *, ctx):\n self._reader, self._writer = connection.Pipe(duplex=False)\n self._rlock = ctx.Lock()\n self._poll = self._reader.poll\n if sys.platform == 'win32':\n self._wlock = None\n else:\n self._wlock = ctx.Lock()\n def close(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.queues", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.queues", "peekOfCode": "__all__ = ['Queue', 'SimpleQueue', 'JoinableQueue']\nimport sys\nimport os\nimport threading\nimport collections\nimport time\nimport types\nimport weakref\nimport errno\nfrom queue import Empty, Full", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.queues", "documentation": {} }, { "label": "_ForkingPickler", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.queues", "peekOfCode": "_ForkingPickler = context.reduction.ForkingPickler\nfrom .util import debug, info, Finalize, register_after_fork, is_exiting\n#\n# Queue type using a pipe, buffer and thread\n#\nclass Queue(object):\n def __init__(self, maxsize=0, *, ctx):\n if maxsize <= 0:\n # Can raise ImportError (see issues #3770 and #23400)\n from .synchronize import SEM_VALUE_MAX as maxsize", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.queues", "documentation": {} }, { "label": "_sentinel", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.queues", "peekOfCode": "_sentinel = object()\n#\n# A queue type which also supports join() and task_done() methods\n#\n# Note that if you do not call task_done() for each finished task then\n# eventually the counter's semaphore may overflow causing Bad Things\n# to happen.\n#\nclass JoinableQueue(Queue):\n def __init__(self, maxsize=0, *, ctx):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.queues", "documentation": {} }, { "label": "ForkingPickler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "peekOfCode": "class ForkingPickler(pickle.Pickler):\n '''Pickler subclass used by multiprocessing.'''\n _extra_reducers = {}\n _copyreg_dispatch_table = copyreg.dispatch_table\n def __init__(self, *args):\n super().__init__(*args)\n self.dispatch_table = self._copyreg_dispatch_table.copy()\n self.dispatch_table.update(self._extra_reducers)\n @classmethod\n def register(cls, type, reduce):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "documentation": {} }, { "label": "_C", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "peekOfCode": "class _C:\n def f(self):\n pass\nregister(type(_C().f), _reduce_method)\ndef _reduce_method_descriptor(m):\n return getattr, (m.__objclass__, m.__name__)\nregister(type(list.append), _reduce_method_descriptor)\nregister(type(int.__add__), _reduce_method_descriptor)\ndef _reduce_partial(p):\n return _rebuild_partial, (p.func, p.args, p.keywords or {})", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "documentation": {} }, { "label": "AbstractReducer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "peekOfCode": "class AbstractReducer(metaclass=ABCMeta):\n '''Abstract base class for use in implementing a Reduction class\n suitable for use in replacing the standard reduction mechanism\n used in multiprocessing.'''\n ForkingPickler = ForkingPickler\n register = register\n dump = dump\n send_handle = send_handle\n recv_handle = recv_handle\n if sys.platform == 'win32':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "documentation": {} }, { "label": "dump", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "peekOfCode": "def dump(obj, file, protocol=None):\n '''Replacement for pickle.dump() using ForkingPickler.'''\n ForkingPickler(file, protocol).dump(obj)\n#\n# Platform specific definitions\n#\nif sys.platform == 'win32':\n # Windows\n __all__ += ['DupHandle', 'duplicate', 'steal_handle']\n import _winapi", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "peekOfCode": "__all__ = ['send_handle', 'recv_handle', 'ForkingPickler', 'register', 'dump']\nHAVE_SEND_HANDLE = (sys.platform == 'win32' or\n (hasattr(socket, 'CMSG_LEN') and\n hasattr(socket, 'SCM_RIGHTS') and\n hasattr(socket.socket, 'sendmsg')))\n#\n# Pickler subclass\n#\nclass ForkingPickler(pickle.Pickler):\n '''Pickler subclass used by multiprocessing.'''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "documentation": {} }, { "label": "HAVE_SEND_HANDLE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "peekOfCode": "HAVE_SEND_HANDLE = (sys.platform == 'win32' or\n (hasattr(socket, 'CMSG_LEN') and\n hasattr(socket, 'SCM_RIGHTS') and\n hasattr(socket.socket, 'sendmsg')))\n#\n# Pickler subclass\n#\nclass ForkingPickler(pickle.Pickler):\n '''Pickler subclass used by multiprocessing.'''\n _extra_reducers = {}", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "documentation": {} }, { "label": "register", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "peekOfCode": "register = ForkingPickler.register\ndef dump(obj, file, protocol=None):\n '''Replacement for pickle.dump() using ForkingPickler.'''\n ForkingPickler(file, protocol).dump(obj)\n#\n# Platform specific definitions\n#\nif sys.platform == 'win32':\n # Windows\n __all__ += ['DupHandle', 'duplicate', 'steal_handle']", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.reduction", "documentation": {} }, { "label": "_ResourceSharer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_sharer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_sharer", "peekOfCode": "class _ResourceSharer(object):\n '''Manager for resources using background thread.'''\n def __init__(self):\n self._key = 0\n self._cache = {}\n self._lock = threading.Lock()\n self._listener = None\n self._address = None\n self._thread = None\n util.register_after_fork(self, _ResourceSharer._afterfork)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_sharer", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_sharer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_sharer", "peekOfCode": "__all__ = ['stop']\nif sys.platform == 'win32':\n __all__ += ['DupSocket']\n class DupSocket(object):\n '''Picklable wrapper for a socket.'''\n def __init__(self, sock):\n new_sock = sock.dup()\n def send(conn, pid):\n share = new_sock.share(pid)\n conn.send_bytes(share)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_sharer", "documentation": {} }, { "label": "_resource_sharer", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_sharer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_sharer", "peekOfCode": "_resource_sharer = _ResourceSharer()\nstop = _resource_sharer.stop", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_sharer", "documentation": {} }, { "label": "stop", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_sharer", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_sharer", "peekOfCode": "stop = _resource_sharer.stop", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_sharer", "documentation": {} }, { "label": "ResourceTracker", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "peekOfCode": "class ResourceTracker(object):\n def __init__(self):\n self._lock = threading.Lock()\n self._fd = None\n self._pid = None\n def _stop(self):\n with self._lock:\n if self._fd is None:\n # not running\n return", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "peekOfCode": "def main(fd):\n '''Run resource tracker.'''\n # protect the process from ^C and \"killall python\" etc\n signal.signal(signal.SIGINT, signal.SIG_IGN)\n signal.signal(signal.SIGTERM, signal.SIG_IGN)\n if _HAVE_SIGMASK:\n signal.pthread_sigmask(signal.SIG_UNBLOCK, _IGNORED_SIGNALS)\n for f in (sys.stdin, sys.stdout):\n try:\n f.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "peekOfCode": "__all__ = ['ensure_running', 'register', 'unregister']\n_HAVE_SIGMASK = hasattr(signal, 'pthread_sigmask')\n_IGNORED_SIGNALS = (signal.SIGINT, signal.SIGTERM)\n_CLEANUP_FUNCS = {\n 'noop': lambda: None,\n}\nif os.name == 'posix':\n import _multiprocessing\n import _posixshmem\n # Use sem_unlink() to clean up named semaphores.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "documentation": {} }, { "label": "_HAVE_SIGMASK", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "peekOfCode": "_HAVE_SIGMASK = hasattr(signal, 'pthread_sigmask')\n_IGNORED_SIGNALS = (signal.SIGINT, signal.SIGTERM)\n_CLEANUP_FUNCS = {\n 'noop': lambda: None,\n}\nif os.name == 'posix':\n import _multiprocessing\n import _posixshmem\n # Use sem_unlink() to clean up named semaphores.\n #", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "documentation": {} }, { "label": "_IGNORED_SIGNALS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "peekOfCode": "_IGNORED_SIGNALS = (signal.SIGINT, signal.SIGTERM)\n_CLEANUP_FUNCS = {\n 'noop': lambda: None,\n}\nif os.name == 'posix':\n import _multiprocessing\n import _posixshmem\n # Use sem_unlink() to clean up named semaphores.\n #\n # sem_unlink() may be missing if the Python build process detected the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "documentation": {} }, { "label": "_CLEANUP_FUNCS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "peekOfCode": "_CLEANUP_FUNCS = {\n 'noop': lambda: None,\n}\nif os.name == 'posix':\n import _multiprocessing\n import _posixshmem\n # Use sem_unlink() to clean up named semaphores.\n #\n # sem_unlink() may be missing if the Python build process detected the\n # absence of POSIX named semaphores. In that case, no named semaphores were", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "documentation": {} }, { "label": "_resource_tracker", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "peekOfCode": "_resource_tracker = ResourceTracker()\nensure_running = _resource_tracker.ensure_running\nregister = _resource_tracker.register\nunregister = _resource_tracker.unregister\ngetfd = _resource_tracker.getfd\ndef main(fd):\n '''Run resource tracker.'''\n # protect the process from ^C and \"killall python\" etc\n signal.signal(signal.SIGINT, signal.SIG_IGN)\n signal.signal(signal.SIGTERM, signal.SIG_IGN)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "documentation": {} }, { "label": "ensure_running", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "peekOfCode": "ensure_running = _resource_tracker.ensure_running\nregister = _resource_tracker.register\nunregister = _resource_tracker.unregister\ngetfd = _resource_tracker.getfd\ndef main(fd):\n '''Run resource tracker.'''\n # protect the process from ^C and \"killall python\" etc\n signal.signal(signal.SIGINT, signal.SIG_IGN)\n signal.signal(signal.SIGTERM, signal.SIG_IGN)\n if _HAVE_SIGMASK:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "documentation": {} }, { "label": "register", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "peekOfCode": "register = _resource_tracker.register\nunregister = _resource_tracker.unregister\ngetfd = _resource_tracker.getfd\ndef main(fd):\n '''Run resource tracker.'''\n # protect the process from ^C and \"killall python\" etc\n signal.signal(signal.SIGINT, signal.SIG_IGN)\n signal.signal(signal.SIGTERM, signal.SIG_IGN)\n if _HAVE_SIGMASK:\n signal.pthread_sigmask(signal.SIG_UNBLOCK, _IGNORED_SIGNALS)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "documentation": {} }, { "label": "unregister", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "peekOfCode": "unregister = _resource_tracker.unregister\ngetfd = _resource_tracker.getfd\ndef main(fd):\n '''Run resource tracker.'''\n # protect the process from ^C and \"killall python\" etc\n signal.signal(signal.SIGINT, signal.SIG_IGN)\n signal.signal(signal.SIGTERM, signal.SIG_IGN)\n if _HAVE_SIGMASK:\n signal.pthread_sigmask(signal.SIG_UNBLOCK, _IGNORED_SIGNALS)\n for f in (sys.stdin, sys.stdout):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "documentation": {} }, { "label": "getfd", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "peekOfCode": "getfd = _resource_tracker.getfd\ndef main(fd):\n '''Run resource tracker.'''\n # protect the process from ^C and \"killall python\" etc\n signal.signal(signal.SIGINT, signal.SIG_IGN)\n signal.signal(signal.SIGTERM, signal.SIG_IGN)\n if _HAVE_SIGMASK:\n signal.pthread_sigmask(signal.SIG_UNBLOCK, _IGNORED_SIGNALS)\n for f in (sys.stdin, sys.stdout):\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.resource_tracker", "documentation": {} }, { "label": "SynchronizedBase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "class SynchronizedBase(object):\n def __init__(self, obj, lock=None, ctx=None):\n self._obj = obj\n if lock:\n self._lock = lock\n else:\n ctx = ctx or get_context(force=True)\n self._lock = ctx.RLock()\n self.acquire = self._lock.acquire\n self.release = self._lock.release", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "Synchronized", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "class Synchronized(SynchronizedBase):\n value = make_property('value')\nclass SynchronizedArray(SynchronizedBase):\n def __len__(self):\n return len(self._obj)\n def __getitem__(self, i):\n with self:\n return self._obj[i]\n def __setitem__(self, i, value):\n with self:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "SynchronizedArray", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "class SynchronizedArray(SynchronizedBase):\n def __len__(self):\n return len(self._obj)\n def __getitem__(self, i):\n with self:\n return self._obj[i]\n def __setitem__(self, i, value):\n with self:\n self._obj[i] = value\n def __getslice__(self, start, stop):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "SynchronizedString", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "class SynchronizedString(SynchronizedArray):\n value = make_property('value')\n raw = make_property('raw')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "RawValue", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "def RawValue(typecode_or_type, *args):\n '''\n Returns a ctypes object allocated from shared memory\n '''\n type_ = typecode_to_type.get(typecode_or_type, typecode_or_type)\n obj = _new_value(type_)\n ctypes.memset(ctypes.addressof(obj), 0, ctypes.sizeof(obj))\n obj.__init__(*args)\n return obj\ndef RawArray(typecode_or_type, size_or_initializer):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "RawArray", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "def RawArray(typecode_or_type, size_or_initializer):\n '''\n Returns a ctypes array allocated from shared memory\n '''\n type_ = typecode_to_type.get(typecode_or_type, typecode_or_type)\n if isinstance(size_or_initializer, int):\n type_ = type_ * size_or_initializer\n obj = _new_value(type_)\n ctypes.memset(ctypes.addressof(obj), 0, ctypes.sizeof(obj))\n return obj", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "Value", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "def Value(typecode_or_type, *args, lock=True, ctx=None):\n '''\n Return a synchronization wrapper for a Value\n '''\n obj = RawValue(typecode_or_type, *args)\n if lock is False:\n return obj\n if lock in (True, None):\n ctx = ctx or get_context()\n lock = ctx.RLock()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "Array", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "def Array(typecode_or_type, size_or_initializer, *, lock=True, ctx=None):\n '''\n Return a synchronization wrapper for a RawArray\n '''\n obj = RawArray(typecode_or_type, size_or_initializer)\n if lock is False:\n return obj\n if lock in (True, None):\n ctx = ctx or get_context()\n lock = ctx.RLock()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "copy", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "def copy(obj):\n new_obj = _new_value(type(obj))\n ctypes.pointer(new_obj)[0] = obj\n return new_obj\ndef synchronized(obj, lock=None, ctx=None):\n assert not isinstance(obj, SynchronizedBase), 'object already synchronized'\n ctx = ctx or get_context()\n if isinstance(obj, ctypes._SimpleCData):\n return Synchronized(obj, lock, ctx)\n elif isinstance(obj, ctypes.Array):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "synchronized", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "def synchronized(obj, lock=None, ctx=None):\n assert not isinstance(obj, SynchronizedBase), 'object already synchronized'\n ctx = ctx or get_context()\n if isinstance(obj, ctypes._SimpleCData):\n return Synchronized(obj, lock, ctx)\n elif isinstance(obj, ctypes.Array):\n if obj._type_ is ctypes.c_char:\n return SynchronizedString(obj, lock, ctx)\n return SynchronizedArray(obj, lock, ctx)\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "reduce_ctype", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "def reduce_ctype(obj):\n assert_spawning(obj)\n if isinstance(obj, ctypes.Array):\n return rebuild_ctype, (obj._type_, obj._wrapper, obj._length_)\n else:\n return rebuild_ctype, (type(obj), obj._wrapper, None)\ndef rebuild_ctype(type_, wrapper, length):\n if length is not None:\n type_ = type_ * length\n _ForkingPickler.register(type_, reduce_ctype)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "rebuild_ctype", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "def rebuild_ctype(type_, wrapper, length):\n if length is not None:\n type_ = type_ * length\n _ForkingPickler.register(type_, reduce_ctype)\n buf = wrapper.create_memoryview()\n obj = type_.from_buffer(buf)\n obj._wrapper = wrapper\n return obj\n#\n# Function to create properties", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "make_property", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "def make_property(name):\n try:\n return prop_cache[name]\n except KeyError:\n d = {}\n exec(template % ((name,)*7), d)\n prop_cache[name] = d[name]\n return d[name]\ntemplate = '''\ndef get%s(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "get%s", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "def get%s(self):\n self.acquire()\n try:\n return self._obj.%s\n finally:\n self.release()\ndef set%s(self, value):\n self.acquire()\n try:\n self._obj.%s = value", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "set%s", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "def set%s(self, value):\n self.acquire()\n try:\n self._obj.%s = value\n finally:\n self.release()\n%s = property(get%s, set%s)\n'''\nprop_cache = {}\nclass_cache = weakref.WeakKeyDictionary()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "_ForkingPickler", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "_ForkingPickler = reduction.ForkingPickler\n__all__ = ['RawValue', 'RawArray', 'Value', 'Array', 'copy', 'synchronized']\n#\n#\n#\ntypecode_to_type = {\n 'c': ctypes.c_char, 'u': ctypes.c_wchar,\n 'b': ctypes.c_byte, 'B': ctypes.c_ubyte,\n 'h': ctypes.c_short, 'H': ctypes.c_ushort,\n 'i': ctypes.c_int, 'I': ctypes.c_uint,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "__all__ = ['RawValue', 'RawArray', 'Value', 'Array', 'copy', 'synchronized']\n#\n#\n#\ntypecode_to_type = {\n 'c': ctypes.c_char, 'u': ctypes.c_wchar,\n 'b': ctypes.c_byte, 'B': ctypes.c_ubyte,\n 'h': ctypes.c_short, 'H': ctypes.c_ushort,\n 'i': ctypes.c_int, 'I': ctypes.c_uint,\n 'l': ctypes.c_long, 'L': ctypes.c_ulong,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "typecode_to_type", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "typecode_to_type = {\n 'c': ctypes.c_char, 'u': ctypes.c_wchar,\n 'b': ctypes.c_byte, 'B': ctypes.c_ubyte,\n 'h': ctypes.c_short, 'H': ctypes.c_ushort,\n 'i': ctypes.c_int, 'I': ctypes.c_uint,\n 'l': ctypes.c_long, 'L': ctypes.c_ulong,\n 'q': ctypes.c_longlong, 'Q': ctypes.c_ulonglong,\n 'f': ctypes.c_float, 'd': ctypes.c_double\n }\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "template", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "template = '''\ndef get%s(self):\n self.acquire()\n try:\n return self._obj.%s\n finally:\n self.release()\ndef set%s(self, value):\n self.acquire()\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "%s", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "%s = property(get%s, set%s)\n'''\nprop_cache = {}\nclass_cache = weakref.WeakKeyDictionary()\n#\n# Synchronized wrappers\n#\nclass SynchronizedBase(object):\n def __init__(self, obj, lock=None, ctx=None):\n self._obj = obj", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "prop_cache", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "prop_cache = {}\nclass_cache = weakref.WeakKeyDictionary()\n#\n# Synchronized wrappers\n#\nclass SynchronizedBase(object):\n def __init__(self, obj, lock=None, ctx=None):\n self._obj = obj\n if lock:\n self._lock = lock", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "class_cache", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "peekOfCode": "class_cache = weakref.WeakKeyDictionary()\n#\n# Synchronized wrappers\n#\nclass SynchronizedBase(object):\n def __init__(self, obj, lock=None, ctx=None):\n self._obj = obj\n if lock:\n self._lock = lock\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.sharedctypes", "documentation": {} }, { "label": "SharedMemory", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.shared_memory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.shared_memory", "peekOfCode": "class SharedMemory:\n \"\"\"Creates a new shared memory block or attaches to an existing\n shared memory block.\n Every shared memory block is assigned a unique name. This enables\n one process to create a shared memory block with a particular name\n so that a different process can attach to that same shared memory\n block using that same name.\n As a resource for sharing data across processes, shared memory blocks\n may outlive the original process that created them. When one process\n no longer needs access to a shared memory block that might still be", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.shared_memory", "documentation": {} }, { "label": "ShareableList", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.shared_memory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.shared_memory", "peekOfCode": "class ShareableList:\n \"\"\"Pattern for a mutable list-like object shareable via a shared\n memory block. It differs from the built-in list type in that these\n lists can not change their overall length (i.e. no append, insert,\n etc.)\n Because values are packed into a memoryview as bytes, the struct\n packing format for any storable value must require no more than 8\n characters to describe its format.\"\"\"\n # The shared memory area is organized as follows:\n # - 8 bytes: number of items (N) as a 64-bit integer", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.shared_memory", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.shared_memory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.shared_memory", "peekOfCode": "__all__ = [ 'SharedMemory', 'ShareableList' ]\nfrom functools import partial\nimport mmap\nimport os\nimport errno\nimport struct\nimport secrets\nimport types\nif os.name == \"nt\":\n import _winapi", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.shared_memory", "documentation": {} }, { "label": "_O_CREX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.shared_memory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.shared_memory", "peekOfCode": "_O_CREX = os.O_CREAT | os.O_EXCL\n# FreeBSD (and perhaps other BSDs) limit names to 14 characters.\n_SHM_SAFE_NAME_LENGTH = 14\n# Shared memory block name prefix\nif _USE_POSIX:\n _SHM_NAME_PREFIX = '/psm_'\nelse:\n _SHM_NAME_PREFIX = 'wnsm_'\ndef _make_filename():\n \"Create a random filename for the shared memory object.\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.shared_memory", "documentation": {} }, { "label": "_SHM_SAFE_NAME_LENGTH", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.shared_memory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.shared_memory", "peekOfCode": "_SHM_SAFE_NAME_LENGTH = 14\n# Shared memory block name prefix\nif _USE_POSIX:\n _SHM_NAME_PREFIX = '/psm_'\nelse:\n _SHM_NAME_PREFIX = 'wnsm_'\ndef _make_filename():\n \"Create a random filename for the shared memory object.\"\n # number of random bytes to use for name\n nbytes = (_SHM_SAFE_NAME_LENGTH - len(_SHM_NAME_PREFIX)) // 2", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.shared_memory", "documentation": {} }, { "label": "_encoding", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.shared_memory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.shared_memory", "peekOfCode": "_encoding = \"utf8\"\nclass ShareableList:\n \"\"\"Pattern for a mutable list-like object shareable via a shared\n memory block. It differs from the built-in list type in that these\n lists can not change their overall length (i.e. no append, insert,\n etc.)\n Because values are packed into a memoryview as bytes, the struct\n packing format for any storable value must require no more than 8\n characters to describe its format.\"\"\"\n # The shared memory area is organized as follows:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.shared_memory", "documentation": {} }, { "label": "set_executable", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "peekOfCode": "def set_executable(exe):\n global _python_exe\n _python_exe = exe\ndef get_executable():\n return _python_exe\n#\n#\n#\ndef is_forking(argv):\n '''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "documentation": {} }, { "label": "get_executable", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "peekOfCode": "def get_executable():\n return _python_exe\n#\n#\n#\ndef is_forking(argv):\n '''\n Return whether commandline indicates we are forking\n '''\n if len(argv) >= 2 and argv[1] == '--multiprocessing-fork':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "documentation": {} }, { "label": "is_forking", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "peekOfCode": "def is_forking(argv):\n '''\n Return whether commandline indicates we are forking\n '''\n if len(argv) >= 2 and argv[1] == '--multiprocessing-fork':\n return True\n else:\n return False\ndef freeze_support():\n '''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "documentation": {} }, { "label": "freeze_support", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "peekOfCode": "def freeze_support():\n '''\n Run code for process object if this in not the main process\n '''\n if is_forking(sys.argv):\n kwds = {}\n for arg in sys.argv[2:]:\n name, value = arg.split('=')\n if value == 'None':\n kwds[name] = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "documentation": {} }, { "label": "get_command_line", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "peekOfCode": "def get_command_line(**kwds):\n '''\n Returns prefix of command line used for spawning a child process\n '''\n if getattr(sys, 'frozen', False):\n return ([sys.executable, '--multiprocessing-fork'] +\n ['%s=%r' % item for item in kwds.items()])\n else:\n prog = 'from multiprocessing.spawn import spawn_main; spawn_main(%s)'\n prog %= ', '.join('%s=%r' % item for item in kwds.items())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "documentation": {} }, { "label": "spawn_main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "peekOfCode": "def spawn_main(pipe_handle, parent_pid=None, tracker_fd=None):\n '''\n Run code specified by data received over pipe\n '''\n assert is_forking(sys.argv), \"Not forking\"\n if sys.platform == 'win32':\n import msvcrt\n import _winapi\n if parent_pid is not None:\n source_process = _winapi.OpenProcess(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "documentation": {} }, { "label": "get_preparation_data", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "peekOfCode": "def get_preparation_data(name):\n '''\n Return info about parent needed by child to unpickle process object\n '''\n _check_not_importing_main()\n d = dict(\n log_to_stderr=util._log_to_stderr,\n authkey=process.current_process().authkey,\n )\n if util._logger is not None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "documentation": {} }, { "label": "prepare", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "peekOfCode": "def prepare(data):\n '''\n Try to get current process ready to unpickle process object\n '''\n if 'name' in data:\n process.current_process().name = data['name']\n if 'authkey' in data:\n process.current_process().authkey = data['authkey']\n if 'log_to_stderr' in data and data['log_to_stderr']:\n util.log_to_stderr()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "documentation": {} }, { "label": "import_main_path", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "peekOfCode": "def import_main_path(main_path):\n '''\n Set sys.modules['__main__'] to module at main_path\n '''\n _fixup_main_from_path(main_path)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "peekOfCode": "__all__ = ['_main', 'freeze_support', 'set_executable', 'get_executable',\n 'get_preparation_data', 'get_command_line', 'import_main_path']\n#\n# _python_exe is the assumed path to the python executable.\n# People embedding Python want to modify it.\n#\nif sys.platform != 'win32':\n WINEXE = False\n WINSERVICE = False\nelse:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "documentation": {} }, { "label": "old_main_modules", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "peekOfCode": "old_main_modules = []\ndef prepare(data):\n '''\n Try to get current process ready to unpickle process object\n '''\n if 'name' in data:\n process.current_process().name = data['name']\n if 'authkey' in data:\n process.current_process().authkey = data['authkey']\n if 'log_to_stderr' in data and data['log_to_stderr']:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.spawn", "documentation": {} }, { "label": "SemLock", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "peekOfCode": "class SemLock(object):\n _rand = tempfile._RandomNameSequence()\n def __init__(self, kind, value, maxvalue, *, ctx):\n if ctx is None:\n ctx = context._default_context.get_context()\n name = ctx.get_start_method()\n unlink_now = sys.platform == 'win32' or name == 'fork'\n for i in range(100):\n try:\n sl = self._semlock = _multiprocessing.SemLock(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "documentation": {} }, { "label": "Semaphore", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "peekOfCode": "class Semaphore(SemLock):\n def __init__(self, value=1, *, ctx):\n SemLock.__init__(self, SEMAPHORE, value, SEM_VALUE_MAX, ctx=ctx)\n def get_value(self):\n return self._semlock._get_value()\n def __repr__(self):\n try:\n value = self._semlock._get_value()\n except Exception:\n value = 'unknown'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "documentation": {} }, { "label": "BoundedSemaphore", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "peekOfCode": "class BoundedSemaphore(Semaphore):\n def __init__(self, value=1, *, ctx):\n SemLock.__init__(self, SEMAPHORE, value, value, ctx=ctx)\n def __repr__(self):\n try:\n value = self._semlock._get_value()\n except Exception:\n value = 'unknown'\n return '<%s(value=%s, maxvalue=%s)>' % \\\n (self.__class__.__name__, value, self._semlock.maxvalue)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "documentation": {} }, { "label": "Lock", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "peekOfCode": "class Lock(SemLock):\n def __init__(self, *, ctx):\n SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx)\n def __repr__(self):\n try:\n if self._semlock._is_mine():\n name = process.current_process().name\n if threading.current_thread().name != 'MainThread':\n name += '|' + threading.current_thread().name\n elif self._semlock._get_value() == 1:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "documentation": {} }, { "label": "RLock", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "peekOfCode": "class RLock(SemLock):\n def __init__(self, *, ctx):\n SemLock.__init__(self, RECURSIVE_MUTEX, 1, 1, ctx=ctx)\n def __repr__(self):\n try:\n if self._semlock._is_mine():\n name = process.current_process().name\n if threading.current_thread().name != 'MainThread':\n name += '|' + threading.current_thread().name\n count = self._semlock._count()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "documentation": {} }, { "label": "Condition", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "peekOfCode": "class Condition(object):\n def __init__(self, lock=None, *, ctx):\n self._lock = lock or ctx.RLock()\n self._sleeping_count = ctx.Semaphore(0)\n self._woken_count = ctx.Semaphore(0)\n self._wait_semaphore = ctx.Semaphore(0)\n self._make_methods()\n def __getstate__(self):\n context.assert_spawning(self)\n return (self._lock, self._sleeping_count,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "documentation": {} }, { "label": "Event", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "peekOfCode": "class Event(object):\n def __init__(self, *, ctx):\n self._cond = ctx.Condition(ctx.Lock())\n self._flag = ctx.Semaphore(0)\n def is_set(self):\n with self._cond:\n if self._flag.acquire(False):\n self._flag.release()\n return True\n return False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "documentation": {} }, { "label": "Barrier", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "peekOfCode": "class Barrier(threading.Barrier):\n def __init__(self, parties, action=None, timeout=None, *, ctx):\n import struct\n from .heap import BufferWrapper\n wrapper = BufferWrapper(struct.calcsize('i') * 2)\n cond = ctx.Condition()\n self.__setstate__((parties, action, timeout, cond, wrapper))\n self._state = 0\n self._count = 0\n def __setstate__(self, state):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "peekOfCode": "__all__ = [\n 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition', 'Event'\n ]\nimport threading\nimport sys\nimport tempfile\nimport _multiprocessing\nimport time\nfrom . import context\nfrom . import process", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "documentation": {} }, { "label": "SEM_VALUE_MAX", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "peekOfCode": "SEM_VALUE_MAX = _multiprocessing.SemLock.SEM_VALUE_MAX\n#\n# Base class for semaphores and mutexes; wraps `_multiprocessing.SemLock`\n#\nclass SemLock(object):\n _rand = tempfile._RandomNameSequence()\n def __init__(self, kind, value, maxvalue, *, ctx):\n if ctx is None:\n ctx = context._default_context.get_context()\n name = ctx.get_start_method()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.synchronize", "documentation": {} }, { "label": "Finalize", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "class Finalize(object):\n '''\n Class which supports object finalization using weakrefs\n '''\n def __init__(self, obj, callback, args=(), kwargs=None, exitpriority=None):\n if (exitpriority is not None) and not isinstance(exitpriority,int):\n raise TypeError(\n \"Exitpriority ({0!r}) must be None or int, not {1!s}\".format(\n exitpriority, type(exitpriority)))\n if obj is not None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "ForkAwareThreadLock", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "class ForkAwareThreadLock(object):\n def __init__(self):\n self._lock = threading.Lock()\n self.acquire = self._lock.acquire\n self.release = self._lock.release\n register_after_fork(self, ForkAwareThreadLock._at_fork_reinit)\n def _at_fork_reinit(self):\n self._lock._at_fork_reinit()\n def __enter__(self):\n return self._lock.__enter__()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "ForkAwareLocal", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "class ForkAwareLocal(threading.local):\n def __init__(self):\n register_after_fork(self, lambda obj : obj.__dict__.clear())\n def __reduce__(self):\n return type(self), ()\n#\n# Close fds except those specified\n#\ntry:\n MAXFD = os.sysconf(\"SC_OPEN_MAX\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "sub_debug", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "def sub_debug(msg, *args):\n if _logger:\n _logger.log(SUBDEBUG, msg, *args)\ndef debug(msg, *args):\n if _logger:\n _logger.log(DEBUG, msg, *args)\ndef info(msg, *args):\n if _logger:\n _logger.log(INFO, msg, *args)\ndef sub_warning(msg, *args):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "debug", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "def debug(msg, *args):\n if _logger:\n _logger.log(DEBUG, msg, *args)\ndef info(msg, *args):\n if _logger:\n _logger.log(INFO, msg, *args)\ndef sub_warning(msg, *args):\n if _logger:\n _logger.log(SUBWARNING, msg, *args)\ndef get_logger():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "info", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "def info(msg, *args):\n if _logger:\n _logger.log(INFO, msg, *args)\ndef sub_warning(msg, *args):\n if _logger:\n _logger.log(SUBWARNING, msg, *args)\ndef get_logger():\n '''\n Returns logger used by multiprocessing\n '''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "sub_warning", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "def sub_warning(msg, *args):\n if _logger:\n _logger.log(SUBWARNING, msg, *args)\ndef get_logger():\n '''\n Returns logger used by multiprocessing\n '''\n global _logger\n import logging\n logging._acquireLock()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "get_logger", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "def get_logger():\n '''\n Returns logger used by multiprocessing\n '''\n global _logger\n import logging\n logging._acquireLock()\n try:\n if not _logger:\n _logger = logging.getLogger(LOGGER_NAME)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "log_to_stderr", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "def log_to_stderr(level=None):\n '''\n Turn on logging and add a handler which prints to stderr\n '''\n global _log_to_stderr\n import logging\n logger = get_logger()\n formatter = logging.Formatter(DEFAULT_LOGGING_FORMAT)\n handler = logging.StreamHandler()\n handler.setFormatter(formatter)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "is_abstract_socket_namespace", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "def is_abstract_socket_namespace(address):\n if not address:\n return False\n if isinstance(address, bytes):\n return address[0] == 0\n elif isinstance(address, str):\n return address[0] == \"\\0\"\n raise TypeError('address type of {address!r} unrecognized')\nabstract_sockets_supported = _platform_supports_abstract_sockets()\n#", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "get_temp_dir", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "def get_temp_dir():\n # get name of a temp directory which will be automatically cleaned up\n tempdir = process.current_process()._config.get('tempdir')\n if tempdir is None:\n import shutil, tempfile\n tempdir = tempfile.mkdtemp(prefix='pymp-')\n info('created temp directory %s', tempdir)\n # keep a strong reference to shutil.rmtree(), since the finalizer\n # can be called late during Python shutdown\n Finalize(None, _remove_temp_dir, args=(shutil.rmtree, tempdir),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "register_after_fork", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "def register_after_fork(obj, func):\n _afterfork_registry[(next(_afterfork_counter), id(obj), func)] = obj\n#\n# Finalization using weakrefs\n#\n_finalizer_registry = {}\n_finalizer_counter = itertools.count()\nclass Finalize(object):\n '''\n Class which supports object finalization using weakrefs", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "is_exiting", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "def is_exiting():\n '''\n Returns true if the process is shutting down\n '''\n return _exiting or _exiting is None\n_exiting = False\ndef _exit_function(info=info, debug=debug, _run_finalizers=_run_finalizers,\n active_children=process.active_children,\n current_process=process.current_process):\n # We hold on to references to functions in the arglist due to the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "close_all_fds_except", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "def close_all_fds_except(fds):\n fds = list(fds) + [-1, MAXFD]\n fds.sort()\n assert fds[-1] == MAXFD, 'fd too large'\n for i in range(len(fds) - 1):\n os.closerange(fds[i]+1, fds[i+1])\n#\n# Close sys.stdin and replace stdin with os.devnull\n#\ndef _close_stdin():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "spawnv_passfds", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "def spawnv_passfds(path, args, passfds):\n import _posixsubprocess\n passfds = tuple(sorted(map(int, passfds)))\n errpipe_read, errpipe_write = os.pipe()\n try:\n return _posixsubprocess.fork_exec(\n args, [os.fsencode(path)], True, passfds, None, None,\n -1, -1, -1, -1, -1, -1, errpipe_read, errpipe_write,\n False, False, None, None, None, -1, None)\n finally:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "close_fds", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "def close_fds(*fds):\n \"\"\"Close each file descriptor given as an argument\"\"\"\n for fd in fds:\n os.close(fd)\ndef _cleanup_tests():\n \"\"\"Cleanup multiprocessing resources when multiprocessing tests\n completed.\"\"\"\n from test import support\n # cleanup multiprocessing\n process._cleanup()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "__all__ = [\n 'sub_debug', 'debug', 'info', 'sub_warning', 'get_logger',\n 'log_to_stderr', 'get_temp_dir', 'register_after_fork',\n 'is_exiting', 'Finalize', 'ForkAwareThreadLock', 'ForkAwareLocal',\n 'close_all_fds_except', 'SUBDEBUG', 'SUBWARNING',\n ]\n#\n# Logging\n#\nNOTSET = 0", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "NOTSET", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "NOTSET = 0\nSUBDEBUG = 5\nDEBUG = 10\nINFO = 20\nSUBWARNING = 25\nLOGGER_NAME = 'multiprocessing'\nDEFAULT_LOGGING_FORMAT = '[%(levelname)s/%(processName)s] %(message)s'\n_logger = None\n_log_to_stderr = False\ndef sub_debug(msg, *args):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "SUBDEBUG", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "SUBDEBUG = 5\nDEBUG = 10\nINFO = 20\nSUBWARNING = 25\nLOGGER_NAME = 'multiprocessing'\nDEFAULT_LOGGING_FORMAT = '[%(levelname)s/%(processName)s] %(message)s'\n_logger = None\n_log_to_stderr = False\ndef sub_debug(msg, *args):\n if _logger:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "DEBUG", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "DEBUG = 10\nINFO = 20\nSUBWARNING = 25\nLOGGER_NAME = 'multiprocessing'\nDEFAULT_LOGGING_FORMAT = '[%(levelname)s/%(processName)s] %(message)s'\n_logger = None\n_log_to_stderr = False\ndef sub_debug(msg, *args):\n if _logger:\n _logger.log(SUBDEBUG, msg, *args)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "INFO", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "INFO = 20\nSUBWARNING = 25\nLOGGER_NAME = 'multiprocessing'\nDEFAULT_LOGGING_FORMAT = '[%(levelname)s/%(processName)s] %(message)s'\n_logger = None\n_log_to_stderr = False\ndef sub_debug(msg, *args):\n if _logger:\n _logger.log(SUBDEBUG, msg, *args)\ndef debug(msg, *args):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "SUBWARNING", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "SUBWARNING = 25\nLOGGER_NAME = 'multiprocessing'\nDEFAULT_LOGGING_FORMAT = '[%(levelname)s/%(processName)s] %(message)s'\n_logger = None\n_log_to_stderr = False\ndef sub_debug(msg, *args):\n if _logger:\n _logger.log(SUBDEBUG, msg, *args)\ndef debug(msg, *args):\n if _logger:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "LOGGER_NAME", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "LOGGER_NAME = 'multiprocessing'\nDEFAULT_LOGGING_FORMAT = '[%(levelname)s/%(processName)s] %(message)s'\n_logger = None\n_log_to_stderr = False\ndef sub_debug(msg, *args):\n if _logger:\n _logger.log(SUBDEBUG, msg, *args)\ndef debug(msg, *args):\n if _logger:\n _logger.log(DEBUG, msg, *args)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "DEFAULT_LOGGING_FORMAT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "DEFAULT_LOGGING_FORMAT = '[%(levelname)s/%(processName)s] %(message)s'\n_logger = None\n_log_to_stderr = False\ndef sub_debug(msg, *args):\n if _logger:\n _logger.log(SUBDEBUG, msg, *args)\ndef debug(msg, *args):\n if _logger:\n _logger.log(DEBUG, msg, *args)\ndef info(msg, *args):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "_logger", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "_logger = None\n_log_to_stderr = False\ndef sub_debug(msg, *args):\n if _logger:\n _logger.log(SUBDEBUG, msg, *args)\ndef debug(msg, *args):\n if _logger:\n _logger.log(DEBUG, msg, *args)\ndef info(msg, *args):\n if _logger:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "_log_to_stderr", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "_log_to_stderr = False\ndef sub_debug(msg, *args):\n if _logger:\n _logger.log(SUBDEBUG, msg, *args)\ndef debug(msg, *args):\n if _logger:\n _logger.log(DEBUG, msg, *args)\ndef info(msg, *args):\n if _logger:\n _logger.log(INFO, msg, *args)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "abstract_sockets_supported", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "abstract_sockets_supported = _platform_supports_abstract_sockets()\n#\n# Function returning a temp directory which will be removed on exit\n#\ndef _remove_temp_dir(rmtree, tempdir):\n rmtree(tempdir)\n current_process = process.current_process()\n # current_process() can be None if the finalizer is called\n # late during Python finalization\n if current_process is not None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "_afterfork_registry", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "_afterfork_registry = weakref.WeakValueDictionary()\n_afterfork_counter = itertools.count()\ndef _run_after_forkers():\n items = list(_afterfork_registry.items())\n items.sort()\n for (index, ident, func), obj in items:\n try:\n func(obj)\n except Exception as e:\n info('after forker raised exception %s', e)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "_afterfork_counter", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "_afterfork_counter = itertools.count()\ndef _run_after_forkers():\n items = list(_afterfork_registry.items())\n items.sort()\n for (index, ident, func), obj in items:\n try:\n func(obj)\n except Exception as e:\n info('after forker raised exception %s', e)\ndef register_after_fork(obj, func):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "_finalizer_registry", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "_finalizer_registry = {}\n_finalizer_counter = itertools.count()\nclass Finalize(object):\n '''\n Class which supports object finalization using weakrefs\n '''\n def __init__(self, obj, callback, args=(), kwargs=None, exitpriority=None):\n if (exitpriority is not None) and not isinstance(exitpriority,int):\n raise TypeError(\n \"Exitpriority ({0!r}) must be None or int, not {1!s}\".format(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "_finalizer_counter", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "_finalizer_counter = itertools.count()\nclass Finalize(object):\n '''\n Class which supports object finalization using weakrefs\n '''\n def __init__(self, obj, callback, args=(), kwargs=None, exitpriority=None):\n if (exitpriority is not None) and not isinstance(exitpriority,int):\n raise TypeError(\n \"Exitpriority ({0!r}) must be None or int, not {1!s}\".format(\n exitpriority, type(exitpriority)))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "_exiting", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "peekOfCode": "_exiting = False\ndef _exit_function(info=info, debug=debug, _run_finalizers=_run_finalizers,\n active_children=process.active_children,\n current_process=process.current_process):\n # We hold on to references to functions in the arglist due to the\n # situation described below, where this function is called after this\n # module's globals are destroyed.\n global _exiting\n if not _exiting:\n _exiting = True", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.multiprocessing.util", "documentation": {} }, { "label": "topics", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.pydoc_data.topics", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.pydoc_data.topics", "peekOfCode": "topics = {'assert': 'The \"assert\" statement\\n'\n '**********************\\n'\n '\\n'\n 'Assert statements are a convenient way to insert debugging '\n 'assertions\\n'\n 'into a program:\\n'\n '\\n'\n ' assert_stmt ::= \"assert\" expression [\",\" expression]\\n'\n '\\n'\n 'The simple form, \"assert expression\", is equivalent to\\n'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.pydoc_data.topics", "documentation": {} }, { "label": "BackupTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.backup", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.backup", "peekOfCode": "class BackupTests(unittest.TestCase):\n def setUp(self):\n cx = self.cx = sqlite.connect(\":memory:\")\n cx.execute('CREATE TABLE foo (key INTEGER)')\n cx.executemany('INSERT INTO foo (key) VALUES (?)', [(3,), (4,)])\n cx.commit()\n def tearDown(self):\n self.cx.close()\n def verify_backup(self, bckcx):\n result = bckcx.execute(\"SELECT key FROM foo ORDER BY key\").fetchall()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.backup", "documentation": {} }, { "label": "suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.backup", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.backup", "peekOfCode": "def suite():\n return unittest.TestLoader().loadTestsFromTestCase(BackupTests)\nif __name__ == \"__main__\":\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.backup", "documentation": {} }, { "label": "ModuleTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "peekOfCode": "class ModuleTests(unittest.TestCase):\n def test_api_level(self):\n self.assertEqual(sqlite.apilevel, \"2.0\",\n \"apilevel is %s, should be 2.0\" % sqlite.apilevel)\n def test_thread_safety(self):\n self.assertEqual(sqlite.threadsafety, 1,\n \"threadsafety is %d, should be 1\" % sqlite.threadsafety)\n def test_param_style(self):\n self.assertEqual(sqlite.paramstyle, \"qmark\",\n \"paramstyle is '%s', should be 'qmark'\" %", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "documentation": {} }, { "label": "ConnectionTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "peekOfCode": "class ConnectionTests(unittest.TestCase):\n def setUp(self):\n self.cx = sqlite.connect(\":memory:\")\n cu = self.cx.cursor()\n cu.execute(\"create table test(id integer primary key, name text)\")\n cu.execute(\"insert into test(name) values (?)\", (\"foo\",))\n def tearDown(self):\n self.cx.close()\n def test_commit(self):\n self.cx.commit()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "documentation": {} }, { "label": "UninitialisedConnectionTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "peekOfCode": "class UninitialisedConnectionTests(unittest.TestCase):\n def setUp(self):\n self.cx = sqlite.Connection.__new__(sqlite.Connection)\n def test_uninit_operations(self):\n funcs = (\n lambda: self.cx.isolation_level,\n lambda: self.cx.total_changes,\n lambda: self.cx.in_transaction,\n lambda: self.cx.iterdump(),\n lambda: self.cx.cursor(),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "documentation": {} }, { "label": "CursorTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "peekOfCode": "class CursorTests(unittest.TestCase):\n def setUp(self):\n self.cx = sqlite.connect(\":memory:\")\n self.cu = self.cx.cursor()\n self.cu.execute(\n \"create table test(id integer primary key, name text, \"\n \"income number, unique_test text unique)\"\n )\n self.cu.execute(\"insert into test(name) values (?)\", (\"foo\",))\n def tearDown(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "documentation": {} }, { "label": "ThreadTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "peekOfCode": "class ThreadTests(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\")\n self.cur = self.con.cursor()\n self.cur.execute(\"create table test(id integer primary key, name text, bin binary, ratio number, ts timestamp)\")\n def tearDown(self):\n self.cur.close()\n self.con.close()\n def test_con_cursor(self):\n def run(con, errors):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "documentation": {} }, { "label": "ConstructorTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "peekOfCode": "class ConstructorTests(unittest.TestCase):\n def test_date(self):\n d = sqlite.Date(2004, 10, 28)\n def test_time(self):\n t = sqlite.Time(12, 39, 35)\n def test_timestamp(self):\n ts = sqlite.Timestamp(2004, 10, 28, 12, 39, 35)\n def test_date_from_ticks(self):\n d = sqlite.DateFromTicks(42)\n def test_time_from_ticks(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "documentation": {} }, { "label": "ExtensionTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "peekOfCode": "class ExtensionTests(unittest.TestCase):\n def test_script_string_sql(self):\n con = sqlite.connect(\":memory:\")\n cur = con.cursor()\n cur.executescript(\"\"\"\n -- bla bla\n /* a stupid comment */\n create table a(i);\n insert into a(i) values (5);\n \"\"\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "documentation": {} }, { "label": "ClosedConTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "peekOfCode": "class ClosedConTests(unittest.TestCase):\n def test_closed_con_cursor(self):\n con = sqlite.connect(\":memory:\")\n con.close()\n with self.assertRaises(sqlite.ProgrammingError):\n cur = con.cursor()\n def test_closed_con_commit(self):\n con = sqlite.connect(\":memory:\")\n con.close()\n with self.assertRaises(sqlite.ProgrammingError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "documentation": {} }, { "label": "ClosedCurTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "peekOfCode": "class ClosedCurTests(unittest.TestCase):\n def test_closed(self):\n con = sqlite.connect(\":memory:\")\n cur = con.cursor()\n cur.close()\n for method_name in (\"execute\", \"executemany\", \"executescript\", \"fetchall\", \"fetchmany\", \"fetchone\"):\n if method_name in (\"execute\", \"executescript\"):\n params = (\"select 4 union select 5\",)\n elif method_name == \"executemany\":\n params = (\"insert into foo(bar) values (?)\", [(3,), (4,)])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "documentation": {} }, { "label": "SqliteOnConflictTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "peekOfCode": "class SqliteOnConflictTests(unittest.TestCase):\n \"\"\"\n Tests for SQLite's \"insert on conflict\" feature.\n See https://www.sqlite.org/lang_conflict.html for details.\n \"\"\"\n def setUp(self):\n self.cx = sqlite.connect(\":memory:\")\n self.cu = self.cx.cursor()\n self.cu.execute(\"\"\"\n CREATE TABLE test(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "documentation": {} }, { "label": "MultiprocessTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "peekOfCode": "class MultiprocessTests(unittest.TestCase):\n CONNECTION_TIMEOUT = SHORT_TIMEOUT / 1000. # Defaults to 30 ms\n def tearDown(self):\n unlink(TESTFN)\n def test_ctx_mgr_rollback_if_commit_failed(self):\n # bpo-27334: ctx manager does not rollback if commit fails\n SCRIPT = f\"\"\"if 1:\n import sqlite3\n def wait():\n print(\"started\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "documentation": {} }, { "label": "suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "peekOfCode": "def suite():\n tests = [\n ClosedConTests,\n ClosedCurTests,\n ConnectionTests,\n ConstructorTests,\n CursorTests,\n ExtensionTests,\n ModuleTests,\n MultiprocessTests,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "documentation": {} }, { "label": "test", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "peekOfCode": "def test():\n runner = unittest.TextTestRunner()\n runner.run(suite())\nif __name__ == \"__main__\":\n test()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dbapi", "documentation": {} }, { "label": "DumpTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dump", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dump", "peekOfCode": "class DumpTests(unittest.TestCase):\n def setUp(self):\n self.cx = sqlite.connect(\":memory:\")\n self.cu = self.cx.cursor()\n def tearDown(self):\n self.cx.close()\n def test_table_dump(self):\n expected_sqls = [\n \"\"\"CREATE TABLE \"index\"(\"index\" blob);\"\"\"\n ,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dump", "documentation": {} }, { "label": "suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dump", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dump", "peekOfCode": "def suite():\n tests = [\n DumpTests,\n ]\n return unittest.TestSuite(\n [unittest.TestLoader().loadTestsFromTestCase(t) for t in tests]\n )\ndef test():\n runner = unittest.TextTestRunner()\n runner.run(suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dump", "documentation": {} }, { "label": "test", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dump", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dump", "peekOfCode": "def test():\n runner = unittest.TextTestRunner()\n runner.run(suite())\nif __name__ == \"__main__\":\n test()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.dump", "documentation": {} }, { "label": "MyConnection", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "peekOfCode": "class MyConnection(sqlite.Connection):\n def __init__(self, *args, **kwargs):\n sqlite.Connection.__init__(self, *args, **kwargs)\ndef dict_factory(cursor, row):\n d = {}\n for idx, col in enumerate(cursor.description):\n d[col[0]] = row[idx]\n return d\nclass MyCursor(sqlite.Cursor):\n def __init__(self, *args, **kwargs):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "documentation": {} }, { "label": "MyCursor", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "peekOfCode": "class MyCursor(sqlite.Cursor):\n def __init__(self, *args, **kwargs):\n sqlite.Cursor.__init__(self, *args, **kwargs)\n self.row_factory = dict_factory\nclass ConnectionFactoryTests(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\", factory=MyConnection)\n def tearDown(self):\n self.con.close()\n def test_is_instance(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "documentation": {} }, { "label": "ConnectionFactoryTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "peekOfCode": "class ConnectionFactoryTests(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\", factory=MyConnection)\n def tearDown(self):\n self.con.close()\n def test_is_instance(self):\n self.assertIsInstance(self.con, MyConnection)\nclass CursorFactoryTests(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "documentation": {} }, { "label": "CursorFactoryTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "peekOfCode": "class CursorFactoryTests(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\")\n def tearDown(self):\n self.con.close()\n def test_is_instance(self):\n cur = self.con.cursor()\n self.assertIsInstance(cur, sqlite.Cursor)\n cur = self.con.cursor(MyCursor)\n self.assertIsInstance(cur, MyCursor)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "documentation": {} }, { "label": "RowFactoryTestsBackwardsCompat", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "peekOfCode": "class RowFactoryTestsBackwardsCompat(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\")\n def test_is_produced_by_factory(self):\n cur = self.con.cursor(factory=MyCursor)\n cur.execute(\"select 4+5 as foo\")\n row = cur.fetchone()\n self.assertIsInstance(row, dict)\n cur.close()\n def tearDown(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "documentation": {} }, { "label": "RowFactoryTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "peekOfCode": "class RowFactoryTests(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\")\n def test_custom_factory(self):\n self.con.row_factory = lambda cur, row: list(row)\n row = self.con.execute(\"select 1, 2\").fetchone()\n self.assertIsInstance(row, list)\n def test_sqlite_row_index(self):\n self.con.row_factory = sqlite.Row\n row = self.con.execute(\"select 1 as a_1, 2 as b\").fetchone()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "documentation": {} }, { "label": "TextFactoryTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "peekOfCode": "class TextFactoryTests(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\")\n def test_unicode(self):\n austria = \"Österreich\"\n row = self.con.execute(\"select ?\", (austria,)).fetchone()\n self.assertEqual(type(row[0]), str, \"type of row[0] must be unicode\")\n def test_string(self):\n self.con.text_factory = bytes\n austria = \"Österreich\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "documentation": {} }, { "label": "TextFactoryTestsWithEmbeddedZeroBytes", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "peekOfCode": "class TextFactoryTestsWithEmbeddedZeroBytes(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\")\n self.con.execute(\"create table test (value text)\")\n self.con.execute(\"insert into test (value) values (?)\", (\"a\\x00b\",))\n def test_string(self):\n # text_factory defaults to str\n row = self.con.execute(\"select value from test\").fetchone()\n self.assertIs(type(row[0]), str)\n self.assertEqual(row[0], \"a\\x00b\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "documentation": {} }, { "label": "dict_factory", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "peekOfCode": "def dict_factory(cursor, row):\n d = {}\n for idx, col in enumerate(cursor.description):\n d[col[0]] = row[idx]\n return d\nclass MyCursor(sqlite.Cursor):\n def __init__(self, *args, **kwargs):\n sqlite.Cursor.__init__(self, *args, **kwargs)\n self.row_factory = dict_factory\nclass ConnectionFactoryTests(unittest.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "documentation": {} }, { "label": "suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "peekOfCode": "def suite():\n tests = [\n ConnectionFactoryTests,\n CursorFactoryTests,\n RowFactoryTests,\n RowFactoryTestsBackwardsCompat,\n TextFactoryTests,\n TextFactoryTestsWithEmbeddedZeroBytes,\n ]\n return unittest.TestSuite(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "documentation": {} }, { "label": "test", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "peekOfCode": "def test():\n runner = unittest.TextTestRunner()\n runner.run(suite())\nif __name__ == \"__main__\":\n test()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.factory", "documentation": {} }, { "label": "CollationTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.hooks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.hooks", "peekOfCode": "class CollationTests(unittest.TestCase):\n def test_create_collation_not_string(self):\n con = sqlite.connect(\":memory:\")\n with self.assertRaises(TypeError):\n con.create_collation(None, lambda x, y: (x > y) - (x < y))\n def test_create_collation_not_callable(self):\n con = sqlite.connect(\":memory:\")\n with self.assertRaises(TypeError) as cm:\n con.create_collation(\"X\", 42)\n self.assertEqual(str(cm.exception), 'parameter must be callable')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.hooks", "documentation": {} }, { "label": "ProgressTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.hooks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.hooks", "peekOfCode": "class ProgressTests(unittest.TestCase):\n def test_progress_handler_used(self):\n \"\"\"\n Test that the progress handler is invoked once it is set.\n \"\"\"\n con = sqlite.connect(\":memory:\")\n progress_calls = []\n def progress():\n progress_calls.append(None)\n return 0", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.hooks", "documentation": {} }, { "label": "TraceCallbackTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.hooks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.hooks", "peekOfCode": "class TraceCallbackTests(unittest.TestCase):\n def test_trace_callback_used(self):\n \"\"\"\n Test that the trace callback is invoked once it is set.\n \"\"\"\n con = sqlite.connect(\":memory:\")\n traced_statements = []\n def trace(statement):\n traced_statements.append(statement)\n con.set_trace_callback(trace)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.hooks", "documentation": {} }, { "label": "suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.hooks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.hooks", "peekOfCode": "def suite():\n tests = [\n CollationTests,\n ProgressTests,\n TraceCallbackTests,\n ]\n return unittest.TestSuite(\n [unittest.TestLoader().loadTestsFromTestCase(t) for t in tests]\n )\ndef test():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.hooks", "documentation": {} }, { "label": "test", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.hooks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.hooks", "peekOfCode": "def test():\n runner = unittest.TextTestRunner()\n runner.run(suite())\nif __name__ == \"__main__\":\n test()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.hooks", "documentation": {} }, { "label": "RegressionTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.regression", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.regression", "peekOfCode": "class RegressionTests(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\")\n def tearDown(self):\n self.con.close()\n def test_pragma_user_version(self):\n # This used to crash pysqlite because this pragma command returns NULL for the column name\n cur = self.con.cursor()\n cur.execute(\"pragma user_version\")\n def test_pragma_schema_version(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.regression", "documentation": {} }, { "label": "suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.regression", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.regression", "peekOfCode": "def suite():\n tests = [\n RegressionTests\n ]\n return unittest.TestSuite(\n [unittest.TestLoader().loadTestsFromTestCase(t) for t in tests]\n )\ndef test():\n runner = unittest.TextTestRunner()\n runner.run(suite())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.regression", "documentation": {} }, { "label": "test", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.regression", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.regression", "peekOfCode": "def test():\n runner = unittest.TextTestRunner()\n runner.run(suite())\nif __name__ == \"__main__\":\n test()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.regression", "documentation": {} }, { "label": "TransactionTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.transactions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.transactions", "peekOfCode": "class TransactionTests(unittest.TestCase):\n def setUp(self):\n try:\n os.remove(get_db_path())\n except OSError:\n pass\n self.con1 = sqlite.connect(get_db_path(), timeout=0.1)\n self.cur1 = self.con1.cursor()\n self.con2 = sqlite.connect(get_db_path(), timeout=0.1)\n self.cur2 = self.con2.cursor()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.transactions", "documentation": {} }, { "label": "SpecialCommandTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.transactions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.transactions", "peekOfCode": "class SpecialCommandTests(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\")\n self.cur = self.con.cursor()\n def test_drop_table(self):\n self.cur.execute(\"create table test(i)\")\n self.cur.execute(\"insert into test(i) values (5)\")\n self.cur.execute(\"drop table test\")\n def test_pragma(self):\n self.cur.execute(\"create table test(i)\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.transactions", "documentation": {} }, { "label": "TransactionalDDL", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.transactions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.transactions", "peekOfCode": "class TransactionalDDL(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\")\n def test_ddl_does_not_autostart_transaction(self):\n # For backwards compatibility reasons, DDL statements should not\n # implicitly start a transaction.\n self.con.execute(\"create table test(i)\")\n self.con.rollback()\n result = self.con.execute(\"select * from test\").fetchall()\n self.assertEqual(result, [])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.transactions", "documentation": {} }, { "label": "get_db_path", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.transactions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.transactions", "peekOfCode": "def get_db_path():\n return \"sqlite_testdb\"\nclass TransactionTests(unittest.TestCase):\n def setUp(self):\n try:\n os.remove(get_db_path())\n except OSError:\n pass\n self.con1 = sqlite.connect(get_db_path(), timeout=0.1)\n self.cur1 = self.con1.cursor()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.transactions", "documentation": {} }, { "label": "suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.transactions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.transactions", "peekOfCode": "def suite():\n tests = [\n SpecialCommandTests,\n TransactionTests,\n TransactionalDDL,\n ]\n return unittest.TestSuite(\n [unittest.TestLoader().loadTestsFromTestCase(t) for t in tests]\n )\ndef test():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.transactions", "documentation": {} }, { "label": "test", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.transactions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.transactions", "peekOfCode": "def test():\n runner = unittest.TextTestRunner()\n runner.run(suite())\nif __name__ == \"__main__\":\n test()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.transactions", "documentation": {} }, { "label": "SqliteTypeTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "peekOfCode": "class SqliteTypeTests(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\")\n self.cur = self.con.cursor()\n self.cur.execute(\"create table test(i integer, s varchar, f number, b blob)\")\n def tearDown(self):\n self.cur.close()\n self.con.close()\n def test_string(self):\n self.cur.execute(\"insert into test(s) values (?)\", (\"Österreich\",))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "documentation": {} }, { "label": "DeclTypesTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "peekOfCode": "class DeclTypesTests(unittest.TestCase):\n class Foo:\n def __init__(self, _val):\n if isinstance(_val, bytes):\n # sqlite3 always calls __init__ with a bytes created from a\n # UTF-8 string when __conform__ was used to store the object.\n _val = _val.decode('utf-8')\n self.val = _val\n def __eq__(self, other):\n if not isinstance(other, DeclTypesTests.Foo):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "documentation": {} }, { "label": "ColNamesTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "peekOfCode": "class ColNamesTests(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\", detect_types=sqlite.PARSE_COLNAMES)\n self.cur = self.con.cursor()\n self.cur.execute(\"create table test(x foo)\")\n sqlite.converters[\"FOO\"] = lambda x: \"[%s]\" % x.decode(\"ascii\")\n sqlite.converters[\"BAR\"] = lambda x: \"<%s>\" % x.decode(\"ascii\")\n sqlite.converters[\"EXC\"] = lambda x: 5/0\n sqlite.converters[\"B1B1\"] = lambda x: \"MARKER\"\n def tearDown(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "documentation": {} }, { "label": "CommonTableExpressionTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "peekOfCode": "class CommonTableExpressionTests(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\")\n self.cur = self.con.cursor()\n self.cur.execute(\"create table test(x foo)\")\n def tearDown(self):\n self.cur.close()\n self.con.close()\n def test_cursor_description_cte_simple(self):\n self.cur.execute(\"with one as (select 1) select * from one\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "documentation": {} }, { "label": "ObjectAdaptationTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "peekOfCode": "class ObjectAdaptationTests(unittest.TestCase):\n def cast(obj):\n return float(obj)\n cast = staticmethod(cast)\n def setUp(self):\n self.con = sqlite.connect(\":memory:\")\n try:\n del sqlite.adapters[int]\n except:\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "documentation": {} }, { "label": "BinaryConverterTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "peekOfCode": "class BinaryConverterTests(unittest.TestCase):\n def convert(s):\n return zlib.decompress(s)\n convert = staticmethod(convert)\n def setUp(self):\n self.con = sqlite.connect(\":memory:\", detect_types=sqlite.PARSE_COLNAMES)\n sqlite.register_converter(\"bin\", BinaryConverterTests.convert)\n def tearDown(self):\n self.con.close()\n def test_binary_input_for_converter(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "documentation": {} }, { "label": "DateTimeTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "peekOfCode": "class DateTimeTests(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\", detect_types=sqlite.PARSE_DECLTYPES)\n self.cur = self.con.cursor()\n self.cur.execute(\"create table test(d date, ts timestamp)\")\n def tearDown(self):\n self.cur.close()\n self.con.close()\n def test_sqlite_date(self):\n d = sqlite.Date(2004, 2, 14)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "documentation": {} }, { "label": "suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "peekOfCode": "def suite():\n tests = [\n BinaryConverterTests,\n ColNamesTests,\n CommonTableExpressionTests,\n DateTimeTests,\n DeclTypesTests,\n ObjectAdaptationTests,\n SqliteTypeTests,\n ]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "documentation": {} }, { "label": "test", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "peekOfCode": "def test():\n runner = unittest.TextTestRunner()\n runner.run(suite())\nif __name__ == \"__main__\":\n test()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.types", "documentation": {} }, { "label": "AggrNoStep", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "class AggrNoStep:\n def __init__(self):\n pass\n def finalize(self):\n return 1\nclass AggrNoFinalize:\n def __init__(self):\n pass\n def step(self, x):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "AggrNoFinalize", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "class AggrNoFinalize:\n def __init__(self):\n pass\n def step(self, x):\n pass\nclass AggrExceptionInInit:\n def __init__(self):\n 5/0\n def step(self, x):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "AggrExceptionInInit", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "class AggrExceptionInInit:\n def __init__(self):\n 5/0\n def step(self, x):\n pass\n def finalize(self):\n pass\nclass AggrExceptionInStep:\n def __init__(self):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "AggrExceptionInStep", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "class AggrExceptionInStep:\n def __init__(self):\n pass\n def step(self, x):\n 5/0\n def finalize(self):\n return 42\nclass AggrExceptionInFinalize:\n def __init__(self):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "AggrExceptionInFinalize", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "class AggrExceptionInFinalize:\n def __init__(self):\n pass\n def step(self, x):\n pass\n def finalize(self):\n 5/0\nclass AggrCheckType:\n def __init__(self):\n self.val = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "AggrCheckType", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "class AggrCheckType:\n def __init__(self):\n self.val = None\n def step(self, whichType, val):\n theType = {\"str\": str, \"int\": int, \"float\": float, \"None\": type(None),\n \"blob\": bytes}\n self.val = int(theType[whichType] is type(val))\n def finalize(self):\n return self.val\nclass AggrCheckTypes:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "AggrCheckTypes", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "class AggrCheckTypes:\n def __init__(self):\n self.val = 0\n def step(self, whichType, *vals):\n theType = {\"str\": str, \"int\": int, \"float\": float, \"None\": type(None),\n \"blob\": bytes}\n for val in vals:\n self.val += int(theType[whichType] is type(val))\n def finalize(self):\n return self.val", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "AggrSum", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "class AggrSum:\n def __init__(self):\n self.val = 0.0\n def step(self, val):\n self.val += val\n def finalize(self):\n return self.val\nclass AggrText:\n def __init__(self):\n self.txt = \"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "AggrText", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "class AggrText:\n def __init__(self):\n self.txt = \"\"\n def step(self, txt):\n self.txt = self.txt + txt\n def finalize(self):\n return self.txt\nclass FunctionTests(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "FunctionTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "class FunctionTests(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\")\n self.con.create_function(\"returntext\", 0, func_returntext)\n self.con.create_function(\"returntextwithnull\", 0, func_returntextwithnull)\n self.con.create_function(\"returnunicode\", 0, func_returnunicode)\n self.con.create_function(\"returnint\", 0, func_returnint)\n self.con.create_function(\"returnfloat\", 0, func_returnfloat)\n self.con.create_function(\"returnnull\", 0, func_returnnull)\n self.con.create_function(\"returnblob\", 0, func_returnblob)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "AggregateTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "class AggregateTests(unittest.TestCase):\n def setUp(self):\n self.con = sqlite.connect(\":memory:\")\n cur = self.con.cursor()\n cur.execute(\"\"\"\n create table test(\n t text,\n i integer,\n f float,\n n,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "AuthorizerTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "class AuthorizerTests(unittest.TestCase):\n @staticmethod\n def authorizer_cb(action, arg1, arg2, dbname, source):\n if action != sqlite.SQLITE_SELECT:\n return sqlite.SQLITE_DENY\n if arg2 == 'c2' or arg1 == 't2':\n return sqlite.SQLITE_DENY\n return sqlite.SQLITE_OK\n def setUp(self):\n self.con = sqlite.connect(\":memory:\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "AuthorizerRaiseExceptionTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "class AuthorizerRaiseExceptionTests(AuthorizerTests):\n @staticmethod\n def authorizer_cb(action, arg1, arg2, dbname, source):\n if action != sqlite.SQLITE_SELECT:\n raise ValueError\n if arg2 == 'c2' or arg1 == 't2':\n raise ValueError\n return sqlite.SQLITE_OK\nclass AuthorizerIllegalTypeTests(AuthorizerTests):\n @staticmethod", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "AuthorizerIllegalTypeTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "class AuthorizerIllegalTypeTests(AuthorizerTests):\n @staticmethod\n def authorizer_cb(action, arg1, arg2, dbname, source):\n if action != sqlite.SQLITE_SELECT:\n return 0.0\n if arg2 == 'c2' or arg1 == 't2':\n return 0.0\n return sqlite.SQLITE_OK\nclass AuthorizerLargeIntegerTests(AuthorizerTests):\n @staticmethod", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "AuthorizerLargeIntegerTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "class AuthorizerLargeIntegerTests(AuthorizerTests):\n @staticmethod\n def authorizer_cb(action, arg1, arg2, dbname, source):\n if action != sqlite.SQLITE_SELECT:\n return 2**32\n if arg2 == 'c2' or arg1 == 't2':\n return 2**32\n return sqlite.SQLITE_OK\ndef suite():\n tests = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "func_returntext", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "def func_returntext():\n return \"foo\"\ndef func_returntextwithnull():\n return \"1\\x002\"\ndef func_returnunicode():\n return \"bar\"\ndef func_returnint():\n return 42\ndef func_returnfloat():\n return 3.14", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "func_returntextwithnull", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "def func_returntextwithnull():\n return \"1\\x002\"\ndef func_returnunicode():\n return \"bar\"\ndef func_returnint():\n return 42\ndef func_returnfloat():\n return 3.14\ndef func_returnnull():\n return None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "func_returnunicode", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "def func_returnunicode():\n return \"bar\"\ndef func_returnint():\n return 42\ndef func_returnfloat():\n return 3.14\ndef func_returnnull():\n return None\ndef func_returnblob():\n return b\"blob\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "func_returnint", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "def func_returnint():\n return 42\ndef func_returnfloat():\n return 3.14\ndef func_returnnull():\n return None\ndef func_returnblob():\n return b\"blob\"\ndef func_returnlonglong():\n return 1<<31", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "func_returnfloat", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "def func_returnfloat():\n return 3.14\ndef func_returnnull():\n return None\ndef func_returnblob():\n return b\"blob\"\ndef func_returnlonglong():\n return 1<<31\ndef func_raiseexception():\n 5/0", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "func_returnnull", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "def func_returnnull():\n return None\ndef func_returnblob():\n return b\"blob\"\ndef func_returnlonglong():\n return 1<<31\ndef func_raiseexception():\n 5/0\nclass AggrNoStep:\n def __init__(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "func_returnblob", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "def func_returnblob():\n return b\"blob\"\ndef func_returnlonglong():\n return 1<<31\ndef func_raiseexception():\n 5/0\nclass AggrNoStep:\n def __init__(self):\n pass\n def finalize(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "func_returnlonglong", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "def func_returnlonglong():\n return 1<<31\ndef func_raiseexception():\n 5/0\nclass AggrNoStep:\n def __init__(self):\n pass\n def finalize(self):\n return 1\nclass AggrNoFinalize:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "func_raiseexception", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "def func_raiseexception():\n 5/0\nclass AggrNoStep:\n def __init__(self):\n pass\n def finalize(self):\n return 1\nclass AggrNoFinalize:\n def __init__(self):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "def suite():\n tests = [\n AggregateTests,\n AuthorizerIllegalTypeTests,\n AuthorizerLargeIntegerTests,\n AuthorizerRaiseExceptionTests,\n AuthorizerTests,\n FunctionTests,\n ]\n return unittest.TestSuite(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "test", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "peekOfCode": "def test():\n runner = unittest.TextTestRunner()\n runner.run(suite())\nif __name__ == \"__main__\":\n test()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.test.userfunctions", "documentation": {} }, { "label": "DateFromTicks", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "peekOfCode": "def DateFromTicks(ticks):\n return Date(*time.localtime(ticks)[:3])\ndef TimeFromTicks(ticks):\n return Time(*time.localtime(ticks)[3:6])\ndef TimestampFromTicks(ticks):\n return Timestamp(*time.localtime(ticks)[:6])\nversion_info = tuple([int(x) for x in version.split(\".\")])\nsqlite_version_info = tuple([int(x) for x in sqlite_version.split(\".\")])\nBinary = memoryview\ncollections.abc.Sequence.register(Row)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "documentation": {} }, { "label": "TimeFromTicks", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "peekOfCode": "def TimeFromTicks(ticks):\n return Time(*time.localtime(ticks)[3:6])\ndef TimestampFromTicks(ticks):\n return Timestamp(*time.localtime(ticks)[:6])\nversion_info = tuple([int(x) for x in version.split(\".\")])\nsqlite_version_info = tuple([int(x) for x in sqlite_version.split(\".\")])\nBinary = memoryview\ncollections.abc.Sequence.register(Row)\ndef register_adapters_and_converters():\n def adapt_date(val):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "documentation": {} }, { "label": "TimestampFromTicks", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "peekOfCode": "def TimestampFromTicks(ticks):\n return Timestamp(*time.localtime(ticks)[:6])\nversion_info = tuple([int(x) for x in version.split(\".\")])\nsqlite_version_info = tuple([int(x) for x in sqlite_version.split(\".\")])\nBinary = memoryview\ncollections.abc.Sequence.register(Row)\ndef register_adapters_and_converters():\n def adapt_date(val):\n return val.isoformat()\n def adapt_datetime(val):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "documentation": {} }, { "label": "register_adapters_and_converters", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "peekOfCode": "def register_adapters_and_converters():\n def adapt_date(val):\n return val.isoformat()\n def adapt_datetime(val):\n return val.isoformat(\" \")\n def convert_date(val):\n return datetime.date(*map(int, val.split(b\"-\")))\n def convert_timestamp(val):\n datepart, timepart = val.split(b\" \")\n year, month, day = map(int, datepart.split(b\"-\"))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "documentation": {} }, { "label": "enable_shared_cache", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "peekOfCode": "def enable_shared_cache(enable):\n from _sqlite3 import enable_shared_cache as _old_enable_shared_cache\n import warnings\n msg = (\n \"enable_shared_cache is deprecated and will be removed in Python 3.12. \"\n \"Shared cache is strongly discouraged by the SQLite 3 documentation. \"\n \"If shared cache must be used, open the database in URI mode using\"\n \"the cache=shared query parameter.\"\n )\n warnings.warn(msg, DeprecationWarning, stacklevel=2)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "documentation": {} }, { "label": "paramstyle", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "peekOfCode": "paramstyle = \"qmark\"\nthreadsafety = 1\napilevel = \"2.0\"\nDate = datetime.date\nTime = datetime.time\nTimestamp = datetime.datetime\ndef DateFromTicks(ticks):\n return Date(*time.localtime(ticks)[:3])\ndef TimeFromTicks(ticks):\n return Time(*time.localtime(ticks)[3:6])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "documentation": {} }, { "label": "threadsafety", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "peekOfCode": "threadsafety = 1\napilevel = \"2.0\"\nDate = datetime.date\nTime = datetime.time\nTimestamp = datetime.datetime\ndef DateFromTicks(ticks):\n return Date(*time.localtime(ticks)[:3])\ndef TimeFromTicks(ticks):\n return Time(*time.localtime(ticks)[3:6])\ndef TimestampFromTicks(ticks):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "documentation": {} }, { "label": "apilevel", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "peekOfCode": "apilevel = \"2.0\"\nDate = datetime.date\nTime = datetime.time\nTimestamp = datetime.datetime\ndef DateFromTicks(ticks):\n return Date(*time.localtime(ticks)[:3])\ndef TimeFromTicks(ticks):\n return Time(*time.localtime(ticks)[3:6])\ndef TimestampFromTicks(ticks):\n return Timestamp(*time.localtime(ticks)[:6])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "documentation": {} }, { "label": "Date", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "peekOfCode": "Date = datetime.date\nTime = datetime.time\nTimestamp = datetime.datetime\ndef DateFromTicks(ticks):\n return Date(*time.localtime(ticks)[:3])\ndef TimeFromTicks(ticks):\n return Time(*time.localtime(ticks)[3:6])\ndef TimestampFromTicks(ticks):\n return Timestamp(*time.localtime(ticks)[:6])\nversion_info = tuple([int(x) for x in version.split(\".\")])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "documentation": {} }, { "label": "Time", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "peekOfCode": "Time = datetime.time\nTimestamp = datetime.datetime\ndef DateFromTicks(ticks):\n return Date(*time.localtime(ticks)[:3])\ndef TimeFromTicks(ticks):\n return Time(*time.localtime(ticks)[3:6])\ndef TimestampFromTicks(ticks):\n return Timestamp(*time.localtime(ticks)[:6])\nversion_info = tuple([int(x) for x in version.split(\".\")])\nsqlite_version_info = tuple([int(x) for x in sqlite_version.split(\".\")])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "documentation": {} }, { "label": "Timestamp", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "peekOfCode": "Timestamp = datetime.datetime\ndef DateFromTicks(ticks):\n return Date(*time.localtime(ticks)[:3])\ndef TimeFromTicks(ticks):\n return Time(*time.localtime(ticks)[3:6])\ndef TimestampFromTicks(ticks):\n return Timestamp(*time.localtime(ticks)[:6])\nversion_info = tuple([int(x) for x in version.split(\".\")])\nsqlite_version_info = tuple([int(x) for x in sqlite_version.split(\".\")])\nBinary = memoryview", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "documentation": {} }, { "label": "version_info", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "peekOfCode": "version_info = tuple([int(x) for x in version.split(\".\")])\nsqlite_version_info = tuple([int(x) for x in sqlite_version.split(\".\")])\nBinary = memoryview\ncollections.abc.Sequence.register(Row)\ndef register_adapters_and_converters():\n def adapt_date(val):\n return val.isoformat()\n def adapt_datetime(val):\n return val.isoformat(\" \")\n def convert_date(val):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "documentation": {} }, { "label": "sqlite_version_info", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "peekOfCode": "sqlite_version_info = tuple([int(x) for x in sqlite_version.split(\".\")])\nBinary = memoryview\ncollections.abc.Sequence.register(Row)\ndef register_adapters_and_converters():\n def adapt_date(val):\n return val.isoformat()\n def adapt_datetime(val):\n return val.isoformat(\" \")\n def convert_date(val):\n return datetime.date(*map(int, val.split(b\"-\")))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "documentation": {} }, { "label": "Binary", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "peekOfCode": "Binary = memoryview\ncollections.abc.Sequence.register(Row)\ndef register_adapters_and_converters():\n def adapt_date(val):\n return val.isoformat()\n def adapt_datetime(val):\n return val.isoformat(\" \")\n def convert_date(val):\n return datetime.date(*map(int, val.split(b\"-\")))\n def convert_timestamp(val):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.sqlite3.dbapi2", "documentation": {} }, { "label": "FAVORITE_NUMBER", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.ziptestdata.testdata_module_inside_zip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.ziptestdata.testdata_module_inside_zip", "peekOfCode": "FAVORITE_NUMBER = 5", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.ziptestdata.testdata_module_inside_zip", "documentation": {} }, { "label": "Namespace", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "peekOfCode": "class Namespace(argparse.Namespace):\n def __init__(self, **kwargs) -> None:\n self.testdir = None\n self.verbose = 0\n self.quiet = False\n self.exclude = False\n self.single = False\n self.randomize = False\n self.fromfile = None\n self.findleaks = 1", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "documentation": {} }, { "label": "_ArgParser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "peekOfCode": "class _ArgParser(argparse.ArgumentParser):\n def error(self, message):\n super().error(message + \"\\nPass -h or --help for complete help.\")\ndef _create_parser():\n # Set prog to prevent the uninformative \"__main__.py\" from displaying in\n # error messages when using \"python -m test ...\".\n parser = _ArgParser(prog='regrtest.py',\n usage=USAGE,\n description=DESCRIPTION,\n epilog=EPILOG,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "documentation": {} }, { "label": "relative_filename", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "peekOfCode": "def relative_filename(string):\n # CWD is replaced with a temporary dir before calling main(), so we\n # join it with the saved CWD so it ends up where the user expects.\n return os.path.join(os_helper.SAVEDCWD, string)\ndef huntrleaks(string):\n args = string.split(':')\n if len(args) not in (2, 3):\n raise argparse.ArgumentTypeError(\n 'needs 2 or 3 colon-separated arguments')\n nwarmup = int(args[0]) if args[0] else 5", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "documentation": {} }, { "label": "huntrleaks", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "peekOfCode": "def huntrleaks(string):\n args = string.split(':')\n if len(args) not in (2, 3):\n raise argparse.ArgumentTypeError(\n 'needs 2 or 3 colon-separated arguments')\n nwarmup = int(args[0]) if args[0] else 5\n ntracked = int(args[1]) if args[1] else 4\n fname = args[2] if len(args) > 2 and args[2] else 'reflog.txt'\n return nwarmup, ntracked, fname\ndef resources_list(string):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "documentation": {} }, { "label": "resources_list", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "peekOfCode": "def resources_list(string):\n u = [x.lower() for x in string.split(',')]\n for r in u:\n if r == 'all' or r == 'none':\n continue\n if r[0] == '-':\n r = r[1:]\n if r not in RESOURCE_NAMES:\n raise argparse.ArgumentTypeError('invalid resource: ' + r)\n return u", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "documentation": {} }, { "label": "USAGE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "peekOfCode": "USAGE = \"\"\"\\\npython -m test [options] [test_name1 [test_name2 ...]]\npython path/to/Lib/test/regrtest.py [options] [test_name1 [test_name2 ...]]\n\"\"\"\nDESCRIPTION = \"\"\"\\\nRun Python regression tests.\nIf no arguments or options are provided, finds all files matching\nthe pattern \"test_*\" in the Lib/test subdirectory and runs\nthem in alphabetical order (but see -M and -u, below, for exceptions).\nFor more rigorous testing, it is useful to use the following", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "documentation": {} }, { "label": "DESCRIPTION", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "peekOfCode": "DESCRIPTION = \"\"\"\\\nRun Python regression tests.\nIf no arguments or options are provided, finds all files matching\nthe pattern \"test_*\" in the Lib/test subdirectory and runs\nthem in alphabetical order (but see -M and -u, below, for exceptions).\nFor more rigorous testing, it is useful to use the following\ncommand line:\npython -E -Wd -m test [options] [test_name1 ...]\n\"\"\"\nEPILOG = \"\"\"\\", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "documentation": {} }, { "label": "EPILOG", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "peekOfCode": "EPILOG = \"\"\"\\\nAdditional option details:\n-r randomizes test execution order. You can use --randseed=int to provide an\nint seed value for the randomizer; this is useful for reproducing troublesome\ntest orders.\n-s On the first invocation of regrtest using -s, the first test file found\nor the first test file given on the command line is run, and the name of\nthe next test is recorded in a file named pynexttest. If run from the\nPython build directory, pynexttest is located in the 'build' subdirectory,\notherwise it is located in tempfile.gettempdir(). On subsequent runs,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "documentation": {} }, { "label": "ALL_RESOURCES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "peekOfCode": "ALL_RESOURCES = ('audio', 'curses', 'largefile', 'network',\n 'decimal', 'cpu', 'subprocess', 'urlfetch', 'gui')\n# Other resources excluded from --use=all:\n#\n# - extralagefile (ex: test_zipfile64): really too slow to be enabled\n# \"by default\"\n# - tzdata: while needed to validate fully test_datetime, it makes\n# test_datetime too slow (15-20 min on some buildbots) and so is disabled by\n# default (see bpo-30822).\nRESOURCE_NAMES = ALL_RESOURCES + ('extralargefile', 'tzdata')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "documentation": {} }, { "label": "RESOURCE_NAMES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "peekOfCode": "RESOURCE_NAMES = ALL_RESOURCES + ('extralargefile', 'tzdata')\nclass Namespace(argparse.Namespace):\n def __init__(self, **kwargs) -> None:\n self.testdir = None\n self.verbose = 0\n self.quiet = False\n self.exclude = False\n self.single = False\n self.randomize = False\n self.fromfile = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.cmdline", "documentation": {} }, { "label": "Regrtest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.main", "peekOfCode": "class Regrtest:\n \"\"\"Execute a test suite.\n This also parses command-line options and modifies its behavior\n accordingly.\n tests -- a list of strings containing test names (optional)\n testdir -- the directory in which to look for tests (optional)\n Users other than the Python test suite will certainly want to\n specify testdir; if it's omitted, the directory containing the\n Python test suite is searched for.\n If the tests argument is omitted, the tests listed on the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.main", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.main", "peekOfCode": "def main(tests=None, **kwargs):\n \"\"\"Run the Python suite.\"\"\"\n Regrtest().main(tests=tests, **kwargs)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.main", "documentation": {} }, { "label": "EXIT_TIMEOUT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.main", "peekOfCode": "EXIT_TIMEOUT = 120.0\nclass Regrtest:\n \"\"\"Execute a test suite.\n This also parses command-line options and modifies its behavior\n accordingly.\n tests -- a list of strings containing test names (optional)\n testdir -- the directory in which to look for tests (optional)\n Users other than the Python test suite will certainly want to\n specify testdir; if it's omitted, the directory containing the\n Python test suite is searched for.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.main", "documentation": {} }, { "label": "setup_pgo_tests", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.pgo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.pgo", "peekOfCode": "def setup_pgo_tests(ns):\n if not ns.args and not ns.pgo_extended:\n # run default set of tests for PGO training\n ns.args = PGO_TESTS[:]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.pgo", "documentation": {} }, { "label": "PGO_TESTS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.pgo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.pgo", "peekOfCode": "PGO_TESTS = [\n 'test_array',\n 'test_base64',\n 'test_binascii',\n 'test_binop',\n 'test_bisect',\n 'test_bytes',\n 'test_bz2',\n 'test_cmath',\n 'test_codecs',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.pgo", "documentation": {} }, { "label": "dash_R", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.refleak", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.refleak", "peekOfCode": "def dash_R(ns, test_name, test_func):\n \"\"\"Run a test multiple times, looking for reference leaks.\n Returns:\n False if the test didn't leak references; True if we detected refleaks.\n \"\"\"\n # This code is hackish and inelegant, but it seems to do the job.\n import copyreg\n import collections.abc\n if not hasattr(sys, 'gettotalrefcount'):\n raise Exception(\"Tracking reference leaks requires a debug build \"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.refleak", "documentation": {} }, { "label": "dash_R_cleanup", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.refleak", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.refleak", "peekOfCode": "def dash_R_cleanup(fs, ps, pic, zdc, abcs):\n import copyreg\n import collections.abc\n # Restore some original values.\n warnings.filters[:] = fs\n copyreg.dispatch_table.clear()\n copyreg.dispatch_table.update(ps)\n sys.path_importer_cache.clear()\n sys.path_importer_cache.update(pic)\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.refleak", "documentation": {} }, { "label": "warm_caches", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.refleak", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.refleak", "peekOfCode": "def warm_caches():\n # char cache\n s = bytes(range(256))\n for i in range(256):\n s[i:i+1]\n # unicode cache\n [chr(i) for i in range(256)]\n # int cache\n list(range(-5, 257))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.refleak", "documentation": {} }, { "label": "TestResult", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "class TestResult:\n def __init__(\n self,\n name: str,\n duration_sec: float = 0.0,\n xml_data: list[str] | None = None,\n ) -> None:\n self.name = name\n self.duration_sec = duration_sec\n self.xml_data = xml_data", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "Passed", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "class Passed(TestResult):\n def __str__(self) -> str:\n return f\"{self.name} passed\"\nclass Failed(TestResult):\n def __init__(\n self,\n name: str,\n duration_sec: float = 0.0,\n xml_data: list[str] | None = None,\n errors: list[tuple[str, str]] | None = None,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "Failed", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "class Failed(TestResult):\n def __init__(\n self,\n name: str,\n duration_sec: float = 0.0,\n xml_data: list[str] | None = None,\n errors: list[tuple[str, str]] | None = None,\n failures: list[tuple[str, str]] | None = None,\n ) -> None:\n super().__init__(name, duration_sec=duration_sec, xml_data=xml_data)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "UncaughtException", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "class UncaughtException(Failed):\n def __str__(self) -> str:\n return f\"{self.name} failed (uncaught exception)\"\nclass EnvChanged(Failed):\n def __str__(self) -> str:\n return f\"{self.name} failed (env changed)\"\nclass RefLeak(Failed):\n def __str__(self) -> str:\n return f\"{self.name} failed (reference leak)\"\nclass Skipped(TestResult):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "EnvChanged", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "class EnvChanged(Failed):\n def __str__(self) -> str:\n return f\"{self.name} failed (env changed)\"\nclass RefLeak(Failed):\n def __str__(self) -> str:\n return f\"{self.name} failed (reference leak)\"\nclass Skipped(TestResult):\n def __str__(self) -> str:\n return f\"{self.name} skipped\"\nclass ResourceDenied(Skipped):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "RefLeak", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "class RefLeak(Failed):\n def __str__(self) -> str:\n return f\"{self.name} failed (reference leak)\"\nclass Skipped(TestResult):\n def __str__(self) -> str:\n return f\"{self.name} skipped\"\nclass ResourceDenied(Skipped):\n def __str__(self) -> str:\n return f\"{self.name} skipped (resource denied)\"\nclass Interrupted(TestResult):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "Skipped", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "class Skipped(TestResult):\n def __str__(self) -> str:\n return f\"{self.name} skipped\"\nclass ResourceDenied(Skipped):\n def __str__(self) -> str:\n return f\"{self.name} skipped (resource denied)\"\nclass Interrupted(TestResult):\n def __str__(self) -> str:\n return f\"{self.name} interrupted\"\nclass ChildError(Failed):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "ResourceDenied", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "class ResourceDenied(Skipped):\n def __str__(self) -> str:\n return f\"{self.name} skipped (resource denied)\"\nclass Interrupted(TestResult):\n def __str__(self) -> str:\n return f\"{self.name} interrupted\"\nclass ChildError(Failed):\n def __str__(self) -> str:\n return f\"{self.name} crashed\"\nclass DidNotRun(TestResult):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "Interrupted", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "class Interrupted(TestResult):\n def __str__(self) -> str:\n return f\"{self.name} interrupted\"\nclass ChildError(Failed):\n def __str__(self) -> str:\n return f\"{self.name} crashed\"\nclass DidNotRun(TestResult):\n def __str__(self) -> str:\n return f\"{self.name} ran no tests\"\nclass Timeout(Failed):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "ChildError", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "class ChildError(Failed):\n def __str__(self) -> str:\n return f\"{self.name} crashed\"\nclass DidNotRun(TestResult):\n def __str__(self) -> str:\n return f\"{self.name} ran no tests\"\nclass Timeout(Failed):\n def __str__(self) -> str:\n return f\"{self.name} timed out ({format_duration(self.duration_sec)})\"\n# Minimum duration of a test to display its duration or to mention that", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "DidNotRun", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "class DidNotRun(TestResult):\n def __str__(self) -> str:\n return f\"{self.name} ran no tests\"\nclass Timeout(Failed):\n def __str__(self) -> str:\n return f\"{self.name} timed out ({format_duration(self.duration_sec)})\"\n# Minimum duration of a test to display its duration or to mention that\n# the test is running in background\nPROGRESS_MIN_TIME = 30.0 # seconds\n# small set of tests to determine if we have a basically functioning interpreter", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "Timeout", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "class Timeout(Failed):\n def __str__(self) -> str:\n return f\"{self.name} timed out ({format_duration(self.duration_sec)})\"\n# Minimum duration of a test to display its duration or to mention that\n# the test is running in background\nPROGRESS_MIN_TIME = 30.0 # seconds\n# small set of tests to determine if we have a basically functioning interpreter\n# (i.e. if any of these fail, then anything else is likely to follow)\nSTDTESTS = [\n 'test_grammar',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "is_failed", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "def is_failed(result: TestResult, ns: Namespace) -> bool:\n if isinstance(result, EnvChanged):\n return ns.fail_env_changed\n return isinstance(result, Failed)\ndef findtestdir(path=None):\n return path or os.path.dirname(os.path.dirname(__file__)) or os.curdir\ndef findtests(testdir=None, stdtests=STDTESTS, nottests=NOTTESTS):\n \"\"\"Return a list of all applicable test modules.\"\"\"\n testdir = findtestdir(testdir)\n names = os.listdir(testdir)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "findtestdir", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "def findtestdir(path=None):\n return path or os.path.dirname(os.path.dirname(__file__)) or os.curdir\ndef findtests(testdir=None, stdtests=STDTESTS, nottests=NOTTESTS):\n \"\"\"Return a list of all applicable test modules.\"\"\"\n testdir = findtestdir(testdir)\n names = os.listdir(testdir)\n tests = []\n others = set(stdtests) | nottests\n for name in names:\n mod, ext = os.path.splitext(name)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "findtests", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "def findtests(testdir=None, stdtests=STDTESTS, nottests=NOTTESTS):\n \"\"\"Return a list of all applicable test modules.\"\"\"\n testdir = findtestdir(testdir)\n names = os.listdir(testdir)\n tests = []\n others = set(stdtests) | nottests\n for name in names:\n mod, ext = os.path.splitext(name)\n if mod[:5] == \"test_\" and ext in (\".py\", \"\") and mod not in others:\n tests.append(mod)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "get_abs_module", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "def get_abs_module(ns: Namespace, test_name: str) -> str:\n if test_name.startswith('test.') or ns.testdir:\n return test_name\n else:\n # Import it from the test package\n return 'test.' + test_name\ndef _runtest(ns: Namespace, test_name: str) -> TestResult:\n # Handle faulthandler timeout, capture stdout+stderr, XML serialization\n # and measure time.\n output_on_failure = ns.verbose3", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "runtest", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "def runtest(ns: Namespace, test_name: str) -> TestResult:\n \"\"\"Run a single test.\n ns -- regrtest namespace of options\n test_name -- the name of the test\n Returns a TestResult sub-class depending on the kind of result received.\n If ns.xmlpath is not None, xml_data is a list containing each\n generated testsuite element.\n \"\"\"\n try:\n return _runtest(ns, test_name)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "save_env", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "def save_env(ns: Namespace, test_name: str):\n return saved_test_environment(test_name, ns.verbose, ns.quiet, pgo=ns.pgo)\ndef _runtest_inner2(ns: Namespace, test_name: str) -> bool:\n # Load the test function, run the test function, handle huntrleaks\n # and findleaks to detect leaks\n abstest = get_abs_module(ns, test_name)\n # remove the module from sys.module to reload it if it was already imported\n try:\n del sys.modules[abstest]\n except KeyError:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "cleanup_test_droppings", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "def cleanup_test_droppings(test_name: str, verbose: int) -> None:\n # First kill any dangling references to open files etc.\n # This can also issue some ResourceWarnings which would otherwise get\n # triggered during the following test run, and possibly produce failures.\n support.gc_collect()\n # Try to clean up junk commonly left behind. While tests shouldn't leave\n # any files or directories behind, when a test fails that can be tedious\n # for it to arrange. The consequences can be especially nasty on Windows,\n # since if a test leaves a file open, it cannot be deleted by name (while\n # there's nothing we can do about that here either, we can display the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "PROGRESS_MIN_TIME", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "PROGRESS_MIN_TIME = 30.0 # seconds\n# small set of tests to determine if we have a basically functioning interpreter\n# (i.e. if any of these fail, then anything else is likely to follow)\nSTDTESTS = [\n 'test_grammar',\n 'test_opcodes',\n 'test_dict',\n 'test_builtin',\n 'test_exceptions',\n 'test_types',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "STDTESTS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "STDTESTS = [\n 'test_grammar',\n 'test_opcodes',\n 'test_dict',\n 'test_builtin',\n 'test_exceptions',\n 'test_types',\n 'test_unittest',\n 'test_doctest',\n 'test_doctest2',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "NOTTESTS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "NOTTESTS = set()\n# used by --findleaks, store for gc.garbage\nFOUND_GARBAGE = []\ndef is_failed(result: TestResult, ns: Namespace) -> bool:\n if isinstance(result, EnvChanged):\n return ns.fail_env_changed\n return isinstance(result, Failed)\ndef findtestdir(path=None):\n return path or os.path.dirname(os.path.dirname(__file__)) or os.curdir\ndef findtests(testdir=None, stdtests=STDTESTS, nottests=NOTTESTS):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "FOUND_GARBAGE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "peekOfCode": "FOUND_GARBAGE = []\ndef is_failed(result: TestResult, ns: Namespace) -> bool:\n if isinstance(result, EnvChanged):\n return ns.fail_env_changed\n return isinstance(result, Failed)\ndef findtestdir(path=None):\n return path or os.path.dirname(os.path.dirname(__file__)) or os.curdir\ndef findtests(testdir=None, stdtests=STDTESTS, nottests=NOTTESTS):\n \"\"\"Return a list of all applicable test modules.\"\"\"\n testdir = findtestdir(testdir)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest", "documentation": {} }, { "label": "MultiprocessIterator", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "class MultiprocessIterator:\n \"\"\"A thread-safe iterator over tests for multiprocess mode.\"\"\"\n def __init__(self, tests_iter):\n self.lock = threading.Lock()\n self.tests_iter = tests_iter\n def __iter__(self):\n return self\n def __next__(self):\n with self.lock:\n if self.tests_iter is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "MultiprocessResult", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "class MultiprocessResult(NamedTuple):\n result: TestResult\n stdout: str\n stderr: str\n error_msg: str\nExcStr = str\nQueueOutput = tuple[Literal[False], MultiprocessResult] | tuple[Literal[True], ExcStr]\nclass ExitThread(Exception):\n pass\nclass TestWorkerProcess(threading.Thread):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "ExitThread", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "class ExitThread(Exception):\n pass\nclass TestWorkerProcess(threading.Thread):\n def __init__(self, worker_id: int, runner: \"MultiprocessTestRunner\") -> None:\n super().__init__()\n self.worker_id = worker_id\n self.pending = runner.pending\n self.output = runner.output\n self.ns = runner.ns\n self.timeout = runner.worker_timeout", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "TestWorkerProcess", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "class TestWorkerProcess(threading.Thread):\n def __init__(self, worker_id: int, runner: \"MultiprocessTestRunner\") -> None:\n super().__init__()\n self.worker_id = worker_id\n self.pending = runner.pending\n self.output = runner.output\n self.ns = runner.ns\n self.timeout = runner.worker_timeout\n self.regrtest = runner.regrtest\n self.current_test_name = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "MultiprocessTestRunner", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "class MultiprocessTestRunner:\n def __init__(self, regrtest: Regrtest) -> None:\n self.regrtest = regrtest\n self.log = self.regrtest.log\n self.ns = regrtest.ns\n self.output: queue.Queue[QueueOutput] = queue.Queue()\n self.pending = MultiprocessIterator(self.regrtest.tests)\n if self.ns.timeout is not None:\n # Rely on faulthandler to kill a worker process. This timouet is\n # when faulthandler fails to kill a worker process. Give a maximum", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "EncodeTestResult", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "class EncodeTestResult(json.JSONEncoder):\n \"\"\"Encode a TestResult (sub)class object into a JSON dict.\"\"\"\n def default(self, o: Any) -> dict[str, Any]:\n if isinstance(o, TestResult):\n result = vars(o)\n result[\"__test_result__\"] = o.__class__.__name__\n return result\n return super().default(o)\ndef decode_test_result(d: dict[str, Any]) -> TestResult | dict[str, Any]:\n \"\"\"Decode a TestResult (sub)class object from a JSON dict.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "must_stop", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "def must_stop(result: TestResult, ns: Namespace) -> bool:\n if isinstance(result, Interrupted):\n return True\n if ns.failfast and is_failed(result, ns):\n return True\n return False\ndef parse_worker_args(worker_args) -> tuple[Namespace, str]:\n ns_dict, test_name = json.loads(worker_args)\n ns = Namespace(**ns_dict)\n return (ns, test_name)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "parse_worker_args", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "def parse_worker_args(worker_args) -> tuple[Namespace, str]:\n ns_dict, test_name = json.loads(worker_args)\n ns = Namespace(**ns_dict)\n return (ns, test_name)\ndef run_test_in_subprocess(testname: str, ns: Namespace) -> subprocess.Popen:\n ns_dict = vars(ns)\n worker_args = (ns_dict, testname)\n worker_args = json.dumps(worker_args)\n cmd = [sys.executable, *support.args_from_interpreter_flags(),\n '-u', # Unbuffered stdout and stderr", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "run_test_in_subprocess", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "def run_test_in_subprocess(testname: str, ns: Namespace) -> subprocess.Popen:\n ns_dict = vars(ns)\n worker_args = (ns_dict, testname)\n worker_args = json.dumps(worker_args)\n cmd = [sys.executable, *support.args_from_interpreter_flags(),\n '-u', # Unbuffered stdout and stderr\n '-m', 'test.regrtest',\n '--worker-args', worker_args]\n # Running the child from the same working directory as regrtest's original\n # invocation ensures that TEMPDIR for the child is the same when", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "run_tests_worker", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "def run_tests_worker(ns: Namespace, test_name: str) -> NoReturn:\n setup_tests(ns)\n result = runtest(ns, test_name)\n print() # Force a newline (just in case)\n # Serialize TestResult as dict in JSON\n print(json.dumps(result, cls=EncodeTestResult), flush=True)\n sys.exit(0)\n# We do not use a generator so multiple threads can call next().\nclass MultiprocessIterator:\n \"\"\"A thread-safe iterator over tests for multiprocess mode.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "get_running", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "def get_running(workers: list[TestWorkerProcess]) -> list[TestWorkerProcess]:\n running = []\n for worker in workers:\n current_test_name = worker.current_test_name\n if not current_test_name:\n continue\n dt = time.monotonic() - worker.start_time\n if dt >= PROGRESS_MIN_TIME:\n text = '%s (%s)' % (current_test_name, format_duration(dt))\n running.append(text)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "run_tests_multiprocess", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "def run_tests_multiprocess(regrtest: Regrtest) -> None:\n MultiprocessTestRunner(regrtest).run_tests()\nclass EncodeTestResult(json.JSONEncoder):\n \"\"\"Encode a TestResult (sub)class object into a JSON dict.\"\"\"\n def default(self, o: Any) -> dict[str, Any]:\n if isinstance(o, TestResult):\n result = vars(o)\n result[\"__test_result__\"] = o.__class__.__name__\n return result\n return super().default(o)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "decode_test_result", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "def decode_test_result(d: dict[str, Any]) -> TestResult | dict[str, Any]:\n \"\"\"Decode a TestResult (sub)class object from a JSON dict.\"\"\"\n if \"__test_result__\" not in d:\n return d\n cls_name = d.pop(\"__test_result__\")\n for cls in get_all_test_result_classes():\n if cls.__name__ == cls_name:\n return cls(**d)\ndef get_all_test_result_classes() -> set[type[TestResult]]:\n prev_count = 0", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "get_all_test_result_classes", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "def get_all_test_result_classes() -> set[type[TestResult]]:\n prev_count = 0\n classes = {TestResult}\n while len(classes) > prev_count:\n prev_count = len(classes)\n to_add = []\n for cls in classes:\n to_add.extend(cls.__subclasses__())\n classes.update(to_add)\n return classes", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "PROGRESS_UPDATE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "PROGRESS_UPDATE = 30.0 # seconds\nassert PROGRESS_UPDATE >= PROGRESS_MIN_TIME\n# Kill the main process after 5 minutes. It is supposed to write an update\n# every PROGRESS_UPDATE seconds. Tolerate 5 minutes for Python slowest\n# buildbot workers.\nMAIN_PROCESS_TIMEOUT = 5 * 60.0\nassert MAIN_PROCESS_TIMEOUT >= PROGRESS_UPDATE\n# Time to wait until a worker completes: should be immediate\nJOIN_TIMEOUT = 30.0 # seconds\nUSE_PROCESS_GROUP = (hasattr(os, \"setsid\") and hasattr(os, \"killpg\"))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "MAIN_PROCESS_TIMEOUT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "MAIN_PROCESS_TIMEOUT = 5 * 60.0\nassert MAIN_PROCESS_TIMEOUT >= PROGRESS_UPDATE\n# Time to wait until a worker completes: should be immediate\nJOIN_TIMEOUT = 30.0 # seconds\nUSE_PROCESS_GROUP = (hasattr(os, \"setsid\") and hasattr(os, \"killpg\"))\ndef must_stop(result: TestResult, ns: Namespace) -> bool:\n if isinstance(result, Interrupted):\n return True\n if ns.failfast and is_failed(result, ns):\n return True", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "JOIN_TIMEOUT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "JOIN_TIMEOUT = 30.0 # seconds\nUSE_PROCESS_GROUP = (hasattr(os, \"setsid\") and hasattr(os, \"killpg\"))\ndef must_stop(result: TestResult, ns: Namespace) -> bool:\n if isinstance(result, Interrupted):\n return True\n if ns.failfast and is_failed(result, ns):\n return True\n return False\ndef parse_worker_args(worker_args) -> tuple[Namespace, str]:\n ns_dict, test_name = json.loads(worker_args)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "USE_PROCESS_GROUP", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "USE_PROCESS_GROUP = (hasattr(os, \"setsid\") and hasattr(os, \"killpg\"))\ndef must_stop(result: TestResult, ns: Namespace) -> bool:\n if isinstance(result, Interrupted):\n return True\n if ns.failfast and is_failed(result, ns):\n return True\n return False\ndef parse_worker_args(worker_args) -> tuple[Namespace, str]:\n ns_dict, test_name = json.loads(worker_args)\n ns = Namespace(**ns_dict)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "ExcStr", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "ExcStr = str\nQueueOutput = tuple[Literal[False], MultiprocessResult] | tuple[Literal[True], ExcStr]\nclass ExitThread(Exception):\n pass\nclass TestWorkerProcess(threading.Thread):\n def __init__(self, worker_id: int, runner: \"MultiprocessTestRunner\") -> None:\n super().__init__()\n self.worker_id = worker_id\n self.pending = runner.pending\n self.output = runner.output", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "QueueOutput", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "peekOfCode": "QueueOutput = tuple[Literal[False], MultiprocessResult] | tuple[Literal[True], ExcStr]\nclass ExitThread(Exception):\n pass\nclass TestWorkerProcess(threading.Thread):\n def __init__(self, worker_id: int, runner: \"MultiprocessTestRunner\") -> None:\n super().__init__()\n self.worker_id = worker_id\n self.pending = runner.pending\n self.output = runner.output\n self.ns = runner.ns", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.runtest_mp", "documentation": {} }, { "label": "SkipTestEnvironment", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.save_env", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.save_env", "peekOfCode": "class SkipTestEnvironment(Exception):\n pass\n# Unit tests are supposed to leave the execution environment unchanged\n# once they complete. But sometimes tests have bugs, especially when\n# tests fail, and the changes to environment go on to mess up other\n# tests. This can cause issues with buildbot stability, since tests\n# are run in random order and so problems may appear to come and go.\n# There are a few things we can save and restore to mitigate this, and\n# the following context manager handles this task.\nclass saved_test_environment:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.save_env", "documentation": {} }, { "label": "saved_test_environment", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.save_env", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.save_env", "peekOfCode": "class saved_test_environment:\n \"\"\"Save bits of the test environment and restore them at block exit.\n with saved_test_environment(testname, verbose, quiet):\n #stuff\n Unless quiet is True, a warning is printed to stderr if any of\n the saved items was changed by the test. The support.environment_altered\n attribute is set to True if a change is detected.\n If verbose is more than 1, the before and after state of changed\n items is also printed.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.save_env", "documentation": {} }, { "label": "setup_tests", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.setup", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.setup", "peekOfCode": "def setup_tests(ns):\n try:\n stderr_fd = sys.__stderr__.fileno()\n except (ValueError, AttributeError):\n # Catch ValueError to catch io.UnsupportedOperation on TextIOBase\n # and ValueError on a closed stream.\n #\n # Catch AttributeError for stderr being None.\n stderr_fd = None\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.setup", "documentation": {} }, { "label": "replace_stdout", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.setup", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.setup", "peekOfCode": "def replace_stdout():\n \"\"\"Set stdout encoder error handler to backslashreplace (as stderr error\n handler) to avoid UnicodeEncodeError when printing a traceback\"\"\"\n stdout = sys.stdout\n try:\n fd = stdout.fileno()\n except ValueError:\n # On IDLE, sys.stdout has no file descriptor and is not a TextIOWrapper\n # object. Leaving sys.stdout unchanged.\n #", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.setup", "documentation": {} }, { "label": "UNICODE_GUARD_ENV", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.setup", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.setup", "peekOfCode": "UNICODE_GUARD_ENV = \"PYTHONREGRTEST_UNICODE_GUARD\"\ndef setup_tests(ns):\n try:\n stderr_fd = sys.__stderr__.fileno()\n except (ValueError, AttributeError):\n # Catch ValueError to catch io.UnsupportedOperation on TextIOBase\n # and ValueError on a closed stream.\n #\n # Catch AttributeError for stderr being None.\n stderr_fd = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.setup", "documentation": {} }, { "label": "format_duration", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "peekOfCode": "def format_duration(seconds):\n ms = math.ceil(seconds * 1e3)\n seconds, ms = divmod(ms, 1000)\n minutes, seconds = divmod(seconds, 60)\n hours, minutes = divmod(minutes, 60)\n parts = []\n if hours:\n parts.append('%s hour' % hours)\n if minutes:\n parts.append('%s min' % minutes)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "documentation": {} }, { "label": "removepy", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "peekOfCode": "def removepy(names):\n if not names:\n return\n for idx, name in enumerate(names):\n basename, ext = os.path.splitext(name)\n if ext == '.py':\n names[idx] = basename\ndef count(n, word):\n if n == 1:\n return \"%d %s\" % (n, word)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "documentation": {} }, { "label": "count", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "peekOfCode": "def count(n, word):\n if n == 1:\n return \"%d %s\" % (n, word)\n else:\n return \"%d %ss\" % (n, word)\ndef printlist(x, width=70, indent=4, file=None):\n \"\"\"Print the elements of iterable x to stdout.\n Optional arg width (default 70) is the maximum line length.\n Optional arg indent (default 4) is the number of blanks with which to\n begin each line.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "documentation": {} }, { "label": "printlist", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "peekOfCode": "def printlist(x, width=70, indent=4, file=None):\n \"\"\"Print the elements of iterable x to stdout.\n Optional arg width (default 70) is the maximum line length.\n Optional arg indent (default 4) is the number of blanks with which to\n begin each line.\n \"\"\"\n blanks = ' ' * indent\n # Print the sorted list: 'x' may be a '--random' list or a set()\n print(textwrap.fill(' '.join(str(elt) for elt in sorted(x)), width,\n initial_indent=blanks, subsequent_indent=blanks),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "documentation": {} }, { "label": "print_warning", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "peekOfCode": "def print_warning(msg):\n support.print_warning(msg)\norig_unraisablehook = None\ndef flush_std_streams():\n if sys.stdout is not None:\n sys.stdout.flush()\n if sys.stderr is not None:\n sys.stderr.flush()\ndef regrtest_unraisable_hook(unraisable):\n global orig_unraisablehook", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "documentation": {} }, { "label": "flush_std_streams", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "peekOfCode": "def flush_std_streams():\n if sys.stdout is not None:\n sys.stdout.flush()\n if sys.stderr is not None:\n sys.stderr.flush()\ndef regrtest_unraisable_hook(unraisable):\n global orig_unraisablehook\n support.environment_altered = True\n print_warning(\"Unraisable exception\")\n old_stderr = sys.stderr", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "documentation": {} }, { "label": "regrtest_unraisable_hook", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "peekOfCode": "def regrtest_unraisable_hook(unraisable):\n global orig_unraisablehook\n support.environment_altered = True\n print_warning(\"Unraisable exception\")\n old_stderr = sys.stderr\n try:\n flush_std_streams()\n sys.stderr = sys.__stderr__\n orig_unraisablehook(unraisable)\n sys.stderr.flush()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "documentation": {} }, { "label": "setup_unraisable_hook", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "peekOfCode": "def setup_unraisable_hook():\n global orig_unraisablehook\n orig_unraisablehook = sys.unraisablehook\n sys.unraisablehook = regrtest_unraisable_hook\norig_threading_excepthook = None\ndef regrtest_threading_excepthook(args):\n global orig_threading_excepthook\n support.environment_altered = True\n print_warning(f\"Uncaught thread exception: {args.exc_type.__name__}\")\n old_stderr = sys.stderr", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "documentation": {} }, { "label": "regrtest_threading_excepthook", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "peekOfCode": "def regrtest_threading_excepthook(args):\n global orig_threading_excepthook\n support.environment_altered = True\n print_warning(f\"Uncaught thread exception: {args.exc_type.__name__}\")\n old_stderr = sys.stderr\n try:\n flush_std_streams()\n sys.stderr = sys.__stderr__\n orig_threading_excepthook(args)\n sys.stderr.flush()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "documentation": {} }, { "label": "setup_threading_excepthook", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "peekOfCode": "def setup_threading_excepthook():\n global orig_threading_excepthook\n import threading\n orig_threading_excepthook = threading.excepthook\n threading.excepthook = regrtest_threading_excepthook\ndef clear_caches():\n # Clear the warnings registry, so they can be displayed again\n for mod in sys.modules.values():\n if hasattr(mod, '__warningregistry__'):\n del mod.__warningregistry__", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "documentation": {} }, { "label": "clear_caches", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "peekOfCode": "def clear_caches():\n # Clear the warnings registry, so they can be displayed again\n for mod in sys.modules.values():\n if hasattr(mod, '__warningregistry__'):\n del mod.__warningregistry__\n # Flush standard output, so that buffered data is sent to the OS and\n # associated Python objects are reclaimed.\n for stream in (sys.stdout, sys.stderr, sys.__stdout__, sys.__stderr__):\n if stream is not None:\n stream.flush()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "documentation": {} }, { "label": "orig_unraisablehook", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "peekOfCode": "orig_unraisablehook = None\ndef flush_std_streams():\n if sys.stdout is not None:\n sys.stdout.flush()\n if sys.stderr is not None:\n sys.stderr.flush()\ndef regrtest_unraisable_hook(unraisable):\n global orig_unraisablehook\n support.environment_altered = True\n print_warning(\"Unraisable exception\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "documentation": {} }, { "label": "orig_threading_excepthook", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "peekOfCode": "orig_threading_excepthook = None\ndef regrtest_threading_excepthook(args):\n global orig_threading_excepthook\n support.environment_altered = True\n print_warning(f\"Uncaught thread exception: {args.exc_type.__name__}\")\n old_stderr = sys.stderr\n try:\n flush_std_streams()\n sys.stderr = sys.__stderr__\n orig_threading_excepthook(args)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.utils", "documentation": {} }, { "label": "WindowsLoadTracker", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.win_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.win_utils", "peekOfCode": "class WindowsLoadTracker():\n \"\"\"\n This class asynchronously reads the performance counters to calculate\n the system load on Windows. A \"raw\" thread is used here to prevent\n interference with the test suite's cases for the threading module.\n \"\"\"\n def __init__(self):\n # Pre-flight test for access to the performance data;\n # `PermissionError` will be raised if not allowed\n winreg.QueryInfoKey(winreg.HKEY_PERFORMANCE_DATA)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.win_utils", "documentation": {} }, { "label": "SAMPLING_INTERVAL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.win_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.win_utils", "peekOfCode": "SAMPLING_INTERVAL = 1\n# Exponential damping factor to compute exponentially weighted moving average\n# on 1 minute (60 seconds)\nLOAD_FACTOR_1 = 1 / math.exp(SAMPLING_INTERVAL / 60)\n# Initialize the load using the arithmetic mean of the first NVALUE values\n# of the Processor Queue Length\nNVALUE = 5\nclass WindowsLoadTracker():\n \"\"\"\n This class asynchronously reads the performance counters to calculate", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.win_utils", "documentation": {} }, { "label": "LOAD_FACTOR_1", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.win_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.win_utils", "peekOfCode": "LOAD_FACTOR_1 = 1 / math.exp(SAMPLING_INTERVAL / 60)\n# Initialize the load using the arithmetic mean of the first NVALUE values\n# of the Processor Queue Length\nNVALUE = 5\nclass WindowsLoadTracker():\n \"\"\"\n This class asynchronously reads the performance counters to calculate\n the system load on Windows. A \"raw\" thread is used here to prevent\n interference with the test suite's cases for the threading module.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.win_utils", "documentation": {} }, { "label": "NVALUE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.win_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.win_utils", "peekOfCode": "NVALUE = 5\nclass WindowsLoadTracker():\n \"\"\"\n This class asynchronously reads the performance counters to calculate\n the system load on Windows. A \"raw\" thread is used here to prevent\n interference with the test suite's cases for the threading module.\n \"\"\"\n def __init__(self):\n # Pre-flight test for access to the performance data;\n # `PermissionError` will be raised if not allowed", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.libregrtest.win_utils", "documentation": {} }, { "label": "TestEmailAsianCodecs", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_asian_codecs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_asian_codecs", "peekOfCode": "class TestEmailAsianCodecs(TestEmailBase):\n def test_japanese_codecs(self):\n eq = self.ndiffAssertEqual\n jcode = \"euc-jp\"\n gcode = \"iso-8859-1\"\n j = Charset(jcode)\n g = Charset(gcode)\n h = Header(\"Hello World!\")\n jhello = str(b'\\xa5\\xcf\\xa5\\xed\\xa1\\xbc\\xa5\\xef\\xa1\\xbc'\n b'\\xa5\\xeb\\xa5\\xc9\\xa1\\xaa', jcode)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_asian_codecs", "documentation": {} }, { "label": "TestContentManager", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_contentmanager", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_contentmanager", "peekOfCode": "class TestContentManager(TestEmailBase):\n policy = policy.default\n message = EmailMessage\n get_key_params = {\n 'full_type': (1, 'text/plain',),\n 'maintype_only': (2, 'text',),\n 'null_key': (3, '',),\n }\n def get_key_as_get_content_key(self, order, key):\n def foo_getter(msg, foo=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_contentmanager", "documentation": {} }, { "label": "TestRawDataManager", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_contentmanager", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_contentmanager", "peekOfCode": "class TestRawDataManager(TestEmailBase):\n # Note: these tests are dependent on the order in which headers are added\n # to the message objects by the code. There's no defined ordering in\n # RFC5322/MIME, so this makes the tests more fragile than the standards\n # require. However, if the header order changes it is best to understand\n # *why*, and make sure it isn't a subtle bug in whatever change was\n # applied.\n policy = policy.default.clone(max_line_length=60,\n content_manager=raw_data_manager)\n message = EmailMessage", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_contentmanager", "documentation": {} }, { "label": "TestDefectsBase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_defect_handling", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_defect_handling", "peekOfCode": "class TestDefectsBase:\n policy = policy.default\n raise_expected = False\n @contextlib.contextmanager\n def _raise_point(self, defect):\n yield\n def test_same_boundary_inner_outer(self):\n source = textwrap.dedent(\"\"\"\\\n Subject: XX\n From: xx@xx.dk", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_defect_handling", "documentation": {} }, { "label": "TestDefectDetection", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_defect_handling", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_defect_handling", "peekOfCode": "class TestDefectDetection(TestDefectsBase, TestEmailBase):\n def get_defects(self, obj):\n return obj.defects\nclass TestDefectCapture(TestDefectsBase, TestEmailBase):\n class CapturePolicy(policy.EmailPolicy):\n captured = None\n def register_defect(self, obj, defect):\n self.captured.append(defect)\n def setUp(self):\n self.policy = self.CapturePolicy(captured=list())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_defect_handling", "documentation": {} }, { "label": "TestDefectCapture", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_defect_handling", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_defect_handling", "peekOfCode": "class TestDefectCapture(TestDefectsBase, TestEmailBase):\n class CapturePolicy(policy.EmailPolicy):\n captured = None\n def register_defect(self, obj, defect):\n self.captured.append(defect)\n def setUp(self):\n self.policy = self.CapturePolicy(captured=list())\n def get_defects(self, obj):\n return self.policy.captured\nclass TestDefectRaising(TestDefectsBase, TestEmailBase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_defect_handling", "documentation": {} }, { "label": "TestDefectRaising", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_defect_handling", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_defect_handling", "peekOfCode": "class TestDefectRaising(TestDefectsBase, TestEmailBase):\n policy = TestDefectsBase.policy\n policy = policy.clone(raise_on_defect=True)\n raise_expected = True\n @contextlib.contextmanager\n def _raise_point(self, defect):\n with self.assertRaises(defect):\n yield\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_defect_handling", "documentation": {} }, { "label": "TestMessageAPI", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestMessageAPI(TestEmailBase):\n def test_get_all(self):\n eq = self.assertEqual\n msg = self._msgobj('msg_20.txt')\n eq(msg.get_all('cc'), ['ccc@zzz.org', 'ddd@zzz.org', 'eee@zzz.org'])\n eq(msg.get_all('xx', 'n/a'), 'n/a')\n def test_getset_charset(self):\n eq = self.assertEqual\n msg = Message()\n eq(msg.get_charset(), None)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "TestEncoders", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestEncoders(unittest.TestCase):\n def test_EncodersEncode_base64(self):\n with openfile('PyBanner048.gif', 'rb') as fp:\n bindata = fp.read()\n mimed = email.mime.image.MIMEImage(bindata)\n base64ed = mimed.get_payload()\n # the transfer-encoded body lines should all be <=76 characters\n lines = base64ed.split('\\n')\n self.assertLessEqual(max([ len(x) for x in lines ]), 76)\n def test_encode_empty_payload(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "TestLongHeaders", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestLongHeaders(TestEmailBase):\n maxDiff = None\n def test_split_long_continuation(self):\n eq = self.ndiffAssertEqual\n msg = email.message_from_string(\"\"\"\\\nSubject: bug demonstration\n\\t12345678911234567892123456789312345678941234567895123456789612345678971234567898112345678911234567892123456789112345678911234567892123456789\n\\tmore text\ntest\n\"\"\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "TestFromMangling", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestFromMangling(unittest.TestCase):\n def setUp(self):\n self.msg = Message()\n self.msg['From'] = 'aaa@bbb.org'\n self.msg.set_payload(\"\"\"\\\nFrom the desk of A.A.A.:\nBlah blah blah\n\"\"\")\n def test_mangled_from(self):\n s = StringIO()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "TestMIMEAudio", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestMIMEAudio(unittest.TestCase):\n def setUp(self):\n with openfile('audiotest.au', 'rb') as fp:\n self._audiodata = fp.read()\n self._au = MIMEAudio(self._audiodata)\n def test_guess_minor_type(self):\n self.assertEqual(self._au.get_content_type(), 'audio/basic')\n def test_encoding(self):\n payload = self._au.get_payload()\n self.assertEqual(base64.decodebytes(bytes(payload, 'ascii')),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "TestMIMEImage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestMIMEImage(unittest.TestCase):\n def setUp(self):\n with openfile('PyBanner048.gif', 'rb') as fp:\n self._imgdata = fp.read()\n self._im = MIMEImage(self._imgdata)\n def test_guess_minor_type(self):\n self.assertEqual(self._im.get_content_type(), 'image/gif')\n def test_encoding(self):\n payload = self._im.get_payload()\n self.assertEqual(base64.decodebytes(bytes(payload, 'ascii')),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "TestMIMEApplication", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestMIMEApplication(unittest.TestCase):\n def test_headers(self):\n eq = self.assertEqual\n msg = MIMEApplication(b'\\xfa\\xfb\\xfc\\xfd\\xfe\\xff')\n eq(msg.get_content_type(), 'application/octet-stream')\n eq(msg['content-transfer-encoding'], 'base64')\n def test_body(self):\n eq = self.assertEqual\n bytesdata = b'\\xfa\\xfb\\xfc\\xfd\\xfe\\xff'\n msg = MIMEApplication(bytesdata)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "TestMIMEText", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestMIMEText(unittest.TestCase):\n def setUp(self):\n self._msg = MIMEText('hello there')\n def test_types(self):\n eq = self.assertEqual\n eq(self._msg.get_content_type(), 'text/plain')\n eq(self._msg.get_param('charset'), 'us-ascii')\n missing = []\n self.assertIs(self._msg.get_param('foobar', missing), missing)\n self.assertIs(self._msg.get_param('charset', missing, header='foobar'),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "TestMultipart", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestMultipart(TestEmailBase):\n def setUp(self):\n with openfile('PyBanner048.gif', 'rb') as fp:\n data = fp.read()\n container = MIMEBase('multipart', 'mixed', boundary='BOUNDARY')\n image = MIMEImage(data, name='dingusfish.gif')\n image.add_header('content-disposition', 'attachment',\n filename='dingusfish.gif')\n intro = MIMEText('''\\\nHi there,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "TestNonConformant", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestNonConformant(TestEmailBase):\n def test_parse_missing_minor_type(self):\n eq = self.assertEqual\n msg = self._msgobj('msg_14.txt')\n eq(msg.get_content_type(), 'text/plain')\n eq(msg.get_content_maintype(), 'text')\n eq(msg.get_content_subtype(), 'plain')\n # test_defect_handling\n def test_same_boundary_inner_outer(self):\n msg = self._msgobj('msg_15.txt')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "TestRFC2047", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestRFC2047(TestEmailBase):\n def test_rfc2047_multiline(self):\n eq = self.assertEqual\n s = \"\"\"Re: =?mac-iceland?q?r=8Aksm=9Arg=8Cs?= baz\n foo bar =?mac-iceland?q?r=8Aksm=9Arg=8Cs?=\"\"\"\n dh = decode_header(s)\n eq(dh, [\n (b'Re: ', None),\n (b'r\\x8aksm\\x9arg\\x8cs', 'mac-iceland'),\n (b' baz foo bar ', None),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "TestMIMEMessage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestMIMEMessage(TestEmailBase):\n def setUp(self):\n with openfile('msg_11.txt', encoding=\"utf-8\") as fp:\n self._text = fp.read()\n def test_type_error(self):\n self.assertRaises(TypeError, MIMEMessage, 'a plain string')\n def test_valid_argument(self):\n eq = self.assertEqual\n subject = 'A sub-message'\n m = Message()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "TestNonMultipart", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestNonMultipart(TestEmailBase):\n def test_nonmultipart_is_not_multipart(self):\n msg = MIMENonMultipart('text', 'plain')\n self.assertFalse(msg.is_multipart())\n def test_attach_raises_exception(self):\n msg = Message()\n msg['Subject'] = 'subpart 1'\n r = MIMENonMultipart('text', 'plain')\n self.assertRaises(errors.MultipartConversionError, r.attach, msg)\n# A general test of parser->model->generator idempotency. IOW, read a message", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "TestIdempotent", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestIdempotent(TestEmailBase):\n linesep = '\\n'\n def _msgobj(self, filename):\n with openfile(filename, encoding=\"utf-8\") as fp:\n data = fp.read()\n msg = email.message_from_string(data)\n return msg, data\n def _idempotent(self, msg, text, unixfrom=False):\n eq = self.ndiffAssertEqual\n s = StringIO()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "TestMiscellaneous", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestMiscellaneous(TestEmailBase):\n def test_message_from_string(self):\n with openfile('msg_01.txt', encoding=\"utf-8\") as fp:\n text = fp.read()\n msg = email.message_from_string(text)\n s = StringIO()\n # Don't wrap/continue long headers since we're trying to test\n # idempotency.\n g = Generator(s, maxheaderlen=0)\n g.flatten(msg)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "TestIterators", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestIterators(TestEmailBase):\n def test_body_line_iterator(self):\n eq = self.assertEqual\n neq = self.ndiffAssertEqual\n # First a simple non-multipart message\n msg = self._msgobj('msg_01.txt')\n it = iterators.body_line_iterator(msg)\n lines = list(it)\n eq(len(lines), 6)\n neq(EMPTYSTRING.join(lines), msg.get_payload())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "TestFeedParsers", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestFeedParsers(TestEmailBase):\n def parse(self, chunks):\n feedparser = FeedParser()\n for chunk in chunks:\n feedparser.feed(chunk)\n return feedparser.close()\n def test_empty_header_name_handled(self):\n # Issue 19996\n msg = self.parse(\"First: val\\n: bad\\nSecond: val\")\n self.assertEqual(msg['First'], 'val')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "TestParsers", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestParsers(TestEmailBase):\n def test_header_parser(self):\n eq = self.assertEqual\n # Parse only the headers of a complex multipart MIME document\n with openfile('msg_02.txt', encoding=\"utf-8\") as fp:\n msg = HeaderParser().parse(fp)\n eq(msg['from'], 'ppp-request@zzz.org')\n eq(msg['to'], 'ppp@zzz.org')\n eq(msg.get_content_type(), 'multipart/mixed')\n self.assertFalse(msg.is_multipart())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "Test8BitBytesHandling", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class Test8BitBytesHandling(TestEmailBase):\n # In Python3 all input is string, but that doesn't work if the actual input\n # uses an 8bit transfer encoding. To hack around that, in email 5.1 we\n # decode byte streams using the surrogateescape error handler, and\n # reconvert to binary at appropriate places if we detect surrogates. This\n # doesn't allow us to transform headers with 8bit bytes (they get munged),\n # but it does allow us to parse and preserve them, and to decode body\n # parts that use an 8bit CTE.\n bodytest_msg = textwrap.dedent(\"\"\"\\\n From: foo@bar.com", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "BaseTestBytesGeneratorIdempotent", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class BaseTestBytesGeneratorIdempotent:\n maxDiff = None\n def _msgobj(self, filename):\n with openfile(filename, 'rb') as fp:\n data = fp.read()\n data = self.normalize_linesep_regex.sub(self.blinesep, data)\n msg = email.message_from_bytes(data)\n return msg, data\n def _idempotent(self, msg, data, unixfrom=False):\n b = BytesIO()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "documentation": {} }, { "label": "TestBytesGeneratorIdempotentNL", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_email", "peekOfCode": "class TestBytesGeneratorIdempotentNL(BaseTestBytesGeneratorIdempotent,\n TestIdempotent):\n linesep = '\\n'\n blinesep = b'\\n'\n normalize_linesep_regex = re.compile(br'\\r\\n')\nclass TestBytesGeneratorIdempotentCRLF(BaseTestBytesGeneratorIdempotent,\n TestIdempotent):\n linesep = '\\r\\n'\n blinesep = b'\\r\\n'\n normalize_linesep_regex = re.compile(br'(?0 else []\n header = 'Subject:' + (' ' if source else '')\n folded = header + (args[1] if l>1 else source) + '\\n'\n h = self.make_header('Subject', source)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "documentation": {} }, { "label": "TestDateHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "peekOfCode": "class TestDateHeader(TestHeaderBase):\n datestring = 'Sun, 23 Sep 2001 20:10:55 -0700'\n utcoffset = datetime.timedelta(hours=-7)\n tz = datetime.timezone(utcoffset)\n dt = datetime.datetime(2001, 9, 23, 20, 10, 55, tzinfo=tz)\n def test_parse_date(self):\n h = self.make_header('date', self.datestring)\n self.assertEqual(h, self.datestring)\n self.assertEqual(h.datetime, self.dt)\n self.assertEqual(h.datetime.utcoffset(), self.utcoffset)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "documentation": {} }, { "label": "TestContentTypeHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "peekOfCode": "class TestContentTypeHeader(TestHeaderBase):\n def content_type_as_value(self,\n source,\n content_type,\n maintype,\n subtype,\n *args):\n l = len(args)\n parmdict = args[0] if l>0 else {}\n defects = args[1] if l>1 else []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "documentation": {} }, { "label": "TestContentTransferEncoding", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "peekOfCode": "class TestContentTransferEncoding(TestHeaderBase):\n def cte_as_value(self,\n source,\n cte,\n *args):\n l = len(args)\n defects = args[0] if l>0 else []\n decoded = args[1] if l>1 and args[1] is not DITTO else source\n header = 'Content-Transfer-Encoding:' + ' ' if source else ''\n folded = args[2] if l>2 else header + source + '\\n'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "documentation": {} }, { "label": "TestContentDisposition", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "peekOfCode": "class TestContentDisposition(TestHeaderBase):\n def content_disp_as_value(self,\n source,\n content_disposition,\n *args):\n l = len(args)\n parmdict = args[0] if l>0 else {}\n defects = args[1] if l>1 else []\n decoded = args[2] if l>2 and args[2] is not DITTO else source\n header = 'Content-Disposition:' + ' ' if source else ''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "documentation": {} }, { "label": "TestMIMEVersionHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "peekOfCode": "class TestMIMEVersionHeader(TestHeaderBase):\n def version_string_as_MIME_Version(self,\n source,\n decoded,\n version,\n major,\n minor,\n defects):\n h = self.make_header('MIME-Version', source)\n self.assertEqual(h, decoded)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "documentation": {} }, { "label": "TestAddressHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "peekOfCode": "class TestAddressHeader(TestHeaderBase):\n example_params = {\n 'empty':\n ('<>',\n [errors.InvalidHeaderDefect],\n '<>',\n '',\n '<>',\n '',\n '',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "documentation": {} }, { "label": "TestAddressAndGroup", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "peekOfCode": "class TestAddressAndGroup(TestEmailBase):\n def _test_attr_ro(self, obj, attr):\n with self.assertRaises(AttributeError):\n setattr(obj, attr, 'foo')\n def test_address_display_name_ro(self):\n self._test_attr_ro(Address('foo', 'bar', 'baz'), 'display_name')\n def test_address_username_ro(self):\n self._test_attr_ro(Address('foo', 'bar', 'baz'), 'username')\n def test_address_domain_ro(self):\n self._test_attr_ro(Address('foo', 'bar', 'baz'), 'domain')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "documentation": {} }, { "label": "TestFolding", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "peekOfCode": "class TestFolding(TestHeaderBase):\n def test_address_display_names(self):\n \"\"\"Test the folding and encoding of address headers.\"\"\"\n for name, result in (\n ('Foo Bar, France', '\"Foo Bar, France\"'),\n ('Foo Bar (France)', '\"Foo Bar (France)\"'),\n ('Foo Bar, España', 'Foo =?utf-8?q?Bar=2C_Espa=C3=B1a?='),\n ('Foo Bar (España)', 'Foo Bar =?utf-8?b?KEVzcGHDsWEp?='),\n ('Foo, Bar España', '=?utf-8?q?Foo=2C_Bar_Espa=C3=B1a?='),\n ('Foo, Bar [España]', '=?utf-8?q?Foo=2C_Bar_=5BEspa=C3=B1a=5D?='),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "documentation": {} }, { "label": "DITTO", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "peekOfCode": "DITTO = object()\nclass TestHeaderRegistry(TestEmailBase):\n def test_arbitrary_name_unstructured(self):\n factory = headerregistry.HeaderRegistry()\n h = factory('foobar', 'test')\n self.assertIsInstance(h, headerregistry.BaseHeader)\n self.assertIsInstance(h, headerregistry.UnstructuredHeader)\n def test_name_case_ignored(self):\n factory = headerregistry.HeaderRegistry()\n # Whitebox check that test is valid", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_headerregistry", "documentation": {} }, { "label": "TestInversion", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_inversion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_inversion", "peekOfCode": "class TestInversion(TestEmailBase):\n policy = policy.default\n message = EmailMessage\n def msg_as_input(self, msg):\n m = message_from_bytes(msg, policy=policy.SMTP)\n b = io.BytesIO()\n g = BytesGenerator(b)\n g.flatten(m)\n self.assertEqual(b.getvalue(), msg)\n # XXX: spaces are not preserved correctly here yet in the general case.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_inversion", "documentation": {} }, { "label": "dedent", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_inversion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_inversion", "peekOfCode": "def dedent(bstr):\n lines = bstr.splitlines()\n if not lines[0].strip():\n raise ValueError(\"First line must contain text\")\n stripamt = len(lines[0]) - len(lines[0].lstrip())\n return b'\\r\\n'.join(\n [x[stripamt:] if len(x)>=stripamt else b''\n for x in lines])\n@parameterize\nclass TestInversion(TestEmailBase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_inversion", "documentation": {} }, { "label": "Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_message", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_message", "peekOfCode": "class Test(TestEmailBase):\n policy = policy.default\n def test_error_on_setitem_if_max_count_exceeded(self):\n m = self._str_msg(\"\")\n m['To'] = 'abc@xyz'\n with self.assertRaises(ValueError):\n m['To'] = 'xyz@abc'\n def test_rfc2043_auto_decoded_and_emailmessage_used(self):\n m = message_from_string(textwrap.dedent(\"\"\"\\\n Subject: Ayons asperges pour le =?utf-8?q?d=C3=A9jeuner?=", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_message", "documentation": {} }, { "label": "TestEmailMessageBase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_message", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_message", "peekOfCode": "class TestEmailMessageBase:\n policy = policy.default\n # The first argument is a triple (related, html, plain) of indices into the\n # list returned by 'walk' called on a Message constructed from the third.\n # The indices indicate which part should match the corresponding part-type\n # when passed to get_body (ie: the \"first\" part of that type in the\n # message). The second argument is a list of indices into the 'walk' list\n # of the attachments that should be returned by a call to\n # 'iter_attachments'. The third argument is a list of indices into 'walk'\n # that should be returned by a call to 'iter_parts'. Note that the first", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_message", "documentation": {} }, { "label": "TestEmailMessage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_message", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_message", "peekOfCode": "class TestEmailMessage(TestEmailMessageBase, TestEmailBase):\n message = EmailMessage\n def test_set_content_adds_MIME_Version(self):\n m = self._str_msg('')\n cm = self._TestContentManager()\n self.assertNotIn('MIME-Version', m)\n m.set_content(content_manager=cm)\n self.assertEqual(m['MIME-Version'], '1.0')\n class _MIME_Version_adding_CM:\n def set_content(self, msg, *args, **kw):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_message", "documentation": {} }, { "label": "TestMIMEPart", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_message", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_message", "peekOfCode": "class TestMIMEPart(TestEmailMessageBase, TestEmailBase):\n # Doing the full test run here may seem a bit redundant, since the two\n # classes are almost identical. But what if they drift apart? So we do\n # the full tests so that any future drift doesn't introduce bugs.\n message = MIMEPart\n def test_set_content_does_not_add_MIME_Version(self):\n m = self._str_msg('')\n cm = self._TestContentManager()\n self.assertNotIn('MIME-Version', m)\n m.set_content(content_manager=cm)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_message", "documentation": {} }, { "label": "first", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_message", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_message", "peekOfCode": "def first(iterable):\n return next(filter(lambda x: x is not None, iterable), None)\nclass Test(TestEmailBase):\n policy = policy.default\n def test_error_on_setitem_if_max_count_exceeded(self):\n m = self._str_msg(\"\")\n m['To'] = 'abc@xyz'\n with self.assertRaises(ValueError):\n m['To'] = 'xyz@abc'\n def test_rfc2043_auto_decoded_and_emailmessage_used(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_message", "documentation": {} }, { "label": "TestCustomMessage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "peekOfCode": "class TestCustomMessage(TestEmailBase):\n class MyMessage(Message):\n def __init__(self, policy):\n self.check_policy = policy\n super().__init__()\n MyPolicy = TestEmailBase.policy.clone(linesep='boo')\n def test_custom_message_gets_policy_if_possible_from_string(self):\n msg = email.message_from_string(\"Subject: bogus\\n\\nmsg\\n\",\n self.MyMessage,\n policy=self.MyPolicy)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "documentation": {} }, { "label": "TestParserBase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "peekOfCode": "class TestParserBase:\n def test_only_split_on_cr_lf(self):\n # The unicode line splitter splits on unicode linebreaks, which are\n # more numerous than allowed by the email RFCs; make sure we are only\n # splitting on those two.\n for parser in self.parsers:\n with self.subTest(parser=parser.__name__):\n msg = parser(\n \"Next-Line: not\\x85broken\\r\\n\"\n \"Null: not\\x00broken\\r\\n\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "documentation": {} }, { "label": "TestParser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "peekOfCode": "class TestParser(TestParserBase, TestEmailBase):\n parsers = (email.message_from_string, message_from_file)\ndef message_from_bytes(s, *args, **kw):\n return email.message_from_bytes(s.encode(), *args, **kw)\ndef message_from_binary_file(s, *args, **kw):\n f = io.BytesIO(s.encode())\n return email.message_from_binary_file(f, *args, **kw)\nclass TestBytesParser(TestParserBase, TestEmailBase):\n parsers = (message_from_bytes, message_from_binary_file)\nif __name__ == '__main__':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "documentation": {} }, { "label": "TestBytesParser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "peekOfCode": "class TestBytesParser(TestParserBase, TestEmailBase):\n parsers = (message_from_bytes, message_from_binary_file)\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "documentation": {} }, { "label": "message_from_file", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "peekOfCode": "def message_from_file(s, *args, **kw):\n f = io.StringIO(s)\n return email.message_from_file(f, *args, **kw)\nclass TestParser(TestParserBase, TestEmailBase):\n parsers = (email.message_from_string, message_from_file)\ndef message_from_bytes(s, *args, **kw):\n return email.message_from_bytes(s.encode(), *args, **kw)\ndef message_from_binary_file(s, *args, **kw):\n f = io.BytesIO(s.encode())\n return email.message_from_binary_file(f, *args, **kw)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "documentation": {} }, { "label": "message_from_bytes", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "peekOfCode": "def message_from_bytes(s, *args, **kw):\n return email.message_from_bytes(s.encode(), *args, **kw)\ndef message_from_binary_file(s, *args, **kw):\n f = io.BytesIO(s.encode())\n return email.message_from_binary_file(f, *args, **kw)\nclass TestBytesParser(TestParserBase, TestEmailBase):\n parsers = (message_from_bytes, message_from_binary_file)\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "documentation": {} }, { "label": "message_from_binary_file", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "peekOfCode": "def message_from_binary_file(s, *args, **kw):\n f = io.BytesIO(s.encode())\n return email.message_from_binary_file(f, *args, **kw)\nclass TestBytesParser(TestParserBase, TestEmailBase):\n parsers = (message_from_bytes, message_from_binary_file)\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_parser", "documentation": {} }, { "label": "TestPickleCopyHeader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_pickleable", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_pickleable", "peekOfCode": "class TestPickleCopyHeader(TestEmailBase):\n header_factory = HeaderRegistry()\n unstructured = header_factory('subject', 'this is a test')\n header_params = {\n 'subject': ('subject', 'this is a test'),\n 'from': ('from', 'frodo@mordor.net'),\n 'to': ('to', 'a: k@b.com, y@z.com;, j@f.com'),\n 'date': ('date', 'Tue, 29 May 2012 09:24:26 +1000'),\n }\n def header_as_deepcopy(self, name, value):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_pickleable", "documentation": {} }, { "label": "TestPickleCopyMessage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_pickleable", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_pickleable", "peekOfCode": "class TestPickleCopyMessage(TestEmailBase):\n # Message objects are a sequence, so we have to make them a one-tuple in\n # msg_params so they get passed to the parameterized test method as a\n # single argument instead of as a list of headers.\n msg_params = {}\n # Note: there will be no custom header objects in the parsed message.\n msg_params['parsed'] = (email.message_from_string(textwrap.dedent(\"\"\"\\\n Date: Tue, 29 May 2012 09:24:26 +1000\n From: frodo@mordor.net\n To: bilbo@underhill.org", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_pickleable", "documentation": {} }, { "label": "PolicyAPITests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_policy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_policy", "peekOfCode": "class PolicyAPITests(unittest.TestCase):\n longMessage = True\n # Base default values.\n compat32_defaults = {\n 'max_line_length': 78,\n 'linesep': '\\n',\n 'cte_type': '8bit',\n 'raise_on_defect': False,\n 'mangle_from_': True,\n 'message_factory': None,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_policy", "documentation": {} }, { "label": "TestException", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_policy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_policy", "peekOfCode": "class TestException(Exception):\n pass\nclass TestPolicyPropagation(unittest.TestCase):\n # The abstract methods are used by the parser but not by the wrapper\n # functions that call it, so if the exception gets raised we know that the\n # policy was actually propagated all the way to feedparser.\n class MyPolicy(email.policy.Policy):\n def badmethod(self, *args, **kw):\n raise TestException(\"test\")\n fold = fold_binary = header_fetch_parser = badmethod", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_policy", "documentation": {} }, { "label": "TestPolicyPropagation", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_policy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_policy", "peekOfCode": "class TestPolicyPropagation(unittest.TestCase):\n # The abstract methods are used by the parser but not by the wrapper\n # functions that call it, so if the exception gets raised we know that the\n # policy was actually propagated all the way to feedparser.\n class MyPolicy(email.policy.Policy):\n def badmethod(self, *args, **kw):\n raise TestException(\"test\")\n fold = fold_binary = header_fetch_parser = badmethod\n header_source_parse = header_store_parse = badmethod\n def test_message_from_string(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_policy", "documentation": {} }, { "label": "TestConcretePolicies", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_policy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_policy", "peekOfCode": "class TestConcretePolicies(unittest.TestCase):\n def test_header_store_parse_rejects_newlines(self):\n instance = email.policy.EmailPolicy()\n self.assertRaises(ValueError,\n instance.header_store_parse,\n 'From', 'spam\\negg@foo.py')\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_policy", "documentation": {} }, { "label": "make_defaults", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_policy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_policy", "peekOfCode": "def make_defaults(base_defaults, differences):\n defaults = base_defaults.copy()\n defaults.update(differences)\n return defaults\nclass PolicyAPITests(unittest.TestCase):\n longMessage = True\n # Base default values.\n compat32_defaults = {\n 'max_line_length': 78,\n 'linesep': '\\n',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_policy", "documentation": {} }, { "label": "DateTimeTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_utils", "peekOfCode": "class DateTimeTests(unittest.TestCase):\n datestring = 'Sun, 23 Sep 2001 20:10:55'\n dateargs = (2001, 9, 23, 20, 10, 55)\n offsetstring = ' -0700'\n utcoffset = datetime.timedelta(hours=-7)\n tz = datetime.timezone(utcoffset)\n naive_dt = datetime.datetime(*dateargs)\n aware_dt = datetime.datetime(*dateargs, tzinfo=tz)\n def test_naive_datetime(self):\n self.assertEqual(utils.format_datetime(self.naive_dt),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_utils", "documentation": {} }, { "label": "LocaltimeTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_utils", "peekOfCode": "class LocaltimeTests(unittest.TestCase):\n def test_localtime_is_tz_aware_daylight_true(self):\n test.support.patch(self, time, 'daylight', True)\n t = utils.localtime()\n self.assertIsNotNone(t.tzinfo)\n def test_localtime_is_tz_aware_daylight_false(self):\n test.support.patch(self, time, 'daylight', False)\n t = utils.localtime()\n self.assertIsNotNone(t.tzinfo)\n def test_localtime_daylight_true_dst_false(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_utils", "documentation": {} }, { "label": "FormatDateTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_utils", "peekOfCode": "class FormatDateTests(unittest.TestCase):\n @test.support.run_with_tz('Europe/Minsk')\n def test_formatdate(self):\n timeval = time.mktime((2011, 12, 1, 18, 0, 0, 4, 335, 0))\n string = utils.formatdate(timeval, localtime=False, usegmt=False)\n self.assertEqual(string, 'Thu, 01 Dec 2011 15:00:00 -0000')\n string = utils.formatdate(timeval, localtime=False, usegmt=True)\n self.assertEqual(string, 'Thu, 01 Dec 2011 15:00:00 GMT')\n @test.support.run_with_tz('Europe/Minsk')\n def test_formatdate_with_localtime(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test_utils", "documentation": {} }, { "label": "TestDecodeQ", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__encoded_words", "peekOfCode": "class TestDecodeQ(TestEmailBase):\n def _test(self, source, ex_result, ex_defects=[]):\n result, defects = _ew.decode_q(source)\n self.assertEqual(result, ex_result)\n self.assertDefectsEqual(defects, ex_defects)\n def test_no_encoded(self):\n self._test(b'foobar', b'foobar')\n def test_spaces(self):\n self._test(b'foo=20bar=20', b'foo bar ')\n self._test(b'foo_bar_', b'foo bar ')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__encoded_words", "documentation": {} }, { "label": "TestDecodeB", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__encoded_words", "peekOfCode": "class TestDecodeB(TestEmailBase):\n def _test(self, source, ex_result, ex_defects=[]):\n result, defects = _ew.decode_b(source)\n self.assertEqual(result, ex_result)\n self.assertDefectsEqual(defects, ex_defects)\n def test_simple(self):\n self._test(b'Zm9v', b'foo')\n def test_missing_padding(self):\n # 1 missing padding character\n self._test(b'dmk', b'vi', [errors.InvalidBase64PaddingDefect])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__encoded_words", "documentation": {} }, { "label": "TestDecode", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__encoded_words", "peekOfCode": "class TestDecode(TestEmailBase):\n def test_wrong_format_input_raises(self):\n with self.assertRaises(ValueError):\n _ew.decode('=?badone?=')\n with self.assertRaises(ValueError):\n _ew.decode('=?')\n with self.assertRaises(ValueError):\n _ew.decode('')\n with self.assertRaises(KeyError):\n _ew.decode('=?utf-8?X?somevalue?=')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__encoded_words", "documentation": {} }, { "label": "TestEncodeQ", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__encoded_words", "peekOfCode": "class TestEncodeQ(TestEmailBase):\n def _test(self, src, expected):\n self.assertEqual(_ew.encode_q(src), expected)\n def test_all_safe(self):\n self._test(b'foobar', 'foobar')\n def test_spaces(self):\n self._test(b'foo bar ', 'foo_bar_')\n def test_run_of_encodables(self):\n self._test(b'foo ,,bar', 'foo__=2C=2Cbar')\nclass TestEncodeB(TestEmailBase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__encoded_words", "documentation": {} }, { "label": "TestEncodeB", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__encoded_words", "peekOfCode": "class TestEncodeB(TestEmailBase):\n def test_simple(self):\n self.assertEqual(_ew.encode_b(b'foo'), 'Zm9v')\n def test_padding(self):\n self.assertEqual(_ew.encode_b(b'vi'), 'dmk=')\nclass TestEncode(TestEmailBase):\n def test_q(self):\n self.assertEqual(_ew.encode('foo', 'utf-8', 'q'), '=?utf-8?q?foo?=')\n def test_b(self):\n self.assertEqual(_ew.encode('foo', 'utf-8', 'b'), '=?utf-8?b?Zm9v?=')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__encoded_words", "documentation": {} }, { "label": "TestEncode", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__encoded_words", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__encoded_words", "peekOfCode": "class TestEncode(TestEmailBase):\n def test_q(self):\n self.assertEqual(_ew.encode('foo', 'utf-8', 'q'), '=?utf-8?q?foo?=')\n def test_b(self):\n self.assertEqual(_ew.encode('foo', 'utf-8', 'b'), '=?utf-8?b?Zm9v?=')\n def test_auto_q(self):\n self.assertEqual(_ew.encode('foo', 'utf-8'), '=?utf-8?q?foo?=')\n def test_auto_q_if_short_mostly_safe(self):\n self.assertEqual(_ew.encode('vi.', 'utf-8'), '=?utf-8?q?vi=2E?=')\n def test_auto_b_if_enough_unsafe(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__encoded_words", "documentation": {} }, { "label": "TestTokens", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__header_value_parser", "peekOfCode": "class TestTokens(TestEmailBase):\n # EWWhiteSpaceTerminal\n def test_EWWhiteSpaceTerminal(self):\n x = parser.EWWhiteSpaceTerminal(' \\t', 'fws')\n self.assertEqual(x, ' \\t')\n self.assertEqual(str(x), '')\n self.assertEqual(x.value, '')\n self.assertEqual(x.token_type, 'fws')\nclass TestParserMixin:\n def _assert_results(self, tl, rest, string, value, defects, remainder,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__header_value_parser", "documentation": {} }, { "label": "TestParserMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__header_value_parser", "peekOfCode": "class TestParserMixin:\n def _assert_results(self, tl, rest, string, value, defects, remainder,\n comments=None):\n self.assertEqual(str(tl), string)\n self.assertEqual(tl.value, value)\n self.assertDefectsEqual(tl.all_defects, defects)\n self.assertEqual(rest, remainder)\n if comments is not None:\n self.assertEqual(tl.comments, comments)\n def _test_get_x(self, method, source, string, value, defects,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__header_value_parser", "documentation": {} }, { "label": "TestParser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__header_value_parser", "peekOfCode": "class TestParser(TestParserMixin, TestEmailBase):\n # _wsp_splitter\n rfc_printable_ascii = bytes(range(33, 127)).decode('ascii')\n rfc_atext_chars = (string.ascii_letters + string.digits +\n \"!#$%&\\'*+-/=?^_`{}|~\")\n rfc_dtext_chars = rfc_printable_ascii.translate(str.maketrans('','',r'\\[]'))\n def test__wsp_splitter_one_word(self):\n self.assertEqual(parser._wsp_splitter('foo', 1), ['foo'])\n def test__wsp_splitter_two_words(self):\n self.assertEqual(parser._wsp_splitter('foo def', 1),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__header_value_parser", "documentation": {} }, { "label": "Test_parse_mime_parameters", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__header_value_parser", "peekOfCode": "class Test_parse_mime_parameters(TestParserMixin, TestEmailBase):\n def mime_parameters_as_value(self,\n value,\n tl_str,\n tl_value,\n params,\n defects):\n mime_parameters = self._test_parse_x(parser.parse_mime_parameters,\n value, tl_str, tl_value, defects)\n self.assertEqual(mime_parameters.token_type, 'mime-parameters')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__header_value_parser", "documentation": {} }, { "label": "Test_parse_mime_version", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__header_value_parser", "peekOfCode": "class Test_parse_mime_version(TestParserMixin, TestEmailBase):\n def mime_version_as_value(self,\n value,\n tl_str,\n tl_value,\n major,\n minor,\n defects):\n mime_version = self._test_parse_x(parser.parse_mime_version,\n value, tl_str, tl_value, defects)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__header_value_parser", "documentation": {} }, { "label": "TestFolding", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__header_value_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__header_value_parser", "peekOfCode": "class TestFolding(TestEmailBase):\n policy = policy.default\n def _test(self, tl, folded, policy=policy):\n self.assertEqual(tl.fold(policy=policy), folded, tl.ppstr())\n def test_simple_unstructured_no_folds(self):\n self._test(parser.get_unstructured(\"This is a test\"),\n \"This is a test\\n\")\n def test_simple_unstructured_folded(self):\n self._test(parser.get_unstructured(\"This is also a test, but this \"\n \"time there are enough words (and even some \"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.test__header_value_parser", "documentation": {} }, { "label": "TortureBase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.torture_test", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.torture_test", "peekOfCode": "class TortureBase(TestEmailBase):\n def _msgobj(self, filename):\n fp = openfile(filename)\n try:\n msg = email.message_from_file(fp)\n finally:\n fp.close()\n return msg\nclass TestCrispinTorture(TortureBase):\n # Mark Crispin's torture test from the SquirrelMail project", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.torture_test", "documentation": {} }, { "label": "TestCrispinTorture", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.torture_test", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.torture_test", "peekOfCode": "class TestCrispinTorture(TortureBase):\n # Mark Crispin's torture test from the SquirrelMail project\n def test_mondo_message(self):\n eq = self.assertEqual\n neq = self.ndiffAssertEqual\n msg = self._msgobj('crispin-torture.txt')\n payload = msg.get_payload()\n eq(type(payload), list)\n eq(len(payload), 12)\n eq(msg.preamble, None)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.torture_test", "documentation": {} }, { "label": "openfile", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.torture_test", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.torture_test", "peekOfCode": "def openfile(filename):\n from os.path import join, dirname, abspath\n path = abspath(join(dirname(testfile), os.pardir, 'moredata', filename))\n return open(path, 'r')\n# Prevent this test from running in the Python distro\ntry:\n openfile('crispin-torture.txt')\nexcept OSError:\n raise unittest.SkipTest\nclass TortureBase(TestEmailBase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.torture_test", "documentation": {} }, { "label": "suite", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.torture_test", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.torture_test", "peekOfCode": "def suite():\n suite = unittest.TestSuite()\n for testclass in _testclasses():\n suite.addTest(unittest.makeSuite(testclass))\n return suite\ndef test_main():\n for testclass in _testclasses():\n run_unittest(testclass)\nif __name__ == '__main__':\n unittest.main(defaultTest='suite')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.torture_test", "documentation": {} }, { "label": "test_main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.torture_test", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.torture_test", "peekOfCode": "def test_main():\n for testclass in _testclasses():\n run_unittest(testclass)\nif __name__ == '__main__':\n unittest.main(defaultTest='suite')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_email.torture_test", "documentation": {} }, { "label": "BytecodeTestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.bytecode_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.bytecode_helper", "peekOfCode": "class BytecodeTestCase(unittest.TestCase):\n \"\"\"Custom assertion methods for inspecting bytecode.\"\"\"\n def get_disassembly_as_string(self, co):\n s = io.StringIO()\n dis.dis(co, file=s)\n return s.getvalue()\n def assertInBytecode(self, x, opname, argval=_UNSPECIFIED):\n \"\"\"Returns instr if opname is found, otherwise throws AssertionError\"\"\"\n for instr in dis.get_instructions(x):\n if instr.opname == opname:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.bytecode_helper", "documentation": {} }, { "label": "_UNSPECIFIED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.bytecode_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.bytecode_helper", "peekOfCode": "_UNSPECIFIED = object()\nclass BytecodeTestCase(unittest.TestCase):\n \"\"\"Custom assertion methods for inspecting bytecode.\"\"\"\n def get_disassembly_as_string(self, co):\n s = io.StringIO()\n dis.dis(co, file=s)\n return s.getvalue()\n def assertInBytecode(self, x, opname, argval=_UNSPECIFIED):\n \"\"\"Returns instr if opname is found, otherwise throws AssertionError\"\"\"\n for instr in dis.get_instructions(x):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.bytecode_helper", "documentation": {} }, { "label": "requires_hashdigest", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.hashlib_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.hashlib_helper", "peekOfCode": "def requires_hashdigest(digestname, openssl=None, usedforsecurity=True):\n \"\"\"Decorator raising SkipTest if a hashing algorithm is not available\n The hashing algorithm could be missing or blocked by a strict crypto\n policy.\n If 'openssl' is True, then the decorator checks that OpenSSL provides\n the algorithm. Otherwise the check falls back to built-in\n implementations. The usedforsecurity flag is passed to the constructor.\n ValueError: [digital envelope routines: EVP_DigestInit_ex] disabled for FIPS\n ValueError: unsupported hash type md4\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.hashlib_helper", "documentation": {} }, { "label": "CleanImport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "peekOfCode": "class CleanImport(object):\n \"\"\"Context manager to force import to return a new module reference.\n This is useful for testing module-level behaviours, such as\n the emission of a DeprecationWarning on import.\n Use like this:\n with CleanImport(\"foo\"):\n importlib.import_module(\"foo\") # new reference\n \"\"\"\n def __init__(self, *module_names):\n self.original_modules = sys.modules.copy()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "documentation": {} }, { "label": "DirsOnSysPath", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "peekOfCode": "class DirsOnSysPath(object):\n \"\"\"Context manager to temporarily add directories to sys.path.\n This makes a copy of sys.path, appends any directories given\n as positional arguments, then reverts sys.path to the copied\n settings when the context ends.\n Note that *all* sys.path modifications in the body of the\n context manager, including replacement of the object,\n will be reverted at the end of the block.\n \"\"\"\n def __init__(self, *paths):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "documentation": {} }, { "label": "unload", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "peekOfCode": "def unload(name):\n try:\n del sys.modules[name]\n except KeyError:\n pass\ndef forget(modname):\n \"\"\"'Forget' a module was ever imported.\n This removes the module from sys.modules and deletes any PEP 3147/488 or\n legacy .pyc files.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "documentation": {} }, { "label": "forget", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "peekOfCode": "def forget(modname):\n \"\"\"'Forget' a module was ever imported.\n This removes the module from sys.modules and deletes any PEP 3147/488 or\n legacy .pyc files.\n \"\"\"\n unload(modname)\n for dirname in sys.path:\n source = os.path.join(dirname, modname + '.py')\n # It doesn't matter if they exist or not, unlink all possible\n # combinations of PEP 3147/488 and legacy pyc files.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "documentation": {} }, { "label": "make_legacy_pyc", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "peekOfCode": "def make_legacy_pyc(source):\n \"\"\"Move a PEP 3147/488 pyc file to its legacy pyc location.\n :param source: The file system path to the source file. The source file\n does not need to exist, however the PEP 3147/488 pyc file must exist.\n :return: The file system path to the legacy pyc file.\n \"\"\"\n pyc_file = importlib.util.cache_from_source(source)\n up_one = os.path.dirname(os.path.abspath(source))\n legacy_pyc = os.path.join(up_one, source + 'c')\n shutil.move(pyc_file, legacy_pyc)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "documentation": {} }, { "label": "import_module", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "peekOfCode": "def import_module(name, deprecated=False, *, required_on=()):\n \"\"\"Import and return the module to be tested, raising SkipTest if\n it is not available.\n If deprecated is True, any module or package deprecation messages\n will be suppressed. If a module is required on a platform but optional for\n others, set required_on to an iterable of platform prefixes which will be\n compared against sys.platform.\n \"\"\"\n with _ignore_deprecated_imports(deprecated):\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "documentation": {} }, { "label": "import_fresh_module", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "peekOfCode": "def import_fresh_module(name, fresh=(), blocked=(), deprecated=False):\n \"\"\"Import and return a module, deliberately bypassing sys.modules.\n This function imports and returns a fresh copy of the named Python module\n by removing the named module from sys.modules before doing the import.\n Note that unlike reload, the original module is not affected by\n this operation.\n *fresh* is an iterable of additional module names that are also removed\n from the sys.modules cache before doing the import. If one of these\n modules can't be imported, None is returned.\n *blocked* is an iterable of module names that are replaced with None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "documentation": {} }, { "label": "modules_setup", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "peekOfCode": "def modules_setup():\n return sys.modules.copy(),\ndef modules_cleanup(oldmodules):\n # Encoders/decoders are registered permanently within the internal\n # codec cache. If we destroy the corresponding modules their\n # globals will be set to None which will trip up the cached functions.\n encodings = [(k, v) for k, v in sys.modules.items()\n if k.startswith('encodings.')]\n sys.modules.clear()\n sys.modules.update(encodings)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "documentation": {} }, { "label": "modules_cleanup", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "peekOfCode": "def modules_cleanup(oldmodules):\n # Encoders/decoders are registered permanently within the internal\n # codec cache. If we destroy the corresponding modules their\n # globals will be set to None which will trip up the cached functions.\n encodings = [(k, v) for k, v in sys.modules.items()\n if k.startswith('encodings.')]\n sys.modules.clear()\n sys.modules.update(encodings)\n # XXX: This kind of problem can affect more than just encodings.\n # In particular extension modules (such as _ssl) don't cope", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.import_helper", "documentation": {} }, { "label": "Interpreter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "peekOfCode": "class Interpreter:\n \"\"\"A single Python interpreter.\"\"\"\n def __init__(self, id, *, isolated=None):\n if not isinstance(id, (int, _interpreters.InterpreterID)):\n raise TypeError(f'id must be an int, got {id!r}')\n self._id = id\n self._isolated = isolated\n def __repr__(self):\n data = dict(id=int(self._id), isolated=self._isolated)\n kwargs = (f'{k}={v!r}' for k, v in data.items())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "documentation": {} }, { "label": "_ChannelEnd", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "peekOfCode": "class _ChannelEnd:\n \"\"\"The base class for RecvChannel and SendChannel.\"\"\"\n def __init__(self, id):\n if not isinstance(id, (int, _interpreters.ChannelID)):\n raise TypeError(f'id must be an int, got {id!r}')\n self._id = id\n def __repr__(self):\n return f'{type(self).__name__}(id={int(self._id)})'\n def __hash__(self):\n return hash(self._id)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "documentation": {} }, { "label": "RecvChannel", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "peekOfCode": "class RecvChannel(_ChannelEnd):\n \"\"\"The receiving end of a cross-interpreter channel.\"\"\"\n def recv(self, *, _sentinel=object(), _delay=10 / 1000): # 10 milliseconds\n \"\"\"Return the next object from the channel.\n This blocks until an object has been sent, if none have been\n sent already.\n \"\"\"\n obj = _interpreters.channel_recv(self._id, _sentinel)\n while obj is _sentinel:\n time.sleep(_delay)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "documentation": {} }, { "label": "SendChannel", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "peekOfCode": "class SendChannel(_ChannelEnd):\n \"\"\"The sending end of a cross-interpreter channel.\"\"\"\n def send(self, obj):\n \"\"\"Send the object (i.e. its data) to the channel's receiving end.\n This blocks until the object is received.\n \"\"\"\n _interpreters.channel_send(self._id, obj)\n # XXX We are missing a low-level channel_send_wait().\n # See bpo-32604 and gh-19829.\n # Until that shows up we fake it:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "documentation": {} }, { "label": "create", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "peekOfCode": "def create(*, isolated=True):\n \"\"\"Return a new (idle) Python interpreter.\"\"\"\n id = _interpreters.create(isolated=isolated)\n return Interpreter(id, isolated=isolated)\ndef list_all():\n \"\"\"Return all existing interpreters.\"\"\"\n return [Interpreter(id) for id in _interpreters.list_all()]\ndef get_current():\n \"\"\"Return the currently running interpreter.\"\"\"\n id = _interpreters.get_current()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "documentation": {} }, { "label": "list_all", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "peekOfCode": "def list_all():\n \"\"\"Return all existing interpreters.\"\"\"\n return [Interpreter(id) for id in _interpreters.list_all()]\ndef get_current():\n \"\"\"Return the currently running interpreter.\"\"\"\n id = _interpreters.get_current()\n return Interpreter(id)\ndef get_main():\n \"\"\"Return the main interpreter.\"\"\"\n id = _interpreters.get_main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "documentation": {} }, { "label": "get_current", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "peekOfCode": "def get_current():\n \"\"\"Return the currently running interpreter.\"\"\"\n id = _interpreters.get_current()\n return Interpreter(id)\ndef get_main():\n \"\"\"Return the main interpreter.\"\"\"\n id = _interpreters.get_main()\n return Interpreter(id)\nclass Interpreter:\n \"\"\"A single Python interpreter.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "documentation": {} }, { "label": "get_main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "peekOfCode": "def get_main():\n \"\"\"Return the main interpreter.\"\"\"\n id = _interpreters.get_main()\n return Interpreter(id)\nclass Interpreter:\n \"\"\"A single Python interpreter.\"\"\"\n def __init__(self, id, *, isolated=None):\n if not isinstance(id, (int, _interpreters.InterpreterID)):\n raise TypeError(f'id must be an int, got {id!r}')\n self._id = id", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "documentation": {} }, { "label": "create_channel", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "peekOfCode": "def create_channel():\n \"\"\"Return (recv, send) for a new cross-interpreter channel.\n The channel may be used to pass data safely between interpreters.\n \"\"\"\n cid = _interpreters.channel_create()\n recv, send = RecvChannel(cid), SendChannel(cid)\n return recv, send\ndef list_all_channels():\n \"\"\"Return a list of (recv, send) for all open channels.\"\"\"\n return [(RecvChannel(cid), SendChannel(cid))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "documentation": {} }, { "label": "list_all_channels", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "peekOfCode": "def list_all_channels():\n \"\"\"Return a list of (recv, send) for all open channels.\"\"\"\n return [(RecvChannel(cid), SendChannel(cid))\n for cid in _interpreters.channel_list_all()]\nclass _ChannelEnd:\n \"\"\"The base class for RecvChannel and SendChannel.\"\"\"\n def __init__(self, id):\n if not isinstance(id, (int, _interpreters.ChannelID)):\n raise TypeError(f'id must be an int, got {id!r}')\n self._id = id", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "documentation": {} }, { "label": "__all__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "peekOfCode": "__all__ = [\n 'Interpreter', 'get_current', 'get_main', 'create', 'list_all',\n 'SendChannel', 'RecvChannel',\n 'create_channel', 'list_all_channels', 'is_shareable',\n 'ChannelError', 'ChannelNotFoundError',\n 'ChannelEmptyError',\n ]\ndef create(*, isolated=True):\n \"\"\"Return a new (idle) Python interpreter.\"\"\"\n id = _interpreters.create(isolated=isolated)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "documentation": {} }, { "label": "_NOT_SET", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "peekOfCode": "_NOT_SET = object()\nclass RecvChannel(_ChannelEnd):\n \"\"\"The receiving end of a cross-interpreter channel.\"\"\"\n def recv(self, *, _sentinel=object(), _delay=10 / 1000): # 10 milliseconds\n \"\"\"Return the next object from the channel.\n This blocks until an object has been sent, if none have been\n sent already.\n \"\"\"\n obj = _interpreters.channel_recv(self._id, _sentinel)\n while obj is _sentinel:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.interpreters", "documentation": {} }, { "label": "TestHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.logging_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.logging_helper", "peekOfCode": "class TestHandler(logging.handlers.BufferingHandler):\n def __init__(self, matcher):\n # BufferingHandler takes a \"capacity\" argument\n # so as to know when to flush. As we're overriding\n # shouldFlush anyway, we can set a capacity of zero.\n # You can call flush() manually to clear out the\n # buffer.\n logging.handlers.BufferingHandler.__init__(self, 0)\n self.matcher = matcher\n def shouldFlush(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.logging_helper", "documentation": {} }, { "label": "FakePath", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "class FakePath:\n \"\"\"Simple implementing of the path protocol.\n \"\"\"\n def __init__(self, path):\n self.path = path\n def __repr__(self):\n return f''\n def __fspath__(self):\n if (isinstance(self.path, BaseException) or\n isinstance(self.path, type) and", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "EnvironmentVarGuard", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "class EnvironmentVarGuard(collections.abc.MutableMapping):\n \"\"\"Class to help protect the environment variable properly. Can be used as\n a context manager.\"\"\"\n def __init__(self):\n self._environ = os.environ\n self._changed = {}\n def __getitem__(self, envvar):\n return self._environ[envvar]\n def __setitem__(self, envvar, value):\n # Remember the initial value on the first access", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "make_bad_fd", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "def make_bad_fd():\n \"\"\"\n Create an invalid file descriptor by opening and closing a file and return\n its fd.\n \"\"\"\n file = open(TESTFN, \"wb\")\n try:\n return file.fileno()\n finally:\n file.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "can_symlink", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "def can_symlink():\n global _can_symlink\n if _can_symlink is not None:\n return _can_symlink\n symlink_path = TESTFN + \"can_symlink\"\n try:\n os.symlink(TESTFN, symlink_path)\n can = True\n except (OSError, NotImplementedError, AttributeError):\n can = False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "skip_unless_symlink", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "def skip_unless_symlink(test):\n \"\"\"Skip decorator for tests that require functional symlink\"\"\"\n ok = can_symlink()\n msg = \"Requires functional symlink implementation\"\n return test if ok else unittest.skip(msg)(test)\n_can_xattr = None\ndef can_xattr():\n import tempfile\n global _can_xattr\n if _can_xattr is not None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "can_xattr", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "def can_xattr():\n import tempfile\n global _can_xattr\n if _can_xattr is not None:\n return _can_xattr\n if not hasattr(os, \"setxattr\"):\n can = False\n else:\n import platform\n tmp_dir = tempfile.mkdtemp()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "skip_unless_xattr", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "def skip_unless_xattr(test):\n \"\"\"Skip decorator for tests that require functional extended attributes\"\"\"\n ok = can_xattr()\n msg = \"no non-broken extended attribute support\"\n return test if ok else unittest.skip(msg)(test)\ndef unlink(filename):\n try:\n _unlink(filename)\n except (FileNotFoundError, NotADirectoryError):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "unlink", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "def unlink(filename):\n try:\n _unlink(filename)\n except (FileNotFoundError, NotADirectoryError):\n pass\nif sys.platform.startswith(\"win\"):\n def _waitfor(func, pathname, waitall=False):\n # Perform the operation\n func(pathname)\n # Now setup the wait loop", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "rmdir", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "def rmdir(dirname):\n try:\n _rmdir(dirname)\n except FileNotFoundError:\n pass\ndef rmtree(path):\n try:\n _rmtree(path)\n except FileNotFoundError:\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "rmtree", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "def rmtree(path):\n try:\n _rmtree(path)\n except FileNotFoundError:\n pass\n@contextlib.contextmanager\ndef temp_dir(path=None, quiet=False):\n \"\"\"Return a context manager that creates a temporary directory.\n Arguments:\n path: the directory to create temporarily. If omitted or None,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "temp_dir", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "def temp_dir(path=None, quiet=False):\n \"\"\"Return a context manager that creates a temporary directory.\n Arguments:\n path: the directory to create temporarily. If omitted or None,\n defaults to creating a temporary directory using tempfile.mkdtemp.\n quiet: if False (the default), the context manager raises an exception\n on error. Otherwise, if the path is specified and cannot be\n created, only a warning is issued.\n \"\"\"\n import tempfile", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "change_cwd", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "def change_cwd(path, quiet=False):\n \"\"\"Return a context manager that changes the current working directory.\n Arguments:\n path: the directory to use as the temporary current working directory.\n quiet: if False (the default), the context manager raises an exception\n on error. Otherwise, it issues only a warning and keeps the current\n working directory the same.\n \"\"\"\n saved_dir = os.getcwd()\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "temp_cwd", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "def temp_cwd(name='tempcwd', quiet=False):\n \"\"\"\n Context manager that temporarily creates and changes the CWD.\n The function temporarily changes the current working directory\n after creating a temporary directory in the current directory with\n name *name*. If *name* is None, the temporary directory is\n created using tempfile.mkdtemp.\n If *quiet* is False (default) and it is not possible to\n create or change the CWD, an error is raised. If *quiet* is True,\n only a warning is raised and the original CWD is used.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "create_empty_file", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "def create_empty_file(filename):\n \"\"\"Create an empty file. If the file already exists, truncate it.\"\"\"\n fd = os.open(filename, os.O_WRONLY | os.O_CREAT | os.O_TRUNC)\n os.close(fd)\n@contextlib.contextmanager\ndef open_dir_fd(path):\n \"\"\"Open a file descriptor to a directory.\"\"\"\n assert os.path.isdir(path)\n dir_fd = os.open(path, os.O_RDONLY)\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "open_dir_fd", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "def open_dir_fd(path):\n \"\"\"Open a file descriptor to a directory.\"\"\"\n assert os.path.isdir(path)\n dir_fd = os.open(path, os.O_RDONLY)\n try:\n yield dir_fd\n finally:\n os.close(dir_fd)\ndef fs_is_case_insensitive(directory):\n \"\"\"Detects if the file system for the specified directory", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "fs_is_case_insensitive", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "def fs_is_case_insensitive(directory):\n \"\"\"Detects if the file system for the specified directory\n is case-insensitive.\"\"\"\n import tempfile\n with tempfile.NamedTemporaryFile(dir=directory) as base:\n base_path = base.name\n case_path = base_path.upper()\n if case_path == base_path:\n case_path = base_path.lower()\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "fd_count", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "def fd_count():\n \"\"\"Count the number of open file descriptors.\n \"\"\"\n if sys.platform.startswith(('linux', 'freebsd')):\n try:\n names = os.listdir(\"/proc/self/fd\")\n # Subtract one because listdir() internally opens a file\n # descriptor to list the content of the /proc/self/fd/ directory.\n return len(names) - 1\n except FileNotFoundError:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "TESTFN_ASCII", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "TESTFN_ASCII = \"{}_{}_tmp\".format(TESTFN_ASCII, os.getpid())\n# TESTFN_UNICODE is a non-ascii filename\nTESTFN_UNICODE = TESTFN_ASCII + \"-\\xe0\\xf2\\u0258\\u0141\\u011f\"\nif sys.platform == 'darwin':\n # In Mac OS X's VFS API file names are, by definition, canonically\n # decomposed Unicode, encoded using UTF-8. See QA1173:\n # http://developer.apple.com/mac/library/qa/qa2001/qa1173.html\n import unicodedata\n TESTFN_UNICODE = unicodedata.normalize('NFD', TESTFN_UNICODE)\n# TESTFN_UNENCODABLE is a filename (str type) that should *not* be able to be", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "TESTFN_UNICODE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "TESTFN_UNICODE = TESTFN_ASCII + \"-\\xe0\\xf2\\u0258\\u0141\\u011f\"\nif sys.platform == 'darwin':\n # In Mac OS X's VFS API file names are, by definition, canonically\n # decomposed Unicode, encoded using UTF-8. See QA1173:\n # http://developer.apple.com/mac/library/qa/qa2001/qa1173.html\n import unicodedata\n TESTFN_UNICODE = unicodedata.normalize('NFD', TESTFN_UNICODE)\n# TESTFN_UNENCODABLE is a filename (str type) that should *not* be able to be\n# encoded by the filesystem encoding (in strict mode). It can be None if we\n# cannot generate such filename.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "TESTFN_UNENCODABLE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "TESTFN_UNENCODABLE = None\nif os.name == 'nt':\n # skip win32s (0) or Windows 9x/ME (1)\n if sys.getwindowsversion().platform >= 2:\n # Different kinds of characters from various languages to minimize the\n # probability that the whole name is encodable to MBCS (issue #9819)\n TESTFN_UNENCODABLE = TESTFN_ASCII + \"-\\u5171\\u0141\\u2661\\u0363\\uDC80\"\n try:\n TESTFN_UNENCODABLE.encode(sys.getfilesystemencoding())\n except UnicodeEncodeError:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "FS_NONASCII", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "FS_NONASCII = ''\nfor character in (\n # First try printable and common characters to have a readable filename.\n # For each character, the encoding list are just example of encodings able\n # to encode the character (the list is not exhaustive).\n # U+00E6 (Latin Small Letter Ae): cp1252, iso-8859-1\n '\\u00E6',\n # U+0130 (Latin Capital Letter I With Dot Above): cp1254, iso8859_3\n '\\u0130',\n # U+0141 (Latin Capital Letter L With Stroke): cp1250, cp1257", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "SAVEDCWD", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "SAVEDCWD = os.getcwd()\n# TESTFN_UNDECODABLE is a filename (bytes type) that should *not* be able to be\n# decoded from the filesystem encoding (in strict mode). It can be None if we\n# cannot generate such filename (ex: the latin1 encoding can decode any byte\n# sequence). On UNIX, TESTFN_UNDECODABLE can be decoded by os.fsdecode() thanks\n# to the surrogateescape error handler (PEP 383), but not from the filesystem\n# encoding in strict mode.\nTESTFN_UNDECODABLE = None\nfor name in (\n # b'\\xff' is not decodable by os.fsdecode() with code page 932. Windows", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "TESTFN_UNDECODABLE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "TESTFN_UNDECODABLE = None\nfor name in (\n # b'\\xff' is not decodable by os.fsdecode() with code page 932. Windows\n # accepts it to create a file or a directory, or don't accept to enter to\n # such directory (when the bytes name is used). So test b'\\xe7' first:\n # it is not decodable from cp932.\n b'\\xe7w\\xf0',\n # undecodable from ASCII, UTF-8\n b'\\xff',\n # undecodable from iso8859-3, iso8859-6, iso8859-7, cp424, iso8859-8, cp856", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "TESTFN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "TESTFN = TESTFN_NONASCII or TESTFN_ASCII\ndef make_bad_fd():\n \"\"\"\n Create an invalid file descriptor by opening and closing a file and return\n its fd.\n \"\"\"\n file = open(TESTFN, \"wb\")\n try:\n return file.fileno()\n finally:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "_can_symlink", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "_can_symlink = None\ndef can_symlink():\n global _can_symlink\n if _can_symlink is not None:\n return _can_symlink\n symlink_path = TESTFN + \"can_symlink\"\n try:\n os.symlink(TESTFN, symlink_path)\n can = True\n except (OSError, NotImplementedError, AttributeError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "_can_xattr", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "peekOfCode": "_can_xattr = None\ndef can_xattr():\n import tempfile\n global _can_xattr\n if _can_xattr is not None:\n return _can_xattr\n if not hasattr(os, \"setxattr\"):\n can = False\n else:\n import platform", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.os_helper", "documentation": {} }, { "label": "_PythonRunResult", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "peekOfCode": "class _PythonRunResult(collections.namedtuple(\"_PythonRunResult\",\n (\"rc\", \"out\", \"err\"))):\n \"\"\"Helper for reporting Python subprocess run results\"\"\"\n def fail(self, cmd_line):\n \"\"\"Provide helpful details about failed subcommand runs\"\"\"\n # Limit to 80 lines to ASCII characters\n maxlen = 80 * 100\n out, err = self.out, self.err\n if len(out) > maxlen:\n out = b'(... truncated stdout ...)' + out[-maxlen:]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "documentation": {} }, { "label": "interpreter_requires_environment", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "peekOfCode": "def interpreter_requires_environment():\n \"\"\"\n Returns True if our sys.executable interpreter requires environment\n variables in order to be able to run at all.\n This is designed to be used with @unittest.skipIf() to annotate tests\n that need to use an assert_python*() function to launch an isolated\n mode (-I) or no environment mode (-E) sub-interpreter process.\n A normal build & test does not run into this situation but it can happen\n when trying to run the standard library test suite from an interpreter that\n doesn't have an obvious home with Python's current home finding logic.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "documentation": {} }, { "label": "run_python_until_end", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "peekOfCode": "def run_python_until_end(*args, **env_vars):\n env_required = interpreter_requires_environment()\n cwd = env_vars.pop('__cwd', None)\n if '__isolated' in env_vars:\n isolated = env_vars.pop('__isolated')\n else:\n isolated = not env_vars and not env_required\n cmd_line = [sys.executable, '-X', 'faulthandler']\n if isolated:\n # isolated mode: ignore Python environment variables, ignore user", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "documentation": {} }, { "label": "assert_python_ok", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "peekOfCode": "def assert_python_ok(*args, **env_vars):\n \"\"\"\n Assert that running the interpreter with `args` and optional environment\n variables `env_vars` succeeds (rc == 0) and return a (return code, stdout,\n stderr) tuple.\n If the __cleanenv keyword is set, env_vars is used as a fresh environment.\n Python is started in isolated mode (command line option -I),\n except if the __isolated keyword is set to False.\n \"\"\"\n return _assert_python(True, *args, **env_vars)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "documentation": {} }, { "label": "assert_python_failure", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "peekOfCode": "def assert_python_failure(*args, **env_vars):\n \"\"\"\n Assert that running the interpreter with `args` and optional environment\n variables `env_vars` fails (rc != 0) and return a (return code, stdout,\n stderr) tuple.\n See assert_python_ok() for more options.\n \"\"\"\n return _assert_python(False, *args, **env_vars)\ndef spawn_python(*args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, **kw):\n \"\"\"Run a Python subprocess with the given arguments.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "documentation": {} }, { "label": "spawn_python", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "peekOfCode": "def spawn_python(*args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, **kw):\n \"\"\"Run a Python subprocess with the given arguments.\n kw is extra keyword args to pass to subprocess.Popen. Returns a Popen\n object.\n \"\"\"\n cmd_line = [sys.executable]\n if not interpreter_requires_environment():\n cmd_line.append('-E')\n cmd_line.extend(args)\n # Under Fedora (?), GNU readline can output junk on stderr when initialized,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "documentation": {} }, { "label": "kill_python", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "peekOfCode": "def kill_python(p):\n \"\"\"Run the given Popen process until completion and return stdout.\"\"\"\n p.stdin.close()\n data = p.stdout.read()\n p.stdout.close()\n # try to cleanup the child so we don't appear to leak when running\n # with regrtest -R.\n p.wait()\n subprocess._cleanup()\n return data", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "documentation": {} }, { "label": "make_script", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "peekOfCode": "def make_script(script_dir, script_basename, source, omit_suffix=False):\n script_filename = script_basename\n if not omit_suffix:\n script_filename += os.extsep + 'py'\n script_name = os.path.join(script_dir, script_filename)\n # The script should be encoded to UTF-8, the default string encoding\n with open(script_name, 'w', encoding='utf-8') as script_file:\n script_file.write(source)\n importlib.invalidate_caches()\n return script_name", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "documentation": {} }, { "label": "make_zip_script", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "peekOfCode": "def make_zip_script(zip_dir, zip_basename, script_name, name_in_zip=None):\n zip_filename = zip_basename+os.extsep+'zip'\n zip_name = os.path.join(zip_dir, zip_filename)\n with zipfile.ZipFile(zip_name, 'w') as zip_file:\n if name_in_zip is None:\n parts = script_name.split(os.sep)\n if len(parts) >= 2 and parts[-2] == '__pycache__':\n legacy_pyc = make_legacy_pyc(source_from_cache(script_name))\n name_in_zip = os.path.basename(legacy_pyc)\n script_name = legacy_pyc", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "documentation": {} }, { "label": "make_pkg", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "peekOfCode": "def make_pkg(pkg_dir, init_source=''):\n os.mkdir(pkg_dir)\n make_script(pkg_dir, '__init__', init_source)\ndef make_zip_pkg(zip_dir, zip_basename, pkg_name, script_basename,\n source, depth=1, compiled=False):\n unlink = []\n init_name = make_script(zip_dir, '__init__', '')\n unlink.append(init_name)\n init_basename = os.path.basename(init_name)\n script_name = make_script(zip_dir, script_basename, source)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "documentation": {} }, { "label": "make_zip_pkg", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "peekOfCode": "def make_zip_pkg(zip_dir, zip_basename, pkg_name, script_basename,\n source, depth=1, compiled=False):\n unlink = []\n init_name = make_script(zip_dir, '__init__', '')\n unlink.append(init_name)\n init_basename = os.path.basename(init_name)\n script_name = make_script(zip_dir, script_basename, source)\n unlink.append(script_name)\n if compiled:\n init_name = py_compile.compile(init_name, doraise=True)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "documentation": {} }, { "label": "run_test_script", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "peekOfCode": "def run_test_script(script):\n # use -u to try to get the full output if the test hangs or crash\n if support.verbose:\n def title(text):\n return f\"===== {text} ======\"\n name = f\"script {os.path.basename(script)}\"\n print()\n print(title(name), flush=True)\n # In verbose mode, the child process inherit stdout and stdout,\n # to see output in realtime and reduce the risk of losing output.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "documentation": {} }, { "label": "__cached_interp_requires_environment", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "peekOfCode": "__cached_interp_requires_environment = None\ndef interpreter_requires_environment():\n \"\"\"\n Returns True if our sys.executable interpreter requires environment\n variables in order to be able to run at all.\n This is designed to be used with @unittest.skipIf() to annotate tests\n that need to use an assert_python*() function to launch an isolated\n mode (-I) or no environment mode (-E) sub-interpreter process.\n A normal build & test does not run into this situation but it can happen\n when trying to run the standard library test suite from an interpreter that", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.script_helper", "documentation": {} }, { "label": "find_unused_port", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "peekOfCode": "def find_unused_port(family=socket.AF_INET, socktype=socket.SOCK_STREAM):\n \"\"\"Returns an unused port that should be suitable for binding. This is\n achieved by creating a temporary socket with the same family and type as\n the 'sock' parameter (default is AF_INET, SOCK_STREAM), and binding it to\n the specified host address (defaults to 0.0.0.0) with the port set to 0,\n eliciting an unused ephemeral port from the OS. The temporary socket is\n then closed and deleted, and the ephemeral port is returned.\n Either this method or bind_port() should be used for any tests where a\n server socket needs to be bound to a particular port for the duration of\n the test. Which one to use depends on whether the calling code is creating", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "documentation": {} }, { "label": "bind_port", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "peekOfCode": "def bind_port(sock, host=HOST):\n \"\"\"Bind the socket to a free port and return the port number. Relies on\n ephemeral ports in order to ensure we are using an unbound port. This is\n important as many tests may be running simultaneously, especially in a\n buildbot environment. This method raises an exception if the sock.family\n is AF_INET and sock.type is SOCK_STREAM, *and* the socket has SO_REUSEADDR\n or SO_REUSEPORT set on it. Tests should *never* set these socket options\n for TCP/IP sockets. The only case for setting these options is testing\n multicasting via multiple UDP sockets.\n Additionally, if the SO_EXCLUSIVEADDRUSE socket option is available (i.e.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "documentation": {} }, { "label": "bind_unix_socket", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "peekOfCode": "def bind_unix_socket(sock, addr):\n \"\"\"Bind a unix socket, raising SkipTest if PermissionError is raised.\"\"\"\n assert sock.family == socket.AF_UNIX\n try:\n sock.bind(addr)\n except PermissionError:\n sock.close()\n raise unittest.SkipTest('cannot bind AF_UNIX sockets')\ndef _is_ipv6_enabled():\n \"\"\"Check whether IPv6 is enabled on this host.\"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "documentation": {} }, { "label": "skip_unless_bind_unix_socket", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "peekOfCode": "def skip_unless_bind_unix_socket(test):\n \"\"\"Decorator for tests requiring a functional bind() for unix sockets.\"\"\"\n if not hasattr(socket, 'AF_UNIX'):\n return unittest.skip('No UNIX Sockets')(test)\n global _bind_nix_socket_error\n if _bind_nix_socket_error is None:\n from .os_helper import TESTFN, unlink\n path = TESTFN + \"can_bind_unix_socket\"\n with socket.socket(socket.AF_UNIX) as sock:\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "documentation": {} }, { "label": "get_socket_conn_refused_errs", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "peekOfCode": "def get_socket_conn_refused_errs():\n \"\"\"\n Get the different socket error numbers ('errno') which can be received\n when a connection is refused.\n \"\"\"\n errors = [errno.ECONNREFUSED]\n if hasattr(errno, 'ENETUNREACH'):\n # On Solaris, ENETUNREACH is returned sometimes instead of ECONNREFUSED\n errors.append(errno.ENETUNREACH)\n if hasattr(errno, 'EADDRNOTAVAIL'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "documentation": {} }, { "label": "transient_internet", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "peekOfCode": "def transient_internet(resource_name, *, timeout=_NOT_SET, errnos=()):\n \"\"\"Return a context manager that raises ResourceDenied when various issues\n with the internet connection manifest themselves as exceptions.\"\"\"\n import nntplib\n import urllib.error\n if timeout is _NOT_SET:\n timeout = support.INTERNET_TIMEOUT\n default_errnos = [\n ('ECONNREFUSED', 111),\n ('ECONNRESET', 104),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "documentation": {} }, { "label": "HOST", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "peekOfCode": "HOST = \"localhost\"\nHOSTv4 = \"127.0.0.1\"\nHOSTv6 = \"::1\"\ndef find_unused_port(family=socket.AF_INET, socktype=socket.SOCK_STREAM):\n \"\"\"Returns an unused port that should be suitable for binding. This is\n achieved by creating a temporary socket with the same family and type as\n the 'sock' parameter (default is AF_INET, SOCK_STREAM), and binding it to\n the specified host address (defaults to 0.0.0.0) with the port set to 0,\n eliciting an unused ephemeral port from the OS. The temporary socket is\n then closed and deleted, and the ephemeral port is returned.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "documentation": {} }, { "label": "HOSTv4", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "peekOfCode": "HOSTv4 = \"127.0.0.1\"\nHOSTv6 = \"::1\"\ndef find_unused_port(family=socket.AF_INET, socktype=socket.SOCK_STREAM):\n \"\"\"Returns an unused port that should be suitable for binding. This is\n achieved by creating a temporary socket with the same family and type as\n the 'sock' parameter (default is AF_INET, SOCK_STREAM), and binding it to\n the specified host address (defaults to 0.0.0.0) with the port set to 0,\n eliciting an unused ephemeral port from the OS. The temporary socket is\n then closed and deleted, and the ephemeral port is returned.\n Either this method or bind_port() should be used for any tests where a", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "documentation": {} }, { "label": "HOSTv6", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "peekOfCode": "HOSTv6 = \"::1\"\ndef find_unused_port(family=socket.AF_INET, socktype=socket.SOCK_STREAM):\n \"\"\"Returns an unused port that should be suitable for binding. This is\n achieved by creating a temporary socket with the same family and type as\n the 'sock' parameter (default is AF_INET, SOCK_STREAM), and binding it to\n the specified host address (defaults to 0.0.0.0) with the port set to 0,\n eliciting an unused ephemeral port from the OS. The temporary socket is\n then closed and deleted, and the ephemeral port is returned.\n Either this method or bind_port() should be used for any tests where a\n server socket needs to be bound to a particular port for the duration of", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "documentation": {} }, { "label": "IPV6_ENABLED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "peekOfCode": "IPV6_ENABLED = _is_ipv6_enabled()\n_bind_nix_socket_error = None\ndef skip_unless_bind_unix_socket(test):\n \"\"\"Decorator for tests requiring a functional bind() for unix sockets.\"\"\"\n if not hasattr(socket, 'AF_UNIX'):\n return unittest.skip('No UNIX Sockets')(test)\n global _bind_nix_socket_error\n if _bind_nix_socket_error is None:\n from .os_helper import TESTFN, unlink\n path = TESTFN + \"can_bind_unix_socket\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "documentation": {} }, { "label": "_bind_nix_socket_error", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "peekOfCode": "_bind_nix_socket_error = None\ndef skip_unless_bind_unix_socket(test):\n \"\"\"Decorator for tests requiring a functional bind() for unix sockets.\"\"\"\n if not hasattr(socket, 'AF_UNIX'):\n return unittest.skip('No UNIX Sockets')(test)\n global _bind_nix_socket_error\n if _bind_nix_socket_error is None:\n from .os_helper import TESTFN, unlink\n path = TESTFN + \"can_bind_unix_socket\"\n with socket.socket(socket.AF_UNIX) as sock:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "documentation": {} }, { "label": "_NOT_SET", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "peekOfCode": "_NOT_SET = object()\n@contextlib.contextmanager\ndef transient_internet(resource_name, *, timeout=_NOT_SET, errnos=()):\n \"\"\"Return a context manager that raises ResourceDenied when various issues\n with the internet connection manifest themselves as exceptions.\"\"\"\n import nntplib\n import urllib.error\n if timeout is _NOT_SET:\n timeout = support.INTERNET_TIMEOUT\n default_errnos = [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.socket_helper", "documentation": {} }, { "label": "RegressionTestResult", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.testresult", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.testresult", "peekOfCode": "class RegressionTestResult(unittest.TextTestResult):\n USE_XML = False\n def __init__(self, stream, descriptions, verbosity):\n super().__init__(stream=stream, descriptions=descriptions,\n verbosity=2 if verbosity else 0)\n self.buffer = True\n if self.USE_XML:\n from xml.etree import ElementTree as ET\n from datetime import datetime\n self.__ET = ET", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.testresult", "documentation": {} }, { "label": "QuietRegressionTestRunner", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.testresult", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.testresult", "peekOfCode": "class QuietRegressionTestRunner:\n def __init__(self, stream, buffer=False):\n self.result = RegressionTestResult(stream, None, 0)\n self.result.buffer = buffer\n def run(self, test):\n test(self.result)\n return self.result\ndef get_test_runner_class(verbosity, buffer=False):\n if verbosity:\n return functools.partial(unittest.TextTestRunner,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.testresult", "documentation": {} }, { "label": "get_test_runner_class", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.testresult", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.testresult", "peekOfCode": "def get_test_runner_class(verbosity, buffer=False):\n if verbosity:\n return functools.partial(unittest.TextTestRunner,\n resultclass=RegressionTestResult,\n buffer=buffer,\n verbosity=verbosity)\n return functools.partial(QuietRegressionTestRunner, buffer=buffer)\ndef get_test_runner(stream, verbosity, capture_output=False):\n return get_test_runner_class(verbosity, capture_output)(stream)\nif __name__ == '__main__':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.testresult", "documentation": {} }, { "label": "get_test_runner", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.testresult", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.testresult", "peekOfCode": "def get_test_runner(stream, verbosity, capture_output=False):\n return get_test_runner_class(verbosity, capture_output)(stream)\nif __name__ == '__main__':\n import xml.etree.ElementTree as ET\n RegressionTestResult.USE_XML = True\n class TestTests(unittest.TestCase):\n def test_pass(self):\n pass\n def test_pass_slow(self):\n time.sleep(1.0)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.testresult", "documentation": {} }, { "label": "catch_threading_exception", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "peekOfCode": "class catch_threading_exception:\n \"\"\"\n Context manager catching threading.Thread exception using\n threading.excepthook.\n Attributes set when an exception is caught:\n * exc_type\n * exc_value\n * exc_traceback\n * thread\n See threading.excepthook() documentation for these attributes.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "documentation": {} }, { "label": "threading_setup", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "peekOfCode": "def threading_setup():\n return _thread._count(), threading._dangling.copy()\ndef threading_cleanup(*original_values):\n _MAX_COUNT = 100\n for count in range(_MAX_COUNT):\n values = _thread._count(), threading._dangling\n if values == original_values:\n break\n if not count:\n # Display a warning at the first iteration", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "documentation": {} }, { "label": "threading_cleanup", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "peekOfCode": "def threading_cleanup(*original_values):\n _MAX_COUNT = 100\n for count in range(_MAX_COUNT):\n values = _thread._count(), threading._dangling\n if values == original_values:\n break\n if not count:\n # Display a warning at the first iteration\n support.environment_altered = True\n dangling_threads = values[1]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "documentation": {} }, { "label": "reap_threads", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "peekOfCode": "def reap_threads(func):\n \"\"\"Use this function when threads are being used. This will\n ensure that the threads are cleaned up even when the test fails.\n \"\"\"\n @functools.wraps(func)\n def decorator(*args):\n key = threading_setup()\n try:\n return func(*args)\n finally:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "documentation": {} }, { "label": "wait_threads_exit", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "peekOfCode": "def wait_threads_exit(timeout=None):\n \"\"\"\n bpo-31234: Context manager to wait until all threads created in the with\n statement exit.\n Use _thread.count() to check if threads exited. Indirectly, wait until\n threads exit the internal t_bootstrap() C function of the _thread module.\n threading_setup() and threading_cleanup() are designed to emit a warning\n if a test leaves running threads in the background. This context manager\n is designed to cleanup threads started by the _thread.start_new_thread()\n which doesn't allow to wait for thread exit, whereas thread.Thread has a", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "documentation": {} }, { "label": "join_thread", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "peekOfCode": "def join_thread(thread, timeout=None):\n \"\"\"Join a thread. Raise an AssertionError if the thread is still alive\n after timeout seconds.\n \"\"\"\n if timeout is None:\n timeout = support.SHORT_TIMEOUT\n thread.join(timeout)\n if thread.is_alive():\n msg = f\"failed to join the thread in {timeout:.1f} seconds\"\n raise AssertionError(msg)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "documentation": {} }, { "label": "start_threads", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "peekOfCode": "def start_threads(threads, unlock=None):\n import faulthandler\n threads = list(threads)\n started = []\n try:\n try:\n for t in threads:\n t.start()\n started.append(t)\n except:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.threading_helper", "documentation": {} }, { "label": "WarningsRecorder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "peekOfCode": "class WarningsRecorder(object):\n \"\"\"Convenience wrapper for the warnings list returned on\n entry to the warnings.catch_warnings() context manager.\n \"\"\"\n def __init__(self, warnings_list):\n self._warnings = warnings_list\n self._last = 0\n def __getattr__(self, attr):\n if len(self._warnings) > self._last:\n return getattr(self._warnings[-1], attr)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "documentation": {} }, { "label": "check_syntax_warning", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "peekOfCode": "def check_syntax_warning(testcase, statement, errtext='',\n *, lineno=1, offset=None):\n # Test also that a warning is emitted only once.\n from test.support import check_syntax_error\n with warnings.catch_warnings(record=True) as warns:\n warnings.simplefilter('always', SyntaxWarning)\n compile(statement, '', 'exec')\n testcase.assertEqual(len(warns), 1, warns)\n warn, = warns\n testcase.assertTrue(issubclass(warn.category, SyntaxWarning),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "documentation": {} }, { "label": "ignore_warnings", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "peekOfCode": "def ignore_warnings(*, category):\n \"\"\"Decorator to suppress deprecation warnings.\n Use of context managers to hide warnings make diffs\n more noisy and tools like 'git blame' less useful.\n \"\"\"\n def decorator(test):\n @functools.wraps(test)\n def wrapper(self, *args, **kwargs):\n with warnings.catch_warnings():\n warnings.simplefilter('ignore', category=category)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "documentation": {} }, { "label": "check_warnings", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "peekOfCode": "def check_warnings(*filters, **kwargs):\n \"\"\"Context manager to silence warnings.\n Accept 2-tuples as positional arguments:\n (\"message regexp\", WarningCategory)\n Optional argument:\n - if 'quiet' is True, it does not fail if a filter catches nothing\n (default True without argument,\n default False if some filters are defined)\n Without argument, it defaults to:\n check_warnings((\"\", Warning), quiet=True)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "documentation": {} }, { "label": "check_no_warnings", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "peekOfCode": "def check_no_warnings(testcase, message='', category=Warning, force_gc=False):\n \"\"\"Context manager to check that no warnings are emitted.\n This context manager enables a given warning within its scope\n and checks that no warnings are emitted even with that warning\n enabled.\n If force_gc is True, a garbage collection is attempted before checking\n for warnings. This may help to catch warnings emitted when objects\n are deleted, such as ResourceWarning.\n Other keyword arguments are passed to warnings.filterwarnings().\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "documentation": {} }, { "label": "check_no_resource_warning", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "peekOfCode": "def check_no_resource_warning(testcase):\n \"\"\"Context manager to check that no ResourceWarning is emitted.\n Usage:\n with check_no_resource_warning(self):\n f = open(...)\n ...\n del f\n You must remove the object which may emit ResourceWarning before\n the end of the context manager.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "documentation": {} }, { "label": "save_restore_warnings_filters", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "peekOfCode": "def save_restore_warnings_filters():\n old_filters = warnings.filters[:]\n try:\n yield\n finally:\n warnings.filters[:] = old_filters\ndef _warn_about_deprecation():\n warnings.warn(\n \"This is used in test_support test to ensure\"\n \" support.ignore_deprecations_from() works as expected.\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.support.warnings_helper", "documentation": {} }, { "label": "Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_fixcid", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_fixcid", "peekOfCode": "class Test(unittest.TestCase):\n def test_parse_strings(self):\n old1 = 'int xx = \"xx\\\\\"xx\"[xx];\\n'\n old2 = \"int xx = 'x\\\\'xx' + xx;\\n\"\n output = self.run_script(old1 + old2)\n new1 = 'int yy = \"xx\\\\\"xx\"[yy];\\n'\n new2 = \"int yy = 'x\\\\'xx' + yy;\\n\"\n self.assertMultiLineEqual(output,\n \"1\\n\"\n \"< {old1}\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_fixcid", "documentation": {} }, { "label": "Gprof2htmlTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_gprof2html", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_gprof2html", "peekOfCode": "class Gprof2htmlTests(unittest.TestCase):\n def setUp(self):\n self.gprof = import_tool('gprof2html')\n oldargv = sys.argv\n def fixup():\n sys.argv = oldargv\n self.addCleanup(fixup)\n sys.argv = []\n def test_gprof(self):\n # Issue #14508: this used to fail with a NameError.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_gprof2html", "documentation": {} }, { "label": "Test_pygettext", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_i18n", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_i18n", "peekOfCode": "class Test_pygettext(unittest.TestCase):\n \"\"\"Tests for the pygettext.py tool\"\"\"\n script = os.path.join(toolsdir,'i18n', 'pygettext.py')\n def get_header(self, data):\n \"\"\" utility: return the header of a .po file as a dictionary \"\"\"\n headers = {}\n for line in data.split('\\n'):\n if not line or line.startswith(('#', 'msgid','msgstr')):\n continue\n line = line.strip('\"')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_i18n", "documentation": {} }, { "label": "lllTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_lll", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_lll", "peekOfCode": "class lllTests(unittest.TestCase):\n def setUp(self):\n self.lll = import_tool('lll')\n @os_helper.skip_unless_symlink\n def test_lll_multiple_dirs(self):\n with tempfile.TemporaryDirectory() as dir1, \\\n tempfile.TemporaryDirectory() as dir2:\n fn1 = os.path.join(dir1, 'foo1')\n fn2 = os.path.join(dir2, 'foo2')\n for fn, dir in (fn1, dir1), (fn2, dir2):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_lll", "documentation": {} }, { "label": "MD5SumTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_md5sum", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_md5sum", "peekOfCode": "class MD5SumTests(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.script = os.path.join(scriptsdir, 'md5sum.py')\n os.mkdir(os_helper.TESTFN_ASCII)\n cls.fodder = os.path.join(os_helper.TESTFN_ASCII, 'md5sum.fodder')\n with open(cls.fodder, 'wb') as f:\n f.write(b'md5sum\\r\\ntest file\\r\\n')\n cls.fodder_md5 = b'd38dae2eb1ab346a292ef6850f9e1a0d'\n cls.fodder_textmode_md5 = b'a8b07894e2ca3f2a4c3094065fa6e0a5'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_md5sum", "documentation": {} }, { "label": "TestPathfixFunctional", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_pathfix", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_pathfix", "peekOfCode": "class TestPathfixFunctional(unittest.TestCase):\n script = os.path.join(scriptsdir, 'pathfix.py')\n def setUp(self):\n self.addCleanup(os_helper.unlink, os_helper.TESTFN)\n def pathfix(self, shebang, pathfix_flags, exitcode=0, stdout='', stderr='',\n directory=''):\n if directory:\n # bpo-38347: Test filename should contain lowercase, uppercase,\n # \"-\", \"_\" and digits.\n filename = os.path.join(directory, 'script-A_1.py')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_pathfix", "documentation": {} }, { "label": "PdepsTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_pdeps", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_pdeps", "peekOfCode": "class PdepsTests(unittest.TestCase):\n @classmethod\n def setUpClass(self):\n self.pdeps = import_tool('pdeps')\n def test_process_errors(self):\n # Issue #14492: m_import.match(line) can be None.\n with tempfile.TemporaryDirectory() as tmpdir:\n fn = os.path.join(tmpdir, 'foo')\n with open(fn, 'w') as stream:\n stream.write(\"#!/this/will/fail\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_pdeps", "documentation": {} }, { "label": "PindentTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_pindent", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_pindent", "peekOfCode": "class PindentTests(unittest.TestCase):\n script = os.path.join(scriptsdir, 'pindent.py')\n def assertFileEqual(self, fn1, fn2):\n with open(fn1) as f1, open(fn2) as f2:\n self.assertEqual(f1.readlines(), f2.readlines())\n def pindent(self, source, *args):\n with subprocess.Popen(\n (sys.executable, self.script) + args,\n stdin=subprocess.PIPE, stdout=subprocess.PIPE,\n universal_newlines=True) as proc:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_pindent", "documentation": {} }, { "label": "ReindentTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_reindent", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_reindent", "peekOfCode": "class ReindentTests(unittest.TestCase):\n script = os.path.join(scriptsdir, 'reindent.py')\n def test_noargs(self):\n assert_python_ok(self.script)\n def test_help(self):\n rc, out, err = assert_python_ok(self.script, '-h')\n self.assertEqual(out, b'')\n self.assertGreater(err, b'')\n def test_reindent_file_with_bad_encoding(self):\n bad_coding_path = findfile('bad_coding.py')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_reindent", "documentation": {} }, { "label": "TestSundryScripts", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_sundry", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_sundry", "peekOfCode": "class TestSundryScripts(unittest.TestCase):\n # At least make sure the rest don't have syntax errors. When tests are\n # added for a script it should be added to the allowlist below.\n # scripts that have independent tests.\n allowlist = ['reindent', 'pdeps', 'gprof2html', 'md5sum']\n # scripts that can't be imported without running\n denylist = ['make_ctype']\n # scripts that use windows-only modules\n windows_only = ['win_add2path']\n # denylisted for other reasons", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_tools.test_sundry", "documentation": {} }, { "label": "leak_inner", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.leakers.test_ctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.leakers.test_ctypes", "peekOfCode": "def leak_inner():\n class POINT(Structure):\n _fields_ = [(\"x\", c_int)]\n class RECT(Structure):\n _fields_ = [(\"a\", POINTER(POINT))]\ndef leak():\n leak_inner()\n gc.collect()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.leakers.test_ctypes", "documentation": {} }, { "label": "leak", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.leakers.test_ctypes", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.leakers.test_ctypes", "peekOfCode": "def leak():\n leak_inner()\n gc.collect()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.leakers.test_ctypes", "documentation": {} }, { "label": "leak", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.leakers.test_selftype", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.leakers.test_selftype", "peekOfCode": "def leak():\n class T(type):\n pass\n class U(type, metaclass=T):\n pass\n U.__class__ = U\n del U\n gc.collect(); gc.collect(); gc.collect()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.leakers.test_selftype", "documentation": {} }, { "label": "co", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.crashers.bogus_code_obj", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.crashers.bogus_code_obj", "peekOfCode": "co = types.CodeType(0, 0, 0, 0, 0, 0, b'\\x04\\x00\\x71\\x00',\n (), (), (), '', '', 1, b'')\nexec(co)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.crashers.bogus_code_obj", "documentation": {} }, { "label": "g", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.crashers.gc_inspection", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.crashers.gc_inspection", "peekOfCode": "def g():\n marker = object()\n yield marker\n # now the marker is in the tuple being constructed\n [tup] = [x for x in gc.get_referrers(marker) if type(x) is tuple]\n print(tup)\n print(tup[1])\ntuple(g())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.crashers.gc_inspection", "documentation": {} }, { "label": "starttag", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.crashers.infinite_loop_re", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.crashers.infinite_loop_re", "peekOfCode": "starttag = re.compile(r'<[a-zA-Z][-_.:a-zA-Z0-9]*\\s*('\n r'\\s*([a-zA-Z_][-:.a-zA-Z_0-9]*)(\\s*=\\s*'\n r'(\\'[^\\']*\\'|\"[^\"]*\"|[-a-zA-Z0-9./,:;+*%?!&$\\(\\)_#=~@]'\n r'[][\\-a-zA-Z0-9./,:;+*%?!&$\\(\\)_#=~\\'\"@]*(?=[\\s>/<])))?'\n r')*\\s*/?\\s*(?=[<>])')\nif __name__ == '__main__':\n foo = '= 1.0\n Requires-Dist: pytest; extra == 'test'\n Keywords: sample package", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "documentation": {} }, { "label": "DistInfoPkgWithDot", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "peekOfCode": "class DistInfoPkgWithDot(OnSysPath, SiteDir):\n files: FilesDef = {\n \"pkg_dot-1.0.0.dist-info\": {\n \"METADATA\": \"\"\"\n Name: pkg.dot\n Version: 1.0.0\n \"\"\",\n },\n }\n def setUp(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "documentation": {} }, { "label": "DistInfoPkgWithDotLegacy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "peekOfCode": "class DistInfoPkgWithDotLegacy(OnSysPath, SiteDir):\n files: FilesDef = {\n \"pkg.dot-1.0.0.dist-info\": {\n \"METADATA\": \"\"\"\n Name: pkg.dot\n Version: 1.0.0\n \"\"\",\n },\n \"pkg.lot.egg-info\": {\n \"METADATA\": \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "documentation": {} }, { "label": "DistInfoPkgOffPath", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "peekOfCode": "class DistInfoPkgOffPath(SiteDir):\n def setUp(self):\n super(DistInfoPkgOffPath, self).setUp()\n build_files(DistInfoPkg.files, self.site_dir)\nclass EggInfoPkg(OnSysPath, SiteDir):\n files: FilesDef = {\n \"egginfo_pkg.egg-info\": {\n \"PKG-INFO\": \"\"\"\n Name: egginfo-pkg\n Author: Steven Ma", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "documentation": {} }, { "label": "EggInfoPkg", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "peekOfCode": "class EggInfoPkg(OnSysPath, SiteDir):\n files: FilesDef = {\n \"egginfo_pkg.egg-info\": {\n \"PKG-INFO\": \"\"\"\n Name: egginfo-pkg\n Author: Steven Ma\n License: Unknown\n Version: 1.0.0\n Classifier: Intended Audience :: Developers\n Classifier: Topic :: Software Development :: Libraries", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "documentation": {} }, { "label": "EggInfoFile", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "peekOfCode": "class EggInfoFile(OnSysPath, SiteDir):\n files: FilesDef = {\n \"egginfo_file.egg-info\": \"\"\"\n Metadata-Version: 1.0\n Name: egginfo_file\n Version: 0.1\n Summary: An example package\n Home-page: www.example.com\n Author: Eric Haffa-Vee\n Author-email: eric@example.coms", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "documentation": {} }, { "label": "LocalPackage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "peekOfCode": "class LocalPackage:\n files: FilesDef = {\n \"setup.py\": \"\"\"\n import setuptools\n setuptools.setup(name=\"local-pkg\", version=\"2.0.1\")\n \"\"\",\n }\n def setUp(self):\n self.fixtures = contextlib.ExitStack()\n self.addCleanup(self.fixtures.close)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "documentation": {} }, { "label": "FileBuilder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "peekOfCode": "class FileBuilder:\n def unicode_filename(self):\n return FS_NONASCII or self.skip(\"File system does not support non-ascii.\")\ndef DALS(str):\n \"Dedent and left-strip\"\n return textwrap.dedent(str).lstrip()\nclass NullFinder:\n def find_module(self, name):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "documentation": {} }, { "label": "NullFinder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "peekOfCode": "class NullFinder:\n def find_module(self, name):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "documentation": {} }, { "label": "tempdir", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "peekOfCode": "def tempdir():\n tmpdir = tempfile.mkdtemp()\n try:\n yield pathlib.Path(tmpdir)\n finally:\n shutil.rmtree(tmpdir)\n@contextlib.contextmanager\ndef save_cwd():\n orig = os.getcwd()\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "documentation": {} }, { "label": "save_cwd", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "peekOfCode": "def save_cwd():\n orig = os.getcwd()\n try:\n yield\n finally:\n os.chdir(orig)\n@contextlib.contextmanager\ndef tempdir_as_cwd():\n with tempdir() as tmp:\n with save_cwd():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "documentation": {} }, { "label": "tempdir_as_cwd", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "peekOfCode": "def tempdir_as_cwd():\n with tempdir() as tmp:\n with save_cwd():\n os.chdir(str(tmp))\n yield tmp\n@contextlib.contextmanager\ndef install_finder(finder):\n sys.meta_path.append(finder)\n try:\n yield", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "documentation": {} }, { "label": "install_finder", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "peekOfCode": "def install_finder(finder):\n sys.meta_path.append(finder)\n try:\n yield\n finally:\n sys.meta_path.remove(finder)\nclass Fixtures:\n def setUp(self):\n self.fixtures = contextlib.ExitStack()\n self.addCleanup(self.fixtures.close)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "documentation": {} }, { "label": "build_files", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "peekOfCode": "def build_files(file_defs, prefix=pathlib.Path()):\n \"\"\"Build a set of files/directories, as described by the\n file_defs dictionary. Each key/value pair in the dictionary is\n interpreted as a filename/contents pair. If the contents value is a\n dictionary, a directory is created, and the dictionary interpreted\n as the files within it, recursively.\n For example:\n {\"README.txt\": \"A README file\",\n \"foo\": {\n \"__init__.py\": \"\",", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "documentation": {} }, { "label": "DALS", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "peekOfCode": "def DALS(str):\n \"Dedent and left-strip\"\n return textwrap.dedent(str).lstrip()\nclass NullFinder:\n def find_module(self, name):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "documentation": {} }, { "label": "FilesDef", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "peekOfCode": "FilesDef = Dict[str, Union[Dict[str, Union[Dict[str, str], str]], str]]\nclass DistInfoPkg(OnSysPath, SiteDir):\n files: FilesDef = {\n \"distinfo_pkg-1.0.0.dist-info\": {\n \"METADATA\": \"\"\"\n Name: distinfo-pkg\n Author: Steven Ma\n Version: 1.0.0\n Requires-Dist: wheel >= 1.0\n Requires-Dist: pytest; extra == 'test'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.fixtures", "documentation": {} }, { "label": "fake_filesystem_unittest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.stubs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.stubs", "peekOfCode": "class fake_filesystem_unittest:\n \"\"\"\n Stubbed version of the pyfakefs module\n \"\"\"\n class TestCase(unittest.TestCase):\n def setUpPyfakefs(self):\n self.skipTest(\"pyfakefs not available\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.stubs", "documentation": {} }, { "label": "InheritanceTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class InheritanceTests:\n \"\"\"Test that the specified class is a subclass/superclass of the expected\n classes.\"\"\"\n subclasses = []\n superclasses = []\n def setUp(self):\n self.superclasses = [getattr(self.abc, class_name)\n for class_name in self.superclass_names]\n if hasattr(self, 'subclass_names'):\n # Because test.support.import_fresh_module() creates a new", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "MetaPathFinder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class MetaPathFinder(InheritanceTests):\n superclass_names = []\n subclass_names = ['BuiltinImporter', 'FrozenImporter', 'PathFinder',\n 'WindowsRegistryFinder']\n(Frozen_MetaPathFinderInheritanceTests,\n Source_MetaPathFinderInheritanceTests\n ) = test_util.test_both(MetaPathFinder, abc=abc)\nclass PathEntryFinder(InheritanceTests):\n superclass_names = []\n subclass_names = ['FileFinder']", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "PathEntryFinder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class PathEntryFinder(InheritanceTests):\n superclass_names = []\n subclass_names = ['FileFinder']\n(Frozen_PathEntryFinderInheritanceTests,\n Source_PathEntryFinderInheritanceTests\n ) = test_util.test_both(PathEntryFinder, abc=abc)\nclass ResourceLoader(InheritanceTests):\n superclass_names = ['Loader']\n(Frozen_ResourceLoaderInheritanceTests,\n Source_ResourceLoaderInheritanceTests", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "ResourceLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class ResourceLoader(InheritanceTests):\n superclass_names = ['Loader']\n(Frozen_ResourceLoaderInheritanceTests,\n Source_ResourceLoaderInheritanceTests\n ) = test_util.test_both(ResourceLoader, abc=abc)\nclass InspectLoader(InheritanceTests):\n superclass_names = ['Loader']\n subclass_names = ['BuiltinImporter', 'FrozenImporter', 'ExtensionFileLoader']\n(Frozen_InspectLoaderInheritanceTests,\n Source_InspectLoaderInheritanceTests", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "InspectLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class InspectLoader(InheritanceTests):\n superclass_names = ['Loader']\n subclass_names = ['BuiltinImporter', 'FrozenImporter', 'ExtensionFileLoader']\n(Frozen_InspectLoaderInheritanceTests,\n Source_InspectLoaderInheritanceTests\n ) = test_util.test_both(InspectLoader, abc=abc)\nclass ExecutionLoader(InheritanceTests):\n superclass_names = ['InspectLoader']\n subclass_names = ['ExtensionFileLoader']\n(Frozen_ExecutionLoaderInheritanceTests,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "ExecutionLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class ExecutionLoader(InheritanceTests):\n superclass_names = ['InspectLoader']\n subclass_names = ['ExtensionFileLoader']\n(Frozen_ExecutionLoaderInheritanceTests,\n Source_ExecutionLoaderInheritanceTests\n ) = test_util.test_both(ExecutionLoader, abc=abc)\nclass FileLoader(InheritanceTests):\n superclass_names = ['ResourceLoader', 'ExecutionLoader']\n subclass_names = ['SourceFileLoader', 'SourcelessFileLoader']\n(Frozen_FileLoaderInheritanceTests,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "FileLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class FileLoader(InheritanceTests):\n superclass_names = ['ResourceLoader', 'ExecutionLoader']\n subclass_names = ['SourceFileLoader', 'SourcelessFileLoader']\n(Frozen_FileLoaderInheritanceTests,\n Source_FileLoaderInheritanceTests\n ) = test_util.test_both(FileLoader, abc=abc)\nclass SourceLoader(InheritanceTests):\n superclass_names = ['ResourceLoader', 'ExecutionLoader']\n subclass_names = ['SourceFileLoader']\n(Frozen_SourceLoaderInheritanceTests,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "SourceLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class SourceLoader(InheritanceTests):\n superclass_names = ['ResourceLoader', 'ExecutionLoader']\n subclass_names = ['SourceFileLoader']\n(Frozen_SourceLoaderInheritanceTests,\n Source_SourceLoaderInheritanceTests\n ) = test_util.test_both(SourceLoader, abc=abc)\n##### Default return values ####################################################\ndef make_abc_subclasses(base_class, name=None, inst=False, **kwargs):\n if name is None:\n name = base_class.__name__", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "ABCTestHarness", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class ABCTestHarness:\n @property\n def ins(self):\n # Lazily set ins on the class.\n cls = self.SPLIT[self._KIND]\n ins = cls()\n self.__class__.ins = ins\n return ins\nclass MetaPathFinder:\n def find_module(self, fullname, path):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "MetaPathFinder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class MetaPathFinder:\n def find_module(self, fullname, path):\n return super().find_module(fullname, path)\nclass MetaPathFinderDefaultsTests(ABCTestHarness):\n SPLIT = make_abc_subclasses(MetaPathFinder)\n def test_find_module(self):\n # Default should return None.\n with self.assertWarns(DeprecationWarning):\n found = self.ins.find_module('something', None)\n self.assertIsNone(found)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "MetaPathFinderDefaultsTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class MetaPathFinderDefaultsTests(ABCTestHarness):\n SPLIT = make_abc_subclasses(MetaPathFinder)\n def test_find_module(self):\n # Default should return None.\n with self.assertWarns(DeprecationWarning):\n found = self.ins.find_module('something', None)\n self.assertIsNone(found)\n def test_invalidate_caches(self):\n # Calling the method is a no-op.\n self.ins.invalidate_caches()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "PathEntryFinder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class PathEntryFinder:\n def find_loader(self, fullname):\n return super().find_loader(fullname)\nclass PathEntryFinderDefaultsTests(ABCTestHarness):\n SPLIT = make_abc_subclasses(PathEntryFinder)\n def test_find_loader(self):\n with self.assertWarns(DeprecationWarning):\n found = self.ins.find_loader('something')\n self.assertEqual(found, (None, []))\n def find_module(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "PathEntryFinderDefaultsTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class PathEntryFinderDefaultsTests(ABCTestHarness):\n SPLIT = make_abc_subclasses(PathEntryFinder)\n def test_find_loader(self):\n with self.assertWarns(DeprecationWarning):\n found = self.ins.find_loader('something')\n self.assertEqual(found, (None, []))\n def find_module(self):\n self.assertEqual(None, self.ins.find_module('something'))\n def test_invalidate_caches(self):\n # Should be a no-op.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "Loader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class Loader:\n def load_module(self, fullname):\n return super().load_module(fullname)\nclass LoaderDefaultsTests(ABCTestHarness):\n SPLIT = make_abc_subclasses(Loader)\n def test_create_module(self):\n spec = 'a spec'\n self.assertIsNone(self.ins.create_module(spec))\n def test_load_module(self):\n with self.assertRaises(ImportError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "LoaderDefaultsTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class LoaderDefaultsTests(ABCTestHarness):\n SPLIT = make_abc_subclasses(Loader)\n def test_create_module(self):\n spec = 'a spec'\n self.assertIsNone(self.ins.create_module(spec))\n def test_load_module(self):\n with self.assertRaises(ImportError):\n self.ins.load_module('something')\n def test_module_repr(self):\n mod = types.ModuleType('blah')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "ResourceLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class ResourceLoader(Loader):\n def get_data(self, path):\n return super().get_data(path)\nclass ResourceLoaderDefaultsTests(ABCTestHarness):\n SPLIT = make_abc_subclasses(ResourceLoader)\n def test_get_data(self):\n with self.assertRaises(IOError):\n self.ins.get_data('/some/path')\n(Frozen_RLDefaultTests,\n Source_RLDefaultTests", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "ResourceLoaderDefaultsTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class ResourceLoaderDefaultsTests(ABCTestHarness):\n SPLIT = make_abc_subclasses(ResourceLoader)\n def test_get_data(self):\n with self.assertRaises(IOError):\n self.ins.get_data('/some/path')\n(Frozen_RLDefaultTests,\n Source_RLDefaultTests\n ) = test_util.test_both(ResourceLoaderDefaultsTests)\nclass InspectLoader(Loader):\n def is_package(self, fullname):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "InspectLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class InspectLoader(Loader):\n def is_package(self, fullname):\n return super().is_package(fullname)\n def get_source(self, fullname):\n return super().get_source(fullname)\nSPLIT_IL = make_abc_subclasses(InspectLoader)\nclass InspectLoaderDefaultsTests(ABCTestHarness):\n SPLIT = SPLIT_IL\n def test_is_package(self):\n with self.assertRaises(ImportError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "InspectLoaderDefaultsTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class InspectLoaderDefaultsTests(ABCTestHarness):\n SPLIT = SPLIT_IL\n def test_is_package(self):\n with self.assertRaises(ImportError):\n self.ins.is_package('blah')\n def test_get_source(self):\n with self.assertRaises(ImportError):\n self.ins.get_source('blah')\n(Frozen_ILDefaultTests,\n Source_ILDefaultTests", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "ExecutionLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class ExecutionLoader(InspectLoader):\n def get_filename(self, fullname):\n return super().get_filename(fullname)\nSPLIT_EL = make_abc_subclasses(ExecutionLoader)\nclass ExecutionLoaderDefaultsTests(ABCTestHarness):\n SPLIT = SPLIT_EL\n def test_get_filename(self):\n with self.assertRaises(ImportError):\n self.ins.get_filename('blah')\n(Frozen_ELDefaultTests,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "ExecutionLoaderDefaultsTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class ExecutionLoaderDefaultsTests(ABCTestHarness):\n SPLIT = SPLIT_EL\n def test_get_filename(self):\n with self.assertRaises(ImportError):\n self.ins.get_filename('blah')\n(Frozen_ELDefaultTests,\n Source_ELDefaultsTests\n ) = test_util.test_both(InspectLoaderDefaultsTests)\nclass ResourceReader:\n def open_resource(self, *args, **kwargs):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "ResourceReader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class ResourceReader:\n def open_resource(self, *args, **kwargs):\n return super().open_resource(*args, **kwargs)\n def resource_path(self, *args, **kwargs):\n return super().resource_path(*args, **kwargs)\n def is_resource(self, *args, **kwargs):\n return super().is_resource(*args, **kwargs)\n def contents(self, *args, **kwargs):\n return super().contents(*args, **kwargs)\nclass ResourceReaderDefaultsTests(ABCTestHarness):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "ResourceReaderDefaultsTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class ResourceReaderDefaultsTests(ABCTestHarness):\n SPLIT = make_abc_subclasses(ResourceReader)\n def test_open_resource(self):\n with self.assertRaises(FileNotFoundError):\n self.ins.open_resource('dummy_file')\n def test_resource_path(self):\n with self.assertRaises(FileNotFoundError):\n self.ins.resource_path('dummy_file')\n def test_is_resource(self):\n with self.assertRaises(FileNotFoundError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "MetaPathFinderFindModuleTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class MetaPathFinderFindModuleTests:\n @classmethod\n def finder(cls, spec):\n class MetaPathSpecFinder(cls.abc.MetaPathFinder):\n def find_spec(self, fullname, path, target=None):\n self.called_for = fullname, path\n return spec\n return MetaPathSpecFinder()\n def test_find_module(self):\n finder = self.finder(None)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "PathEntryFinderFindLoaderTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class PathEntryFinderFindLoaderTests:\n @classmethod\n def finder(cls, spec):\n class PathEntrySpecFinder(cls.abc.PathEntryFinder):\n def find_spec(self, fullname, target=None):\n self.called_for = fullname\n return spec\n return PathEntrySpecFinder()\n def test_no_spec(self):\n finder = self.finder(None)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "LoaderLoadModuleTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class LoaderLoadModuleTests:\n def loader(self):\n class SpecLoader(self.abc.Loader):\n found = None\n def exec_module(self, module):\n self.found = module\n def is_package(self, fullname):\n \"\"\"Force some non-default module state to be set.\"\"\"\n return True\n return SpecLoader()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "InspectLoaderSourceToCodeTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class InspectLoaderSourceToCodeTests:\n def source_to_module(self, data, path=None):\n \"\"\"Help with source_to_code() tests.\"\"\"\n module = types.ModuleType('blah')\n loader = self.InspectLoaderSubclass()\n if path is None:\n code = loader.source_to_code(data)\n else:\n code = loader.source_to_code(data, path)\n exec(code, module.__dict__)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "InspectLoaderGetCodeTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class InspectLoaderGetCodeTests:\n def test_get_code(self):\n # Test success.\n module = types.ModuleType('blah')\n with mock.patch.object(self.InspectLoaderSubclass, 'get_source') as mocked:\n mocked.return_value = 'attr = 42'\n loader = self.InspectLoaderSubclass()\n code = loader.get_code('blah')\n exec(code, module.__dict__)\n self.assertEqual(module.attr, 42)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "InspectLoaderLoadModuleTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class InspectLoaderLoadModuleTests:\n \"\"\"Test InspectLoader.load_module().\"\"\"\n module_name = 'blah'\n def setUp(self):\n import_helper.unload(self.module_name)\n self.addCleanup(import_helper.unload, self.module_name)\n def load(self, loader):\n spec = self.util.spec_from_loader(self.module_name, loader)\n with warnings.catch_warnings():\n warnings.simplefilter('ignore', DeprecationWarning)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "ExecutionLoaderGetCodeTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class ExecutionLoaderGetCodeTests:\n def mock_methods(self, *, get_source=False, get_filename=False):\n source_mock_context, filename_mock_context = None, None\n if get_source:\n source_mock_context = mock.patch.object(self.ExecutionLoaderSubclass,\n 'get_source')\n if get_filename:\n filename_mock_context = mock.patch.object(self.ExecutionLoaderSubclass,\n 'get_filename')\n return source_mock_context, filename_mock_context", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "SourceOnlyLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class SourceOnlyLoader:\n # Globals that should be defined for all modules.\n source = (b\"_ = '::'.join([__name__, __file__, __cached__, __package__, \"\n b\"repr(__loader__)])\")\n def __init__(self, path):\n self.path = path\n def get_data(self, path):\n if path != self.path:\n raise IOError\n return self.source", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "SourceLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class SourceLoader(SourceOnlyLoader):\n source_mtime = 1\n def __init__(self, path, magic=None):\n super().__init__(path)\n self.bytecode_path = self.util.cache_from_source(self.path)\n self.source_size = len(self.source)\n if magic is None:\n magic = self.util.MAGIC_NUMBER\n data = bytearray(magic)\n data.extend(self.init._pack_uint32(0))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "SourceLoaderTestHarness", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class SourceLoaderTestHarness:\n def setUp(self, *, is_package=True, **kwargs):\n self.package = 'pkg'\n if is_package:\n self.path = os.path.join(self.package, '__init__.py')\n self.name = self.package\n else:\n module_name = 'mod'\n self.path = os.path.join(self.package, '.'.join(['mod', 'py']))\n self.name = '.'.join([self.package, module_name])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "SourceOnlyLoaderTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class SourceOnlyLoaderTests(SourceLoaderTestHarness):\n \"\"\"Test importlib.abc.SourceLoader for source-only loading.\n Reload testing is subsumed by the tests for\n importlib.util.module_for_loader.\n \"\"\"\n def test_get_source(self):\n # Verify the source code is returned as a string.\n # If an OSError is raised by get_data then raise ImportError.\n expected_source = self.loader.source.decode('utf-8')\n self.assertEqual(self.loader.get_source(self.name), expected_source)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "SourceLoaderBytecodeTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class SourceLoaderBytecodeTests(SourceLoaderTestHarness):\n \"\"\"Test importlib.abc.SourceLoader's use of bytecode.\n Source-only testing handled by SourceOnlyLoaderTests.\n \"\"\"\n def verify_code(self, code_object, *, bytecode_written=False):\n super().verify_code(code_object)\n if bytecode_written:\n self.assertIn(self.cached, self.loader.written)\n data = bytearray(self.util.MAGIC_NUMBER)\n data.extend(self.init._pack_uint32(0))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "SourceLoaderGetSourceTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "class SourceLoaderGetSourceTests:\n \"\"\"Tests for importlib.abc.SourceLoader.get_source().\"\"\"\n def test_default_encoding(self):\n # Should have no problems with UTF-8 text.\n name = 'mod'\n mock = self.SourceOnlyLoaderMock('mod.file')\n source = 'x = \"ü\"'\n mock.source = source.encode('utf-8')\n returned_source = mock.get_source(name)\n self.assertEqual(returned_source, source)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "make_abc_subclasses", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "def make_abc_subclasses(base_class, name=None, inst=False, **kwargs):\n if name is None:\n name = base_class.__name__\n base = {kind: getattr(splitabc, name)\n for kind, splitabc in abc.items()}\n return {cls._KIND: cls() if inst else cls\n for cls in test_util.split_frozen(base_class, base, **kwargs)}\nclass ABCTestHarness:\n @property\n def ins(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "init", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "init = test_util.import_importlib('importlib')\nabc = test_util.import_importlib('importlib.abc')\nmachinery = test_util.import_importlib('importlib.machinery')\nutil = test_util.import_importlib('importlib.util')\n##### Inheritance ##############################################################\nclass InheritanceTests:\n \"\"\"Test that the specified class is a subclass/superclass of the expected\n classes.\"\"\"\n subclasses = []\n superclasses = []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "abc", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "abc = test_util.import_importlib('importlib.abc')\nmachinery = test_util.import_importlib('importlib.machinery')\nutil = test_util.import_importlib('importlib.util')\n##### Inheritance ##############################################################\nclass InheritanceTests:\n \"\"\"Test that the specified class is a subclass/superclass of the expected\n classes.\"\"\"\n subclasses = []\n superclasses = []\n def setUp(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "machinery", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "machinery = test_util.import_importlib('importlib.machinery')\nutil = test_util.import_importlib('importlib.util')\n##### Inheritance ##############################################################\nclass InheritanceTests:\n \"\"\"Test that the specified class is a subclass/superclass of the expected\n classes.\"\"\"\n subclasses = []\n superclasses = []\n def setUp(self):\n self.superclasses = [getattr(self.abc, class_name)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "util", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "util = test_util.import_importlib('importlib.util')\n##### Inheritance ##############################################################\nclass InheritanceTests:\n \"\"\"Test that the specified class is a subclass/superclass of the expected\n classes.\"\"\"\n subclasses = []\n superclasses = []\n def setUp(self):\n self.superclasses = [getattr(self.abc, class_name)\n for class_name in self.superclass_names]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "SPLIT_IL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "SPLIT_IL = make_abc_subclasses(InspectLoader)\nclass InspectLoaderDefaultsTests(ABCTestHarness):\n SPLIT = SPLIT_IL\n def test_is_package(self):\n with self.assertRaises(ImportError):\n self.ins.is_package('blah')\n def test_get_source(self):\n with self.assertRaises(ImportError):\n self.ins.get_source('blah')\n(Frozen_ILDefaultTests,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "SPLIT_EL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "SPLIT_EL = make_abc_subclasses(ExecutionLoader)\nclass ExecutionLoaderDefaultsTests(ABCTestHarness):\n SPLIT = SPLIT_EL\n def test_get_filename(self):\n with self.assertRaises(ImportError):\n self.ins.get_filename('blah')\n(Frozen_ELDefaultTests,\n Source_ELDefaultsTests\n ) = test_util.test_both(InspectLoaderDefaultsTests)\nclass ResourceReader:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "SPLIT_SOL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "SPLIT_SOL = make_abc_subclasses(SourceOnlyLoader, 'SourceLoader')\nclass SourceLoader(SourceOnlyLoader):\n source_mtime = 1\n def __init__(self, path, magic=None):\n super().__init__(path)\n self.bytecode_path = self.util.cache_from_source(self.path)\n self.source_size = len(self.source)\n if magic is None:\n magic = self.util.MAGIC_NUMBER\n data = bytearray(magic)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "SPLIT_SL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "peekOfCode": "SPLIT_SL = make_abc_subclasses(SourceLoader, util=util, init=init)\nclass SourceLoaderTestHarness:\n def setUp(self, *, is_package=True, **kwargs):\n self.package = 'pkg'\n if is_package:\n self.path = os.path.join(self.package, '__init__.py')\n self.name = self.package\n else:\n module_name = 'mod'\n self.path = os.path.join(self.package, '.'.join(['mod', 'py']))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_abc", "documentation": {} }, { "label": "ImportModuleTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "peekOfCode": "class ImportModuleTests:\n \"\"\"Test importlib.import_module.\"\"\"\n def test_module_import(self):\n # Test importing a top-level module.\n with test_util.mock_spec('top_level') as mock:\n with test_util.import_state(meta_path=[mock]):\n module = self.init.import_module('top_level')\n self.assertEqual(module.__name__, 'top_level')\n def test_absolute_package_import(self):\n # Test importing a module from a package with an absolute name.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "documentation": {} }, { "label": "FindLoaderTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "peekOfCode": "class FindLoaderTests:\n FakeMetaFinder = None\n def test_sys_modules(self):\n # If a module with __loader__ is in sys.modules, then return it.\n name = 'some_mod'\n with test_util.uncache(name):\n module = types.ModuleType(name)\n loader = 'a loader!'\n module.__loader__ = loader\n sys.modules[name] = module", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "documentation": {} }, { "label": "FindLoaderPEP451Tests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "peekOfCode": "class FindLoaderPEP451Tests(FindLoaderTests):\n class FakeMetaFinder:\n @staticmethod\n def find_spec(name, path=None, target=None):\n return machinery['Source'].ModuleSpec(name, (name, path))\n(Frozen_FindLoaderPEP451Tests,\n Source_FindLoaderPEP451Tests\n ) = test_util.test_both(FindLoaderPEP451Tests, init=init)\nclass FindLoaderPEP302Tests(FindLoaderTests):\n class FakeMetaFinder:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "documentation": {} }, { "label": "FindLoaderPEP302Tests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "peekOfCode": "class FindLoaderPEP302Tests(FindLoaderTests):\n class FakeMetaFinder:\n @staticmethod\n def find_module(name, path=None):\n return name, path\n(Frozen_FindLoaderPEP302Tests,\n Source_FindLoaderPEP302Tests\n ) = test_util.test_both(FindLoaderPEP302Tests, init=init)\nclass ReloadTests:\n def test_reload_modules(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "documentation": {} }, { "label": "ReloadTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "peekOfCode": "class ReloadTests:\n def test_reload_modules(self):\n for mod in ('tokenize', 'time', 'marshal'):\n with self.subTest(module=mod):\n with import_helper.CleanImport(mod):\n module = self.init.import_module(mod)\n self.init.reload(module)\n def test_module_replaced(self):\n def code():\n import sys", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "documentation": {} }, { "label": "InvalidateCacheTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "peekOfCode": "class InvalidateCacheTests:\n def test_method_called(self):\n # If defined the method should be called.\n class InvalidatingNullFinder:\n def __init__(self, *ignored):\n self.called = False\n def find_module(self, *args):\n return None\n def invalidate_caches(self):\n self.called = True", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "documentation": {} }, { "label": "FrozenImportlibTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "peekOfCode": "class FrozenImportlibTests(unittest.TestCase):\n def test_no_frozen_importlib(self):\n # Should be able to import w/o _frozen_importlib being defined.\n # Can't do an isinstance() check since separate copies of importlib\n # may have been used for import, so just check the name is not for the\n # frozen loader.\n source_init = init['Source']\n self.assertNotEqual(source_init.__loader__.__class__.__name__,\n 'FrozenImporter')\nclass StartupTests:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "documentation": {} }, { "label": "StartupTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "peekOfCode": "class StartupTests:\n def test_everyone_has___loader__(self):\n # Issue #17098: all modules should have __loader__ defined.\n for name, module in sys.modules.items():\n if isinstance(module, types.ModuleType):\n with self.subTest(name=name):\n self.assertTrue(hasattr(module, '__loader__'),\n '{!r} lacks a __loader__ attribute'.format(name))\n if self.machinery.BuiltinImporter.find_spec(name):\n self.assertIsNot(module.__loader__, None)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "documentation": {} }, { "label": "init", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "peekOfCode": "init = test_util.import_importlib('importlib')\nutil = test_util.import_importlib('importlib.util')\nmachinery = test_util.import_importlib('importlib.machinery')\nimport os.path\nimport sys\nfrom test import support\nfrom test.support import import_helper\nfrom test.support import os_helper\nimport types\nimport unittest", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "documentation": {} }, { "label": "util", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "peekOfCode": "util = test_util.import_importlib('importlib.util')\nmachinery = test_util.import_importlib('importlib.machinery')\nimport os.path\nimport sys\nfrom test import support\nfrom test.support import import_helper\nfrom test.support import os_helper\nimport types\nimport unittest\nimport warnings", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "documentation": {} }, { "label": "machinery", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "peekOfCode": "machinery = test_util.import_importlib('importlib.machinery')\nimport os.path\nimport sys\nfrom test import support\nfrom test.support import import_helper\nfrom test.support import os_helper\nimport types\nimport unittest\nimport warnings\nclass ImportModuleTests:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_api", "documentation": {} }, { "label": "FilesTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_files", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_files", "peekOfCode": "class FilesTests:\n def test_read_bytes(self):\n files = resources.files(self.data)\n actual = files.joinpath('utf-8.file').read_bytes()\n assert actual == b'Hello, UTF-8 world!\\n'\n def test_read_text(self):\n files = resources.files(self.data)\n actual = files.joinpath('utf-8.file').read_text(encoding='utf-8')\n assert actual == 'Hello, UTF-8 world!\\n'\n @unittest.skipUnless(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_files", "documentation": {} }, { "label": "OpenDiskTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_files", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_files", "peekOfCode": "class OpenDiskTests(FilesTests, unittest.TestCase):\n def setUp(self):\n self.data = data01\nclass OpenZipTests(FilesTests, util.ZipSetup, unittest.TestCase):\n pass\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_files", "documentation": {} }, { "label": "OpenZipTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_files", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_files", "peekOfCode": "class OpenZipTests(FilesTests, util.ZipSetup, unittest.TestCase):\n pass\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_files", "documentation": {} }, { "label": "CollectInit", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_lazy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_lazy", "peekOfCode": "class CollectInit:\n def __init__(self, *args, **kwargs):\n self.args = args\n self.kwargs = kwargs\n def exec_module(self, module):\n return self\nclass LazyLoaderFactoryTests(unittest.TestCase):\n def test_init(self):\n factory = util.LazyLoader.factory(CollectInit)\n # E.g. what importlib.machinery.FileFinder instantiates loaders with", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_lazy", "documentation": {} }, { "label": "LazyLoaderFactoryTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_lazy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_lazy", "peekOfCode": "class LazyLoaderFactoryTests(unittest.TestCase):\n def test_init(self):\n factory = util.LazyLoader.factory(CollectInit)\n # E.g. what importlib.machinery.FileFinder instantiates loaders with\n # plus keyword arguments.\n lazy_loader = factory('module name', 'module path', kw='kw')\n loader = lazy_loader.loader\n self.assertEqual(('module name', 'module path'), loader.args)\n self.assertEqual({'kw': 'kw'}, loader.kwargs)\n def test_validation(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_lazy", "documentation": {} }, { "label": "TestingImporter", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_lazy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_lazy", "peekOfCode": "class TestingImporter(abc.MetaPathFinder, abc.Loader):\n module_name = 'lazy_loader_test'\n mutated_name = 'changed'\n loaded = None\n source_code = 'attr = 42; __name__ = {!r}'.format(mutated_name)\n def find_spec(self, name, path, target=None):\n if name != self.module_name:\n return None\n return util.spec_from_loader(name, util.LazyLoader(self))\n def exec_module(self, module):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_lazy", "documentation": {} }, { "label": "LazyLoaderTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_lazy", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_lazy", "peekOfCode": "class LazyLoaderTests(unittest.TestCase):\n def test_init(self):\n with self.assertRaises(TypeError):\n # Classes that don't define exec_module() trigger TypeError.\n util.LazyLoader(object)\n def new_module(self, source_code=None):\n loader = TestingImporter()\n if source_code is not None:\n loader.source_code = source_code\n spec = util.spec_from_loader(TestingImporter.module_name,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_lazy", "documentation": {} }, { "label": "ModuleLockAsRLockTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "peekOfCode": "class ModuleLockAsRLockTests:\n locktype = classmethod(lambda cls: cls.LockType(\"some_lock\"))\n # _is_owned() unsupported\n test__is_owned = None\n # acquire(blocking=False) unsupported\n test_try_acquire = None\n test_try_acquire_contended = None\n # `with` unsupported\n test_with = None\n # acquire(timeout=...) unsupported", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "documentation": {} }, { "label": "DeadlockAvoidanceTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "peekOfCode": "class DeadlockAvoidanceTests:\n def setUp(self):\n try:\n self.old_switchinterval = sys.getswitchinterval()\n support.setswitchinterval(0.000001)\n except AttributeError:\n self.old_switchinterval = None\n def tearDown(self):\n if self.old_switchinterval is not None:\n sys.setswitchinterval(self.old_switchinterval)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "documentation": {} }, { "label": "LifetimeTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "peekOfCode": "class LifetimeTests:\n @property\n def bootstrap(self):\n return self.init._bootstrap\n def test_lock_lifetime(self):\n name = \"xyzzy\"\n self.assertNotIn(name, self.bootstrap._module_locks)\n lock = self.bootstrap._get_module_lock(name)\n self.assertIn(name, self.bootstrap._module_locks)\n wr = weakref.ref(lock)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "documentation": {} }, { "label": "setUpModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "peekOfCode": "def setUpModule():\n thread_info = threading_helper.threading_setup()\n unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)\nif __name__ == '__main__':\n unittets.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "documentation": {} }, { "label": "init", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "peekOfCode": "init = test_util.import_importlib('importlib')\nimport sys\nimport threading\nimport unittest\nimport weakref\nfrom test import support\nfrom test.support import threading_helper\nfrom test import lock_tests\nclass ModuleLockAsRLockTests:\n locktype = classmethod(lambda cls: cls.LockType(\"some_lock\"))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "documentation": {} }, { "label": "LOCK_TYPES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "peekOfCode": "LOCK_TYPES = {kind: splitinit._bootstrap._ModuleLock\n for kind, splitinit in init.items()}\n(Frozen_ModuleLockAsRLockTests,\n Source_ModuleLockAsRLockTests\n ) = test_util.test_both(ModuleLockAsRLockTests, lock_tests.RLockTests,\n LockType=LOCK_TYPES)\nclass DeadlockAvoidanceTests:\n def setUp(self):\n try:\n self.old_switchinterval = sys.getswitchinterval()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "documentation": {} }, { "label": "DEADLOCK_ERRORS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "peekOfCode": "DEADLOCK_ERRORS = {kind: splitinit._bootstrap._DeadlockError\n for kind, splitinit in init.items()}\n(Frozen_DeadlockAvoidanceTests,\n Source_DeadlockAvoidanceTests\n ) = test_util.test_both(DeadlockAvoidanceTests,\n LockType=LOCK_TYPES,\n DeadlockError=DEADLOCK_ERRORS)\nclass LifetimeTests:\n @property\n def bootstrap(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_locks", "documentation": {} }, { "label": "BasicTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "peekOfCode": "class BasicTests(fixtures.DistInfoPkg, unittest.TestCase):\n version_pattern = r'\\d+\\.\\d+(\\.\\d)?'\n def test_retrieves_version_of_self(self):\n dist = Distribution.from_name('distinfo-pkg')\n assert isinstance(dist.version, str)\n assert re.match(self.version_pattern, dist.version)\n def test_for_name_does_not_exist(self):\n with self.assertRaises(PackageNotFoundError):\n Distribution.from_name('does-not-exist')\n def test_package_not_found_mentions_metadata(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "documentation": {} }, { "label": "ImportTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "peekOfCode": "class ImportTests(fixtures.DistInfoPkg, unittest.TestCase):\n def test_import_nonexistent_module(self):\n # Ensure that the MetadataPathFinder does not crash an import of a\n # non-existent module.\n with self.assertRaises(ImportError):\n importlib.import_module('does_not_exist')\n def test_resolve(self):\n ep = entry_points(group='entries')['main']\n self.assertEqual(ep.load().__name__, \"main\")\n def test_entrypoint_with_colon_in_name(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "documentation": {} }, { "label": "NameNormalizationTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "peekOfCode": "class NameNormalizationTests(fixtures.OnSysPath, fixtures.SiteDir, unittest.TestCase):\n @staticmethod\n def pkg_with_dashes(site_dir):\n \"\"\"\n Create minimal metadata for a package with dashes\n in the name (and thus underscores in the filename).\n \"\"\"\n metadata_dir = site_dir / 'my_pkg.dist-info'\n metadata_dir.mkdir()\n metadata = metadata_dir / 'METADATA'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "documentation": {} }, { "label": "NonASCIITests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "peekOfCode": "class NonASCIITests(fixtures.OnSysPath, fixtures.SiteDir, unittest.TestCase):\n @staticmethod\n def pkg_with_non_ascii_description(site_dir):\n \"\"\"\n Create minimal metadata for a package with non-ASCII in\n the description.\n \"\"\"\n metadata_dir = site_dir / 'portend.dist-info'\n metadata_dir.mkdir()\n metadata = metadata_dir / 'METADATA'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "documentation": {} }, { "label": "DiscoveryTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "peekOfCode": "class DiscoveryTests(fixtures.EggInfoPkg, fixtures.DistInfoPkg, unittest.TestCase):\n def test_package_discovery(self):\n dists = list(distributions())\n assert all(isinstance(dist, Distribution) for dist in dists)\n assert any(dist.metadata['Name'] == 'egginfo-pkg' for dist in dists)\n assert any(dist.metadata['Name'] == 'distinfo-pkg' for dist in dists)\n def test_invalid_usage(self):\n with self.assertRaises(ValueError):\n list(distributions(context='something', name='else'))\nclass DirectoryTest(fixtures.OnSysPath, fixtures.SiteDir, unittest.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "documentation": {} }, { "label": "DirectoryTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "peekOfCode": "class DirectoryTest(fixtures.OnSysPath, fixtures.SiteDir, unittest.TestCase):\n def test_egg_info(self):\n # make an `EGG-INFO` directory that's unrelated\n self.site_dir.joinpath('EGG-INFO').mkdir()\n # used to crash with `IsADirectoryError`\n with self.assertRaises(PackageNotFoundError):\n version('unknown-package')\n def test_egg(self):\n egg = self.site_dir.joinpath('foo-3.6.egg')\n egg.mkdir()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "documentation": {} }, { "label": "MissingSysPath", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "peekOfCode": "class MissingSysPath(fixtures.OnSysPath, unittest.TestCase):\n site_dir = '/does-not-exist'\n def test_discovery(self):\n \"\"\"\n Discovering distributions should succeed even if\n there is an invalid path on sys.path.\n \"\"\"\n importlib.metadata.distributions()\nclass InaccessibleSysPath(fixtures.OnSysPath, ffs.TestCase):\n site_dir = '/access-denied'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "documentation": {} }, { "label": "InaccessibleSysPath", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "peekOfCode": "class InaccessibleSysPath(fixtures.OnSysPath, ffs.TestCase):\n site_dir = '/access-denied'\n def setUp(self):\n super(InaccessibleSysPath, self).setUp()\n self.setUpPyfakefs()\n self.fs.create_dir(self.site_dir, perm_bits=000)\n def test_discovery(self):\n \"\"\"\n Discovering distributions should succeed even if\n there is an invalid path on sys.path.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "documentation": {} }, { "label": "TestEntryPoints", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "peekOfCode": "class TestEntryPoints(unittest.TestCase):\n def __init__(self, *args):\n super(TestEntryPoints, self).__init__(*args)\n self.ep = importlib.metadata.EntryPoint('name', 'value', 'group')\n def test_entry_point_pickleable(self):\n revived = pickle.loads(pickle.dumps(self.ep))\n assert revived == self.ep\n def test_immutable(self):\n \"\"\"EntryPoints should be immutable\"\"\"\n with self.assertRaises(AttributeError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "documentation": {} }, { "label": "FileSystem", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "peekOfCode": "class FileSystem(\n fixtures.OnSysPath, fixtures.SiteDir, fixtures.FileBuilder, unittest.TestCase\n):\n def test_unicode_dir_on_sys_path(self):\n # Ensure a Unicode subdirectory of a directory on sys.path\n # does not crash.\n fixtures.build_files(\n {self.unicode_filename(): {}},\n prefix=self.site_dir,\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_main", "documentation": {} }, { "label": "APITests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_metadata_api", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_metadata_api", "peekOfCode": "class APITests(\n fixtures.EggInfoPkg,\n fixtures.DistInfoPkg,\n fixtures.DistInfoPkgWithDot,\n fixtures.EggInfoFile,\n unittest.TestCase,\n):\n version_pattern = r'\\d+\\.\\d+(\\.\\d)?'\n def test_retrieves_version_of_self(self):\n pkg_version = version('egginfo-pkg')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_metadata_api", "documentation": {} }, { "label": "LegacyDots", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_metadata_api", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_metadata_api", "peekOfCode": "class LegacyDots(fixtures.DistInfoPkgWithDotLegacy, unittest.TestCase):\n def test_name_normalization(self):\n names = 'pkg.dot', 'pkg_dot', 'pkg-dot', 'pkg..dot', 'Pkg.Dot'\n for name in names:\n with self.subTest(name):\n assert distribution(name).metadata['Name'] == 'pkg.dot'\n def test_name_normalization_versionless_egg_info(self):\n names = 'pkg.lot', 'pkg_lot', 'pkg-lot', 'pkg..lot', 'Pkg.Lot'\n for name in names:\n with self.subTest(name):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_metadata_api", "documentation": {} }, { "label": "OffSysPathTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_metadata_api", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_metadata_api", "peekOfCode": "class OffSysPathTests(fixtures.DistInfoPkgOffPath, unittest.TestCase):\n def test_find_distributions_specified_path(self):\n dists = Distribution.discover(path=[str(self.site_dir)])\n assert any(dist.metadata['Name'] == 'distinfo-pkg' for dist in dists)\n def test_distribution_at_pathlib(self):\n # Demonstrate how to load metadata direct from a directory.\n dist_info_path = self.site_dir / 'distinfo_pkg-1.0.0.dist-info'\n dist = Distribution.at(dist_info_path)\n assert dist.version == '1.0.0'\n def test_distribution_at_str(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_metadata_api", "documentation": {} }, { "label": "InvalidateCache", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_metadata_api", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_metadata_api", "peekOfCode": "class InvalidateCache(unittest.TestCase):\n def test_invalidate_cache(self):\n # No externally observable behavior, but ensures test coverage...\n importlib.invalidate_caches()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_metadata_api", "documentation": {} }, { "label": "suppress_known_deprecation", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_metadata_api", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_metadata_api", "peekOfCode": "def suppress_known_deprecation():\n with warnings.catch_warnings(record=True) as ctx:\n warnings.simplefilter('default')\n yield ctx\nclass APITests(\n fixtures.EggInfoPkg,\n fixtures.DistInfoPkg,\n fixtures.DistInfoPkgWithDot,\n fixtures.EggInfoFile,\n unittest.TestCase,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_metadata_api", "documentation": {} }, { "label": "NamespacePackageTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "class NamespacePackageTest(unittest.TestCase):\n \"\"\"\n Subclasses should define self.root and self.paths (under that root)\n to be added to sys.path.\n \"\"\"\n root = os.path.join(os.path.dirname(__file__), 'namespace_pkgs')\n def setUp(self):\n self.resolved_paths = [\n os.path.join(self.root, path) for path in self.paths\n ]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "SingleNamespacePackage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "class SingleNamespacePackage(NamespacePackageTest):\n paths = ['portion1']\n def test_simple_package(self):\n import foo.one\n self.assertEqual(foo.one.attr, 'portion1 foo one')\n def test_cant_import_other(self):\n with self.assertRaises(ImportError):\n import foo.two\n def test_module_repr(self):\n import foo.one", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "DynamicPathNamespacePackage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "class DynamicPathNamespacePackage(NamespacePackageTest):\n paths = ['portion1']\n def test_dynamic_path(self):\n # Make sure only 'foo.one' can be imported\n import foo.one\n self.assertEqual(foo.one.attr, 'portion1 foo one')\n with self.assertRaises(ImportError):\n import foo.two\n # Now modify sys.path\n sys.path.append(os.path.join(self.root, 'portion2'))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "CombinedNamespacePackages", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "class CombinedNamespacePackages(NamespacePackageTest):\n paths = ['both_portions']\n def test_imports(self):\n import foo.one\n import foo.two\n self.assertEqual(foo.one.attr, 'both_portions foo one')\n self.assertEqual(foo.two.attr, 'both_portions foo two')\nclass SeparatedNamespacePackages(NamespacePackageTest):\n paths = ['portion1', 'portion2']\n def test_imports(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "SeparatedNamespacePackages", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "class SeparatedNamespacePackages(NamespacePackageTest):\n paths = ['portion1', 'portion2']\n def test_imports(self):\n import foo.one\n import foo.two\n self.assertEqual(foo.one.attr, 'portion1 foo one')\n self.assertEqual(foo.two.attr, 'portion2 foo two')\nclass SeparatedNamespacePackagesCreatedWhileRunning(NamespacePackageTest):\n paths = ['portion1']\n def test_invalidate_caches(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "SeparatedNamespacePackagesCreatedWhileRunning", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "class SeparatedNamespacePackagesCreatedWhileRunning(NamespacePackageTest):\n paths = ['portion1']\n def test_invalidate_caches(self):\n with tempfile.TemporaryDirectory() as temp_dir:\n # we manipulate sys.path before anything is imported to avoid\n # accidental cache invalidation when changing it\n sys.path.append(temp_dir)\n import foo.one\n self.assertEqual(foo.one.attr, 'portion1 foo one')\n # the module does not exist, so it cannot be imported", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "SeparatedOverlappingNamespacePackages", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "class SeparatedOverlappingNamespacePackages(NamespacePackageTest):\n paths = ['portion1', 'both_portions']\n def test_first_path_wins(self):\n import foo.one\n import foo.two\n self.assertEqual(foo.one.attr, 'portion1 foo one')\n self.assertEqual(foo.two.attr, 'both_portions foo two')\n def test_first_path_wins_again(self):\n sys.path.reverse()\n import foo.one", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "SingleZipNamespacePackage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "class SingleZipNamespacePackage(NamespacePackageTest):\n paths = ['top_level_portion1.zip']\n def test_simple_package(self):\n import foo.one\n self.assertEqual(foo.one.attr, 'portion1 foo one')\n def test_cant_import_other(self):\n with self.assertRaises(ImportError):\n import foo.two\nclass SeparatedZipNamespacePackages(NamespacePackageTest):\n paths = ['top_level_portion1.zip', 'portion2']", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "SeparatedZipNamespacePackages", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "class SeparatedZipNamespacePackages(NamespacePackageTest):\n paths = ['top_level_portion1.zip', 'portion2']\n def test_imports(self):\n import foo.one\n import foo.two\n self.assertEqual(foo.one.attr, 'portion1 foo one')\n self.assertEqual(foo.two.attr, 'portion2 foo two')\n self.assertIn('top_level_portion1.zip', foo.one.__file__)\n self.assertNotIn('.zip', foo.two.__file__)\nclass SingleNestedZipNamespacePackage(NamespacePackageTest):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "SingleNestedZipNamespacePackage", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "class SingleNestedZipNamespacePackage(NamespacePackageTest):\n paths = ['nested_portion1.zip/nested_portion1']\n def test_simple_package(self):\n import foo.one\n self.assertEqual(foo.one.attr, 'portion1 foo one')\n def test_cant_import_other(self):\n with self.assertRaises(ImportError):\n import foo.two\nclass SeparatedNestedZipNamespacePackages(NamespacePackageTest):\n paths = ['nested_portion1.zip/nested_portion1', 'portion2']", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "SeparatedNestedZipNamespacePackages", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "class SeparatedNestedZipNamespacePackages(NamespacePackageTest):\n paths = ['nested_portion1.zip/nested_portion1', 'portion2']\n def test_imports(self):\n import foo.one\n import foo.two\n self.assertEqual(foo.one.attr, 'portion1 foo one')\n self.assertEqual(foo.two.attr, 'portion2 foo two')\n fn = os.path.join('nested_portion1.zip', 'nested_portion1')\n self.assertIn(fn, foo.one.__file__)\n self.assertNotIn('.zip', foo.two.__file__)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "LegacySupport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "class LegacySupport(NamespacePackageTest):\n paths = ['not_a_namespace_pkg', 'portion1', 'portion2', 'both_portions']\n def test_non_namespace_package_takes_precedence(self):\n import foo.one\n with self.assertRaises(ImportError):\n import foo.two\n self.assertIn('__init__', foo.__file__)\n self.assertNotIn('namespace', str(foo.__loader__).lower())\nclass DynamicPathCalculation(NamespacePackageTest):\n paths = ['project1', 'project2']", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "DynamicPathCalculation", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "class DynamicPathCalculation(NamespacePackageTest):\n paths = ['project1', 'project2']\n def test_project3_fails(self):\n import parent.child.one\n self.assertEqual(len(parent.__path__), 2)\n self.assertEqual(len(parent.child.__path__), 2)\n import parent.child.two\n self.assertEqual(len(parent.__path__), 2)\n self.assertEqual(len(parent.child.__path__), 2)\n self.assertEqual(parent.child.one.attr, 'parent child one')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "ZipWithMissingDirectory", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "class ZipWithMissingDirectory(NamespacePackageTest):\n paths = ['missing_directory.zip']\n @unittest.expectedFailure\n def test_missing_directory(self):\n # This will fail because missing_directory.zip contains:\n # Length Date Time Name\n # --------- ---------- ----- ----\n # 29 2012-05-03 18:13 foo/one.py\n # 0 2012-05-03 20:57 bar/\n # 38 2012-05-03 20:57 bar/two.py", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "ModuleAndNamespacePackageInSameDir", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "class ModuleAndNamespacePackageInSameDir(NamespacePackageTest):\n paths = ['module_and_namespace_package']\n def test_module_before_namespace_package(self):\n # Make sure we find the module in preference to the\n # namespace package.\n import a_test\n self.assertEqual(a_test.attr, 'in module')\nclass ReloadTests(NamespacePackageTest):\n paths = ['portion1']\n def test_simple_package(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "ReloadTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "class ReloadTests(NamespacePackageTest):\n paths = ['portion1']\n def test_simple_package(self):\n import foo.one\n foo = importlib.reload(foo)\n self.assertEqual(foo.one.attr, 'portion1 foo one')\n def test_cant_import_other(self):\n import foo\n with self.assertRaises(ImportError):\n import foo.two", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "LoaderTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "class LoaderTests(NamespacePackageTest):\n paths = ['portion1']\n def test_namespace_loader_consistency(self):\n # bpo-32303\n import foo\n self.assertEqual(foo.__loader__, foo.__spec__.loader)\n self.assertIsNotNone(foo.__loader__)\n def test_namespace_origin_consistency(self):\n # bpo-32305\n import foo", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "sys_modules_context", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "def sys_modules_context():\n \"\"\"\n Make sure sys.modules is the same object and has the same content\n when exiting the context as when entering.\n Similar to importlib.test.util.uncache, but doesn't require explicit\n names.\n \"\"\"\n sys_modules_saved = sys.modules\n sys_modules_copy = sys.modules.copy()\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "namespace_tree_context", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "peekOfCode": "def namespace_tree_context(**kwargs):\n \"\"\"\n Save import state and sys.modules cache and restore it on exit.\n Typical usage:\n >>> with namespace_tree_context(path=['/tmp/xxyy/portion1',\n ... '/tmp/xxyy/portion2']):\n ... pass\n \"\"\"\n # use default meta_path and path_hooks unless specified otherwise\n kwargs.setdefault('meta_path', sys.meta_path)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_namespace_pkgs", "documentation": {} }, { "label": "CommonBinaryTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_open", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_open", "peekOfCode": "class CommonBinaryTests(util.CommonResourceTests, unittest.TestCase):\n def execute(self, package, path):\n with resources.open_binary(package, path):\n pass\nclass CommonTextTests(util.CommonResourceTests, unittest.TestCase):\n def execute(self, package, path):\n with resources.open_text(package, path):\n pass\nclass OpenTests:\n def test_open_binary(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_open", "documentation": {} }, { "label": "CommonTextTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_open", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_open", "peekOfCode": "class CommonTextTests(util.CommonResourceTests, unittest.TestCase):\n def execute(self, package, path):\n with resources.open_text(package, path):\n pass\nclass OpenTests:\n def test_open_binary(self):\n with resources.open_binary(self.data, 'binary.file') as fp:\n result = fp.read()\n self.assertEqual(result, b'\\x00\\x01\\x02\\x03')\n def test_open_text_default_encoding(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_open", "documentation": {} }, { "label": "OpenTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_open", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_open", "peekOfCode": "class OpenTests:\n def test_open_binary(self):\n with resources.open_binary(self.data, 'binary.file') as fp:\n result = fp.read()\n self.assertEqual(result, b'\\x00\\x01\\x02\\x03')\n def test_open_text_default_encoding(self):\n with resources.open_text(self.data, 'utf-8.file') as fp:\n result = fp.read()\n self.assertEqual(result, 'Hello, UTF-8 world!\\n')\n def test_open_text_given_encoding(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_open", "documentation": {} }, { "label": "OpenDiskTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_open", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_open", "peekOfCode": "class OpenDiskTests(OpenTests, unittest.TestCase):\n def setUp(self):\n self.data = data01\nclass OpenDiskNamespaceTests(OpenTests, unittest.TestCase):\n def setUp(self):\n from . import namespacedata01\n self.data = namespacedata01\nclass OpenZipTests(OpenTests, util.ZipSetup, unittest.TestCase):\n pass\nif __name__ == '__main__':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_open", "documentation": {} }, { "label": "OpenDiskNamespaceTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_open", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_open", "peekOfCode": "class OpenDiskNamespaceTests(OpenTests, unittest.TestCase):\n def setUp(self):\n from . import namespacedata01\n self.data = namespacedata01\nclass OpenZipTests(OpenTests, util.ZipSetup, unittest.TestCase):\n pass\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_open", "documentation": {} }, { "label": "OpenZipTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_open", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_open", "peekOfCode": "class OpenZipTests(OpenTests, util.ZipSetup, unittest.TestCase):\n pass\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_open", "documentation": {} }, { "label": "CommonTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_path", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_path", "peekOfCode": "class CommonTests(util.CommonResourceTests, unittest.TestCase):\n def execute(self, package, path):\n with resources.path(package, path):\n pass\nclass PathTests:\n def test_reading(self):\n # Path should be readable.\n # Test also implicitly verifies the returned object is a pathlib.Path\n # instance.\n with resources.path(self.data, 'utf-8.file') as path:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_path", "documentation": {} }, { "label": "PathTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_path", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_path", "peekOfCode": "class PathTests:\n def test_reading(self):\n # Path should be readable.\n # Test also implicitly verifies the returned object is a pathlib.Path\n # instance.\n with resources.path(self.data, 'utf-8.file') as path:\n self.assertTrue(path.name.endswith(\"utf-8.file\"), repr(path))\n # pathlib.Path.read_text() was introduced in Python 3.5.\n with path.open('r', encoding='utf-8') as file:\n text = file.read()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_path", "documentation": {} }, { "label": "PathDiskTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_path", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_path", "peekOfCode": "class PathDiskTests(PathTests, unittest.TestCase):\n data = data01\n def test_natural_path(self):\n # Guarantee the internal implementation detail that\n # file-system-backed resources do not get the tempdir\n # treatment.\n with resources.path(self.data, 'utf-8.file') as path:\n assert 'data' in str(path)\nclass PathMemoryTests(PathTests, unittest.TestCase):\n def setUp(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_path", "documentation": {} }, { "label": "PathMemoryTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_path", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_path", "peekOfCode": "class PathMemoryTests(PathTests, unittest.TestCase):\n def setUp(self):\n file = io.BytesIO(b'Hello, UTF-8 world!\\n')\n self.addCleanup(file.close)\n self.data = util.create_package(\n file=file, path=FileNotFoundError(\"package exists only in memory\")\n )\n self.data.__spec__.origin = None\n self.data.__spec__.has_location = False\nclass PathZipTests(PathTests, util.ZipSetup, unittest.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_path", "documentation": {} }, { "label": "PathZipTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_path", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_path", "peekOfCode": "class PathZipTests(PathTests, util.ZipSetup, unittest.TestCase):\n def test_remove_in_context_manager(self):\n # It is not an error if the file that was temporarily stashed on the\n # file system is removed inside the `with` stanza.\n with resources.path(self.data, 'utf-8.file') as path:\n path.unlink()\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_path", "documentation": {} }, { "label": "TestImport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_pkg_import", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_pkg_import", "peekOfCode": "class TestImport(unittest.TestCase):\n def __init__(self, *args, **kw):\n self.package_name = 'PACKAGE_'\n while self.package_name in sys.modules:\n self.package_name += random.choice(string.ascii_letters)\n self.module_name = self.package_name + '.foo'\n unittest.TestCase.__init__(self, *args, **kw)\n def remove_modules(self):\n for module_name in (self.package_name, self.module_name):\n if module_name in sys.modules:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_pkg_import", "documentation": {} }, { "label": "CommonBinaryTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_read", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_read", "peekOfCode": "class CommonBinaryTests(util.CommonResourceTests, unittest.TestCase):\n def execute(self, package, path):\n resources.read_binary(package, path)\nclass CommonTextTests(util.CommonResourceTests, unittest.TestCase):\n def execute(self, package, path):\n resources.read_text(package, path)\nclass ReadTests:\n def test_read_binary(self):\n result = resources.read_binary(self.data, 'binary.file')\n self.assertEqual(result, b'\\0\\1\\2\\3')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_read", "documentation": {} }, { "label": "CommonTextTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_read", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_read", "peekOfCode": "class CommonTextTests(util.CommonResourceTests, unittest.TestCase):\n def execute(self, package, path):\n resources.read_text(package, path)\nclass ReadTests:\n def test_read_binary(self):\n result = resources.read_binary(self.data, 'binary.file')\n self.assertEqual(result, b'\\0\\1\\2\\3')\n def test_read_text_default_encoding(self):\n result = resources.read_text(self.data, 'utf-8.file')\n self.assertEqual(result, 'Hello, UTF-8 world!\\n')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_read", "documentation": {} }, { "label": "ReadTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_read", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_read", "peekOfCode": "class ReadTests:\n def test_read_binary(self):\n result = resources.read_binary(self.data, 'binary.file')\n self.assertEqual(result, b'\\0\\1\\2\\3')\n def test_read_text_default_encoding(self):\n result = resources.read_text(self.data, 'utf-8.file')\n self.assertEqual(result, 'Hello, UTF-8 world!\\n')\n def test_read_text_given_encoding(self):\n result = resources.read_text(self.data, 'utf-16.file', encoding='utf-16')\n self.assertEqual(result, 'Hello, UTF-16 world!\\n')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_read", "documentation": {} }, { "label": "ReadDiskTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_read", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_read", "peekOfCode": "class ReadDiskTests(ReadTests, unittest.TestCase):\n data = data01\nclass ReadZipTests(ReadTests, util.ZipSetup, unittest.TestCase):\n def test_read_submodule_resource(self):\n submodule = import_module('ziptestdata.subdirectory')\n result = resources.read_binary(submodule, 'binary.file')\n self.assertEqual(result, b'\\0\\1\\2\\3')\n def test_read_submodule_resource_by_name(self):\n result = resources.read_binary('ziptestdata.subdirectory', 'binary.file')\n self.assertEqual(result, b'\\0\\1\\2\\3')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_read", "documentation": {} }, { "label": "ReadZipTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_read", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_read", "peekOfCode": "class ReadZipTests(ReadTests, util.ZipSetup, unittest.TestCase):\n def test_read_submodule_resource(self):\n submodule = import_module('ziptestdata.subdirectory')\n result = resources.read_binary(submodule, 'binary.file')\n self.assertEqual(result, b'\\0\\1\\2\\3')\n def test_read_submodule_resource_by_name(self):\n result = resources.read_binary('ziptestdata.subdirectory', 'binary.file')\n self.assertEqual(result, b'\\0\\1\\2\\3')\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_read", "documentation": {} }, { "label": "MultiplexedPathTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_reader", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_reader", "peekOfCode": "class MultiplexedPathTest(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n path = pathlib.Path(__file__).parent / 'namespacedata01'\n cls.folder = str(path)\n def test_init_no_paths(self):\n with self.assertRaises(FileNotFoundError):\n MultiplexedPath()\n def test_init_file(self):\n with self.assertRaises(NotADirectoryError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_reader", "documentation": {} }, { "label": "NamespaceReaderTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_reader", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_reader", "peekOfCode": "class NamespaceReaderTest(unittest.TestCase):\n site_dir = str(pathlib.Path(__file__).parent)\n @classmethod\n def setUpClass(cls):\n sys.path.append(cls.site_dir)\n @classmethod\n def tearDownClass(cls):\n sys.path.remove(cls.site_dir)\n def test_init_error(self):\n with self.assertRaises(ValueError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_reader", "documentation": {} }, { "label": "ResourceTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "peekOfCode": "class ResourceTests:\n # Subclasses are expected to set the `data` attribute.\n def test_is_resource_good_path(self):\n self.assertTrue(resources.is_resource(self.data, 'binary.file'))\n def test_is_resource_missing(self):\n self.assertFalse(resources.is_resource(self.data, 'not-a-file'))\n def test_is_resource_subresource_directory(self):\n # Directories are not resources.\n self.assertFalse(resources.is_resource(self.data, 'subdirectory'))\n def test_contents(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "documentation": {} }, { "label": "ResourceDiskTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "peekOfCode": "class ResourceDiskTests(ResourceTests, unittest.TestCase):\n def setUp(self):\n self.data = data01\nclass ResourceZipTests(ResourceTests, util.ZipSetup, unittest.TestCase):\n pass\nclass ResourceLoaderTests(unittest.TestCase):\n def test_resource_contents(self):\n package = util.create_package(\n file=data01, path=data01.__file__, contents=['A', 'B', 'C']\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "documentation": {} }, { "label": "ResourceZipTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "peekOfCode": "class ResourceZipTests(ResourceTests, util.ZipSetup, unittest.TestCase):\n pass\nclass ResourceLoaderTests(unittest.TestCase):\n def test_resource_contents(self):\n package = util.create_package(\n file=data01, path=data01.__file__, contents=['A', 'B', 'C']\n )\n self.assertEqual(set(resources.contents(package)), {'A', 'B', 'C'})\n def test_resource_is_resource(self):\n package = util.create_package(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "documentation": {} }, { "label": "ResourceLoaderTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "peekOfCode": "class ResourceLoaderTests(unittest.TestCase):\n def test_resource_contents(self):\n package = util.create_package(\n file=data01, path=data01.__file__, contents=['A', 'B', 'C']\n )\n self.assertEqual(set(resources.contents(package)), {'A', 'B', 'C'})\n def test_resource_is_resource(self):\n package = util.create_package(\n file=data01, path=data01.__file__, contents=['A', 'B', 'C', 'D/E', 'D/F']\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "documentation": {} }, { "label": "ResourceCornerCaseTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "peekOfCode": "class ResourceCornerCaseTests(unittest.TestCase):\n def test_package_has_no_reader_fallback(self):\n # Test odd ball packages which:\n # 1. Do not have a ResourceReader as a loader\n # 2. Are not on the file system\n # 3. Are not in a zip file\n module = util.create_package(\n file=data01, path=data01.__file__, contents=['A', 'B', 'C']\n )\n # Give the module a dummy loader.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "documentation": {} }, { "label": "ResourceFromZipsTest01", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "peekOfCode": "class ResourceFromZipsTest01(util.ZipSetupBase, unittest.TestCase):\n ZIP_MODULE = zipdata01 # type: ignore\n def test_is_submodule_resource(self):\n submodule = import_module('ziptestdata.subdirectory')\n self.assertTrue(resources.is_resource(submodule, 'binary.file'))\n def test_read_submodule_resource_by_name(self):\n self.assertTrue(\n resources.is_resource('ziptestdata.subdirectory', 'binary.file')\n )\n def test_submodule_contents(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "documentation": {} }, { "label": "ResourceFromZipsTest02", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "peekOfCode": "class ResourceFromZipsTest02(util.ZipSetupBase, unittest.TestCase):\n ZIP_MODULE = zipdata02 # type: ignore\n def test_unrelated_contents(self):\n \"\"\"\n Test thata zip with two unrelated subpackages return\n distinct resources. Ref python/importlib_resources#44.\n \"\"\"\n self.assertEqual(\n set(resources.contents('ziptestdata.one')), {'__init__.py', 'resource1.txt'}\n )", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "documentation": {} }, { "label": "DeletingZipsTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "peekOfCode": "class DeletingZipsTest(unittest.TestCase):\n \"\"\"Having accessed resources in a zip file should not keep an open\n reference to the zip.\n \"\"\"\n ZIP_MODULE = zipdata01\n def setUp(self):\n modules = import_helper.modules_setup()\n self.addCleanup(import_helper.modules_cleanup, *modules)\n data_path = pathlib.Path(self.ZIP_MODULE.__file__)\n data_dir = data_path.parent", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "documentation": {} }, { "label": "ResourceFromNamespaceTest01", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "peekOfCode": "class ResourceFromNamespaceTest01(unittest.TestCase):\n site_dir = str(pathlib.Path(__file__).parent)\n @classmethod\n def setUpClass(cls):\n sys.path.append(cls.site_dir)\n @classmethod\n def tearDownClass(cls):\n sys.path.remove(cls.site_dir)\n def test_is_submodule_resource(self):\n self.assertTrue(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_resource", "documentation": {} }, { "label": "TestLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "peekOfCode": "class TestLoader:\n def __init__(self, path=None, is_package=None):\n self.path = path\n self.package = is_package\n def __repr__(self):\n return ''\n def __getattr__(self, name):\n if name == 'get_filename' and self.path is not None:\n return self._get_filename\n if name == 'is_package':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "documentation": {} }, { "label": "NewLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "peekOfCode": "class NewLoader(TestLoader):\n EGGS = 1\n def exec_module(self, module):\n module.eggs = self.EGGS\nclass LegacyLoader(TestLoader):\n HAM = -1\n with warnings.catch_warnings():\n warnings.simplefilter(\"ignore\", DeprecationWarning)\n frozen_util = util['Frozen']\n @frozen_util.module_for_loader", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "documentation": {} }, { "label": "LegacyLoader", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "peekOfCode": "class LegacyLoader(TestLoader):\n HAM = -1\n with warnings.catch_warnings():\n warnings.simplefilter(\"ignore\", DeprecationWarning)\n frozen_util = util['Frozen']\n @frozen_util.module_for_loader\n def load_module(self, module):\n module.ham = self.HAM\n return module\nclass ModuleSpecTests:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "documentation": {} }, { "label": "ModuleSpecTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "peekOfCode": "class ModuleSpecTests:\n def setUp(self):\n self.name = 'spam'\n self.path = 'spam.py'\n self.cached = self.util.cache_from_source(self.path)\n self.loader = TestLoader()\n self.spec = self.machinery.ModuleSpec(self.name, self.loader)\n self.loc_spec = self.machinery.ModuleSpec(self.name, self.loader,\n origin=self.path)\n self.loc_spec._set_fileattr = True", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "documentation": {} }, { "label": "ModuleSpecMethodsTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "peekOfCode": "class ModuleSpecMethodsTests:\n @property\n def bootstrap(self):\n return self.init._bootstrap\n def setUp(self):\n self.name = 'spam'\n self.path = 'spam.py'\n self.cached = self.util.cache_from_source(self.path)\n self.loader = TestLoader()\n self.spec = self.machinery.ModuleSpec(self.name, self.loader)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "documentation": {} }, { "label": "ModuleReprTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "peekOfCode": "class ModuleReprTests:\n @property\n def bootstrap(self):\n return self.init._bootstrap\n def setUp(self):\n self.module = type(os)('spam')\n self.spec = self.machinery.ModuleSpec('spam', TestLoader())\n def test_module___loader___module_repr(self):\n class Loader:\n def module_repr(self, module):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "documentation": {} }, { "label": "FactoryTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "peekOfCode": "class FactoryTests:\n def setUp(self):\n self.name = 'spam'\n self.path = os.path.abspath('spam.py')\n self.cached = self.util.cache_from_source(self.path)\n self.loader = TestLoader()\n self.fileloader = TestLoader(self.path)\n self.pkgloader = TestLoader(self.path, True)\n # spec_from_loader()\n def test_spec_from_loader_default(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "documentation": {} }, { "label": "init", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "peekOfCode": "init = test_util.import_importlib('importlib')\nmachinery = test_util.import_importlib('importlib.machinery')\nutil = test_util.import_importlib('importlib.util')\nimport os.path\nimport pathlib\nfrom test.support.import_helper import CleanImport\nimport unittest\nimport sys\nimport warnings\nclass TestLoader:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "documentation": {} }, { "label": "machinery", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "peekOfCode": "machinery = test_util.import_importlib('importlib.machinery')\nutil = test_util.import_importlib('importlib.util')\nimport os.path\nimport pathlib\nfrom test.support.import_helper import CleanImport\nimport unittest\nimport sys\nimport warnings\nclass TestLoader:\n def __init__(self, path=None, is_package=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "documentation": {} }, { "label": "util", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "peekOfCode": "util = test_util.import_importlib('importlib.util')\nimport os.path\nimport pathlib\nfrom test.support.import_helper import CleanImport\nimport unittest\nimport sys\nimport warnings\nclass TestLoader:\n def __init__(self, path=None, is_package=None):\n self.path = path", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_spec", "documentation": {} }, { "label": "Finder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "peekOfCode": "class Finder:\n \"\"\"A dummy finder to detect concurrent access to its find_spec()\n method.\"\"\"\n def __init__(self):\n self.numcalls = 0\n self.x = 0\n self.lock = threading.Lock()\n def find_spec(self, name, path=None, target=None):\n # Simulate some thread-unsafe behaviour. If calls to find_spec()\n # are properly serialized, `x` will end up the same as `numcalls`.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "documentation": {} }, { "label": "FlushingFinder", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "peekOfCode": "class FlushingFinder:\n \"\"\"A dummy finder which flushes sys.path_importer_cache when it gets\n called.\"\"\"\n def find_spec(self, name, path=None, target=None):\n sys.path_importer_cache.clear()\nclass ThreadedImportTests(unittest.TestCase):\n def setUp(self):\n self.old_random = sys.modules.pop('random', None)\n def tearDown(self):\n # If the `random` module was already initialized, we restore the", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "documentation": {} }, { "label": "ThreadedImportTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "peekOfCode": "class ThreadedImportTests(unittest.TestCase):\n def setUp(self):\n self.old_random = sys.modules.pop('random', None)\n def tearDown(self):\n # If the `random` module was already initialized, we restore the\n # old module at the end so that pickling tests don't fail.\n # See http://bugs.python.org/issue3657#msg110461\n if self.old_random is not None:\n sys.modules['random'] = self.old_random\n @mock_register_at_fork", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "documentation": {} }, { "label": "task", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "peekOfCode": "def task(N, done, done_tasks, errors):\n try:\n # We don't use modulefinder but still import it in order to stress\n # importing of different modules from several threads.\n if len(done_tasks) % 2:\n import modulefinder\n import random\n else:\n import random\n import modulefinder", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "documentation": {} }, { "label": "mock_register_at_fork", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "peekOfCode": "def mock_register_at_fork(func):\n # bpo-30599: Mock os.register_at_fork() when importing the random module,\n # since this function doesn't allow to unregister callbacks and would leak\n # memory.\n return mock.patch('os.register_at_fork', create=True)(func)\n# Create a circular import structure: A -> C -> B -> D -> A\n# NOTE: `time` is already loaded and therefore doesn't threaten to deadlock.\ncircular_imports_modules = {\n 'A': \"\"\"if 1:\n import time", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "documentation": {} }, { "label": "setUpModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "peekOfCode": "def setUpModule():\n thread_info = threading_helper.threading_setup()\n unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)\n try:\n old_switchinterval = sys.getswitchinterval()\n unittest.addModuleCleanup(sys.setswitchinterval, old_switchinterval)\n sys.setswitchinterval(1e-5)\n except AttributeError:\n pass\nif __name__ == \"__main__\":", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "documentation": {} }, { "label": "circular_imports_modules", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "peekOfCode": "circular_imports_modules = {\n 'A': \"\"\"if 1:\n import time\n time.sleep(%(delay)s)\n x = 'a'\n import C\n \"\"\",\n 'B': \"\"\"if 1:\n import time\n time.sleep(%(delay)s)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_threaded_import", "documentation": {} }, { "label": "DecodeSourceBytesTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "peekOfCode": "class DecodeSourceBytesTests:\n source = \"string ='ü'\"\n def test_ut8_default(self):\n source_bytes = self.source.encode('utf-8')\n self.assertEqual(self.util.decode_source(source_bytes), self.source)\n def test_specified_encoding(self):\n source = '# coding=latin-1\\n' + self.source\n source_bytes = source.encode('latin-1')\n assert source_bytes != source.encode('utf-8')\n self.assertEqual(self.util.decode_source(source_bytes), source)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "documentation": {} }, { "label": "ModuleFromSpecTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "peekOfCode": "class ModuleFromSpecTests:\n def test_no_create_module(self):\n class Loader:\n def exec_module(self, module):\n pass\n spec = self.machinery.ModuleSpec('test', Loader())\n with self.assertRaises(ImportError):\n module = self.util.module_from_spec(spec)\n def test_create_module_returns_None(self):\n class Loader(self.abc.Loader):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "documentation": {} }, { "label": "ModuleForLoaderTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "peekOfCode": "class ModuleForLoaderTests:\n \"\"\"Tests for importlib.util.module_for_loader.\"\"\"\n @classmethod\n def module_for_loader(cls, func):\n with warnings.catch_warnings():\n warnings.simplefilter('ignore', DeprecationWarning)\n return cls.util.module_for_loader(func)\n def test_warning(self):\n # Should raise a PendingDeprecationWarning when used.\n with warnings.catch_warnings():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "documentation": {} }, { "label": "SetPackageTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "peekOfCode": "class SetPackageTests:\n \"\"\"Tests for importlib.util.set_package.\"\"\"\n def verify(self, module, expect):\n \"\"\"Verify the module has the expected value for __package__ after\n passing through set_package.\"\"\"\n fxn = lambda: module\n wrapped = self.util.set_package(fxn)\n with warnings.catch_warnings():\n warnings.simplefilter('ignore', DeprecationWarning)\n wrapped()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "documentation": {} }, { "label": "SetLoaderTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "peekOfCode": "class SetLoaderTests:\n \"\"\"Tests importlib.util.set_loader().\"\"\"\n @property\n def DummyLoader(self):\n # Set DummyLoader on the class lazily.\n class DummyLoader:\n @self.util.set_loader\n def load_module(self, module):\n return self.module\n self.__class__.DummyLoader = DummyLoader", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "documentation": {} }, { "label": "ResolveNameTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "peekOfCode": "class ResolveNameTests:\n \"\"\"Tests importlib.util.resolve_name().\"\"\"\n def test_absolute(self):\n # bacon\n self.assertEqual('bacon', self.util.resolve_name('bacon', None))\n def test_absolute_within_package(self):\n # bacon in spam\n self.assertEqual('bacon', self.util.resolve_name('bacon', 'spam'))\n def test_no_package(self):\n # .bacon in ''", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "documentation": {} }, { "label": "FindSpecTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "peekOfCode": "class FindSpecTests:\n class FakeMetaFinder:\n @staticmethod\n def find_spec(name, path=None, target=None): return name, path, target\n def test_sys_modules(self):\n name = 'some_mod'\n with util.uncache(name):\n module = types.ModuleType(name)\n loader = 'a loader!'\n spec = self.machinery.ModuleSpec(name, loader)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "documentation": {} }, { "label": "MagicNumberTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "peekOfCode": "class MagicNumberTests:\n def test_length(self):\n # Should be 4 bytes.\n self.assertEqual(len(self.util.MAGIC_NUMBER), 4)\n def test_incorporates_rn(self):\n # The magic number uses \\r\\n to come out wrong when splitting on lines.\n self.assertTrue(self.util.MAGIC_NUMBER.endswith(b'\\r\\n'))\n(Frozen_MagicNumberTests,\n Source_MagicNumberTests\n ) = util.test_both(MagicNumberTests, util=importlib_util)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "documentation": {} }, { "label": "PEP3147Tests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "peekOfCode": "class PEP3147Tests:\n \"\"\"Tests of PEP 3147-related functions: cache_from_source and source_from_cache.\"\"\"\n tag = sys.implementation.cache_tag\n @unittest.skipIf(sys.implementation.cache_tag is None,\n 'requires sys.implementation.cache_tag not be None')\n def test_cache_from_source(self):\n # Given the path to a .py file, return the path to its PEP 3147\n # defined .pyc file (i.e. under __pycache__).\n path = os.path.join('foo', 'bar', 'baz', 'qux.py')\n expect = os.path.join('foo', 'bar', 'baz', '__pycache__',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "documentation": {} }, { "label": "MagicNumberTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "peekOfCode": "class MagicNumberTests(unittest.TestCase):\n \"\"\"\n Test release compatibility issues relating to importlib\n \"\"\"\n @unittest.skipUnless(\n sys.version_info.releaselevel in ('candidate', 'final'),\n 'only applies to candidate or final python release levels'\n )\n def test_magic_number(self):\n # Each python minor release should generally have a MAGIC_NUMBER", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "documentation": {} }, { "label": "abc", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "peekOfCode": "abc = util.import_importlib('importlib.abc')\ninit = util.import_importlib('importlib')\nmachinery = util.import_importlib('importlib.machinery')\nimportlib_util = util.import_importlib('importlib.util')\nimport importlib.util\nimport os\nimport pathlib\nimport string\nimport sys\nfrom test import support", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "documentation": {} }, { "label": "init", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "peekOfCode": "init = util.import_importlib('importlib')\nmachinery = util.import_importlib('importlib.machinery')\nimportlib_util = util.import_importlib('importlib.util')\nimport importlib.util\nimport os\nimport pathlib\nimport string\nimport sys\nfrom test import support\nimport types", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "documentation": {} }, { "label": "machinery", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "peekOfCode": "machinery = util.import_importlib('importlib.machinery')\nimportlib_util = util.import_importlib('importlib.util')\nimport importlib.util\nimport os\nimport pathlib\nimport string\nimport sys\nfrom test import support\nimport types\nimport unittest", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "documentation": {} }, { "label": "importlib_util", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "peekOfCode": "importlib_util = util.import_importlib('importlib.util')\nimport importlib.util\nimport os\nimport pathlib\nimport string\nimport sys\nfrom test import support\nimport types\nimport unittest\nimport unittest.mock", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "documentation": {} }, { "label": ")", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "peekOfCode": ") = util.test_both(ModuleFromSpecTests, abc=abc, machinery=machinery,\n util=importlib_util)\nclass ModuleForLoaderTests:\n \"\"\"Tests for importlib.util.module_for_loader.\"\"\"\n @classmethod\n def module_for_loader(cls, func):\n with warnings.catch_warnings():\n warnings.simplefilter('ignore', DeprecationWarning)\n return cls.util.module_for_loader(func)\n def test_warning(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_util", "documentation": {} }, { "label": "WindowsRegistryFinderTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "peekOfCode": "class WindowsRegistryFinderTests:\n # The module name is process-specific, allowing for\n # simultaneous runs of the same test on a single machine.\n test_module = \"spamham{}\".format(os.getpid())\n def test_find_spec_missing(self):\n spec = self.machinery.WindowsRegistryFinder.find_spec('spam')\n self.assertIs(spec, None)\n def test_find_module_missing(self):\n with warnings.catch_warnings():\n warnings.simplefilter(\"ignore\", DeprecationWarning)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "documentation": {} }, { "label": "WindowsExtensionSuffixTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "peekOfCode": "class WindowsExtensionSuffixTests:\n def test_tagged_suffix(self):\n suffixes = self.machinery.EXTENSION_SUFFIXES\n expected_tag = \".cp{0.major}{0.minor}-{1}.pyd\".format(sys.version_info,\n re.sub('[^a-zA-Z0-9]', '_', get_platform()))\n try:\n untagged_i = suffixes.index(\".pyd\")\n except ValueError:\n untagged_i = suffixes.index(\"_d.pyd\")\n expected_tag = \"_d\" + expected_tag", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "documentation": {} }, { "label": "WindowsBootstrapPathTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "peekOfCode": "class WindowsBootstrapPathTests(unittest.TestCase):\n def check_join(self, expected, *inputs):\n from importlib._bootstrap_external import _path_join\n actual = _path_join(*inputs)\n if expected.casefold() == actual.casefold():\n return\n self.assertEqual(expected, actual)\n def test_path_join(self):\n self.check_join(r\"C:\\A\\B\", \"C:\\\\\", \"A\", \"B\")\n self.check_join(r\"C:\\A\\B\", \"D:\\\\\", \"D\", \"C:\\\\\", \"A\", \"B\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "documentation": {} }, { "label": "get_platform", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "peekOfCode": "def get_platform():\n # Port of distutils.util.get_platform().\n TARGET_TO_PLAT = {\n 'x86' : 'win32',\n 'x64' : 'win-amd64',\n 'arm' : 'win-arm32',\n }\n if ('VSCMD_ARG_TGT_ARCH' in os.environ and\n os.environ['VSCMD_ARG_TGT_ARCH'] in TARGET_TO_PLAT):\n return TARGET_TO_PLAT[os.environ['VSCMD_ARG_TGT_ARCH']]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "documentation": {} }, { "label": "delete_registry_tree", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "peekOfCode": "def delete_registry_tree(root, subkey):\n try:\n hkey = OpenKey(root, subkey, access=KEY_ALL_ACCESS)\n except OSError:\n # subkey does not exist\n return\n while True:\n try:\n subsubkey = EnumKey(hkey, 0)\n except OSError:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "documentation": {} }, { "label": "setup_module", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "peekOfCode": "def setup_module(machinery, name, path=None):\n if machinery.WindowsRegistryFinder.DEBUG_BUILD:\n root = machinery.WindowsRegistryFinder.REGISTRY_KEY_DEBUG\n else:\n root = machinery.WindowsRegistryFinder.REGISTRY_KEY\n key = root.format(fullname=name,\n sys_version='%d.%d' % sys.version_info[:2])\n base_key = \"Software\\\\Python\\\\PythonCore\\\\{}.{}\".format(\n sys.version_info.major, sys.version_info.minor)\n assert key.casefold().startswith(base_key.casefold()), (", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "documentation": {} }, { "label": "machinery", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "peekOfCode": "machinery = test_util.import_importlib('importlib.machinery')\nimport os\nimport re\nimport sys\nimport unittest\nimport warnings\nfrom test import support\nfrom test.support import import_helper\nfrom contextlib import contextmanager\nfrom .util import temp_module", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_windows", "documentation": {} }, { "label": "TestZip", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_zip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_zip", "peekOfCode": "class TestZip(unittest.TestCase):\n root = 'test.test_importlib.data'\n def _fixture_on_path(self, filename):\n pkg_file = resources.files(self.root).joinpath(filename)\n file = self.resources.enter_context(resources.as_file(pkg_file))\n assert file.name.startswith('example-'), file.name\n sys.path.insert(0, str(file))\n self.resources.callback(sys.path.pop, 0)\n def setUp(self):\n # Find the path to the example-*.whl so we can add it to the front of", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_zip", "documentation": {} }, { "label": "TestEgg", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_zip", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_zip", "peekOfCode": "class TestEgg(TestZip):\n def setUp(self):\n # Find the path to the example-*.egg so we can add it to the front of\n # sys.path, where we'll then try to find the metadata thereof.\n self.resources = ExitStack()\n self.addCleanup(self.resources.close)\n self._fixture_on_path('example-21.12-py3.6.egg')\n def test_files(self):\n for file in files('example'):\n path = str(file.dist.locate_file(file))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.test_zip", "documentation": {} }, { "label": "Worker", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.threaded_import_hangers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.threaded_import_hangers", "peekOfCode": "class Worker(threading.Thread):\n def __init__(self, function, args):\n threading.Thread.__init__(self)\n self.function = function\n self.args = args\n def run(self):\n self.function(*self.args)\nfor name, func, args in [\n # Bug 147376: TemporaryFile hung on Windows, starting in Python 2.4.\n (\"tempfile.TemporaryFile\", lambda: tempfile.TemporaryFile().close(), ()),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.threaded_import_hangers", "documentation": {} }, { "label": "TIMEOUT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.threaded_import_hangers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.threaded_import_hangers", "peekOfCode": "TIMEOUT = 10\nimport threading\nimport tempfile\nimport os.path\nerrors = []\n# This class merely runs a function in its own thread T. The thread importing\n# this module holds the import lock, so if the function called by T tries\n# to do its own imports it will block waiting for this module's import\n# to complete.\nclass Worker(threading.Thread):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.threaded_import_hangers", "documentation": {} }, { "label": "errors", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.threaded_import_hangers", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.threaded_import_hangers", "peekOfCode": "errors = []\n# This class merely runs a function in its own thread T. The thread importing\n# this module holds the import lock, so if the function called by T tries\n# to do its own imports it will block waiting for this module's import\n# to complete.\nclass Worker(threading.Thread):\n def __init__(self, function, args):\n threading.Thread.__init__(self)\n self.function = function\n self.args = args", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.threaded_import_hangers", "documentation": {} }, { "label": "main", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.update-zips", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.update-zips", "peekOfCode": "def main():\n \"\"\"\n >>> from unittest import mock\n >>> monkeypatch = getfixture('monkeypatch')\n >>> monkeypatch.setattr(zipfile, 'ZipFile', mock.MagicMock())\n >>> print(); main() # print workaround for bpo-32509\n \n ...data01... -> ziptestdata/...\n ...\n ...data02... -> ziptestdata/...", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.update-zips", "documentation": {} }, { "label": "generate", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.update-zips", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.update-zips", "peekOfCode": "def generate(suffix):\n root = pathlib.Path(__file__).parent.relative_to(os.getcwd())\n zfpath = root / f'zipdata{suffix}/ziptestdata.zip'\n with zipfile.ZipFile(zfpath, 'w') as zf:\n for src, rel in walk(root / f'data{suffix}'):\n dst = 'ziptestdata' / pathlib.PurePosixPath(rel.as_posix())\n print(src, '->', dst)\n zf.write(src, dst)\ndef walk(datapath):\n for dirpath, dirnames, filenames in os.walk(datapath):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.update-zips", "documentation": {} }, { "label": "walk", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.update-zips", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.update-zips", "peekOfCode": "def walk(datapath):\n for dirpath, dirnames, filenames in os.walk(datapath):\n with contextlib.suppress(KeyError):\n dirnames.remove('__pycache__')\n for filename in filenames:\n res = pathlib.Path(dirpath) / filename\n rel = res.relative_to(datapath)\n yield res, rel\n__name__ == '__main__' and main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.update-zips", "documentation": {} }, { "label": "_ImporterMock", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "class _ImporterMock:\n \"\"\"Base class to help with creating importer mocks.\"\"\"\n def __init__(self, *names, module_code={}):\n self.modules = {}\n self.module_code = {}\n for name in names:\n if not name.endswith('.__init__'):\n import_name = name\n else:\n import_name = name[:-len('.__init__')]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "mock_modules", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "class mock_modules(_ImporterMock):\n \"\"\"Importer mock using PEP 302 APIs.\"\"\"\n def find_module(self, fullname, path=None):\n if fullname not in self.modules:\n return None\n else:\n return self\n def load_module(self, fullname):\n if fullname not in self.modules:\n raise ImportError", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "mock_spec", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "class mock_spec(_ImporterMock):\n \"\"\"Importer mock using PEP 451 APIs.\"\"\"\n def find_spec(self, fullname, path=None, parent=None):\n try:\n module = self.modules[fullname]\n except KeyError:\n return None\n spec = util.spec_from_file_location(\n fullname, module.__file__, loader=self,\n submodule_search_locations=getattr(module, '__path__', None))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "CASEOKTestBase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "class CASEOKTestBase:\n def caseok_env_changed(self, *, should_exist):\n possibilities = b'PYTHONCASEOK', 'PYTHONCASEOK'\n if any(x in self.importlib._bootstrap_external._os.environ\n for x in possibilities) != should_exist:\n self.skipTest('os.environ changes not reflected in _os.environ')\ndef create_package(file, path, is_package=True, contents=()):\n class Reader(ResourceReader):\n def get_resource_reader(self, package):\n return self", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "CommonResourceTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "class CommonResourceTests(abc.ABC):\n @abc.abstractmethod\n def execute(self, package, path):\n raise NotImplementedError\n def test_package_name(self):\n # Passing in the package name should succeed.\n self.execute(data01.__name__, 'utf-8.file')\n def test_package_object(self):\n # Passing in the package itself should succeed.\n self.execute(data01, 'utf-8.file')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "ZipSetupBase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "class ZipSetupBase:\n ZIP_MODULE = None\n @classmethod\n def setUpClass(cls):\n data_path = Path(cls.ZIP_MODULE.__file__)\n data_dir = data_path.parent\n cls._zip_path = str(data_dir / 'ziptestdata.zip')\n sys.path.append(cls._zip_path)\n cls.data = importlib.import_module('ziptestdata')\n @classmethod", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "ZipSetup", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "class ZipSetup(ZipSetupBase):\n ZIP_MODULE = zipdata01 # type: ignore", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "import_importlib", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "def import_importlib(module_name):\n \"\"\"Import a module from importlib both w/ and w/o _frozen_importlib.\"\"\"\n fresh = ('importlib',) if '.' in module_name else ()\n frozen = import_helper.import_fresh_module(module_name)\n source = import_helper.import_fresh_module(module_name, fresh=fresh,\n blocked=('_frozen_importlib', '_frozen_importlib_external'))\n return {'Frozen': frozen, 'Source': source}\ndef specialize_class(cls, kind, base=None, **kwargs):\n # XXX Support passing in submodule names--load (and cache) them?\n # That would clean up the test modules a bit more.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "specialize_class", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "def specialize_class(cls, kind, base=None, **kwargs):\n # XXX Support passing in submodule names--load (and cache) them?\n # That would clean up the test modules a bit more.\n if base is None:\n base = unittest.TestCase\n elif not isinstance(base, type):\n base = base[kind]\n name = '{}_{}'.format(kind, cls.__name__)\n bases = (cls, base)\n specialized = types.new_class(name, bases)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "split_frozen", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "def split_frozen(cls, base=None, **kwargs):\n frozen = specialize_class(cls, 'Frozen', base, **kwargs)\n source = specialize_class(cls, 'Source', base, **kwargs)\n return frozen, source\ndef test_both(test_class, base=None, **kwargs):\n return split_frozen(test_class, base, **kwargs)\nCASE_INSENSITIVE_FS = True\n# Windows is the only OS that is *always* case-insensitive\n# (OS X *can* be case-sensitive).\nif sys.platform not in ('win32', 'cygwin'):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "test_both", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "def test_both(test_class, base=None, **kwargs):\n return split_frozen(test_class, base, **kwargs)\nCASE_INSENSITIVE_FS = True\n# Windows is the only OS that is *always* case-insensitive\n# (OS X *can* be case-sensitive).\nif sys.platform not in ('win32', 'cygwin'):\n changed_name = __file__.upper()\n if changed_name == __file__:\n changed_name = __file__.lower()\n if not os.path.exists(changed_name):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "case_insensitive_tests", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "def case_insensitive_tests(test):\n \"\"\"Class decorator that nullifies tests requiring a case-insensitive\n file system.\"\"\"\n return unittest.skipIf(not CASE_INSENSITIVE_FS,\n \"requires a case-insensitive filesystem\")(test)\ndef submodule(parent, name, pkg_dir, content=''):\n path = os.path.join(pkg_dir, name + '.py')\n with open(path, 'w', encoding='utf-8') as subfile:\n subfile.write(content)\n return '{}.{}'.format(parent, name), path", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "submodule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "def submodule(parent, name, pkg_dir, content=''):\n path = os.path.join(pkg_dir, name + '.py')\n with open(path, 'w', encoding='utf-8') as subfile:\n subfile.write(content)\n return '{}.{}'.format(parent, name), path\ndef get_code_from_pyc(pyc_path):\n \"\"\"Reads a pyc file and returns the unmarshalled code object within.\n No header validation is performed.\n \"\"\"\n with open(pyc_path, 'rb') as pyc_f:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "get_code_from_pyc", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "def get_code_from_pyc(pyc_path):\n \"\"\"Reads a pyc file and returns the unmarshalled code object within.\n No header validation is performed.\n \"\"\"\n with open(pyc_path, 'rb') as pyc_f:\n pyc_f.seek(16)\n return marshal.load(pyc_f)\n@contextlib.contextmanager\ndef uncache(*names):\n \"\"\"Uncache a module from sys.modules.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "uncache", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "def uncache(*names):\n \"\"\"Uncache a module from sys.modules.\n A basic sanity check is performed to prevent uncaching modules that either\n cannot/shouldn't be uncached.\n \"\"\"\n for name in names:\n if name in ('sys', 'marshal', 'imp'):\n raise ValueError(\n \"cannot uncache {0}\".format(name))\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "temp_module", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "def temp_module(name, content='', *, pkg=False):\n conflicts = [n for n in sys.modules if n.partition('.')[0] == name]\n with os_helper.temp_cwd(None) as cwd:\n with uncache(name, *conflicts):\n with import_helper.DirsOnSysPath(cwd):\n invalidate_caches()\n location = os.path.join(cwd, name)\n if pkg:\n modpath = os.path.join(location, '__init__.py')\n os.mkdir(name)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "import_state", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "def import_state(**kwargs):\n \"\"\"Context manager to manage the various importers and stored state in the\n sys module.\n The 'modules' attribute is not supported as the interpreter state stores a\n pointer to the dict that the interpreter uses internally;\n reassigning to sys.modules does not have the desired effect.\n \"\"\"\n originals = {}\n try:\n for attr, default in (('meta_path', []), ('path', []),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "writes_bytecode_files", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "def writes_bytecode_files(fxn):\n \"\"\"Decorator to protect sys.dont_write_bytecode from mutation and to skip\n tests that require it to be set to False.\"\"\"\n if sys.dont_write_bytecode:\n return lambda *args, **kwargs: None\n @functools.wraps(fxn)\n def wrapper(*args, **kwargs):\n original = sys.dont_write_bytecode\n sys.dont_write_bytecode = False\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "ensure_bytecode_path", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "def ensure_bytecode_path(bytecode_path):\n \"\"\"Ensure that the __pycache__ directory for PEP 3147 pyc file exists.\n :param bytecode_path: File system path to PEP 3147 pyc file.\n \"\"\"\n try:\n os.mkdir(os.path.dirname(bytecode_path))\n except OSError as error:\n if error.errno != errno.EEXIST:\n raise\n@contextlib.contextmanager", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "temporary_pycache_prefix", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "def temporary_pycache_prefix(prefix):\n \"\"\"Adjust and restore sys.pycache_prefix.\"\"\"\n _orig_prefix = sys.pycache_prefix\n sys.pycache_prefix = prefix\n try:\n yield\n finally:\n sys.pycache_prefix = _orig_prefix\n@contextlib.contextmanager\ndef create_modules(*names):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "create_modules", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "def create_modules(*names):\n \"\"\"Temporarily create each named module with an attribute (named 'attr')\n that contains the name passed into the context manager that caused the\n creation of the module.\n All files are created in a temporary directory returned by\n tempfile.mkdtemp(). This directory is inserted at the beginning of\n sys.path. When the context manager exits all created files (source and\n bytecode) are explicitly deleted.\n No magic is performed when creating packages! This means that if you create\n a module within a package you must also create the package's __init__ as", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "mock_path_hook", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "def mock_path_hook(*entries, importer):\n \"\"\"A mock sys.path_hooks entry.\"\"\"\n def hook(entry):\n if entry not in entries:\n raise ImportError\n return importer\n return hook\nclass CASEOKTestBase:\n def caseok_env_changed(self, *, should_exist):\n possibilities = b'PYTHONCASEOK', 'PYTHONCASEOK'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "create_package", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "def create_package(file, path, is_package=True, contents=()):\n class Reader(ResourceReader):\n def get_resource_reader(self, package):\n return self\n def open_resource(self, path):\n self._path = path\n if isinstance(file, Exception):\n raise file\n else:\n return file", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "BUILTINS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "BUILTINS = types.SimpleNamespace()\nBUILTINS.good_name = None\nBUILTINS.bad_name = None\nif 'errno' in sys.builtin_module_names:\n BUILTINS.good_name = 'errno'\nif 'importlib' not in sys.builtin_module_names:\n BUILTINS.bad_name = 'importlib'\nEXTENSIONS = types.SimpleNamespace()\nEXTENSIONS.path = None\nEXTENSIONS.ext = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "BUILTINS.good_name", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "BUILTINS.good_name = None\nBUILTINS.bad_name = None\nif 'errno' in sys.builtin_module_names:\n BUILTINS.good_name = 'errno'\nif 'importlib' not in sys.builtin_module_names:\n BUILTINS.bad_name = 'importlib'\nEXTENSIONS = types.SimpleNamespace()\nEXTENSIONS.path = None\nEXTENSIONS.ext = None\nEXTENSIONS.filename = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "BUILTINS.bad_name", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "BUILTINS.bad_name = None\nif 'errno' in sys.builtin_module_names:\n BUILTINS.good_name = 'errno'\nif 'importlib' not in sys.builtin_module_names:\n BUILTINS.bad_name = 'importlib'\nEXTENSIONS = types.SimpleNamespace()\nEXTENSIONS.path = None\nEXTENSIONS.ext = None\nEXTENSIONS.filename = None\nEXTENSIONS.file_path = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "EXTENSIONS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "EXTENSIONS = types.SimpleNamespace()\nEXTENSIONS.path = None\nEXTENSIONS.ext = None\nEXTENSIONS.filename = None\nEXTENSIONS.file_path = None\nEXTENSIONS.name = '_testcapi'\ndef _extension_details():\n global EXTENSIONS\n for path in sys.path:\n for ext in machinery.EXTENSION_SUFFIXES:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "EXTENSIONS.path", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "EXTENSIONS.path = None\nEXTENSIONS.ext = None\nEXTENSIONS.filename = None\nEXTENSIONS.file_path = None\nEXTENSIONS.name = '_testcapi'\ndef _extension_details():\n global EXTENSIONS\n for path in sys.path:\n for ext in machinery.EXTENSION_SUFFIXES:\n filename = EXTENSIONS.name + ext", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "EXTENSIONS.ext", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "EXTENSIONS.ext = None\nEXTENSIONS.filename = None\nEXTENSIONS.file_path = None\nEXTENSIONS.name = '_testcapi'\ndef _extension_details():\n global EXTENSIONS\n for path in sys.path:\n for ext in machinery.EXTENSION_SUFFIXES:\n filename = EXTENSIONS.name + ext\n file_path = os.path.join(path, filename)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "EXTENSIONS.filename", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "EXTENSIONS.filename = None\nEXTENSIONS.file_path = None\nEXTENSIONS.name = '_testcapi'\ndef _extension_details():\n global EXTENSIONS\n for path in sys.path:\n for ext in machinery.EXTENSION_SUFFIXES:\n filename = EXTENSIONS.name + ext\n file_path = os.path.join(path, filename)\n if os.path.exists(file_path):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "EXTENSIONS.file_path", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "EXTENSIONS.file_path = None\nEXTENSIONS.name = '_testcapi'\ndef _extension_details():\n global EXTENSIONS\n for path in sys.path:\n for ext in machinery.EXTENSION_SUFFIXES:\n filename = EXTENSIONS.name + ext\n file_path = os.path.join(path, filename)\n if os.path.exists(file_path):\n EXTENSIONS.path = path", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "EXTENSIONS.name", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "EXTENSIONS.name = '_testcapi'\ndef _extension_details():\n global EXTENSIONS\n for path in sys.path:\n for ext in machinery.EXTENSION_SUFFIXES:\n filename = EXTENSIONS.name + ext\n file_path = os.path.join(path, filename)\n if os.path.exists(file_path):\n EXTENSIONS.path = path\n EXTENSIONS.ext = ext", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "CASE_INSENSITIVE_FS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "CASE_INSENSITIVE_FS = True\n# Windows is the only OS that is *always* case-insensitive\n# (OS X *can* be case-sensitive).\nif sys.platform not in ('win32', 'cygwin'):\n changed_name = __file__.upper()\n if changed_name == __file__:\n changed_name = __file__.lower()\n if not os.path.exists(changed_name):\n CASE_INSENSITIVE_FS = False\nsource_importlib = import_importlib('importlib')['Source']", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "source_importlib", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "source_importlib = import_importlib('importlib')['Source']\n__import__ = {'Frozen': staticmethod(builtins.__import__),\n 'Source': staticmethod(source_importlib.__import__)}\ndef case_insensitive_tests(test):\n \"\"\"Class decorator that nullifies tests requiring a case-insensitive\n file system.\"\"\"\n return unittest.skipIf(not CASE_INSENSITIVE_FS,\n \"requires a case-insensitive filesystem\")(test)\ndef submodule(parent, name, pkg_dir, content=''):\n path = os.path.join(pkg_dir, name + '.py')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "__import__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "peekOfCode": "__import__ = {'Frozen': staticmethod(builtins.__import__),\n 'Source': staticmethod(source_importlib.__import__)}\ndef case_insensitive_tests(test):\n \"\"\"Class decorator that nullifies tests requiring a case-insensitive\n file system.\"\"\"\n return unittest.skipIf(not CASE_INSENSITIVE_FS,\n \"requires a case-insensitive filesystem\")(test)\ndef submodule(parent, name, pkg_dir, content=''):\n path = os.path.join(pkg_dir, name + '.py')\n with open(path, 'w', encoding='utf-8') as subfile:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_importlib.util", "documentation": {} }, { "label": "FunctionalTestCaseMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.functional", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.functional", "peekOfCode": "class FunctionalTestCaseMixin:\n def new_loop(self):\n return asyncio.new_event_loop()\n def run_loop_briefly(self, *, delay=0.01):\n self.loop.run_until_complete(asyncio.sleep(delay))\n def loop_exception_handler(self, loop, context):\n self.__unhandled_exceptions.append(context)\n self.loop.default_exception_handler(context)\n def setUp(self):\n self.loop = self.new_loop()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.functional", "documentation": {} }, { "label": "TestSocketWrapper", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.functional", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.functional", "peekOfCode": "class TestSocketWrapper:\n def __init__(self, sock):\n self.__sock = sock\n def recv_all(self, n):\n buf = b''\n while len(buf) < n:\n data = self.recv(n - len(buf))\n if data == b'':\n raise ConnectionAbortedError\n buf += data", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.functional", "documentation": {} }, { "label": "SocketThread", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.functional", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.functional", "peekOfCode": "class SocketThread(threading.Thread):\n def stop(self):\n self._active = False\n self.join()\n def __enter__(self):\n self.start()\n return self\n def __exit__(self, *exc):\n self.stop()\nclass TestThreadedClient(SocketThread):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.functional", "documentation": {} }, { "label": "TestThreadedClient", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.functional", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.functional", "peekOfCode": "class TestThreadedClient(SocketThread):\n def __init__(self, test, sock, prog, timeout):\n threading.Thread.__init__(self, None, None, 'test-client')\n self.daemon = True\n self._timeout = timeout\n self._sock = sock\n self._active = True\n self._prog = prog\n self._test = test\n def run(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.functional", "documentation": {} }, { "label": "TestThreadedServer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.functional", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.functional", "peekOfCode": "class TestThreadedServer(SocketThread):\n def __init__(self, test, sock, prog, timeout, max_clients):\n threading.Thread.__init__(self, None, None, 'test-server')\n self.daemon = True\n self._clients = 0\n self._finished_clients = 0\n self._max_clients = max_clients\n self._timeout = timeout\n self._sock = sock\n self._active = True", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.functional", "documentation": {} }, { "label": "BaseEventTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "peekOfCode": "class BaseEventTests(test_utils.TestCase):\n def test_ipaddr_info(self):\n UNSPEC = socket.AF_UNSPEC\n INET = socket.AF_INET\n INET6 = socket.AF_INET6\n STREAM = socket.SOCK_STREAM\n DGRAM = socket.SOCK_DGRAM\n TCP = socket.IPPROTO_TCP\n UDP = socket.IPPROTO_UDP\n self.assertEqual(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "documentation": {} }, { "label": "BaseEventLoopTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "peekOfCode": "class BaseEventLoopTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = base_events.BaseEventLoop()\n self.loop._selector = mock.Mock()\n self.loop._selector.select.return_value = ()\n self.set_event_loop(self.loop)\n def test_not_implemented(self):\n m = mock.Mock()\n self.assertRaises(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "documentation": {} }, { "label": "MyProto", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "peekOfCode": "class MyProto(asyncio.Protocol):\n done = None\n def __init__(self, create_future=False):\n self.state = 'INITIAL'\n self.nbytes = 0\n if create_future:\n self.done = asyncio.get_running_loop().create_future()\n def _assert_state(self, *expected):\n if self.state not in expected:\n raise AssertionError(f'state: {self.state!r}, expected: {expected!r}')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "documentation": {} }, { "label": "MyDatagramProto", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "peekOfCode": "class MyDatagramProto(asyncio.DatagramProtocol):\n done = None\n def __init__(self, create_future=False, loop=None):\n self.state = 'INITIAL'\n self.nbytes = 0\n if create_future:\n self.done = loop.create_future()\n def _assert_state(self, expected):\n if self.state != expected:\n raise AssertionError(f'state: {self.state!r}, expected: {expected!r}')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "documentation": {} }, { "label": "BaseEventLoopWithSelectorTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "peekOfCode": "class BaseEventLoopWithSelectorTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = asyncio.SelectorEventLoop()\n self.set_event_loop(self.loop)\n @mock.patch('socket.getnameinfo')\n def test_getnameinfo(self, m_gai):\n m_gai.side_effect = lambda *args: 42\n r = self.loop.run_until_complete(self.loop.getnameinfo(('abc', 123)))\n self.assertEqual(r, 42)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "documentation": {} }, { "label": "RunningLoopTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "peekOfCode": "class RunningLoopTests(unittest.TestCase):\n def test_running_loop_within_a_loop(self):\n async def runner(loop):\n loop.run_forever()\n loop = asyncio.new_event_loop()\n outer_loop = asyncio.new_event_loop()\n try:\n with self.assertRaisesRegex(RuntimeError,\n 'while another loop is running'):\n outer_loop.run_until_complete(runner(loop))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "documentation": {} }, { "label": "BaseLoopSockSendfileTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "peekOfCode": "class BaseLoopSockSendfileTests(test_utils.TestCase):\n DATA = b\"12345abcde\" * 16 * 1024 # 160 KiB\n class MyProto(asyncio.Protocol):\n def __init__(self, loop):\n self.started = False\n self.closed = False\n self.data = bytearray()\n self.fut = loop.create_future()\n self.transport = None\n def connection_made(self, transport):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "documentation": {} }, { "label": "TestSelectorUtils", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "peekOfCode": "class TestSelectorUtils(test_utils.TestCase):\n def check_set_nodelay(self, sock):\n opt = sock.getsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY)\n self.assertFalse(opt)\n base_events._set_nodelay(sock)\n opt = sock.getsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY)\n self.assertTrue(opt)\n @unittest.skipUnless(hasattr(socket, 'TCP_NODELAY'),\n 'need socket.TCP_NODELAY')\n def test_set_nodelay(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\ndef mock_socket_module():\n m_socket = mock.MagicMock(spec=socket)\n for name in (\n 'AF_INET', 'AF_INET6', 'AF_UNSPEC', 'IPPROTO_TCP', 'IPPROTO_UDP',\n 'SOCK_STREAM', 'SOCK_DGRAM', 'SOL_SOCKET', 'SO_REUSEADDR', 'inet_pton'\n ):\n if hasattr(socket, name):\n setattr(m_socket, name, getattr(socket, name))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "documentation": {} }, { "label": "mock_socket_module", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "peekOfCode": "def mock_socket_module():\n m_socket = mock.MagicMock(spec=socket)\n for name in (\n 'AF_INET', 'AF_INET6', 'AF_UNSPEC', 'IPPROTO_TCP', 'IPPROTO_UDP',\n 'SOCK_STREAM', 'SOCK_DGRAM', 'SOL_SOCKET', 'SO_REUSEADDR', 'inet_pton'\n ):\n if hasattr(socket, name):\n setattr(m_socket, name, getattr(socket, name))\n else:\n delattr(m_socket, name)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "documentation": {} }, { "label": "patch_socket", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "peekOfCode": "def patch_socket(f):\n return mock.patch('asyncio.base_events.socket',\n new_callable=mock_socket_module)(f)\nclass BaseEventTests(test_utils.TestCase):\n def test_ipaddr_info(self):\n UNSPEC = socket.AF_UNSPEC\n INET = socket.AF_INET\n INET6 = socket.AF_INET6\n STREAM = socket.SOCK_STREAM\n DGRAM = socket.SOCK_DGRAM", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "documentation": {} }, { "label": "MOCK_ANY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "peekOfCode": "MOCK_ANY = mock.ANY\nPY34 = sys.version_info >= (3, 4)\ndef tearDownModule():\n asyncio.set_event_loop_policy(None)\ndef mock_socket_module():\n m_socket = mock.MagicMock(spec=socket)\n for name in (\n 'AF_INET', 'AF_INET6', 'AF_UNSPEC', 'IPPROTO_TCP', 'IPPROTO_UDP',\n 'SOCK_STREAM', 'SOCK_DGRAM', 'SOL_SOCKET', 'SO_REUSEADDR', 'inet_pton'\n ):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "documentation": {} }, { "label": "PY34", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "peekOfCode": "PY34 = sys.version_info >= (3, 4)\ndef tearDownModule():\n asyncio.set_event_loop_policy(None)\ndef mock_socket_module():\n m_socket = mock.MagicMock(spec=socket)\n for name in (\n 'AF_INET', 'AF_INET6', 'AF_UNSPEC', 'IPPROTO_TCP', 'IPPROTO_UDP',\n 'SOCK_STREAM', 'SOCK_DGRAM', 'SOL_SOCKET', 'SO_REUSEADDR', 'inet_pton'\n ):\n if hasattr(socket, name):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_base_events", "documentation": {} }, { "label": "ReceiveStuffProto", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_buffered_proto", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_buffered_proto", "peekOfCode": "class ReceiveStuffProto(asyncio.BufferedProtocol):\n def __init__(self, cb, con_lost_fut):\n self.cb = cb\n self.con_lost_fut = con_lost_fut\n def get_buffer(self, sizehint):\n self.buffer = bytearray(100)\n return self.buffer\n def buffer_updated(self, nbytes):\n self.cb(self.buffer[:nbytes])\n def connection_lost(self, exc):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_buffered_proto", "documentation": {} }, { "label": "BaseTestBufferedProtocol", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_buffered_proto", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_buffered_proto", "peekOfCode": "class BaseTestBufferedProtocol(func_tests.FunctionalTestCaseMixin):\n def new_loop(self):\n raise NotImplementedError\n def test_buffered_proto_create_connection(self):\n NOISE = b'12345678+' * 1024\n async def client(addr):\n data = b''\n def on_buf(buf):\n nonlocal data\n data += buf", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_buffered_proto", "documentation": {} }, { "label": "BufferedProtocolSelectorTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_buffered_proto", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_buffered_proto", "peekOfCode": "class BufferedProtocolSelectorTests(BaseTestBufferedProtocol,\n unittest.TestCase):\n def new_loop(self):\n return asyncio.SelectorEventLoop()\n@unittest.skipUnless(hasattr(asyncio, 'ProactorEventLoop'), 'Windows only')\nclass BufferedProtocolProactorTests(BaseTestBufferedProtocol,\n unittest.TestCase):\n def new_loop(self):\n return asyncio.ProactorEventLoop()\nif __name__ == '__main__':", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_buffered_proto", "documentation": {} }, { "label": "BufferedProtocolProactorTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_buffered_proto", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_buffered_proto", "peekOfCode": "class BufferedProtocolProactorTests(BaseTestBufferedProtocol,\n unittest.TestCase):\n def new_loop(self):\n return asyncio.ProactorEventLoop()\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_buffered_proto", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_buffered_proto", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_buffered_proto", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass ReceiveStuffProto(asyncio.BufferedProtocol):\n def __init__(self, cb, con_lost_fut):\n self.cb = cb\n self.con_lost_fut = con_lost_fut\n def get_buffer(self, sizehint):\n self.buffer = bytearray(100)\n return self.buffer\n def buffer_updated(self, nbytes):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_buffered_proto", "documentation": {} }, { "label": "DecimalContextTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_context", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_context", "peekOfCode": "class DecimalContextTest(unittest.TestCase):\n def test_asyncio_task_decimal_context(self):\n async def fractions(t, precision, x, y):\n with decimal.localcontext() as ctx:\n ctx.prec = precision\n a = decimal.Decimal(x) / decimal.Decimal(y)\n await asyncio.sleep(t)\n b = decimal.Decimal(x) / decimal.Decimal(y ** 2)\n return a, b\n async def main():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_context", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_context", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_context", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\n@unittest.skipUnless(decimal.HAVE_CONTEXTVAR, \"decimal is built with a thread-local context\")\nclass DecimalContextTest(unittest.TestCase):\n def test_asyncio_task_decimal_context(self):\n async def fractions(t, precision, x, y):\n with decimal.localcontext() as ctx:\n ctx.prec = precision\n a = decimal.Decimal(x) / decimal.Decimal(y)\n await asyncio.sleep(t)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_context", "documentation": {} }, { "label": "CoroLike", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "class CoroLike:\n def send(self, v):\n pass\n def throw(self, *exc):\n pass\n def close(self):\n pass\n def __await__(self):\n pass\nclass MyBaseProto(asyncio.Protocol):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "MyBaseProto", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "class MyBaseProto(asyncio.Protocol):\n connected = None\n done = None\n def __init__(self, loop=None):\n self.transport = None\n self.state = 'INITIAL'\n self.nbytes = 0\n if loop is not None:\n self.connected = loop.create_future()\n self.done = loop.create_future()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "MyProto", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "class MyProto(MyBaseProto):\n def connection_made(self, transport):\n super().connection_made(transport)\n transport.write(b'GET / HTTP/1.0\\r\\nHost: example.com\\r\\n\\r\\n')\nclass MyDatagramProto(asyncio.DatagramProtocol):\n done = None\n def __init__(self, loop=None):\n self.state = 'INITIAL'\n self.nbytes = 0\n if loop is not None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "MyDatagramProto", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "class MyDatagramProto(asyncio.DatagramProtocol):\n done = None\n def __init__(self, loop=None):\n self.state = 'INITIAL'\n self.nbytes = 0\n if loop is not None:\n self.done = loop.create_future()\n def _assert_state(self, expected):\n if self.state != expected:\n raise AssertionError(f'state: {self.state!r}, expected: {expected!r}')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "MyReadPipeProto", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "class MyReadPipeProto(asyncio.Protocol):\n done = None\n def __init__(self, loop=None):\n self.state = ['INITIAL']\n self.nbytes = 0\n self.transport = None\n if loop is not None:\n self.done = loop.create_future()\n def _assert_state(self, expected):\n if self.state != expected:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "MyWritePipeProto", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "class MyWritePipeProto(asyncio.BaseProtocol):\n done = None\n def __init__(self, loop=None):\n self.state = 'INITIAL'\n self.transport = None\n if loop is not None:\n self.done = loop.create_future()\n def _assert_state(self, expected):\n if self.state != expected:\n raise AssertionError(f'state: {self.state!r}, expected: {expected!r}')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "MySubprocessProtocol", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "class MySubprocessProtocol(asyncio.SubprocessProtocol):\n def __init__(self, loop):\n self.state = 'INITIAL'\n self.transport = None\n self.connected = loop.create_future()\n self.completed = loop.create_future()\n self.disconnects = {fd: loop.create_future() for fd in range(3)}\n self.data = {1: b'', 2: b''}\n self.returncode = None\n self.got_data = {1: asyncio.Event(),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "EventLoopTestsMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "class EventLoopTestsMixin:\n def setUp(self):\n super().setUp()\n self.loop = self.create_event_loop()\n self.set_event_loop(self.loop)\n def tearDown(self):\n # just in case if we have transport close callbacks\n if not self.loop.is_closed():\n test_utils.run_briefly(self.loop)\n self.doCleanups()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "SubprocessTestsMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "class SubprocessTestsMixin:\n def check_terminated(self, returncode):\n if sys.platform == 'win32':\n self.assertIsInstance(returncode, int)\n # expect 1 but sometimes get 0\n else:\n self.assertEqual(-signal.SIGTERM, returncode)\n def check_killed(self, returncode):\n if sys.platform == 'win32':\n self.assertIsInstance(returncode, int)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "HandleTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "class HandleTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = mock.Mock()\n self.loop.get_debug.return_value = True\n def test_handle(self):\n def callback(*args):\n return args\n args = ()\n h = asyncio.Handle(callback, args, self.loop)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "TimerTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "class TimerTests(unittest.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = mock.Mock()\n def test_hash(self):\n when = time.monotonic()\n h = asyncio.TimerHandle(when, lambda: False, (),\n mock.Mock())\n self.assertEqual(hash(h), hash(when))\n def test_when(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "AbstractEventLoopTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "class AbstractEventLoopTests(unittest.TestCase):\n def test_not_implemented(self):\n f = mock.Mock()\n loop = asyncio.AbstractEventLoop()\n self.assertRaises(\n NotImplementedError, loop.run_forever)\n self.assertRaises(\n NotImplementedError, loop.run_until_complete, None)\n self.assertRaises(\n NotImplementedError, loop.stop)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "PolicyTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "class PolicyTests(unittest.TestCase):\n def test_event_loop_policy(self):\n policy = asyncio.AbstractEventLoopPolicy()\n self.assertRaises(NotImplementedError, policy.get_event_loop)\n self.assertRaises(NotImplementedError, policy.set_event_loop, object())\n self.assertRaises(NotImplementedError, policy.new_event_loop)\n self.assertRaises(NotImplementedError, policy.get_child_watcher)\n self.assertRaises(NotImplementedError, policy.set_child_watcher,\n object())\n def test_get_event_loop(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "GetEventLoopTestsMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "class GetEventLoopTestsMixin:\n _get_running_loop_impl = None\n _set_running_loop_impl = None\n get_running_loop_impl = None\n get_event_loop_impl = None\n def setUp(self):\n self._get_running_loop_saved = events._get_running_loop\n self._set_running_loop_saved = events._set_running_loop\n self.get_running_loop_saved = events.get_running_loop\n self.get_event_loop_saved = events.get_event_loop", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "TestPyGetEventLoop", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "class TestPyGetEventLoop(GetEventLoopTestsMixin, unittest.TestCase):\n _get_running_loop_impl = events._py__get_running_loop\n _set_running_loop_impl = events._py__set_running_loop\n get_running_loop_impl = events._py_get_running_loop\n get_event_loop_impl = events._py_get_event_loop\ntry:\n import _asyncio # NoQA\nexcept ImportError:\n pass\nelse:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "TestServer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "class TestServer(unittest.TestCase):\n def test_get_loop(self):\n loop = asyncio.new_event_loop()\n self.addCleanup(loop.close)\n proto = MyProto(loop)\n server = loop.run_until_complete(loop.create_server(lambda: proto, '0.0.0.0', 0))\n self.assertEqual(server.get_loop(), loop)\n server.close()\n loop.run_until_complete(server.wait_closed())\nclass TestAbstractServer(unittest.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "TestAbstractServer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "class TestAbstractServer(unittest.TestCase):\n def test_close(self):\n with self.assertRaises(NotImplementedError):\n events.AbstractServer().close()\n def test_wait_closed(self):\n loop = asyncio.new_event_loop()\n self.addCleanup(loop.close)\n with self.assertRaises(NotImplementedError):\n loop.run_until_complete(events.AbstractServer().wait_closed())\n def test_get_loop(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\ndef broken_unix_getsockname():\n \"\"\"Return True if the platform is Mac OS 10.4 or older.\"\"\"\n if sys.platform.startswith(\"aix\"):\n return True\n elif sys.platform != 'darwin':\n return False\n version = platform.mac_ver()[0]\n version = tuple(map(int, version.split('.')))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "broken_unix_getsockname", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "def broken_unix_getsockname():\n \"\"\"Return True if the platform is Mac OS 10.4 or older.\"\"\"\n if sys.platform.startswith(\"aix\"):\n return True\n elif sys.platform != 'darwin':\n return False\n version = platform.mac_ver()[0]\n version = tuple(map(int, version.split('.')))\n return version < (10, 5)\ndef _test_get_event_loop_new_process__sub_proc():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "noop", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "peekOfCode": "def noop(*args, **kwargs):\n pass\nclass HandleTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = mock.Mock()\n self.loop.get_debug.return_value = True\n def test_handle(self):\n def callback(*args):\n return args", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_events", "documentation": {} }, { "label": "DuckFuture", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "peekOfCode": "class DuckFuture:\n # Class that does not inherit from Future but aims to be duck-type\n # compatible with it.\n _asyncio_future_blocking = False\n __cancelled = False\n __result = None\n __exception = None\n def cancel(self):\n if self.done():\n return False", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "documentation": {} }, { "label": "DuckTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "peekOfCode": "class DuckTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()\n self.addCleanup(self.loop.close)\n def test_wrap_future(self):\n f = DuckFuture()\n g = asyncio.wrap_future(f)\n self.assertIs(g, f)\n def test_ensure_future(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "documentation": {} }, { "label": "BaseFutureTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "peekOfCode": "class BaseFutureTests:\n def _new_future(self, *args, **kwargs):\n return self.cls(*args, **kwargs)\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()\n self.addCleanup(self.loop.close)\n def test_generic_alias(self):\n future = self.cls[str]\n self.assertEqual(future.__args__, (str,))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "documentation": {} }, { "label": "CFutureTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "peekOfCode": "class CFutureTests(BaseFutureTests, test_utils.TestCase):\n try:\n cls = futures._CFuture\n except AttributeError:\n cls = None\n def test_future_del_segfault(self):\n fut = self._new_future(loop=self.loop)\n with self.assertRaises(AttributeError):\n del fut._asyncio_future_blocking\n with self.assertRaises(AttributeError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "documentation": {} }, { "label": "CSubFutureTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "peekOfCode": "class CSubFutureTests(BaseFutureTests, test_utils.TestCase):\n try:\n class CSubFuture(futures._CFuture):\n pass\n cls = CSubFuture\n except AttributeError:\n cls = None\nclass PyFutureTests(BaseFutureTests, test_utils.TestCase):\n cls = futures._PyFuture\nclass BaseFutureDoneCallbackTests():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "documentation": {} }, { "label": "PyFutureTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "peekOfCode": "class PyFutureTests(BaseFutureTests, test_utils.TestCase):\n cls = futures._PyFuture\nclass BaseFutureDoneCallbackTests():\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()\n def run_briefly(self):\n test_utils.run_briefly(self.loop)\n def _make_callback(self, bag, thing):\n # Create a callback function that appends thing to bag.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "documentation": {} }, { "label": "BaseFutureDoneCallbackTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "peekOfCode": "class BaseFutureDoneCallbackTests():\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()\n def run_briefly(self):\n test_utils.run_briefly(self.loop)\n def _make_callback(self, bag, thing):\n # Create a callback function that appends thing to bag.\n def bag_appender(future):\n bag.append(thing)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "documentation": {} }, { "label": "CFutureDoneCallbackTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "peekOfCode": "class CFutureDoneCallbackTests(BaseFutureDoneCallbackTests,\n test_utils.TestCase):\n def _new_future(self):\n return futures._CFuture(loop=self.loop)\n@unittest.skipUnless(hasattr(futures, '_CFuture'),\n 'requires the C _asyncio module')\nclass CSubFutureDoneCallbackTests(BaseFutureDoneCallbackTests,\n test_utils.TestCase):\n def _new_future(self):\n class CSubFuture(futures._CFuture):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "documentation": {} }, { "label": "CSubFutureDoneCallbackTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "peekOfCode": "class CSubFutureDoneCallbackTests(BaseFutureDoneCallbackTests,\n test_utils.TestCase):\n def _new_future(self):\n class CSubFuture(futures._CFuture):\n pass\n return CSubFuture(loop=self.loop)\nclass PyFutureDoneCallbackTests(BaseFutureDoneCallbackTests,\n test_utils.TestCase):\n def _new_future(self):\n return futures._PyFuture(loop=self.loop)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "documentation": {} }, { "label": "PyFutureDoneCallbackTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "peekOfCode": "class PyFutureDoneCallbackTests(BaseFutureDoneCallbackTests,\n test_utils.TestCase):\n def _new_future(self):\n return futures._PyFuture(loop=self.loop)\nclass BaseFutureInheritanceTests:\n def _get_future_cls(self):\n raise NotImplementedError\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "documentation": {} }, { "label": "BaseFutureInheritanceTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "peekOfCode": "class BaseFutureInheritanceTests:\n def _get_future_cls(self):\n raise NotImplementedError\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()\n self.addCleanup(self.loop.close)\n def test_inherit_without_calling_super_init(self):\n # See https://bugs.python.org/issue38785 for the context\n cls = self._get_future_cls()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "documentation": {} }, { "label": "PyFutureInheritanceTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "peekOfCode": "class PyFutureInheritanceTests(BaseFutureInheritanceTests,\n test_utils.TestCase):\n def _get_future_cls(self):\n return futures._PyFuture\n@unittest.skipUnless(hasattr(futures, '_CFuture'),\n 'requires the C _asyncio module')\nclass CFutureInheritanceTests(BaseFutureInheritanceTests,\n test_utils.TestCase):\n def _get_future_cls(self):\n return futures._CFuture", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "documentation": {} }, { "label": "CFutureInheritanceTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "peekOfCode": "class CFutureInheritanceTests(BaseFutureInheritanceTests,\n test_utils.TestCase):\n def _get_future_cls(self):\n return futures._CFuture\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\ndef _fakefunc(f):\n return f\ndef first_cb():\n pass\ndef last_cb():\n pass\nclass DuckFuture:\n # Class that does not inherit from Future but aims to be duck-type", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "documentation": {} }, { "label": "first_cb", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "peekOfCode": "def first_cb():\n pass\ndef last_cb():\n pass\nclass DuckFuture:\n # Class that does not inherit from Future but aims to be duck-type\n # compatible with it.\n _asyncio_future_blocking = False\n __cancelled = False\n __result = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "documentation": {} }, { "label": "last_cb", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "peekOfCode": "def last_cb():\n pass\nclass DuckFuture:\n # Class that does not inherit from Future but aims to be duck-type\n # compatible with it.\n _asyncio_future_blocking = False\n __cancelled = False\n __result = None\n __exception = None\n def cancel(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures", "documentation": {} }, { "label": "FutureTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures2", "peekOfCode": "class FutureTests(unittest.IsolatedAsyncioTestCase):\n async def test_recursive_repr_for_pending_tasks(self):\n # The call crashes if the guard for recursive call\n # in base_futures:_future_repr_info is absent\n # See Also: https://bugs.python.org/issue42183\n async def func():\n return asyncio.all_tasks()\n # The repr() call should not raise RecursiveError at first.\n # The check for returned string is not very reliable but\n # exact comparison for the whole string is even weaker.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures2", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures2", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass FutureTests(unittest.IsolatedAsyncioTestCase):\n async def test_recursive_repr_for_pending_tasks(self):\n # The call crashes if the guard for recursive call\n # in base_futures:_future_repr_info is absent\n # See Also: https://bugs.python.org/issue42183\n async def func():\n return asyncio.all_tasks()\n # The repr() call should not raise RecursiveError at first.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_futures2", "documentation": {} }, { "label": "LockTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "peekOfCode": "class LockTests(unittest.IsolatedAsyncioTestCase):\n async def test_repr(self):\n lock = asyncio.Lock()\n self.assertTrue(repr(lock).endswith('[unlocked]>'))\n self.assertTrue(RGX_REPR.match(repr(lock)))\n await lock.acquire()\n self.assertTrue(repr(lock).endswith('[locked]>'))\n self.assertTrue(RGX_REPR.match(repr(lock)))\n async def test_lock(self):\n lock = asyncio.Lock()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "documentation": {} }, { "label": "EventTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "peekOfCode": "class EventTests(unittest.IsolatedAsyncioTestCase):\n def test_repr(self):\n ev = asyncio.Event()\n self.assertTrue(repr(ev).endswith('[unset]>'))\n match = RGX_REPR.match(repr(ev))\n self.assertEqual(match.group('extras'), 'unset')\n ev.set()\n self.assertTrue(repr(ev).endswith('[set]>'))\n self.assertTrue(RGX_REPR.match(repr(ev)))\n ev._waiters.append(mock.Mock())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "documentation": {} }, { "label": "ConditionTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "peekOfCode": "class ConditionTests(unittest.IsolatedAsyncioTestCase):\n async def test_wait(self):\n cond = asyncio.Condition()\n result = []\n async def c1(result):\n await cond.acquire()\n if await cond.wait():\n result.append(1)\n return True\n async def c2(result):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "documentation": {} }, { "label": "SemaphoreTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "peekOfCode": "class SemaphoreTests(unittest.IsolatedAsyncioTestCase):\n def test_initial_value_zero(self):\n sem = asyncio.Semaphore(0)\n self.assertTrue(sem.locked())\n async def test_repr(self):\n sem = asyncio.Semaphore()\n self.assertTrue(repr(sem).endswith('[unlocked, value:1]>'))\n self.assertTrue(RGX_REPR.match(repr(sem)))\n await sem.acquire()\n self.assertTrue(repr(sem).endswith('[locked]>'))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass LockTests(unittest.IsolatedAsyncioTestCase):\n async def test_repr(self):\n lock = asyncio.Lock()\n self.assertTrue(repr(lock).endswith('[unlocked]>'))\n self.assertTrue(RGX_REPR.match(repr(lock)))\n await lock.acquire()\n self.assertTrue(repr(lock).endswith('[locked]>'))\n self.assertTrue(RGX_REPR.match(repr(lock)))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "documentation": {} }, { "label": "STR_RGX_REPR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "peekOfCode": "STR_RGX_REPR = (\n r'^<(?P.*?) object at (?P
    .*?)'\n r'\\[(?P'\n r'(set|unset|locked|unlocked)(, value:\\d)?(, waiters:\\d+)?'\n r')\\]>\\Z'\n)\nRGX_REPR = re.compile(STR_RGX_REPR)\ndef tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass LockTests(unittest.IsolatedAsyncioTestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "documentation": {} }, { "label": "RGX_REPR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "peekOfCode": "RGX_REPR = re.compile(STR_RGX_REPR)\ndef tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass LockTests(unittest.IsolatedAsyncioTestCase):\n async def test_repr(self):\n lock = asyncio.Lock()\n self.assertTrue(repr(lock).endswith('[unlocked]>'))\n self.assertTrue(RGX_REPR.match(repr(lock)))\n await lock.acquire()\n self.assertTrue(repr(lock).endswith('[locked]>'))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_locks", "documentation": {} }, { "label": "FakeCoro", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_pep492", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_pep492", "peekOfCode": "class FakeCoro:\n def send(self, value):\n pass\n def throw(self, typ, val=None, tb=None):\n pass\n def close(self):\n pass\n def __await__(self):\n yield\nclass BaseTest(test_utils.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_pep492", "documentation": {} }, { "label": "BaseTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_pep492", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_pep492", "peekOfCode": "class BaseTest(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = asyncio.BaseEventLoop()\n self.loop._process_events = mock.Mock()\n self.loop._selector = mock.Mock()\n self.loop._selector.select.return_value = ()\n self.set_event_loop(self.loop)\nclass LockTests(BaseTest):\n def test_context_manager_async_with(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_pep492", "documentation": {} }, { "label": "LockTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_pep492", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_pep492", "peekOfCode": "class LockTests(BaseTest):\n def test_context_manager_async_with(self):\n primitives = [\n asyncio.Lock(),\n asyncio.Condition(),\n asyncio.Semaphore(),\n asyncio.BoundedSemaphore(),\n ]\n async def test(lock):\n await asyncio.sleep(0.01)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_pep492", "documentation": {} }, { "label": "StreamReaderTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_pep492", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_pep492", "peekOfCode": "class StreamReaderTests(BaseTest):\n def test_readline(self):\n DATA = b'line1\\nline2\\nline3'\n stream = asyncio.StreamReader(loop=self.loop)\n stream.feed_data(DATA)\n stream.feed_eof()\n async def reader():\n data = []\n async for line in stream:\n data.append(line)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_pep492", "documentation": {} }, { "label": "CoroutineTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_pep492", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_pep492", "peekOfCode": "class CoroutineTests(BaseTest):\n def test_iscoroutine(self):\n async def foo(): pass\n f = foo()\n try:\n self.assertTrue(asyncio.iscoroutine(f))\n finally:\n f.close() # silence warning\n self.assertTrue(asyncio.iscoroutine(FakeCoro()))\n def test_iscoroutinefunction(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_pep492", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_pep492", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_pep492", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\n# Test that asyncio.iscoroutine() uses collections.abc.Coroutine\nclass FakeCoro:\n def send(self, value):\n pass\n def throw(self, typ, val=None, tb=None):\n pass\n def close(self):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_pep492", "documentation": {} }, { "label": "ProactorSocketTransportTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_proactor_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_proactor_events", "peekOfCode": "class ProactorSocketTransportTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()\n self.addCleanup(self.loop.close)\n self.proactor = mock.Mock()\n self.loop._proactor = self.proactor\n self.protocol = test_utils.make_test_protocol(asyncio.Protocol)\n self.sock = mock.Mock(socket.socket)\n self.buffer_size = 65536", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_proactor_events", "documentation": {} }, { "label": "ProactorDatagramTransportTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_proactor_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_proactor_events", "peekOfCode": "class ProactorDatagramTransportTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()\n self.proactor = mock.Mock()\n self.loop._proactor = self.proactor\n self.protocol = test_utils.make_test_protocol(asyncio.DatagramProtocol)\n self.sock = mock.Mock(spec_set=socket.socket)\n self.sock.fileno.return_value = 7\n def datagram_transport(self, address=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_proactor_events", "documentation": {} }, { "label": "BaseProactorEventLoopTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_proactor_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_proactor_events", "peekOfCode": "class BaseProactorEventLoopTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.sock = test_utils.mock_nonblocking_socket()\n self.proactor = mock.Mock()\n self.ssock, self.csock = mock.Mock(), mock.Mock()\n with mock.patch('asyncio.proactor_events.socket.socketpair',\n return_value=(self.ssock, self.csock)):\n with mock.patch('signal.set_wakeup_fd'):\n self.loop = BaseProactorEventLoop(self.proactor)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_proactor_events", "documentation": {} }, { "label": "ProactorEventLoopUnixSockSendfileTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_proactor_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_proactor_events", "peekOfCode": "class ProactorEventLoopUnixSockSendfileTests(test_utils.TestCase):\n DATA = b\"12345abcde\" * 16 * 1024 # 160 KiB\n class MyProto(asyncio.Protocol):\n def __init__(self, loop):\n self.started = False\n self.closed = False\n self.data = bytearray()\n self.fut = loop.create_future()\n self.transport = None\n def connection_made(self, transport):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_proactor_events", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_proactor_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_proactor_events", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\ndef close_transport(transport):\n # Don't call transport.close() because the event loop and the IOCP proactor\n # are mocked\n if transport._sock is None:\n return\n transport._sock.close()\n transport._sock = None\nclass ProactorSocketTransportTests(test_utils.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_proactor_events", "documentation": {} }, { "label": "close_transport", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_proactor_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_proactor_events", "peekOfCode": "def close_transport(transport):\n # Don't call transport.close() because the event loop and the IOCP proactor\n # are mocked\n if transport._sock is None:\n return\n transport._sock.close()\n transport._sock = None\nclass ProactorSocketTransportTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_proactor_events", "documentation": {} }, { "label": "ProtocolsAbsTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_protocols", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_protocols", "peekOfCode": "class ProtocolsAbsTests(unittest.TestCase):\n def test_base_protocol(self):\n f = mock.Mock()\n p = asyncio.BaseProtocol()\n self.assertIsNone(p.connection_made(f))\n self.assertIsNone(p.connection_lost(f))\n self.assertIsNone(p.pause_writing())\n self.assertIsNone(p.resume_writing())\n self.assertFalse(hasattr(p, '__dict__'))\n def test_protocol(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_protocols", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_protocols", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_protocols", "peekOfCode": "def tearDownModule():\n # not needed for the test file but added for uniformness with all other\n # asyncio test files for the sake of unified cleanup\n asyncio.set_event_loop_policy(None)\nclass ProtocolsAbsTests(unittest.TestCase):\n def test_base_protocol(self):\n f = mock.Mock()\n p = asyncio.BaseProtocol()\n self.assertIsNone(p.connection_made(f))\n self.assertIsNone(p.connection_lost(f))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_protocols", "documentation": {} }, { "label": "_QueueTestBase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "peekOfCode": "class _QueueTestBase(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()\nclass QueueBasicTests(_QueueTestBase):\n def _test_repr_or_str(self, fn, expect_id):\n \"\"\"Test Queue's repr or str.\n fn is repr or str. expect_id is True if we expect the Queue's id to\n appear in fn(Queue()).\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "documentation": {} }, { "label": "QueueBasicTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "peekOfCode": "class QueueBasicTests(_QueueTestBase):\n def _test_repr_or_str(self, fn, expect_id):\n \"\"\"Test Queue's repr or str.\n fn is repr or str. expect_id is True if we expect the Queue's id to\n appear in fn(Queue()).\n \"\"\"\n def gen():\n when = yield\n self.assertAlmostEqual(0.1, when)\n when = yield 0.1", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "documentation": {} }, { "label": "QueueGetTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "peekOfCode": "class QueueGetTests(_QueueTestBase):\n def test_blocking_get(self):\n q = asyncio.Queue()\n q.put_nowait(1)\n async def queue_get():\n return await q.get()\n res = self.loop.run_until_complete(queue_get())\n self.assertEqual(1, res)\n def test_get_with_putters(self):\n q = asyncio.Queue(1)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "documentation": {} }, { "label": "QueuePutTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "peekOfCode": "class QueuePutTests(_QueueTestBase):\n def test_blocking_put(self):\n q = asyncio.Queue()\n async def queue_put():\n # No maxsize, won't block.\n await q.put(1)\n self.loop.run_until_complete(queue_put())\n def test_blocking_put_wait(self):\n def gen():\n when = yield", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "documentation": {} }, { "label": "LifoQueueTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "peekOfCode": "class LifoQueueTests(_QueueTestBase):\n def test_order(self):\n q = asyncio.LifoQueue()\n for i in [1, 3, 2]:\n q.put_nowait(i)\n items = [q.get_nowait() for _ in range(3)]\n self.assertEqual([2, 3, 1], items)\nclass PriorityQueueTests(_QueueTestBase):\n def test_order(self):\n q = asyncio.PriorityQueue()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "documentation": {} }, { "label": "PriorityQueueTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "peekOfCode": "class PriorityQueueTests(_QueueTestBase):\n def test_order(self):\n q = asyncio.PriorityQueue()\n for i in [1, 3, 2]:\n q.put_nowait(i)\n items = [q.get_nowait() for _ in range(3)]\n self.assertEqual([1, 2, 3], items)\nclass _QueueJoinTestMixin:\n q_class = None\n def test_task_done_underflow(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "documentation": {} }, { "label": "_QueueJoinTestMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "peekOfCode": "class _QueueJoinTestMixin:\n q_class = None\n def test_task_done_underflow(self):\n q = self.q_class()\n self.assertRaises(ValueError, q.task_done)\n def test_task_done(self):\n q = self.q_class()\n for i in range(100):\n q.put_nowait(i)\n accumulator = 0", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "documentation": {} }, { "label": "QueueJoinTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "peekOfCode": "class QueueJoinTests(_QueueJoinTestMixin, _QueueTestBase):\n q_class = asyncio.Queue\nclass LifoQueueJoinTests(_QueueJoinTestMixin, _QueueTestBase):\n q_class = asyncio.LifoQueue\nclass PriorityQueueJoinTests(_QueueJoinTestMixin, _QueueTestBase):\n q_class = asyncio.PriorityQueue\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "documentation": {} }, { "label": "LifoQueueJoinTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "peekOfCode": "class LifoQueueJoinTests(_QueueJoinTestMixin, _QueueTestBase):\n q_class = asyncio.LifoQueue\nclass PriorityQueueJoinTests(_QueueJoinTestMixin, _QueueTestBase):\n q_class = asyncio.PriorityQueue\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "documentation": {} }, { "label": "PriorityQueueJoinTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "peekOfCode": "class PriorityQueueJoinTests(_QueueJoinTestMixin, _QueueTestBase):\n q_class = asyncio.PriorityQueue\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass _QueueTestBase(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()\nclass QueueBasicTests(_QueueTestBase):\n def _test_repr_or_str(self, fn, expect_id):\n \"\"\"Test Queue's repr or str.\n fn is repr or str. expect_id is True if we expect the Queue's id to", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_queues", "documentation": {} }, { "label": "TestPolicy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_runners", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_runners", "peekOfCode": "class TestPolicy(asyncio.AbstractEventLoopPolicy):\n def __init__(self, loop_factory):\n self.loop_factory = loop_factory\n self.loop = None\n def get_event_loop(self):\n # shouldn't ever be called by asyncio.run()\n raise RuntimeError\n def new_event_loop(self):\n return self.loop_factory()\n def set_event_loop(self, loop):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_runners", "documentation": {} }, { "label": "BaseTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_runners", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_runners", "peekOfCode": "class BaseTest(unittest.TestCase):\n def new_loop(self):\n loop = asyncio.BaseEventLoop()\n loop._process_events = mock.Mock()\n loop._selector = mock.Mock()\n loop._selector.select.return_value = ()\n loop.shutdown_ag_run = False\n async def shutdown_asyncgens():\n loop.shutdown_ag_run = True\n loop.shutdown_asyncgens = shutdown_asyncgens", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_runners", "documentation": {} }, { "label": "RunTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_runners", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_runners", "peekOfCode": "class RunTests(BaseTest):\n def test_asyncio_run_return(self):\n async def main():\n await asyncio.sleep(0)\n return 42\n self.assertEqual(asyncio.run(main()), 42)\n def test_asyncio_run_raises(self):\n async def main():\n await asyncio.sleep(0)\n raise ValueError('spam')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_runners", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_runners", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_runners", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass TestPolicy(asyncio.AbstractEventLoopPolicy):\n def __init__(self, loop_factory):\n self.loop_factory = loop_factory\n self.loop = None\n def get_event_loop(self):\n # shouldn't ever be called by asyncio.run()\n raise RuntimeError\n def new_event_loop(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_runners", "documentation": {} }, { "label": "TestBaseSelectorEventLoop", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "peekOfCode": "class TestBaseSelectorEventLoop(BaseSelectorEventLoop):\n def _make_self_pipe(self):\n self._ssock = mock.Mock()\n self._csock = mock.Mock()\n self._internal_fds += 1\n def _close_self_pipe(self):\n pass\ndef list_to_buffer(l=()):\n return bytearray().join(l)\ndef close_transport(transport):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "documentation": {} }, { "label": "BaseSelectorEventLoopTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "peekOfCode": "class BaseSelectorEventLoopTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.selector = mock.Mock()\n self.selector.select.return_value = []\n self.loop = TestBaseSelectorEventLoop(self.selector)\n self.set_event_loop(self.loop)\n def test_make_socket_transport(self):\n m = mock.Mock()\n self.loop.add_reader = mock.Mock()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "documentation": {} }, { "label": "SelectorTransportTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "peekOfCode": "class SelectorTransportTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()\n self.protocol = test_utils.make_test_protocol(asyncio.Protocol)\n self.sock = mock.Mock(socket.socket)\n self.sock.fileno.return_value = 7\n def create_transport(self):\n transport = _SelectorTransport(self.loop, self.sock, self.protocol,\n None)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "documentation": {} }, { "label": "SelectorSocketTransportTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "peekOfCode": "class SelectorSocketTransportTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()\n self.protocol = test_utils.make_test_protocol(asyncio.Protocol)\n self.sock = mock.Mock(socket.socket)\n self.sock_fd = self.sock.fileno.return_value = 7\n def socket_transport(self, waiter=None):\n transport = _SelectorSocketTransport(self.loop, self.sock,\n self.protocol, waiter=waiter)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "documentation": {} }, { "label": "SelectorSocketTransportBufferedProtocolTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "peekOfCode": "class SelectorSocketTransportBufferedProtocolTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()\n self.protocol = test_utils.make_test_protocol(asyncio.BufferedProtocol)\n self.buf = bytearray(1)\n self.protocol.get_buffer.side_effect = lambda hint: self.buf\n self.sock = mock.Mock(socket.socket)\n self.sock_fd = self.sock.fileno.return_value = 7\n def socket_transport(self, waiter=None):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "documentation": {} }, { "label": "SelectorDatagramTransportTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "peekOfCode": "class SelectorDatagramTransportTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()\n self.protocol = test_utils.make_test_protocol(asyncio.DatagramProtocol)\n self.sock = mock.Mock(spec_set=socket.socket)\n self.sock.fileno.return_value = 7\n def datagram_transport(self, address=None):\n self.sock.getpeername.side_effect = None if address else OSError\n transport = _SelectorDatagramTransport(self.loop, self.sock,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass TestBaseSelectorEventLoop(BaseSelectorEventLoop):\n def _make_self_pipe(self):\n self._ssock = mock.Mock()\n self._csock = mock.Mock()\n self._internal_fds += 1\n def _close_self_pipe(self):\n pass\ndef list_to_buffer(l=()):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "documentation": {} }, { "label": "list_to_buffer", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "peekOfCode": "def list_to_buffer(l=()):\n return bytearray().join(l)\ndef close_transport(transport):\n # Don't call transport.close() because the event loop and the selector\n # are mocked\n if transport._sock is None:\n return\n transport._sock.close()\n transport._sock = None\nclass BaseSelectorEventLoopTests(test_utils.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "documentation": {} }, { "label": "close_transport", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "peekOfCode": "def close_transport(transport):\n # Don't call transport.close() because the event loop and the selector\n # are mocked\n if transport._sock is None:\n return\n transport._sock.close()\n transport._sock = None\nclass BaseSelectorEventLoopTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "documentation": {} }, { "label": "MOCK_ANY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "peekOfCode": "MOCK_ANY = mock.ANY\ndef tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass TestBaseSelectorEventLoop(BaseSelectorEventLoop):\n def _make_self_pipe(self):\n self._ssock = mock.Mock()\n self._csock = mock.Mock()\n self._internal_fds += 1\n def _close_self_pipe(self):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_selector_events", "documentation": {} }, { "label": "MySendfileProto", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "peekOfCode": "class MySendfileProto(asyncio.Protocol):\n def __init__(self, loop=None, close_after=0):\n self.transport = None\n self.state = 'INITIAL'\n self.nbytes = 0\n if loop is not None:\n self.connected = loop.create_future()\n self.done = loop.create_future()\n self.data = bytearray()\n self.close_after = close_after", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "documentation": {} }, { "label": "MyProto", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "peekOfCode": "class MyProto(asyncio.Protocol):\n def __init__(self, loop):\n self.started = False\n self.closed = False\n self.data = bytearray()\n self.fut = loop.create_future()\n self.transport = None\n def connection_made(self, transport):\n self.started = True\n self.transport = transport", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "documentation": {} }, { "label": "SendfileBase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "peekOfCode": "class SendfileBase:\n # 256 KiB plus small unaligned to buffer chunk\n # Newer versions of Windows seems to have increased its internal \n # buffer and tries to send as much of the data as it can as it \n # has some form of buffering for this which is less than 256KiB\n # on newer server versions and Windows 11.\n # So DATA should be larger than 256 KiB to make this test reliable.\n DATA = b\"x\" * (1024 * 256 + 1)\n # Reduce socket buffer size to test on relative small data sets.\n BUF_SIZE = 4 * 1024 # 4 KiB", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "documentation": {} }, { "label": "SockSendfileMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "peekOfCode": "class SockSendfileMixin(SendfileBase):\n @classmethod\n def setUpClass(cls):\n cls.__old_bufsize = constants.SENDFILE_FALLBACK_READBUFFER_SIZE\n constants.SENDFILE_FALLBACK_READBUFFER_SIZE = 1024 * 16\n super().setUpClass()\n @classmethod\n def tearDownClass(cls):\n constants.SENDFILE_FALLBACK_READBUFFER_SIZE = cls.__old_bufsize\n super().tearDownClass()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "documentation": {} }, { "label": "SendfileMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "peekOfCode": "class SendfileMixin(SendfileBase):\n # Note: sendfile via SSL transport is equal to sendfile fallback\n def prepare_sendfile(self, *, is_ssl=False, close_after=0):\n port = socket_helper.find_unused_port()\n srv_proto = MySendfileProto(loop=self.loop,\n close_after=close_after)\n if is_ssl:\n if not ssl:\n self.skipTest(\"No ssl module\")\n srv_ctx = test_utils.simple_server_sslcontext()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "documentation": {} }, { "label": "SendfileTestsBase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "peekOfCode": "class SendfileTestsBase(SendfileMixin, SockSendfileMixin):\n pass\nif sys.platform == 'win32':\n class SelectEventLoopTests(SendfileTestsBase,\n test_utils.TestCase):\n def create_event_loop(self):\n return asyncio.SelectorEventLoop()\n class ProactorEventLoopTests(SendfileTestsBase,\n test_utils.TestCase):\n def create_event_loop(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass MySendfileProto(asyncio.Protocol):\n def __init__(self, loop=None, close_after=0):\n self.transport = None\n self.state = 'INITIAL'\n self.nbytes = 0\n if loop is not None:\n self.connected = loop.create_future()\n self.done = loop.create_future()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sendfile", "documentation": {} }, { "label": "BaseStartServer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_server", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_server", "peekOfCode": "class BaseStartServer(func_tests.FunctionalTestCaseMixin):\n def new_loop(self):\n raise NotImplementedError\n def test_start_server_1(self):\n HELLO_MSG = b'1' * 1024 * 5 + b'\\n'\n def client(sock, addr):\n for i in range(10):\n time.sleep(0.2)\n if srv.is_serving():\n break", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_server", "documentation": {} }, { "label": "SelectorStartServerTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_server", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_server", "peekOfCode": "class SelectorStartServerTests(BaseStartServer, unittest.TestCase):\n def new_loop(self):\n return asyncio.SelectorEventLoop()\n @socket_helper.skip_unless_bind_unix_socket\n def test_start_unix_server_1(self):\n HELLO_MSG = b'1' * 1024 * 5 + b'\\n'\n started = threading.Event()\n def client(sock, addr):\n sock.settimeout(2)\n started.wait(5)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_server", "documentation": {} }, { "label": "ProactorStartServerTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_server", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_server", "peekOfCode": "class ProactorStartServerTests(BaseStartServer, unittest.TestCase):\n def new_loop(self):\n return asyncio.ProactorEventLoop()\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_server", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_server", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_server", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass BaseStartServer(func_tests.FunctionalTestCaseMixin):\n def new_loop(self):\n raise NotImplementedError\n def test_start_server_1(self):\n HELLO_MSG = b'1' * 1024 * 5 + b'\\n'\n def client(sock, addr):\n for i in range(10):\n time.sleep(0.2)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_server", "documentation": {} }, { "label": "MyProto", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sock_lowlevel", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sock_lowlevel", "peekOfCode": "class MyProto(asyncio.Protocol):\n connected = None\n done = None\n def __init__(self, loop=None):\n self.transport = None\n self.state = 'INITIAL'\n self.nbytes = 0\n if loop is not None:\n self.connected = loop.create_future()\n self.done = loop.create_future()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sock_lowlevel", "documentation": {} }, { "label": "BaseSockTestsMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sock_lowlevel", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sock_lowlevel", "peekOfCode": "class BaseSockTestsMixin:\n def create_event_loop(self):\n raise NotImplementedError\n def setUp(self):\n self.loop = self.create_event_loop()\n self.set_event_loop(self.loop)\n super().setUp()\n def tearDown(self):\n # just in case if we have transport close callbacks\n if not self.loop.is_closed():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sock_lowlevel", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sock_lowlevel", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sock_lowlevel", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass MyProto(asyncio.Protocol):\n connected = None\n done = None\n def __init__(self, loop=None):\n self.transport = None\n self.state = 'INITIAL'\n self.nbytes = 0\n if loop is not None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sock_lowlevel", "documentation": {} }, { "label": "SslProtoHandshakeTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sslproto", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sslproto", "peekOfCode": "class SslProtoHandshakeTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = asyncio.new_event_loop()\n self.set_event_loop(self.loop)\n def ssl_protocol(self, *, waiter=None, proto=None):\n sslcontext = test_utils.dummy_ssl_context()\n if proto is None: # app protocol\n proto = asyncio.Protocol()\n ssl_proto = sslproto.SSLProtocol(self.loop, proto, sslcontext, waiter,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sslproto", "documentation": {} }, { "label": "BaseStartTLS", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sslproto", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sslproto", "peekOfCode": "class BaseStartTLS(func_tests.FunctionalTestCaseMixin):\n PAYLOAD_SIZE = 1024 * 100\n TIMEOUT = support.LONG_TIMEOUT\n def new_loop(self):\n raise NotImplementedError\n def test_buf_feed_data(self):\n class Proto(asyncio.BufferedProtocol):\n def __init__(self, bufsize, usemv):\n self.buf = bytearray(bufsize)\n self.mv = memoryview(self.buf)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sslproto", "documentation": {} }, { "label": "SelectorStartTLSTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sslproto", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sslproto", "peekOfCode": "class SelectorStartTLSTests(BaseStartTLS, unittest.TestCase):\n def new_loop(self):\n return asyncio.SelectorEventLoop()\n@unittest.skipIf(ssl is None, 'No ssl module')\n@unittest.skipUnless(hasattr(asyncio, 'ProactorEventLoop'), 'Windows only')\nclass ProactorStartTLSTests(BaseStartTLS, unittest.TestCase):\n def new_loop(self):\n return asyncio.ProactorEventLoop()\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sslproto", "documentation": {} }, { "label": "ProactorStartTLSTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sslproto", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sslproto", "peekOfCode": "class ProactorStartTLSTests(BaseStartTLS, unittest.TestCase):\n def new_loop(self):\n return asyncio.ProactorEventLoop()\nif __name__ == '__main__':\n unittest.main()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sslproto", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sslproto", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sslproto", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\n@unittest.skipIf(ssl is None, 'No ssl module')\nclass SslProtoHandshakeTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = asyncio.new_event_loop()\n self.set_event_loop(self.loop)\n def ssl_protocol(self, *, waiter=None, proto=None):\n sslcontext = test_utils.dummy_ssl_context()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_sslproto", "documentation": {} }, { "label": "StreamTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_streams", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_streams", "peekOfCode": "class StreamTests(test_utils.TestCase):\n DATA = b'line1\\nline2\\nline3\\n'\n def setUp(self):\n super().setUp()\n self.loop = asyncio.new_event_loop()\n self.set_event_loop(self.loop)\n def tearDown(self):\n # just in case if we have transport close callbacks\n test_utils.run_briefly(self.loop)\n self.loop.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_streams", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_streams", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_streams", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass StreamTests(test_utils.TestCase):\n DATA = b'line1\\nline2\\nline3\\n'\n def setUp(self):\n super().setUp()\n self.loop = asyncio.new_event_loop()\n self.set_event_loop(self.loop)\n def tearDown(self):\n # just in case if we have transport close callbacks", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_streams", "documentation": {} }, { "label": "fd", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_streams", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_streams", "peekOfCode": "fd = int(sys.argv[1])\nos.write(fd, b'data')\nos.close(fd)\n\"\"\"\n rfd, wfd = os.pipe()\n args = [sys.executable, '-c', code, str(wfd)]\n pipe = open(rfd, 'rb', 0)\n reader = asyncio.StreamReader(loop=self.loop, limit=1)\n protocol = asyncio.StreamReaderProtocol(reader, loop=self.loop)\n transport, _ = self.loop.run_until_complete(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_streams", "documentation": {} }, { "label": "TestSubprocessTransport", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "peekOfCode": "class TestSubprocessTransport(base_subprocess.BaseSubprocessTransport):\n def _start(self, *args, **kwargs):\n self._proc = mock.Mock()\n self._proc.stdin = None\n self._proc.stdout = None\n self._proc.stderr = None\n self._proc.pid = -1\nclass SubprocessTransportTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "documentation": {} }, { "label": "SubprocessTransportTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "peekOfCode": "class SubprocessTransportTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()\n self.set_event_loop(self.loop)\n def create_transport(self, waiter=None):\n protocol = mock.Mock()\n protocol.connection_made._is_coroutine = False\n protocol.process_exited._is_coroutine = False\n transport = TestSubprocessTransport(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "documentation": {} }, { "label": "SubprocessMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "peekOfCode": "class SubprocessMixin:\n def test_stdin_stdout(self):\n args = PROGRAM_CAT\n async def run(data):\n proc = await asyncio.create_subprocess_exec(\n *args,\n stdin=subprocess.PIPE,\n stdout=subprocess.PIPE,\n )\n # feed data", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "documentation": {} }, { "label": "GenericWatcherTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "peekOfCode": "class GenericWatcherTests:\n def test_create_subprocess_fails_with_inactive_watcher(self):\n async def execute():\n watcher = mock.create_authspec(asyncio.AbstractChildWatcher)\n watcher.is_active.return_value = False\n asyncio.set_child_watcher(watcher)\n with self.assertRaises(RuntimeError):\n await subprocess.create_subprocess_exec(\n os_helper.FakePath(sys.executable), '-c', 'pass')\n watcher.add_child_handler.assert_not_called()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass TestSubprocessTransport(base_subprocess.BaseSubprocessTransport):\n def _start(self, *args, **kwargs):\n self._proc = mock.Mock()\n self._proc.stdin = None\n self._proc.stdout = None\n self._proc.stderr = None\n self._proc.pid = -1\nclass SubprocessTransportTests(test_utils.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "documentation": {} }, { "label": "PROGRAM_BLOCKED", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "peekOfCode": "PROGRAM_BLOCKED = [sys.executable, '-c', 'import time; time.sleep(3600)']\n# Program copying input to output\nPROGRAM_CAT = [\n sys.executable, '-c',\n ';'.join(('import sys',\n 'data = sys.stdin.buffer.read()',\n 'sys.stdout.buffer.write(data)'))]\ndef tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass TestSubprocessTransport(base_subprocess.BaseSubprocessTransport):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "documentation": {} }, { "label": "PROGRAM_CAT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "peekOfCode": "PROGRAM_CAT = [\n sys.executable, '-c',\n ';'.join(('import sys',\n 'data = sys.stdin.buffer.read()',\n 'sys.stdout.buffer.write(data)'))]\ndef tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass TestSubprocessTransport(base_subprocess.BaseSubprocessTransport):\n def _start(self, *args, **kwargs):\n self._proc = mock.Mock()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_subprocess", "documentation": {} }, { "label": "Dummy", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class Dummy:\n def __repr__(self):\n return ''\n def __call__(self, *args):\n pass\nclass CoroLikeObject:\n def send(self, v):\n raise StopIteration(42)\n def throw(self, *exc):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "CoroLikeObject", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class CoroLikeObject:\n def send(self, v):\n raise StopIteration(42)\n def throw(self, *exc):\n pass\n def close(self):\n pass\n def __await__(self):\n return self\nclass BaseTaskTests:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "BaseTaskTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class BaseTaskTests:\n Task = None\n Future = None\n def new_task(self, loop, coro, name='TestTask'):\n return self.__class__.Task(coro, loop=loop, name=name)\n def new_future(self, loop):\n return self.__class__.Future(loop=loop)\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "SetMethodsTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class SetMethodsTest:\n def test_set_result_causes_invalid_state(self):\n Future = type(self).Future\n self.loop.call_exception_handler = exc_handler = mock.Mock()\n async def foo():\n await asyncio.sleep(0.1)\n return 10\n coro = foo()\n task = self.new_task(self.loop, coro)\n Future.set_result(task, 'spam')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "CTask_CFuture_Tests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class CTask_CFuture_Tests(BaseTaskTests, SetMethodsTest,\n test_utils.TestCase):\n Task = getattr(tasks, '_CTask', None)\n Future = getattr(futures, '_CFuture', None)\n @support.refcount_test\n def test_refleaks_in_task___init__(self):\n gettotalrefcount = support.get_attribute(sys, 'gettotalrefcount')\n async def coro():\n pass\n task = self.new_task(self.loop, coro())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "CTask_CFuture_SubclassTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class CTask_CFuture_SubclassTests(BaseTaskTests, test_utils.TestCase):\n Task = getattr(tasks, '_CTask', None)\n Future = getattr(futures, '_CFuture', None)\n@unittest.skipUnless(hasattr(tasks, '_CTask'),\n 'requires the C _asyncio module')\n@add_subclass_tests\nclass CTaskSubclass_PyFuture_Tests(BaseTaskTests, test_utils.TestCase):\n Task = getattr(tasks, '_CTask', None)\n Future = futures._PyFuture\n@unittest.skipUnless(hasattr(futures, '_CFuture'),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "CTaskSubclass_PyFuture_Tests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class CTaskSubclass_PyFuture_Tests(BaseTaskTests, test_utils.TestCase):\n Task = getattr(tasks, '_CTask', None)\n Future = futures._PyFuture\n@unittest.skipUnless(hasattr(futures, '_CFuture'),\n 'requires the C _asyncio module')\n@add_subclass_tests\nclass PyTask_CFutureSubclass_Tests(BaseTaskTests, test_utils.TestCase):\n Future = getattr(futures, '_CFuture', None)\n Task = tasks._PyTask\n@unittest.skipUnless(hasattr(tasks, '_CTask'),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "PyTask_CFutureSubclass_Tests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class PyTask_CFutureSubclass_Tests(BaseTaskTests, test_utils.TestCase):\n Future = getattr(futures, '_CFuture', None)\n Task = tasks._PyTask\n@unittest.skipUnless(hasattr(tasks, '_CTask'),\n 'requires the C _asyncio module')\nclass CTask_PyFuture_Tests(BaseTaskTests, test_utils.TestCase):\n Task = getattr(tasks, '_CTask', None)\n Future = futures._PyFuture\n@unittest.skipUnless(hasattr(futures, '_CFuture'),\n 'requires the C _asyncio module')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "CTask_PyFuture_Tests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class CTask_PyFuture_Tests(BaseTaskTests, test_utils.TestCase):\n Task = getattr(tasks, '_CTask', None)\n Future = futures._PyFuture\n@unittest.skipUnless(hasattr(futures, '_CFuture'),\n 'requires the C _asyncio module')\nclass PyTask_CFuture_Tests(BaseTaskTests, test_utils.TestCase):\n Task = tasks._PyTask\n Future = getattr(futures, '_CFuture', None)\nclass PyTask_PyFuture_Tests(BaseTaskTests, SetMethodsTest,\n test_utils.TestCase):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "PyTask_CFuture_Tests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class PyTask_CFuture_Tests(BaseTaskTests, test_utils.TestCase):\n Task = tasks._PyTask\n Future = getattr(futures, '_CFuture', None)\nclass PyTask_PyFuture_Tests(BaseTaskTests, SetMethodsTest,\n test_utils.TestCase):\n Task = tasks._PyTask\n Future = futures._PyFuture\n@add_subclass_tests\nclass PyTask_PyFuture_SubclassTests(BaseTaskTests, test_utils.TestCase):\n Task = tasks._PyTask", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "PyTask_PyFuture_Tests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class PyTask_PyFuture_Tests(BaseTaskTests, SetMethodsTest,\n test_utils.TestCase):\n Task = tasks._PyTask\n Future = futures._PyFuture\n@add_subclass_tests\nclass PyTask_PyFuture_SubclassTests(BaseTaskTests, test_utils.TestCase):\n Task = tasks._PyTask\n Future = futures._PyFuture\n@unittest.skipUnless(hasattr(tasks, '_CTask'),\n 'requires the C _asyncio module')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "PyTask_PyFuture_SubclassTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class PyTask_PyFuture_SubclassTests(BaseTaskTests, test_utils.TestCase):\n Task = tasks._PyTask\n Future = futures._PyFuture\n@unittest.skipUnless(hasattr(tasks, '_CTask'),\n 'requires the C _asyncio module')\nclass CTask_Future_Tests(test_utils.TestCase):\n def test_foobar(self):\n class Fut(asyncio.Future):\n @property\n def get_loop(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "CTask_Future_Tests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class CTask_Future_Tests(test_utils.TestCase):\n def test_foobar(self):\n class Fut(asyncio.Future):\n @property\n def get_loop(self):\n raise AttributeError\n async def coro():\n await fut\n return 'spam'\n self.loop = asyncio.new_event_loop()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "BaseTaskIntrospectionTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class BaseTaskIntrospectionTests:\n _register_task = None\n _unregister_task = None\n _enter_task = None\n _leave_task = None\n def test__register_task_1(self):\n class TaskLike:\n @property\n def _loop(self):\n return loop", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "PyIntrospectionTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class PyIntrospectionTests(test_utils.TestCase, BaseTaskIntrospectionTests):\n _register_task = staticmethod(tasks._py_register_task)\n _unregister_task = staticmethod(tasks._py_unregister_task)\n _enter_task = staticmethod(tasks._py_enter_task)\n _leave_task = staticmethod(tasks._py_leave_task)\n@unittest.skipUnless(hasattr(tasks, '_c_register_task'),\n 'requires the C _asyncio module')\nclass CIntrospectionTests(test_utils.TestCase, BaseTaskIntrospectionTests):\n if hasattr(tasks, '_c_register_task'):\n _register_task = staticmethod(tasks._c_register_task)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "CIntrospectionTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class CIntrospectionTests(test_utils.TestCase, BaseTaskIntrospectionTests):\n if hasattr(tasks, '_c_register_task'):\n _register_task = staticmethod(tasks._c_register_task)\n _unregister_task = staticmethod(tasks._c_unregister_task)\n _enter_task = staticmethod(tasks._c_enter_task)\n _leave_task = staticmethod(tasks._c_leave_task)\n else:\n _register_task = _unregister_task = _enter_task = _leave_task = None\nclass BaseCurrentLoopTests:\n def setUp(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "BaseCurrentLoopTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class BaseCurrentLoopTests:\n def setUp(self):\n super().setUp()\n self.loop = asyncio.new_event_loop()\n self.set_event_loop(self.loop)\n def new_task(self, coro):\n raise NotImplementedError\n def test_current_task_no_running_loop(self):\n self.assertIsNone(asyncio.current_task(loop=self.loop))\n def test_current_task_no_running_loop_implicit(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "PyCurrentLoopTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class PyCurrentLoopTests(BaseCurrentLoopTests, test_utils.TestCase):\n def new_task(self, coro):\n return tasks._PyTask(coro, loop=self.loop)\n@unittest.skipUnless(hasattr(tasks, '_CTask'),\n 'requires the C _asyncio module')\nclass CCurrentLoopTests(BaseCurrentLoopTests, test_utils.TestCase):\n def new_task(self, coro):\n return getattr(tasks, '_CTask')(coro, loop=self.loop)\nclass GenericTaskTests(test_utils.TestCase):\n def test_future_subclass(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "CCurrentLoopTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class CCurrentLoopTests(BaseCurrentLoopTests, test_utils.TestCase):\n def new_task(self, coro):\n return getattr(tasks, '_CTask')(coro, loop=self.loop)\nclass GenericTaskTests(test_utils.TestCase):\n def test_future_subclass(self):\n self.assertTrue(issubclass(asyncio.Task, asyncio.Future))\n @support.cpython_only\n def test_asyncio_module_compiled(self):\n # Because of circular imports it's easy to make _asyncio\n # module non-importable. This is a simple test that will", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "GenericTaskTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class GenericTaskTests(test_utils.TestCase):\n def test_future_subclass(self):\n self.assertTrue(issubclass(asyncio.Task, asyncio.Future))\n @support.cpython_only\n def test_asyncio_module_compiled(self):\n # Because of circular imports it's easy to make _asyncio\n # module non-importable. This is a simple test that will\n # fail on systems where C modules were successfully compiled\n # (hence the test for _functools etc), but _asyncio somehow didn't.\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "GatherTestsBase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class GatherTestsBase:\n def setUp(self):\n super().setUp()\n self.one_loop = self.new_test_loop()\n self.other_loop = self.new_test_loop()\n self.set_event_loop(self.one_loop, cleanup=False)\n def _run_loop(self, loop):\n while loop._ready:\n test_utils.run_briefly(loop)\n def _check_success(self, **kwargs):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "FutureGatherTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class FutureGatherTests(GatherTestsBase, test_utils.TestCase):\n def wrap_futures(self, *futures):\n return futures\n def _gather(self, *args, **kwargs):\n return asyncio.gather(*args, **kwargs)\n def test_constructor_empty_sequence_without_loop(self):\n with self.assertWarns(DeprecationWarning) as cm:\n with self.assertRaises(RuntimeError):\n asyncio.gather()\n self.assertEqual(cm.warnings[0].filename, __file__)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "CoroutineGatherTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class CoroutineGatherTests(GatherTestsBase, test_utils.TestCase):\n def wrap_futures(self, *futures):\n coros = []\n for fut in futures:\n async def coro(fut=fut):\n return await fut\n coros.append(coro())\n return coros\n def _gather(self, *args, **kwargs):\n async def coro():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "RunCoroutineThreadsafeTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class RunCoroutineThreadsafeTests(test_utils.TestCase):\n \"\"\"Test case for asyncio.run_coroutine_threadsafe.\"\"\"\n def setUp(self):\n super().setUp()\n self.loop = asyncio.new_event_loop()\n self.set_event_loop(self.loop) # Will cleanup properly\n async def add(self, a, b, fail=False, cancel=False):\n \"\"\"Wait 0.05 second and return a + b.\"\"\"\n await asyncio.sleep(0.05)\n if fail:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "SleepTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class SleepTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = asyncio.new_event_loop()\n self.set_event_loop(self.loop)\n def tearDown(self):\n self.loop.close()\n self.loop = None\n super().tearDown()\n def test_sleep_zero(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "WaitTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class WaitTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = asyncio.new_event_loop()\n self.set_event_loop(self.loop)\n def tearDown(self):\n self.loop.close()\n self.loop = None\n super().tearDown()\n def test_coro_is_deprecated_in_wait(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "CompatibilityTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "class CompatibilityTests(test_utils.TestCase):\n # Tests for checking a bridge between old-styled coroutines\n # and async/await syntax\n def setUp(self):\n super().setUp()\n self.loop = asyncio.new_event_loop()\n self.set_event_loop(self.loop)\n def tearDown(self):\n self.loop.close()\n self.loop = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\nasync def coroutine_function():\n pass\n@contextlib.contextmanager\ndef set_coroutine_debug(enabled):\n coroutines = asyncio.coroutines\n old_debug = coroutines._DEBUG\n try:\n coroutines._DEBUG = enabled", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "set_coroutine_debug", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "def set_coroutine_debug(enabled):\n coroutines = asyncio.coroutines\n old_debug = coroutines._DEBUG\n try:\n coroutines._DEBUG = enabled\n yield\n finally:\n coroutines._DEBUG = old_debug\ndef format_coroutine(qualname, state, src, source_traceback, generator=False):\n if generator:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "format_coroutine", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "def format_coroutine(qualname, state, src, source_traceback, generator=False):\n if generator:\n state = '%s' % state\n else:\n state = '%s, defined' % state\n if source_traceback is not None:\n frame = source_traceback[-1]\n return ('coro=<%s() %s at %s> created at %s:%s'\n % (qualname, state, src, frame[0], frame[1]))\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "get_innermost_context", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "def get_innermost_context(exc):\n \"\"\"\n Return information about the innermost exception context in the chain.\n \"\"\"\n depth = 0\n while True:\n context = exc.__context__\n if context is None:\n break\n exc = context", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "add_subclass_tests", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "peekOfCode": "def add_subclass_tests(cls):\n BaseTask = cls.Task\n BaseFuture = cls.Future\n if BaseTask is None or BaseFuture is None:\n return cls\n class CommonFuture:\n def __init__(self, *args, **kwargs):\n self.calls = collections.defaultdict(lambda: 0)\n super().__init__(*args, **kwargs)\n def add_done_callback(self, *args, **kwargs):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_tasks", "documentation": {} }, { "label": "ToThreadTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_threads", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_threads", "peekOfCode": "class ToThreadTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = asyncio.new_event_loop()\n asyncio.set_event_loop(self.loop)\n def tearDown(self):\n self.loop.run_until_complete(\n self.loop.shutdown_default_executor())\n self.loop.close()\n asyncio.set_event_loop(None)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_threads", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_threads", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_threads", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass ToThreadTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = asyncio.new_event_loop()\n asyncio.set_event_loop(self.loop)\n def tearDown(self):\n self.loop.run_until_complete(\n self.loop.shutdown_default_executor())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_threads", "documentation": {} }, { "label": "TransportTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_transports", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_transports", "peekOfCode": "class TransportTests(unittest.TestCase):\n def test_ctor_extra_is_none(self):\n transport = asyncio.Transport()\n self.assertEqual(transport._extra, {})\n def test_get_extra_info(self):\n transport = asyncio.Transport({'extra': 'info'})\n self.assertEqual('info', transport.get_extra_info('extra'))\n self.assertIsNone(transport.get_extra_info('unknown'))\n default = object()\n self.assertIs(default, transport.get_extra_info('unknown', default))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_transports", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_transports", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_transports", "peekOfCode": "def tearDownModule():\n # not needed for the test file but added for uniformness with all other\n # asyncio test files for the sake of unified cleanup\n asyncio.set_event_loop_policy(None)\nclass TransportTests(unittest.TestCase):\n def test_ctor_extra_is_none(self):\n transport = asyncio.Transport()\n self.assertEqual(transport._extra, {})\n def test_get_extra_info(self):\n transport = asyncio.Transport({'extra': 'info'})", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_transports", "documentation": {} }, { "label": "SelectorEventLoopSignalTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "peekOfCode": "class SelectorEventLoopSignalTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = asyncio.SelectorEventLoop()\n self.set_event_loop(self.loop)\n def test_check_signal(self):\n self.assertRaises(\n TypeError, self.loop._check_signal, '1')\n self.assertRaises(\n ValueError, self.loop._check_signal, signal.NSIG + 1)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "documentation": {} }, { "label": "SelectorEventLoopUnixSocketTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "peekOfCode": "class SelectorEventLoopUnixSocketTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = asyncio.SelectorEventLoop()\n self.set_event_loop(self.loop)\n @socket_helper.skip_unless_bind_unix_socket\n def test_create_unix_server_existing_path_sock(self):\n with test_utils.unix_socket_path() as path:\n sock = socket.socket(socket.AF_UNIX)\n sock.bind(path)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "documentation": {} }, { "label": "SelectorEventLoopUnixSockSendfileTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "peekOfCode": "class SelectorEventLoopUnixSockSendfileTests(test_utils.TestCase):\n DATA = b\"12345abcde\" * 16 * 1024 # 160 KiB\n class MyProto(asyncio.Protocol):\n def __init__(self, loop):\n self.started = False\n self.closed = False\n self.data = bytearray()\n self.fut = loop.create_future()\n self.transport = None\n self._ready = loop.create_future()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "documentation": {} }, { "label": "UnixReadPipeTransportTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "peekOfCode": "class UnixReadPipeTransportTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()\n self.protocol = test_utils.make_test_protocol(asyncio.Protocol)\n self.pipe = mock.Mock(spec_set=io.RawIOBase)\n self.pipe.fileno.return_value = 5\n blocking_patcher = mock.patch('os.set_blocking')\n blocking_patcher.start()\n self.addCleanup(blocking_patcher.stop)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "documentation": {} }, { "label": "UnixWritePipeTransportTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "peekOfCode": "class UnixWritePipeTransportTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()\n self.protocol = test_utils.make_test_protocol(asyncio.BaseProtocol)\n self.pipe = mock.Mock(spec_set=io.RawIOBase)\n self.pipe.fileno.return_value = 5\n blocking_patcher = mock.patch('os.set_blocking')\n blocking_patcher.start()\n self.addCleanup(blocking_patcher.stop)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "documentation": {} }, { "label": "AbstractChildWatcherTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "peekOfCode": "class AbstractChildWatcherTests(unittest.TestCase):\n def test_not_implemented(self):\n f = mock.Mock()\n watcher = asyncio.AbstractChildWatcher()\n self.assertRaises(\n NotImplementedError, watcher.add_child_handler, f, f)\n self.assertRaises(\n NotImplementedError, watcher.remove_child_handler, f)\n self.assertRaises(\n NotImplementedError, watcher.attach_loop, f)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "documentation": {} }, { "label": "BaseChildWatcherTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "peekOfCode": "class BaseChildWatcherTests(unittest.TestCase):\n def test_not_implemented(self):\n f = mock.Mock()\n watcher = unix_events.BaseChildWatcher()\n self.assertRaises(\n NotImplementedError, watcher._do_waitpid, f)\nclass ChildWatcherTestsMixin:\n ignore_warnings = mock.patch.object(log.logger, \"warning\")\n def setUp(self):\n super().setUp()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "documentation": {} }, { "label": "ChildWatcherTestsMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "peekOfCode": "class ChildWatcherTestsMixin:\n ignore_warnings = mock.patch.object(log.logger, \"warning\")\n def setUp(self):\n super().setUp()\n self.loop = self.new_test_loop()\n self.running = False\n self.zombies = {}\n with mock.patch.object(\n self.loop, \"add_signal_handler\") as self.m_add_signal_handler:\n self.watcher = self.create_watcher()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "documentation": {} }, { "label": "SafeChildWatcherTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "peekOfCode": "class SafeChildWatcherTests (ChildWatcherTestsMixin, test_utils.TestCase):\n def create_watcher(self):\n return asyncio.SafeChildWatcher()\nclass FastChildWatcherTests (ChildWatcherTestsMixin, test_utils.TestCase):\n def create_watcher(self):\n return asyncio.FastChildWatcher()\nclass PolicyTests(unittest.TestCase):\n def create_policy(self):\n return asyncio.DefaultEventLoopPolicy()\n def test_get_default_child_watcher(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "documentation": {} }, { "label": "FastChildWatcherTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "peekOfCode": "class FastChildWatcherTests (ChildWatcherTestsMixin, test_utils.TestCase):\n def create_watcher(self):\n return asyncio.FastChildWatcher()\nclass PolicyTests(unittest.TestCase):\n def create_policy(self):\n return asyncio.DefaultEventLoopPolicy()\n def test_get_default_child_watcher(self):\n policy = self.create_policy()\n self.assertIsNone(policy._watcher)\n watcher = policy.get_child_watcher()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "documentation": {} }, { "label": "PolicyTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "peekOfCode": "class PolicyTests(unittest.TestCase):\n def create_policy(self):\n return asyncio.DefaultEventLoopPolicy()\n def test_get_default_child_watcher(self):\n policy = self.create_policy()\n self.assertIsNone(policy._watcher)\n watcher = policy.get_child_watcher()\n self.assertIsInstance(watcher, asyncio.ThreadedChildWatcher)\n self.assertIs(policy._watcher, watcher)\n self.assertIs(watcher, policy.get_child_watcher())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "documentation": {} }, { "label": "TestFunctional", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "peekOfCode": "class TestFunctional(unittest.TestCase):\n def setUp(self):\n self.loop = asyncio.new_event_loop()\n asyncio.set_event_loop(self.loop)\n def tearDown(self):\n self.loop.close()\n asyncio.set_event_loop(None)\n def test_add_reader_invalid_argument(self):\n def assert_raises():\n return self.assertRaisesRegex(ValueError, r'Invalid file object')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\nMOCK_ANY = mock.ANY\ndef EXITCODE(exitcode):\n return 32768 + exitcode\ndef SIGNAL(signum):\n if not 1 <= signum <= 68:\n raise AssertionError(f'invalid signum {signum}')\n return 32768 - signum\ndef close_pipe_transport(transport):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "documentation": {} }, { "label": "EXITCODE", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "peekOfCode": "def EXITCODE(exitcode):\n return 32768 + exitcode\ndef SIGNAL(signum):\n if not 1 <= signum <= 68:\n raise AssertionError(f'invalid signum {signum}')\n return 32768 - signum\ndef close_pipe_transport(transport):\n # Don't call transport.close() because the event loop and the selector\n # are mocked\n if transport._pipe is None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "documentation": {} }, { "label": "SIGNAL", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "peekOfCode": "def SIGNAL(signum):\n if not 1 <= signum <= 68:\n raise AssertionError(f'invalid signum {signum}')\n return 32768 - signum\ndef close_pipe_transport(transport):\n # Don't call transport.close() because the event loop and the selector\n # are mocked\n if transport._pipe is None:\n return\n transport._pipe.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "documentation": {} }, { "label": "close_pipe_transport", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "peekOfCode": "def close_pipe_transport(transport):\n # Don't call transport.close() because the event loop and the selector\n # are mocked\n if transport._pipe is None:\n return\n transport._pipe.close()\n transport._pipe = None\n@unittest.skipUnless(signal, 'Signals are not supported')\nclass SelectorEventLoopSignalTests(test_utils.TestCase):\n def setUp(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "documentation": {} }, { "label": "MOCK_ANY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "peekOfCode": "MOCK_ANY = mock.ANY\ndef EXITCODE(exitcode):\n return 32768 + exitcode\ndef SIGNAL(signum):\n if not 1 <= signum <= 68:\n raise AssertionError(f'invalid signum {signum}')\n return 32768 - signum\ndef close_pipe_transport(transport):\n # Don't call transport.close() because the event loop and the selector\n # are mocked", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_unix_events", "documentation": {} }, { "label": "SlowTask", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_waitfor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_waitfor", "peekOfCode": "class SlowTask:\n \"\"\" Task will run for this defined time, ignoring cancel requests \"\"\"\n TASK_TIMEOUT = 0.2\n def __init__(self):\n self.exited = False\n async def run(self):\n exitat = time.monotonic() + self.TASK_TIMEOUT\n while True:\n tosleep = exitat - time.monotonic()\n if tosleep <= 0:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_waitfor", "documentation": {} }, { "label": "AsyncioWaitForTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_waitfor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_waitfor", "peekOfCode": "class AsyncioWaitForTest(unittest.IsolatedAsyncioTestCase):\n async def test_asyncio_wait_for_cancelled(self):\n t = SlowTask()\n waitfortask = asyncio.create_task(\n asyncio.wait_for(t.run(), t.TASK_TIMEOUT * 2))\n await asyncio.sleep(0)\n waitfortask.cancel()\n await asyncio.wait({waitfortask})\n self.assertTrue(t.exited)\n async def test_asyncio_wait_for_timeout(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_waitfor", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_waitfor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_waitfor", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\n# The following value can be used as a very small timeout:\n# it passes check \"timeout > 0\", but has almost\n# no effect on the test performance\n_EPSILON = 0.0001\nclass SlowTask:\n \"\"\" Task will run for this defined time, ignoring cancel requests \"\"\"\n TASK_TIMEOUT = 0.2\n def __init__(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_waitfor", "documentation": {} }, { "label": "_EPSILON", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_waitfor", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_waitfor", "peekOfCode": "_EPSILON = 0.0001\nclass SlowTask:\n \"\"\" Task will run for this defined time, ignoring cancel requests \"\"\"\n TASK_TIMEOUT = 0.2\n def __init__(self):\n self.exited = False\n async def run(self):\n exitat = time.monotonic() + self.TASK_TIMEOUT\n while True:\n tosleep = exitat - time.monotonic()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_waitfor", "documentation": {} }, { "label": "UpperProto", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_events", "peekOfCode": "class UpperProto(asyncio.Protocol):\n def __init__(self):\n self.buf = []\n def connection_made(self, trans):\n self.trans = trans\n def data_received(self, data):\n self.buf.append(data)\n if b'\\n' in data:\n self.trans.write(b''.join(self.buf).upper())\n self.trans.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_events", "documentation": {} }, { "label": "ProactorLoopCtrlC", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_events", "peekOfCode": "class ProactorLoopCtrlC(test_utils.TestCase):\n def test_ctrl_c(self):\n def SIGINT_after_delay():\n time.sleep(0.1)\n signal.raise_signal(signal.SIGINT)\n thread = threading.Thread(target=SIGINT_after_delay)\n loop = asyncio.get_event_loop()\n try:\n # only start the loop once the event loop is running\n loop.call_soon(thread.start)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_events", "documentation": {} }, { "label": "ProactorMultithreading", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_events", "peekOfCode": "class ProactorMultithreading(test_utils.TestCase):\n def test_run_from_nonmain_thread(self):\n finished = False\n async def coro():\n await asyncio.sleep(0)\n def func():\n nonlocal finished\n loop = asyncio.new_event_loop()\n loop.run_until_complete(coro())\n # close() must not call signal.set_wakeup_fd()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_events", "documentation": {} }, { "label": "ProactorTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_events", "peekOfCode": "class ProactorTests(test_utils.TestCase):\n def setUp(self):\n super().setUp()\n self.loop = asyncio.ProactorEventLoop()\n self.set_event_loop(self.loop)\n def test_close(self):\n a, b = socket.socketpair()\n trans = self.loop._make_socket_transport(a, asyncio.Protocol())\n f = asyncio.ensure_future(self.loop.sock_recv(b, 100), loop=self.loop)\n trans.close()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_events", "documentation": {} }, { "label": "WinPolicyTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_events", "peekOfCode": "class WinPolicyTests(test_utils.TestCase):\n def test_selector_win_policy(self):\n async def main():\n self.assertIsInstance(\n asyncio.get_running_loop(),\n asyncio.SelectorEventLoop)\n old_policy = asyncio.get_event_loop_policy()\n try:\n asyncio.set_event_loop_policy(\n asyncio.WindowsSelectorEventLoopPolicy())", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_events", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_events", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_events", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass UpperProto(asyncio.Protocol):\n def __init__(self):\n self.buf = []\n def connection_made(self, trans):\n self.trans = trans\n def data_received(self, data):\n self.buf.append(data)\n if b'\\n' in data:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_events", "documentation": {} }, { "label": "PipeTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_utils", "peekOfCode": "class PipeTests(unittest.TestCase):\n def test_pipe_overlapped(self):\n h1, h2 = windows_utils.pipe(overlapped=(True, True))\n try:\n ov1 = _overlapped.Overlapped()\n self.assertFalse(ov1.pending)\n self.assertEqual(ov1.error, 0)\n ov1.ReadFile(h1, 100)\n self.assertTrue(ov1.pending)\n self.assertEqual(ov1.error, _winapi.ERROR_IO_PENDING)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_utils", "documentation": {} }, { "label": "PopenTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_utils", "peekOfCode": "class PopenTests(unittest.TestCase):\n def test_popen(self):\n command = r\"\"\"if 1:\n import sys\n s = sys.stdin.readline()\n sys.stdout.write(s.upper())\n sys.stderr.write('stderr')\n \"\"\"\n msg = b\"blah\\n\"\n p = windows_utils.Popen([sys.executable, '-c', command],", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_utils", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_utils", "peekOfCode": "def tearDownModule():\n asyncio.set_event_loop_policy(None)\nclass PipeTests(unittest.TestCase):\n def test_pipe_overlapped(self):\n h1, h2 = windows_utils.pipe(overlapped=(True, True))\n try:\n ov1 = _overlapped.Overlapped()\n self.assertFalse(ov1.pending)\n self.assertEqual(ov1.error, 0)\n ov1.ReadFile(h1, 100)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.test_windows_utils", "documentation": {} }, { "label": "SilentWSGIRequestHandler", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "class SilentWSGIRequestHandler(WSGIRequestHandler):\n def get_stderr(self):\n return io.StringIO()\n def log_message(self, format, *args):\n pass\nclass SilentWSGIServer(WSGIServer):\n request_timeout = support.LOOPBACK_TIMEOUT\n def get_request(self):\n request, client_addr = super().get_request()\n request.settimeout(self.request_timeout)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "SilentWSGIServer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "class SilentWSGIServer(WSGIServer):\n request_timeout = support.LOOPBACK_TIMEOUT\n def get_request(self):\n request, client_addr = super().get_request()\n request.settimeout(self.request_timeout)\n return request, client_addr\n def handle_error(self, request, client_address):\n pass\nclass SSLWSGIServerMixin:\n def finish_request(self, request, client_address):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "SSLWSGIServerMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "class SSLWSGIServerMixin:\n def finish_request(self, request, client_address):\n # The relative location of our test directory (which\n # contains the ssl key and certificate files) differs\n # between the stdlib and stand-alone asyncio.\n # Prefer our own if we can find it.\n context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)\n context.load_cert_chain(ONLYCERT, ONLYKEY)\n ssock = context.wrap_socket(request, server_side=True)\n try:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "SSLWSGIServer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "class SSLWSGIServer(SSLWSGIServerMixin, SilentWSGIServer):\n pass\ndef _run_test_server(*, address, use_ssl=False, server_cls, server_ssl_cls):\n def loop(environ):\n size = int(environ['CONTENT_LENGTH'])\n while size:\n data = environ['wsgi.input'].read(min(size, 0x10000))\n yield data\n size -= len(data)\n def app(environ, start_response):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "TestSelector", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "class TestSelector(selectors.BaseSelector):\n def __init__(self):\n self.keys = {}\n def register(self, fileobj, events, data=None):\n key = selectors.SelectorKey(fileobj, 0, events, data)\n self.keys[fileobj] = key\n return key\n def unregister(self, fileobj):\n return self.keys.pop(fileobj)\n def select(self, timeout):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "TestLoop", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "class TestLoop(base_events.BaseEventLoop):\n \"\"\"Loop for unittests.\n It manages self time directly.\n If something scheduled to be executed later then\n on next loop iteration after all ready handlers done\n generator passed to __init__ is calling.\n Generator should be like this:\n def gen():\n ...\n when = yield ...", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "MockPattern", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "class MockPattern(str):\n \"\"\"A regex based str with a fuzzy __eq__.\n Use this helper with 'mock.assert_called_with', or anywhere\n where a regex comparison between strings is needed.\n For instance:\n mock_call.assert_called_with(MockPattern('spam.*ham'))\n \"\"\"\n def __eq__(self, other):\n return bool(re.search(str(self), other, re.S))\nclass MockInstanceOf:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "MockInstanceOf", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "class MockInstanceOf:\n def __init__(self, type):\n self._type = type\n def __eq__(self, other):\n return isinstance(other, self._type)\ndef get_function_source(func):\n source = format_helpers._get_function_source(func)\n if source is None:\n raise ValueError(\"unable to get the source of %r\" % (func,))\n return source", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "TestCase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "class TestCase(unittest.TestCase):\n @staticmethod\n def close_loop(loop):\n if loop._default_executor is not None:\n if not loop.is_closed():\n loop.run_until_complete(loop.shutdown_default_executor())\n else:\n loop._default_executor.shutdown(wait=True)\n loop.close()\n policy = support.maybe_get_event_loop_policy()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "data_file", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "def data_file(filename):\n if hasattr(support, 'TEST_HOME_DIR'):\n fullname = os.path.join(support.TEST_HOME_DIR, filename)\n if os.path.isfile(fullname):\n return fullname\n fullname = os.path.join(os.path.dirname(__file__), '..', filename)\n if os.path.isfile(fullname):\n return fullname\n raise FileNotFoundError(filename)\nONLYCERT = data_file('ssl_cert.pem')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "simple_server_sslcontext", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "def simple_server_sslcontext():\n server_context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)\n server_context.load_cert_chain(ONLYCERT, ONLYKEY)\n server_context.check_hostname = False\n server_context.verify_mode = ssl.CERT_NONE\n return server_context\ndef simple_client_sslcontext(*, disable_verify=True):\n client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)\n client_context.check_hostname = False\n if disable_verify:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "simple_client_sslcontext", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "def simple_client_sslcontext(*, disable_verify=True):\n client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)\n client_context.check_hostname = False\n if disable_verify:\n client_context.verify_mode = ssl.CERT_NONE\n return client_context\ndef dummy_ssl_context():\n if ssl is None:\n return None\n else:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "dummy_ssl_context", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "def dummy_ssl_context():\n if ssl is None:\n return None\n else:\n return simple_client_sslcontext(disable_verify=True)\ndef run_briefly(loop):\n async def once():\n pass\n gen = once()\n t = loop.create_task(gen)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "run_briefly", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "def run_briefly(loop):\n async def once():\n pass\n gen = once()\n t = loop.create_task(gen)\n # Don't log a warning if the task is not done after run_until_complete().\n # It occurs if the loop is stopped or if a task raises a BaseException.\n t._log_destroy_pending = False\n try:\n loop.run_until_complete(t)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "run_until", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "def run_until(loop, pred, timeout=support.SHORT_TIMEOUT):\n deadline = time.monotonic() + timeout\n while not pred():\n if timeout is not None:\n timeout = deadline - time.monotonic()\n if timeout <= 0:\n raise futures.TimeoutError()\n loop.run_until_complete(tasks.sleep(0.001))\ndef run_once(loop):\n \"\"\"Legacy API to run once through the event loop.", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "run_once", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "def run_once(loop):\n \"\"\"Legacy API to run once through the event loop.\n This is the recommended pattern for test code. It will poll the\n selector once and run all callbacks scheduled in response to I/O\n events.\n \"\"\"\n loop.call_soon(loop.stop)\n loop.run_forever()\nclass SilentWSGIRequestHandler(WSGIRequestHandler):\n def get_stderr(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "run_test_server", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "def run_test_server(*, host='127.0.0.1', port=0, use_ssl=False):\n yield from _run_test_server(address=(host, port), use_ssl=use_ssl,\n server_cls=SilentWSGIServer,\n server_ssl_cls=SSLWSGIServer)\ndef make_test_protocol(base):\n dct = {}\n for name in dir(base):\n if name.startswith('__') and name.endswith('__'):\n # skip magic names\n continue", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "make_test_protocol", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "def make_test_protocol(base):\n dct = {}\n for name in dir(base):\n if name.startswith('__') and name.endswith('__'):\n # skip magic names\n continue\n dct[name] = MockCallback(return_value=None)\n return type('TestProtocol', (base,) + base.__bases__, dct)()\nclass TestSelector(selectors.BaseSelector):\n def __init__(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "MockCallback", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "def MockCallback(**kwargs):\n return mock.Mock(spec=['__call__'], **kwargs)\nclass MockPattern(str):\n \"\"\"A regex based str with a fuzzy __eq__.\n Use this helper with 'mock.assert_called_with', or anywhere\n where a regex comparison between strings is needed.\n For instance:\n mock_call.assert_called_with(MockPattern('spam.*ham'))\n \"\"\"\n def __eq__(self, other):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "get_function_source", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "def get_function_source(func):\n source = format_helpers._get_function_source(func)\n if source is None:\n raise ValueError(\"unable to get the source of %r\" % (func,))\n return source\nclass TestCase(unittest.TestCase):\n @staticmethod\n def close_loop(loop):\n if loop._default_executor is not None:\n if not loop.is_closed():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "disable_logger", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "def disable_logger():\n \"\"\"Context manager to disable asyncio logger.\n For example, it can be used to ignore warnings in debug mode.\n \"\"\"\n old_level = logger.level\n try:\n logger.setLevel(logging.CRITICAL+1)\n yield\n finally:\n logger.setLevel(old_level)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "mock_nonblocking_socket", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "def mock_nonblocking_socket(proto=socket.IPPROTO_TCP, type=socket.SOCK_STREAM,\n family=socket.AF_INET):\n \"\"\"Create a mock of a non-blocking socket.\"\"\"\n sock = mock.MagicMock(socket.socket)\n sock.proto = proto\n sock.type = type\n sock.family = family\n sock.gettimeout.return_value = 0.0\n return sock", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "ONLYCERT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "ONLYCERT = data_file('ssl_cert.pem')\nONLYKEY = data_file('ssl_key.pem')\nSIGNED_CERTFILE = data_file('keycert3.pem')\nSIGNING_CA = data_file('pycacert.pem')\nPEERCERT = {\n 'OCSP': ('http://testca.pythontest.net/testca/ocsp/',),\n 'caIssuers': ('http://testca.pythontest.net/testca/pycacert.cer',),\n 'crlDistributionPoints': ('http://testca.pythontest.net/testca/revocation.crl',),\n 'issuer': ((('countryName', 'XY'),),\n (('organizationName', 'Python Software Foundation CA'),),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "ONLYKEY", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "ONLYKEY = data_file('ssl_key.pem')\nSIGNED_CERTFILE = data_file('keycert3.pem')\nSIGNING_CA = data_file('pycacert.pem')\nPEERCERT = {\n 'OCSP': ('http://testca.pythontest.net/testca/ocsp/',),\n 'caIssuers': ('http://testca.pythontest.net/testca/pycacert.cer',),\n 'crlDistributionPoints': ('http://testca.pythontest.net/testca/revocation.crl',),\n 'issuer': ((('countryName', 'XY'),),\n (('organizationName', 'Python Software Foundation CA'),),\n (('commonName', 'our-ca-server'),)),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "SIGNED_CERTFILE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "SIGNED_CERTFILE = data_file('keycert3.pem')\nSIGNING_CA = data_file('pycacert.pem')\nPEERCERT = {\n 'OCSP': ('http://testca.pythontest.net/testca/ocsp/',),\n 'caIssuers': ('http://testca.pythontest.net/testca/pycacert.cer',),\n 'crlDistributionPoints': ('http://testca.pythontest.net/testca/revocation.crl',),\n 'issuer': ((('countryName', 'XY'),),\n (('organizationName', 'Python Software Foundation CA'),),\n (('commonName', 'our-ca-server'),)),\n 'notAfter': 'Oct 28 14:23:16 2037 GMT',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "SIGNING_CA", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "SIGNING_CA = data_file('pycacert.pem')\nPEERCERT = {\n 'OCSP': ('http://testca.pythontest.net/testca/ocsp/',),\n 'caIssuers': ('http://testca.pythontest.net/testca/pycacert.cer',),\n 'crlDistributionPoints': ('http://testca.pythontest.net/testca/revocation.crl',),\n 'issuer': ((('countryName', 'XY'),),\n (('organizationName', 'Python Software Foundation CA'),),\n (('commonName', 'our-ca-server'),)),\n 'notAfter': 'Oct 28 14:23:16 2037 GMT',\n 'notBefore': 'Aug 29 14:23:16 2018 GMT',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "PEERCERT", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "peekOfCode": "PEERCERT = {\n 'OCSP': ('http://testca.pythontest.net/testca/ocsp/',),\n 'caIssuers': ('http://testca.pythontest.net/testca/pycacert.cer',),\n 'crlDistributionPoints': ('http://testca.pythontest.net/testca/revocation.crl',),\n 'issuer': ((('countryName', 'XY'),),\n (('organizationName', 'Python Software Foundation CA'),),\n (('commonName', 'our-ca-server'),)),\n 'notAfter': 'Oct 28 14:23:16 2037 GMT',\n 'notBefore': 'Aug 29 14:23:16 2018 GMT',\n 'serialNumber': 'CB2D80995A69525C',", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_asyncio.utils", "documentation": {} }, { "label": "util", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_import.data.circular_imports.subpkg.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_import.data.circular_imports.subpkg.util", "peekOfCode": "def util():\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_import.data.circular_imports.subpkg.util", "documentation": {} }, { "label": "b", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_import.data.circular_imports.from_cycle1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_import.data.circular_imports.from_cycle1", "peekOfCode": "b = 1", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_import.data.circular_imports.from_cycle1", "documentation": {} }, { "label": "a", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_import.data.circular_imports.from_cycle2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_import.data.circular_imports.from_cycle2", "peekOfCode": "a = 1", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_import.data.circular_imports.from_cycle2", "documentation": {} }, { "label": "util", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_import.data.circular_imports.rebinding2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_import.data.circular_imports.rebinding2", "peekOfCode": "util = util.util", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_import.data.circular_imports.rebinding2", "documentation": {} }, { "label": "spam", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_import.data.circular_imports.source", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_import.data.circular_imports.source", "peekOfCode": "spam = 1", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_import.data.circular_imports.source", "documentation": {} }, { "label": "util", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_import.data.circular_imports.util", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_import.data.circular_imports.util", "peekOfCode": "def util():\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_import.data.circular_imports.util", "documentation": {} }, { "label": "get_zoneinfo_path", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "peekOfCode": "def get_zoneinfo_path() -> pathlib.Path:\n \"\"\"Get the first zoneinfo directory on TZPATH containing the \"UTC\" zone.\"\"\"\n key = \"UTC\"\n for path in map(pathlib.Path, zoneinfo.TZPATH):\n if (path / key).exists():\n return path\n else:\n raise OSError(\"Cannot find time zone data.\")\ndef get_zoneinfo_metadata() -> typing.Dict[str, str]:\n path = get_zoneinfo_path()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "documentation": {} }, { "label": "get_zoneinfo_metadata", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "peekOfCode": "def get_zoneinfo_metadata() -> typing.Dict[str, str]:\n path = get_zoneinfo_path()\n tzdata_zi = path / \"tzdata.zi\"\n if not tzdata_zi.exists():\n # tzdata.zi is necessary to get the version information\n raise OSError(\"Time zone data does not include tzdata.zi.\")\n with open(tzdata_zi, \"r\") as f:\n version_line = next(f)\n _, version = version_line.strip().rsplit(\" \", 1)\n if (", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "documentation": {} }, { "label": "get_zoneinfo", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "peekOfCode": "def get_zoneinfo(key: str) -> bytes:\n path = get_zoneinfo_path()\n with open(path / key, \"rb\") as f:\n return f.read()\ndef encode_compressed(data: bytes) -> typing.List[str]:\n compressed_zone = lzma.compress(data)\n raw = base64.b85encode(compressed_zone)\n raw_data_str = raw.decode(\"utf-8\")\n data_str = textwrap.wrap(raw_data_str, width=70)\n return data_str", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "documentation": {} }, { "label": "encode_compressed", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "peekOfCode": "def encode_compressed(data: bytes) -> typing.List[str]:\n compressed_zone = lzma.compress(data)\n raw = base64.b85encode(compressed_zone)\n raw_data_str = raw.decode(\"utf-8\")\n data_str = textwrap.wrap(raw_data_str, width=70)\n return data_str\ndef load_compressed_keys() -> typing.Dict[str, typing.List[str]]:\n output = {key: encode_compressed(get_zoneinfo(key)) for key in KEYS}\n return output\ndef update_test_data(fname: str = \"zoneinfo_data.json\") -> None:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "documentation": {} }, { "label": "load_compressed_keys", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "peekOfCode": "def load_compressed_keys() -> typing.Dict[str, typing.List[str]]:\n output = {key: encode_compressed(get_zoneinfo(key)) for key in KEYS}\n return output\ndef update_test_data(fname: str = \"zoneinfo_data.json\") -> None:\n TEST_DATA_LOC.mkdir(exist_ok=True, parents=True)\n # Annotation required: https://github.com/python/mypy/issues/8772\n json_kwargs: typing.Dict[str, typing.Any] = dict(\n indent=2, sort_keys=True,\n )\n compressed_keys = load_compressed_keys()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "documentation": {} }, { "label": "update_test_data", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "peekOfCode": "def update_test_data(fname: str = \"zoneinfo_data.json\") -> None:\n TEST_DATA_LOC.mkdir(exist_ok=True, parents=True)\n # Annotation required: https://github.com/python/mypy/issues/8772\n json_kwargs: typing.Dict[str, typing.Any] = dict(\n indent=2, sort_keys=True,\n )\n compressed_keys = load_compressed_keys()\n metadata = get_zoneinfo_metadata()\n output = {\n \"metadata\": metadata,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "documentation": {} }, { "label": "KEYS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "peekOfCode": "KEYS = [\n \"Africa/Abidjan\",\n \"Africa/Casablanca\",\n \"America/Los_Angeles\",\n \"America/Santiago\",\n \"Asia/Tokyo\",\n \"Australia/Sydney\",\n \"Europe/Dublin\",\n \"Europe/Lisbon\",\n \"Europe/London\",", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "documentation": {} }, { "label": "TEST_DATA_LOC", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "peekOfCode": "TEST_DATA_LOC = pathlib.Path(__file__).parent\n@functools.lru_cache(maxsize=None)\ndef get_zoneinfo_path() -> pathlib.Path:\n \"\"\"Get the first zoneinfo directory on TZPATH containing the \"UTC\" zone.\"\"\"\n key = \"UTC\"\n for path in map(pathlib.Path, zoneinfo.TZPATH):\n if (path / key).exists():\n return path\n else:\n raise OSError(\"Cannot find time zone data.\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.data.update_test_data", "documentation": {} }, { "label": "TzPathUserMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class TzPathUserMixin:\n \"\"\"\n Adds a setUp() and tearDown() to make TZPATH manipulations thread-safe.\n Any tests that require manipulation of the TZPATH global are necessarily\n thread unsafe, so we will acquire a lock and reset the TZPATH variable\n to the default state before each test and release the lock after the test\n is through.\n \"\"\"\n @property\n def tzpath(self): # pragma: nocover", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "DatetimeSubclassMixin", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class DatetimeSubclassMixin:\n \"\"\"\n Replaces all ZoneTransition transition dates with a datetime subclass.\n \"\"\"\n class DatetimeSubclass(datetime):\n @classmethod\n def from_datetime(cls, dt):\n return cls(\n dt.year,\n dt.month,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "ZoneInfoTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class ZoneInfoTest(TzPathUserMixin, ZoneInfoTestBase):\n module = py_zoneinfo\n class_name = \"ZoneInfo\"\n def setUp(self):\n super().setUp()\n # This is necessary because various subclasses pull from different\n # data sources (e.g. tzdata, V1 files, etc).\n self.klass.clear_cache()\n @property\n def zoneinfo_data(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "CZoneInfoTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class CZoneInfoTest(ZoneInfoTest):\n module = c_zoneinfo\n def test_fold_mutate(self):\n \"\"\"Test that fold isn't mutated when no change is necessary.\n The underlying C API is capable of mutating datetime objects, and\n may rely on the fact that addition of a datetime object returns a\n new datetime; this test ensures that the input datetime to fromutc\n is not mutated.\n \"\"\"\n def to_subclass(dt):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "ZoneInfoDatetimeSubclassTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class ZoneInfoDatetimeSubclassTest(DatetimeSubclassMixin, ZoneInfoTest):\n pass\nclass CZoneInfoDatetimeSubclassTest(DatetimeSubclassMixin, CZoneInfoTest):\n pass\nclass ZoneInfoSubclassTest(ZoneInfoTest):\n @classmethod\n def setUpClass(cls):\n super().setUpClass()\n class ZISubclass(cls.klass):\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "CZoneInfoDatetimeSubclassTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class CZoneInfoDatetimeSubclassTest(DatetimeSubclassMixin, CZoneInfoTest):\n pass\nclass ZoneInfoSubclassTest(ZoneInfoTest):\n @classmethod\n def setUpClass(cls):\n super().setUpClass()\n class ZISubclass(cls.klass):\n pass\n cls.class_name = \"ZISubclass\"\n cls.parent_klass = cls.klass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "ZoneInfoSubclassTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class ZoneInfoSubclassTest(ZoneInfoTest):\n @classmethod\n def setUpClass(cls):\n super().setUpClass()\n class ZISubclass(cls.klass):\n pass\n cls.class_name = \"ZISubclass\"\n cls.parent_klass = cls.klass\n cls.klass = ZISubclass\n def test_subclass_own_cache(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "CZoneInfoSubclassTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class CZoneInfoSubclassTest(ZoneInfoSubclassTest):\n module = c_zoneinfo\nclass ZoneInfoV1Test(ZoneInfoTest):\n @property\n def zoneinfo_data(self):\n return ZONEINFO_DATA_V1\n def load_transition_examples(self, key):\n # We will discard zdump examples outside the range epoch +/- 2**31,\n # because they are not well-supported in Version 1 files.\n epoch = datetime(1970, 1, 1)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "ZoneInfoV1Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class ZoneInfoV1Test(ZoneInfoTest):\n @property\n def zoneinfo_data(self):\n return ZONEINFO_DATA_V1\n def load_transition_examples(self, key):\n # We will discard zdump examples outside the range epoch +/- 2**31,\n # because they are not well-supported in Version 1 files.\n epoch = datetime(1970, 1, 1)\n max_offset_32 = timedelta(seconds=2 ** 31)\n min_dt = epoch - max_offset_32", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "CZoneInfoV1Test", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class CZoneInfoV1Test(ZoneInfoV1Test):\n module = c_zoneinfo\n@unittest.skipIf(\n not HAS_TZDATA_PKG, \"Skipping tzdata-specific tests: tzdata not installed\"\n)\nclass TZDataTests(ZoneInfoTest):\n \"\"\"\n Runs all the ZoneInfoTest tests, but against the tzdata package\n NOTE: The ZoneDumpData has frozen test data, but tzdata will update, so\n some of the tests (particularly those related to the far future) may break", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "TZDataTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class TZDataTests(ZoneInfoTest):\n \"\"\"\n Runs all the ZoneInfoTest tests, but against the tzdata package\n NOTE: The ZoneDumpData has frozen test data, but tzdata will update, so\n some of the tests (particularly those related to the far future) may break\n in the event that the time zone policies in the relevant time zones change.\n \"\"\"\n @property\n def tzpath(self):\n return []", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "CTZDataTests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class CTZDataTests(TZDataTests):\n module = c_zoneinfo\nclass WeirdZoneTest(ZoneInfoTestBase):\n module = py_zoneinfo\n def test_one_transition(self):\n LMT = ZoneOffset(\"LMT\", -timedelta(hours=6, minutes=31, seconds=2))\n STD = ZoneOffset(\"STD\", -timedelta(hours=6))\n transitions = [\n ZoneTransition(datetime(1883, 6, 9, 14), LMT, STD),\n ]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "WeirdZoneTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class WeirdZoneTest(ZoneInfoTestBase):\n module = py_zoneinfo\n def test_one_transition(self):\n LMT = ZoneOffset(\"LMT\", -timedelta(hours=6, minutes=31, seconds=2))\n STD = ZoneOffset(\"STD\", -timedelta(hours=6))\n transitions = [\n ZoneTransition(datetime(1883, 6, 9, 14), LMT, STD),\n ]\n after = \"STD6\"\n zf = self.construct_zone(transitions, after)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "CWeirdZoneTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class CWeirdZoneTest(WeirdZoneTest):\n module = c_zoneinfo\nclass TZStrTest(ZoneInfoTestBase):\n module = py_zoneinfo\n NORMAL = 0\n FOLD = 1\n GAP = 2\n @classmethod\n def setUpClass(cls):\n super().setUpClass()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "TZStrTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class TZStrTest(ZoneInfoTestBase):\n module = py_zoneinfo\n NORMAL = 0\n FOLD = 1\n GAP = 2\n @classmethod\n def setUpClass(cls):\n super().setUpClass()\n cls._populate_test_cases()\n cls.populate_tzstr_header()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "CTZStrTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class CTZStrTest(TZStrTest):\n module = c_zoneinfo\nclass ZoneInfoCacheTest(TzPathUserMixin, ZoneInfoTestBase):\n module = py_zoneinfo\n def setUp(self):\n self.klass.clear_cache()\n super().setUp()\n @property\n def zoneinfo_data(self):\n return ZONEINFO_DATA", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "ZoneInfoCacheTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class ZoneInfoCacheTest(TzPathUserMixin, ZoneInfoTestBase):\n module = py_zoneinfo\n def setUp(self):\n self.klass.clear_cache()\n super().setUp()\n @property\n def zoneinfo_data(self):\n return ZONEINFO_DATA\n @property\n def tzpath(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "CZoneInfoCacheTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class CZoneInfoCacheTest(ZoneInfoCacheTest):\n module = c_zoneinfo\nclass ZoneInfoPickleTest(TzPathUserMixin, ZoneInfoTestBase):\n module = py_zoneinfo\n def setUp(self):\n self.klass.clear_cache()\n with contextlib.ExitStack() as stack:\n stack.enter_context(test_support.set_zoneinfo_module(self.module))\n self.addCleanup(stack.pop_all().close)\n super().setUp()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "ZoneInfoPickleTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class ZoneInfoPickleTest(TzPathUserMixin, ZoneInfoTestBase):\n module = py_zoneinfo\n def setUp(self):\n self.klass.clear_cache()\n with contextlib.ExitStack() as stack:\n stack.enter_context(test_support.set_zoneinfo_module(self.module))\n self.addCleanup(stack.pop_all().close)\n super().setUp()\n @property\n def zoneinfo_data(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "CZoneInfoPickleTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class CZoneInfoPickleTest(ZoneInfoPickleTest):\n module = c_zoneinfo\nclass CallingConventionTest(ZoneInfoTestBase):\n \"\"\"Tests for functions with restricted calling conventions.\"\"\"\n module = py_zoneinfo\n @property\n def zoneinfo_data(self):\n return ZONEINFO_DATA\n def test_from_file(self):\n with open(self.zoneinfo_data.path_from_key(\"UTC\"), \"rb\") as f:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "CallingConventionTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class CallingConventionTest(ZoneInfoTestBase):\n \"\"\"Tests for functions with restricted calling conventions.\"\"\"\n module = py_zoneinfo\n @property\n def zoneinfo_data(self):\n return ZONEINFO_DATA\n def test_from_file(self):\n with open(self.zoneinfo_data.path_from_key(\"UTC\"), \"rb\") as f:\n with self.assertRaises(TypeError):\n self.klass.from_file(fobj=f)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "CCallingConventionTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class CCallingConventionTest(CallingConventionTest):\n module = c_zoneinfo\nclass TzPathTest(TzPathUserMixin, ZoneInfoTestBase):\n module = py_zoneinfo\n @staticmethod\n @contextlib.contextmanager\n def python_tzpath_context(value):\n path_var = \"PYTHONTZPATH\"\n try:\n with OS_ENV_LOCK:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "TzPathTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class TzPathTest(TzPathUserMixin, ZoneInfoTestBase):\n module = py_zoneinfo\n @staticmethod\n @contextlib.contextmanager\n def python_tzpath_context(value):\n path_var = \"PYTHONTZPATH\"\n try:\n with OS_ENV_LOCK:\n old_env = os.environ.get(path_var, None)\n os.environ[path_var] = value", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "CTzPathTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class CTzPathTest(TzPathTest):\n module = c_zoneinfo\nclass TestModule(ZoneInfoTestBase):\n module = py_zoneinfo\n @property\n def zoneinfo_data(self):\n return ZONEINFO_DATA\n @cached_property\n def _UTC_bytes(self):\n zone_file = self.zoneinfo_data.path_from_key(\"UTC\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "TestModule", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class TestModule(ZoneInfoTestBase):\n module = py_zoneinfo\n @property\n def zoneinfo_data(self):\n return ZONEINFO_DATA\n @cached_property\n def _UTC_bytes(self):\n zone_file = self.zoneinfo_data.path_from_key(\"UTC\")\n with open(zone_file, \"rb\") as f:\n return f.read()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "CTestModule", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class CTestModule(TestModule):\n module = c_zoneinfo\nclass ExtensionBuiltTest(unittest.TestCase):\n \"\"\"Smoke test to ensure that the C and Python extensions are both tested.\n Because the intention is for the Python and C versions of ZoneInfo to\n behave identically, these tests necessarily rely on implementation details,\n so the tests may need to be adjusted if the implementations change. Do not\n rely on these tests as an indication of stable properties of these classes.\n \"\"\"\n def test_cache_location(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "ExtensionBuiltTest", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class ExtensionBuiltTest(unittest.TestCase):\n \"\"\"Smoke test to ensure that the C and Python extensions are both tested.\n Because the intention is for the Python and C versions of ZoneInfo to\n behave identically, these tests necessarily rely on implementation details,\n so the tests may need to be adjusted if the implementations change. Do not\n rely on these tests as an indication of stable properties of these classes.\n \"\"\"\n def test_cache_location(self):\n # The pure Python version stores caches on attributes, but the C\n # extension stores them in C globals (at least for now)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "ZoneOffset", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class ZoneOffset:\n tzname: str\n utcoffset: timedelta\n dst: timedelta = ZERO\n@dataclasses.dataclass(frozen=True)\nclass ZoneTransition:\n transition: datetime\n offset_before: ZoneOffset\n offset_after: ZoneOffset\n @property", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "ZoneTransition", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class ZoneTransition:\n transition: datetime\n offset_before: ZoneOffset\n offset_after: ZoneOffset\n @property\n def transition_utc(self):\n return (self.transition - self.offset_before.utcoffset).replace(\n tzinfo=timezone.utc\n )\n @property", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "ZoneInfoData", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class ZoneInfoData:\n def __init__(self, source_json, tzpath, v1=False):\n self.tzpath = pathlib.Path(tzpath)\n self.keys = []\n self.v1 = v1\n self._populate_tzpath(source_json)\n def path_from_key(self, key):\n return self.tzpath / key\n def _populate_tzpath(self, source_json):\n with open(source_json, \"rb\") as f:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "ZoneDumpData", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "class ZoneDumpData:\n @classmethod\n def transition_keys(cls):\n return cls._get_zonedump().keys()\n @classmethod\n def load_transition_examples(cls, key):\n return cls._get_zonedump()[key]\n @classmethod\n def fixed_offset_zones(cls):\n if not cls._FIXED_OFFSET_ZONES:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "setUpModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "def setUpModule():\n global TEMP_DIR\n global ZONEINFO_DATA\n global ZONEINFO_DATA_V1\n TEMP_DIR = pathlib.Path(tempfile.mkdtemp(prefix=\"zoneinfo\"))\n ZONEINFO_DATA = ZoneInfoData(ZONEINFO_JSON, TEMP_DIR / \"v2\")\n ZONEINFO_DATA_V1 = ZoneInfoData(ZONEINFO_JSON, TEMP_DIR / \"v1\", v1=True)\ndef tearDownModule():\n shutil.rmtree(TEMP_DIR)\nclass TzPathUserMixin:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "tearDownModule", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "def tearDownModule():\n shutil.rmtree(TEMP_DIR)\nclass TzPathUserMixin:\n \"\"\"\n Adds a setUp() and tearDown() to make TZPATH manipulations thread-safe.\n Any tests that require manipulation of the TZPATH global are necessarily\n thread unsafe, so we will acquire a lock and reset the TZPATH variable\n to the default state before each test and release the lock after the test\n is through.\n \"\"\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "lzma", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "lzma = import_module('lzma')\npy_zoneinfo, c_zoneinfo = test_support.get_modules()\ntry:\n importlib.metadata.metadata(\"tzdata\")\n HAS_TZDATA_PKG = True\nexcept importlib.metadata.PackageNotFoundError:\n HAS_TZDATA_PKG = False\nZONEINFO_DATA = None\nZONEINFO_DATA_V1 = None\nTEMP_DIR = None", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "ZONEINFO_DATA", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "ZONEINFO_DATA = None\nZONEINFO_DATA_V1 = None\nTEMP_DIR = None\nDATA_DIR = pathlib.Path(__file__).parent / \"data\"\nZONEINFO_JSON = DATA_DIR / \"zoneinfo_data.json\"\n# Useful constants\nZERO = timedelta(0)\nONE_H = timedelta(hours=1)\ndef setUpModule():\n global TEMP_DIR", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "ZONEINFO_DATA_V1", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "ZONEINFO_DATA_V1 = None\nTEMP_DIR = None\nDATA_DIR = pathlib.Path(__file__).parent / \"data\"\nZONEINFO_JSON = DATA_DIR / \"zoneinfo_data.json\"\n# Useful constants\nZERO = timedelta(0)\nONE_H = timedelta(hours=1)\ndef setUpModule():\n global TEMP_DIR\n global ZONEINFO_DATA", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "TEMP_DIR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "TEMP_DIR = None\nDATA_DIR = pathlib.Path(__file__).parent / \"data\"\nZONEINFO_JSON = DATA_DIR / \"zoneinfo_data.json\"\n# Useful constants\nZERO = timedelta(0)\nONE_H = timedelta(hours=1)\ndef setUpModule():\n global TEMP_DIR\n global ZONEINFO_DATA\n global ZONEINFO_DATA_V1", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "DATA_DIR", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "DATA_DIR = pathlib.Path(__file__).parent / \"data\"\nZONEINFO_JSON = DATA_DIR / \"zoneinfo_data.json\"\n# Useful constants\nZERO = timedelta(0)\nONE_H = timedelta(hours=1)\ndef setUpModule():\n global TEMP_DIR\n global ZONEINFO_DATA\n global ZONEINFO_DATA_V1\n TEMP_DIR = pathlib.Path(tempfile.mkdtemp(prefix=\"zoneinfo\"))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "ZONEINFO_JSON", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "ZONEINFO_JSON = DATA_DIR / \"zoneinfo_data.json\"\n# Useful constants\nZERO = timedelta(0)\nONE_H = timedelta(hours=1)\ndef setUpModule():\n global TEMP_DIR\n global ZONEINFO_DATA\n global ZONEINFO_DATA_V1\n TEMP_DIR = pathlib.Path(tempfile.mkdtemp(prefix=\"zoneinfo\"))\n ZONEINFO_DATA = ZoneInfoData(ZONEINFO_JSON, TEMP_DIR / \"v2\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "ZERO", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "ZERO = timedelta(0)\nONE_H = timedelta(hours=1)\ndef setUpModule():\n global TEMP_DIR\n global ZONEINFO_DATA\n global ZONEINFO_DATA_V1\n TEMP_DIR = pathlib.Path(tempfile.mkdtemp(prefix=\"zoneinfo\"))\n ZONEINFO_DATA = ZoneInfoData(ZONEINFO_JSON, TEMP_DIR / \"v2\")\n ZONEINFO_DATA_V1 = ZoneInfoData(ZONEINFO_JSON, TEMP_DIR / \"v1\", v1=True)\ndef tearDownModule():", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "ONE_H", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "peekOfCode": "ONE_H = timedelta(hours=1)\ndef setUpModule():\n global TEMP_DIR\n global ZONEINFO_DATA\n global ZONEINFO_DATA_V1\n TEMP_DIR = pathlib.Path(tempfile.mkdtemp(prefix=\"zoneinfo\"))\n ZONEINFO_DATA = ZoneInfoData(ZONEINFO_JSON, TEMP_DIR / \"v2\")\n ZONEINFO_DATA_V1 = ZoneInfoData(ZONEINFO_JSON, TEMP_DIR / \"v1\", v1=True)\ndef tearDownModule():\n shutil.rmtree(TEMP_DIR)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo.test_zoneinfo", "documentation": {} }, { "label": "ZoneInfoTestBase", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "peekOfCode": "class ZoneInfoTestBase(unittest.TestCase):\n @classmethod\n def setUpClass(cls):\n cls.klass = cls.module.ZoneInfo\n super().setUpClass()\n @contextlib.contextmanager\n def tzpath_context(self, tzpath, block_tzdata=True, lock=TZPATH_LOCK):\n def pop_tzdata_modules():\n tzdata_modules = {}\n for modname in list(sys.modules):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "documentation": {} }, { "label": "call_once", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "peekOfCode": "def call_once(f):\n \"\"\"Decorator that ensures a function is only ever called once.\"\"\"\n lock = threading.Lock()\n cached = functools.lru_cache(None)(f)\n @functools.wraps(f)\n def inner():\n with lock:\n return cached()\n return inner\n@call_once", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "documentation": {} }, { "label": "get_modules", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "peekOfCode": "def get_modules():\n \"\"\"Retrieve two copies of zoneinfo: pure Python and C accelerated.\n Because this function manipulates the import system in a way that might\n be fragile or do unexpected things if it is run many times, it uses a\n `call_once` decorator to ensure that this is only ever called exactly\n one time — in other words, when using this function you will only ever\n get one copy of each module rather than a fresh import each time.\n \"\"\"\n import zoneinfo as c_module\n py_module = import_fresh_module(\"zoneinfo\", blocked=[\"_zoneinfo\"])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "documentation": {} }, { "label": "set_zoneinfo_module", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "peekOfCode": "def set_zoneinfo_module(module):\n \"\"\"Make sure sys.modules[\"zoneinfo\"] refers to `module`.\n This is necessary because `pickle` will refuse to serialize\n an type calling itself `zoneinfo.ZoneInfo` unless `zoneinfo.ZoneInfo`\n refers to the same object.\n \"\"\"\n NOT_PRESENT = object()\n old_zoneinfo = sys.modules.get(\"zoneinfo\", NOT_PRESENT)\n sys.modules[\"zoneinfo\"] = module\n yield", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "documentation": {} }, { "label": "OS_ENV_LOCK", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "peekOfCode": "OS_ENV_LOCK = threading.Lock()\nTZPATH_LOCK = threading.Lock()\nTZPATH_TEST_LOCK = threading.Lock()\ndef call_once(f):\n \"\"\"Decorator that ensures a function is only ever called once.\"\"\"\n lock = threading.Lock()\n cached = functools.lru_cache(None)(f)\n @functools.wraps(f)\n def inner():\n with lock:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "documentation": {} }, { "label": "TZPATH_LOCK", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "peekOfCode": "TZPATH_LOCK = threading.Lock()\nTZPATH_TEST_LOCK = threading.Lock()\ndef call_once(f):\n \"\"\"Decorator that ensures a function is only ever called once.\"\"\"\n lock = threading.Lock()\n cached = functools.lru_cache(None)(f)\n @functools.wraps(f)\n def inner():\n with lock:\n return cached()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "documentation": {} }, { "label": "TZPATH_TEST_LOCK", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "peekOfCode": "TZPATH_TEST_LOCK = threading.Lock()\ndef call_once(f):\n \"\"\"Decorator that ensures a function is only ever called once.\"\"\"\n lock = threading.Lock()\n cached = functools.lru_cache(None)(f)\n @functools.wraps(f)\n def inner():\n with lock:\n return cached()\n return inner", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_zoneinfo._support", "documentation": {} }, { "label": "function_1", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.call_stack", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.call_stack", "peekOfCode": "def function_1():\n function_3(1, 2)\n# Check stacktrace\ndef function_2():\n function_1()\n# CALL_FUNCTION_VAR\ndef function_3(dummy, dummy2):\n pass\n# CALL_FUNCTION_KW\ndef function_4(**dummy):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.call_stack", "documentation": {} }, { "label": "function_2", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.call_stack", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.call_stack", "peekOfCode": "def function_2():\n function_1()\n# CALL_FUNCTION_VAR\ndef function_3(dummy, dummy2):\n pass\n# CALL_FUNCTION_KW\ndef function_4(**dummy):\n return 1\n return 2 # unreachable\n# CALL_FUNCTION_VAR_KW", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.call_stack", "documentation": {} }, { "label": "function_3", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.call_stack", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.call_stack", "peekOfCode": "def function_3(dummy, dummy2):\n pass\n# CALL_FUNCTION_KW\ndef function_4(**dummy):\n return 1\n return 2 # unreachable\n# CALL_FUNCTION_VAR_KW\ndef function_5(dummy, dummy2, **dummy3):\n if False:\n return 7", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.call_stack", "documentation": {} }, { "label": "function_4", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.call_stack", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.call_stack", "peekOfCode": "def function_4(**dummy):\n return 1\n return 2 # unreachable\n# CALL_FUNCTION_VAR_KW\ndef function_5(dummy, dummy2, **dummy3):\n if False:\n return 7\n return 8\ndef start():\n function_1()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.call_stack", "documentation": {} }, { "label": "function_5", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.call_stack", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.call_stack", "peekOfCode": "def function_5(dummy, dummy2, **dummy3):\n if False:\n return 7\n return 8\ndef start():\n function_1()\n function_2()\n function_3(1, 2)\n function_4(test=42)\n function_5(*(1, 2), **{\"test\": 42})", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.call_stack", "documentation": {} }, { "label": "start", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.call_stack", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.call_stack", "peekOfCode": "def start():\n function_1()\n function_2()\n function_3(1, 2)\n function_4(test=42)\n function_5(*(1, 2), **{\"test\": 42})\nstart()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.call_stack", "documentation": {} }, { "label": "start", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.gc", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.gc", "peekOfCode": "def start():\n gc.collect(0)\n gc.collect(1)\n gc.collect(2)\n l = []\n l.append(l)\n del l\n gc.collect(2)\ngc.collect()\nstart()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.gc", "documentation": {} }, { "label": "old_style_class", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.instance", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.instance", "peekOfCode": "class old_style_class():\n pass\nclass new_style_class(object):\n pass\na = old_style_class()\ndel a\ngc.collect()\nb = new_style_class()\ndel b\ngc.collect()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.instance", "documentation": {} }, { "label": "new_style_class", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.instance", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.instance", "peekOfCode": "class new_style_class(object):\n pass\na = old_style_class()\ndel a\ngc.collect()\nb = new_style_class()\ndel b\ngc.collect()\na = old_style_class()\ndel old_style_class", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.instance", "documentation": {} }, { "label": "a", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.instance", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.instance", "peekOfCode": "a = old_style_class()\ndel a\ngc.collect()\nb = new_style_class()\ndel b\ngc.collect()\na = old_style_class()\ndel old_style_class\ngc.collect()\nb = new_style_class()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.instance", "documentation": {} }, { "label": "b", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.instance", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.instance", "peekOfCode": "b = new_style_class()\ndel b\ngc.collect()\na = old_style_class()\ndel old_style_class\ngc.collect()\nb = new_style_class()\ndel new_style_class\ngc.collect()\ndel a", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.instance", "documentation": {} }, { "label": "a", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.instance", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.instance", "peekOfCode": "a = old_style_class()\ndel old_style_class\ngc.collect()\nb = new_style_class()\ndel new_style_class\ngc.collect()\ndel a\ngc.collect()\ndel b\ngc.collect()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.instance", "documentation": {} }, { "label": "b", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.instance", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.instance", "peekOfCode": "b = new_style_class()\ndel new_style_class\ngc.collect()\ndel a\ngc.collect()\ndel b\ngc.collect()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.instance", "documentation": {} }, { "label": "test_line", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.line", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.line", "peekOfCode": "def test_line():\n a = 1\n print('# Preamble', a)\n for i in range(2):\n a = i\n b = i+2\n c = i+3\n if c < 4:\n a = c\n d = a + b +c", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.dtracedata.line", "documentation": {} }, { "label": "Tests", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_c_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_c_parser", "peekOfCode": "class Tests(unittest.TestCase):\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n if invalid_cases:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_c_parser", "documentation": {} }, { "label": "TestCParser", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_c_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_c_parser", "peekOfCode": "class TestCParser(unittest.TestCase):\n def setUp(self):\n self._backup_config_vars = dict(sysconfig._CONFIG_VARS)\n cmd = support.missing_compiler_executable()\n if cmd is not None:\n self.skipTest(\"The %r command is not found\" % cmd)\n self.old_cwd = os.getcwd()\n self.tmp_path = tempfile.mkdtemp()\n change_cwd = os_helper.change_cwd(self.tmp_path)\n change_cwd.__enter__()", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_c_parser", "documentation": {} }, { "label": "_py_cflags_nodist", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_c_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_c_parser", "peekOfCode": "_py_cflags_nodist = sysconfig.get_config_var('PY_CFLAGS_NODIST')\n_pgo_flag = sysconfig.get_config_var('PGO_PROF_USE_FLAG')\nif _pgo_flag and _py_cflags_nodist and _pgo_flag in _py_cflags_nodist:\n raise unittest.SkipTest(\"peg_generator test disabled under PGO build\")\ntest_tools.skip_if_missing(\"peg_generator\")\nwith test_tools.imports_under_tool(\"peg_generator\"):\n from pegen.grammar_parser import GeneratedParser as GrammarParser\n from pegen.testutil import (\n parse_string,\n generate_parser_c_extension,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_c_parser", "documentation": {} }, { "label": "_pgo_flag", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_c_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_c_parser", "peekOfCode": "_pgo_flag = sysconfig.get_config_var('PGO_PROF_USE_FLAG')\nif _pgo_flag and _py_cflags_nodist and _pgo_flag in _py_cflags_nodist:\n raise unittest.SkipTest(\"peg_generator test disabled under PGO build\")\ntest_tools.skip_if_missing(\"peg_generator\")\nwith test_tools.imports_under_tool(\"peg_generator\"):\n from pegen.grammar_parser import GeneratedParser as GrammarParser\n from pegen.testutil import (\n parse_string,\n generate_parser_c_extension,\n generate_c_parser_source,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_c_parser", "documentation": {} }, { "label": "TEST_TEMPLATE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_c_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_c_parser", "peekOfCode": "TEST_TEMPLATE = \"\"\"\ntmp_dir = {extension_path!r}\nimport ast\nimport traceback\nimport sys\nimport unittest\nfrom test import test_tools\nwith test_tools.imports_under_tool(\"peg_generator\"):\n from pegen.ast_dump import ast_dump\nsys.path.insert(0, tmp_dir)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_c_parser", "documentation": {} }, { "label": "tmp_dir", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_c_parser", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_c_parser", "peekOfCode": "tmp_dir = {extension_path!r}\nimport ast\nimport traceback\nimport sys\nimport unittest\nfrom test import test_tools\nwith test_tools.imports_under_tool(\"peg_generator\"):\n from pegen.ast_dump import ast_dump\nsys.path.insert(0, tmp_dir)\nimport parse", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_c_parser", "documentation": {} }, { "label": "TestFirstSets", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_first_sets", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_first_sets", "peekOfCode": "class TestFirstSets(unittest.TestCase):\n def calculate_first_sets(self, grammar_source: str) -> Dict[str, Set[str]]:\n grammar: Grammar = parse_string(grammar_source, GrammarParser)\n return FirstSetCalculator(grammar.rules).calculate()\n def test_alternatives(self) -> None:\n grammar = \"\"\"\n start: expr NEWLINE? ENDMARKER\n expr: A | B\n A: 'a' | '-'\n B: 'b' | '+'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_first_sets", "documentation": {} }, { "label": "TestPegen", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_grammar_validator", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_grammar_validator", "peekOfCode": "class TestPegen(unittest.TestCase):\n def test_rule_with_no_collision(self) -> None:\n grammar_source = \"\"\"\n start: bad_rule\n sum:\n | NAME '-' NAME\n | NAME '+' NAME\n \"\"\"\n grammar: Grammar = parse_string(grammar_source, GrammarParser)\n validator = SubRuleValidator(grammar)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_grammar_validator", "documentation": {} }, { "label": "TestPegen", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_pegen", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_pegen", "peekOfCode": "class TestPegen(unittest.TestCase):\n def test_parse_grammar(self) -> None:\n grammar_source = \"\"\"\n start: sum NEWLINE\n sum: t1=term '+' t2=term { action } | term\n term: NUMBER\n \"\"\"\n expected = \"\"\"\n start: sum NEWLINE\n sum: term '+' term | term", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_pegen", "documentation": {} }, { "label": "TestGrammarVisitor", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_pegen", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_pegen", "peekOfCode": "class TestGrammarVisitor:\n class Visitor(GrammarVisitor):\n def __init__(self) -> None:\n self.n_nodes = 0\n def visit(self, node: Any, *args: Any, **kwargs: Any) -> None:\n self.n_nodes += 1\n super().visit(node, *args, **kwargs)\n def test_parse_trivial_grammar(self) -> None:\n grammar = \"\"\"\n start: 'a'", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_pegen", "documentation": {} }, { "label": "TestGrammarVisualizer", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_pegen", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_pegen", "peekOfCode": "class TestGrammarVisualizer(unittest.TestCase):\n def test_simple_rule(self) -> None:\n grammar = \"\"\"\n start: 'a' 'b'\n \"\"\"\n rules = parse_string(grammar, GrammarParser)\n printer = ASTGrammarPrinter()\n lines: List[str] = []\n printer.print_grammar_ast(rules, printer=lines.append)\n output = \"\\n\".join(lines)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_peg_generator.test_pegen", "documentation": {} }, { "label": "p", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.subprocessdata.sigchild_ignore", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.subprocessdata.sigchild_ignore", "peekOfCode": "p = subprocess.Popen([sys.executable, '-c', 'print(\"albatross\")'])\nnum_polls = 0\nwhile p.poll() is None:\n # Waiting for the process to finish.\n time.sleep(0.01) # Avoid being a CPU busy loop.\n num_polls += 1\n if num_polls > 3000:\n raise RuntimeError('poll should have returned 0 within 30 seconds')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.subprocessdata.sigchild_ignore", "documentation": {} }, { "label": "num_polls", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.subprocessdata.sigchild_ignore", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.subprocessdata.sigchild_ignore", "peekOfCode": "num_polls = 0\nwhile p.poll() is None:\n # Waiting for the process to finish.\n time.sleep(0.01) # Avoid being a CPU busy loop.\n num_polls += 1\n if num_polls > 3000:\n raise RuntimeError('poll should have returned 0 within 30 seconds')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.subprocessdata.sigchild_ignore", "documentation": {} }, { "label": "TestDecode", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_decode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_decode", "peekOfCode": "class TestDecode:\n def test_decimal(self):\n rval = self.loads('1.1', parse_float=decimal.Decimal)\n self.assertTrue(isinstance(rval, decimal.Decimal))\n self.assertEqual(rval, decimal.Decimal('1.1'))\n def test_float(self):\n rval = self.loads('1', parse_int=float)\n self.assertTrue(isinstance(rval, float))\n self.assertEqual(rval, 1.0)\n def test_empty_objects(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_decode", "documentation": {} }, { "label": "TestPyDecode", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_decode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_decode", "peekOfCode": "class TestPyDecode(TestDecode, PyTest): pass\nclass TestCDecode(TestDecode, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_decode", "documentation": {} }, { "label": "TestCDecode", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_decode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_decode", "peekOfCode": "class TestCDecode(TestDecode, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_decode", "documentation": {} }, { "label": "TestDefault", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_default", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_default", "peekOfCode": "class TestDefault:\n def test_default(self):\n self.assertEqual(\n self.dumps(type, default=repr),\n self.dumps(repr(type)))\nclass TestPyDefault(TestDefault, PyTest): pass\nclass TestCDefault(TestDefault, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_default", "documentation": {} }, { "label": "TestPyDefault", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_default", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_default", "peekOfCode": "class TestPyDefault(TestDefault, PyTest): pass\nclass TestCDefault(TestDefault, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_default", "documentation": {} }, { "label": "TestCDefault", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_default", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_default", "peekOfCode": "class TestCDefault(TestDefault, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_default", "documentation": {} }, { "label": "TestDump", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_dump", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_dump", "peekOfCode": "class TestDump:\n def test_dump(self):\n sio = StringIO()\n self.json.dump({}, sio)\n self.assertEqual(sio.getvalue(), '{}')\n def test_dumps(self):\n self.assertEqual(self.dumps({}), '{}')\n def test_dump_skipkeys(self):\n v = {b'invalid_key': False, 'valid_key': True}\n with self.assertRaises(TypeError):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_dump", "documentation": {} }, { "label": "TestPyDump", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_dump", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_dump", "peekOfCode": "class TestPyDump(TestDump, PyTest): pass\nclass TestCDump(TestDump, CTest):\n # The size requirement here is hopefully over-estimated (actual\n # memory consumption depending on implementation details, and also\n # system memory management, since this may allocate a lot of\n # small objects).\n @bigmemtest(size=_1G, memuse=1)\n def test_large_list(self, size):\n N = int(30 * 1024 * 1024 * (size / _1G))\n l = [1] * N", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_dump", "documentation": {} }, { "label": "TestCDump", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_dump", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_dump", "peekOfCode": "class TestCDump(TestDump, CTest):\n # The size requirement here is hopefully over-estimated (actual\n # memory consumption depending on implementation details, and also\n # system memory management, since this may allocate a lot of\n # small objects).\n @bigmemtest(size=_1G, memuse=1)\n def test_large_list(self, size):\n N = int(30 * 1024 * 1024 * (size / _1G))\n l = [1] * N\n encoded = self.dumps(l)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_dump", "documentation": {} }, { "label": "TestEncodeBasestringAscii", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_encode_basestring_ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_encode_basestring_ascii", "peekOfCode": "class TestEncodeBasestringAscii:\n def test_encode_basestring_ascii(self):\n fname = self.json.encoder.encode_basestring_ascii.__name__\n for input_string, expect in CASES:\n result = self.json.encoder.encode_basestring_ascii(input_string)\n self.assertEqual(result, expect,\n '{0!r} != {1!r} for {2}({3!r})'.format(\n result, expect, fname, input_string))\n def test_ordered_dict(self):\n # See issue 6105", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_encode_basestring_ascii", "documentation": {} }, { "label": "TestPyEncodeBasestringAscii", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_encode_basestring_ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_encode_basestring_ascii", "peekOfCode": "class TestPyEncodeBasestringAscii(TestEncodeBasestringAscii, PyTest): pass\nclass TestCEncodeBasestringAscii(TestEncodeBasestringAscii, CTest):\n @bigaddrspacetest\n def test_overflow(self):\n size = (2**32)//6 + 1\n s = \"\\x00\"*size\n with self.assertRaises(OverflowError):\n self.json.encoder.encode_basestring_ascii(s)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_encode_basestring_ascii", "documentation": {} }, { "label": "TestCEncodeBasestringAscii", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_encode_basestring_ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_encode_basestring_ascii", "peekOfCode": "class TestCEncodeBasestringAscii(TestEncodeBasestringAscii, CTest):\n @bigaddrspacetest\n def test_overflow(self):\n size = (2**32)//6 + 1\n s = \"\\x00\"*size\n with self.assertRaises(OverflowError):\n self.json.encoder.encode_basestring_ascii(s)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_encode_basestring_ascii", "documentation": {} }, { "label": "CASES", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_encode_basestring_ascii", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_encode_basestring_ascii", "peekOfCode": "CASES = [\n ('/\\\\\"\\ucafe\\ubabe\\uab98\\ufcde\\ubcda\\uef4a\\x08\\x0c\\n\\r\\t`1~!@#$%^&*()_+-=[]{}|;:\\',./<>?', '\"/\\\\\\\\\\\\\"\\\\ucafe\\\\ubabe\\\\uab98\\\\ufcde\\\\ubcda\\\\uef4a\\\\b\\\\f\\\\n\\\\r\\\\t`1~!@#$%^&*()_+-=[]{}|;:\\',./<>?\"'),\n ('\\u0123\\u4567\\u89ab\\ucdef\\uabcd\\uef4a', '\"\\\\u0123\\\\u4567\\\\u89ab\\\\ucdef\\\\uabcd\\\\uef4a\"'),\n ('controls', '\"controls\"'),\n ('\\x08\\x0c\\n\\r\\t', '\"\\\\b\\\\f\\\\n\\\\r\\\\t\"'),\n ('{\"object with 1 member\":[\"array with 1 element\"]}', '\"{\\\\\"object with 1 member\\\\\":[\\\\\"array with 1 element\\\\\"]}\"'),\n (' s p a c e d ', '\" s p a c e d \"'),\n ('\\U0001d120', '\"\\\\ud834\\\\udd20\"'),\n ('\\u03b1\\u03a9', '\"\\\\u03b1\\\\u03a9\"'),\n (\"`1~!@#$%^&*()_+-={':[,]}|;.?\", '\"`1~!@#$%^&*()_+-={\\':[,]}|;.?\"'),", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_encode_basestring_ascii", "documentation": {} }, { "label": "BigNum", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "peekOfCode": "class BigNum(IntEnum):\n small = SMALL\n big = BIG\n huge = HUGE\n really_huge = REALLY_HUGE\nE = 2.718281\nPI = 3.141593\nTAU = 2 * PI\nclass FloatNum(float, Enum):\n e = E", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "documentation": {} }, { "label": "FloatNum", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "peekOfCode": "class FloatNum(float, Enum):\n e = E\n pi = PI\n tau = TAU\nINF = float('inf')\nNEG_INF = float('-inf')\nNAN = float('nan')\nclass WierdNum(float, Enum):\n inf = INF\n neg_inf = NEG_INF", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "documentation": {} }, { "label": "WierdNum", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "peekOfCode": "class WierdNum(float, Enum):\n inf = INF\n neg_inf = NEG_INF\n nan = NAN\nclass TestEnum:\n def test_floats(self):\n for enum in FloatNum:\n self.assertEqual(self.dumps(enum), repr(enum.value))\n self.assertEqual(float(self.dumps(enum)), enum)\n self.assertEqual(self.loads(self.dumps(enum)), enum)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "documentation": {} }, { "label": "TestEnum", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "peekOfCode": "class TestEnum:\n def test_floats(self):\n for enum in FloatNum:\n self.assertEqual(self.dumps(enum), repr(enum.value))\n self.assertEqual(float(self.dumps(enum)), enum)\n self.assertEqual(self.loads(self.dumps(enum)), enum)\n def test_weird_floats(self):\n for enum, expected in zip(WierdNum, ('Infinity', '-Infinity', 'NaN')):\n self.assertEqual(self.dumps(enum), expected)\n if not isnan(enum):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "documentation": {} }, { "label": "TestPyEnum", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "peekOfCode": "class TestPyEnum(TestEnum, PyTest): pass\nclass TestCEnum(TestEnum, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "documentation": {} }, { "label": "TestCEnum", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "peekOfCode": "class TestCEnum(TestEnum, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "documentation": {} }, { "label": "SMALL", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "peekOfCode": "SMALL = 1\nBIG = 1<<32\nHUGE = 1<<64\nREALLY_HUGE = 1<<96\nclass BigNum(IntEnum):\n small = SMALL\n big = BIG\n huge = HUGE\n really_huge = REALLY_HUGE\nE = 2.718281", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "documentation": {} }, { "label": "BIG", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "peekOfCode": "BIG = 1<<32\nHUGE = 1<<64\nREALLY_HUGE = 1<<96\nclass BigNum(IntEnum):\n small = SMALL\n big = BIG\n huge = HUGE\n really_huge = REALLY_HUGE\nE = 2.718281\nPI = 3.141593", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "documentation": {} }, { "label": "HUGE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "peekOfCode": "HUGE = 1<<64\nREALLY_HUGE = 1<<96\nclass BigNum(IntEnum):\n small = SMALL\n big = BIG\n huge = HUGE\n really_huge = REALLY_HUGE\nE = 2.718281\nPI = 3.141593\nTAU = 2 * PI", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "documentation": {} }, { "label": "REALLY_HUGE", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "peekOfCode": "REALLY_HUGE = 1<<96\nclass BigNum(IntEnum):\n small = SMALL\n big = BIG\n huge = HUGE\n really_huge = REALLY_HUGE\nE = 2.718281\nPI = 3.141593\nTAU = 2 * PI\nclass FloatNum(float, Enum):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "documentation": {} }, { "label": "E", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "peekOfCode": "E = 2.718281\nPI = 3.141593\nTAU = 2 * PI\nclass FloatNum(float, Enum):\n e = E\n pi = PI\n tau = TAU\nINF = float('inf')\nNEG_INF = float('-inf')\nNAN = float('nan')", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "documentation": {} }, { "label": "PI", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "peekOfCode": "PI = 3.141593\nTAU = 2 * PI\nclass FloatNum(float, Enum):\n e = E\n pi = PI\n tau = TAU\nINF = float('inf')\nNEG_INF = float('-inf')\nNAN = float('nan')\nclass WierdNum(float, Enum):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "documentation": {} }, { "label": "TAU", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "peekOfCode": "TAU = 2 * PI\nclass FloatNum(float, Enum):\n e = E\n pi = PI\n tau = TAU\nINF = float('inf')\nNEG_INF = float('-inf')\nNAN = float('nan')\nclass WierdNum(float, Enum):\n inf = INF", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "documentation": {} }, { "label": "INF", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "peekOfCode": "INF = float('inf')\nNEG_INF = float('-inf')\nNAN = float('nan')\nclass WierdNum(float, Enum):\n inf = INF\n neg_inf = NEG_INF\n nan = NAN\nclass TestEnum:\n def test_floats(self):\n for enum in FloatNum:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "documentation": {} }, { "label": "NEG_INF", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "peekOfCode": "NEG_INF = float('-inf')\nNAN = float('nan')\nclass WierdNum(float, Enum):\n inf = INF\n neg_inf = NEG_INF\n nan = NAN\nclass TestEnum:\n def test_floats(self):\n for enum in FloatNum:\n self.assertEqual(self.dumps(enum), repr(enum.value))", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "documentation": {} }, { "label": "NAN", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "peekOfCode": "NAN = float('nan')\nclass WierdNum(float, Enum):\n inf = INF\n neg_inf = NEG_INF\n nan = NAN\nclass TestEnum:\n def test_floats(self):\n for enum in FloatNum:\n self.assertEqual(self.dumps(enum), repr(enum.value))\n self.assertEqual(float(self.dumps(enum)), enum)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_enum", "documentation": {} }, { "label": "TestFail", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_fail", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_fail", "peekOfCode": "class TestFail:\n def test_failures(self):\n for idx, doc in enumerate(JSONDOCS):\n idx = idx + 1\n if idx in SKIPS:\n self.loads(doc)\n continue\n try:\n self.loads(doc)\n except self.JSONDecodeError:", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_fail", "documentation": {} }, { "label": "TestPyFail", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_fail", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_fail", "peekOfCode": "class TestPyFail(TestFail, PyTest): pass\nclass TestCFail(TestFail, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_fail", "documentation": {} }, { "label": "TestCFail", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_fail", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_fail", "peekOfCode": "class TestCFail(TestFail, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_fail", "documentation": {} }, { "label": "JSONDOCS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_fail", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_fail", "peekOfCode": "JSONDOCS = [\n # http://json.org/JSON_checker/test/fail1.json\n '\"A JSON payload should be an object or array, not a string.\"',\n # http://json.org/JSON_checker/test/fail2.json\n '[\"Unclosed array\"',\n # http://json.org/JSON_checker/test/fail3.json\n '{unquoted_key: \"keys must be quoted\"}',\n # http://json.org/JSON_checker/test/fail4.json\n '[\"extra comma\",]',\n # http://json.org/JSON_checker/test/fail5.json", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_fail", "documentation": {} }, { "label": "SKIPS", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_fail", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_fail", "peekOfCode": "SKIPS = {\n 1: \"why not have a string payload?\",\n 18: \"spec doesn't specify any nesting limitations\",\n}\nclass TestFail:\n def test_failures(self):\n for idx, doc in enumerate(JSONDOCS):\n idx = idx + 1\n if idx in SKIPS:\n self.loads(doc)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_fail", "documentation": {} }, { "label": "TestFloat", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_float", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_float", "peekOfCode": "class TestFloat:\n def test_floats(self):\n for num in [1617161771.7650001, math.pi, math.pi**100, math.pi**-100, 3.1]:\n self.assertEqual(float(self.dumps(num)), num)\n self.assertEqual(self.loads(self.dumps(num)), num)\n def test_ints(self):\n for num in [1, 1<<32, 1<<64]:\n self.assertEqual(self.dumps(num), str(num))\n self.assertEqual(int(self.dumps(num)), num)\n def test_out_of_range(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_float", "documentation": {} }, { "label": "TestPyFloat", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_float", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_float", "peekOfCode": "class TestPyFloat(TestFloat, PyTest): pass\nclass TestCFloat(TestFloat, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_float", "documentation": {} }, { "label": "TestCFloat", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_float", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_float", "peekOfCode": "class TestCFloat(TestFloat, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_float", "documentation": {} }, { "label": "TestIndent", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_indent", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_indent", "peekOfCode": "class TestIndent:\n def test_indent(self):\n h = [['blorpie'], ['whoops'], [], 'd-shtaeou', 'd-nthiouh', 'i-vhbjkhnth',\n {'nifty': 87}, {'field': 'yes', 'morefield': False} ]\n expect = textwrap.dedent(\"\"\"\\\n [\n \\t[\n \\t\\t\"blorpie\"\n \\t],\n \\t[", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_indent", "documentation": {} }, { "label": "TestPyIndent", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_indent", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_indent", "peekOfCode": "class TestPyIndent(TestIndent, PyTest): pass\nclass TestCIndent(TestIndent, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_indent", "documentation": {} }, { "label": "TestCIndent", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_indent", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_indent", "peekOfCode": "class TestCIndent(TestIndent, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_indent", "documentation": {} }, { "label": "TestPass1", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass1", "peekOfCode": "class TestPass1:\n def test_parse(self):\n # test in/out equivalence and parsing\n res = self.loads(JSON)\n out = self.dumps(res)\n self.assertEqual(res, self.loads(out))\nclass TestPyPass1(TestPass1, PyTest): pass\nclass TestCPass1(TestPass1, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass1", "documentation": {} }, { "label": "TestPyPass1", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass1", "peekOfCode": "class TestPyPass1(TestPass1, PyTest): pass\nclass TestCPass1(TestPass1, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass1", "documentation": {} }, { "label": "TestCPass1", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass1", "peekOfCode": "class TestCPass1(TestPass1, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass1", "documentation": {} }, { "label": "JSON", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass1", "peekOfCode": "JSON = r'''\n[\n \"JSON Test Pattern pass1\",\n {\"object with 1 member\":[\"array with 1 element\"]},\n {},\n [],\n -42,\n true,\n false,\n null,", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass1", "documentation": {} }, { "label": "TestPass2", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass2", "peekOfCode": "class TestPass2:\n def test_parse(self):\n # test in/out equivalence and parsing\n res = self.loads(JSON)\n out = self.dumps(res)\n self.assertEqual(res, self.loads(out))\nclass TestPyPass2(TestPass2, PyTest): pass\nclass TestCPass2(TestPass2, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass2", "documentation": {} }, { "label": "TestPyPass2", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass2", "peekOfCode": "class TestPyPass2(TestPass2, PyTest): pass\nclass TestCPass2(TestPass2, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass2", "documentation": {} }, { "label": "TestCPass2", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass2", "peekOfCode": "class TestCPass2(TestPass2, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass2", "documentation": {} }, { "label": "JSON", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass2", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass2", "peekOfCode": "JSON = r'''\n[[[[[[[[[[[[[[[[[[[\"Not too deep\"]]]]]]]]]]]]]]]]]]]\n'''\nclass TestPass2:\n def test_parse(self):\n # test in/out equivalence and parsing\n res = self.loads(JSON)\n out = self.dumps(res)\n self.assertEqual(res, self.loads(out))\nclass TestPyPass2(TestPass2, PyTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass2", "documentation": {} }, { "label": "TestPass3", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass3", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass3", "peekOfCode": "class TestPass3:\n def test_parse(self):\n # test in/out equivalence and parsing\n res = self.loads(JSON)\n out = self.dumps(res)\n self.assertEqual(res, self.loads(out))\nclass TestPyPass3(TestPass3, PyTest): pass\nclass TestCPass3(TestPass3, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass3", "documentation": {} }, { "label": "TestPyPass3", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass3", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass3", "peekOfCode": "class TestPyPass3(TestPass3, PyTest): pass\nclass TestCPass3(TestPass3, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass3", "documentation": {} }, { "label": "TestCPass3", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass3", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass3", "peekOfCode": "class TestCPass3(TestPass3, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass3", "documentation": {} }, { "label": "JSON", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass3", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass3", "peekOfCode": "JSON = r'''\n{\n \"JSON Test Pattern pass3\": {\n \"The outermost value\": \"must be an object or array.\",\n \"In this test\": \"It is an object.\"\n }\n}\n'''\nclass TestPass3:\n def test_parse(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_pass3", "documentation": {} }, { "label": "JSONTestObject", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_recursion", "peekOfCode": "class JSONTestObject:\n pass\nclass TestRecursion:\n def test_listrecursion(self):\n x = []\n x.append(x)\n try:\n self.dumps(x)\n except ValueError:\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_recursion", "documentation": {} }, { "label": "TestRecursion", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_recursion", "peekOfCode": "class TestRecursion:\n def test_listrecursion(self):\n x = []\n x.append(x)\n try:\n self.dumps(x)\n except ValueError:\n pass\n else:\n self.fail(\"didn't raise ValueError on list recursion\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_recursion", "documentation": {} }, { "label": "TestPyRecursion", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_recursion", "peekOfCode": "class TestPyRecursion(TestRecursion, PyTest): pass\nclass TestCRecursion(TestRecursion, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_recursion", "documentation": {} }, { "label": "TestCRecursion", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_recursion", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_recursion", "peekOfCode": "class TestCRecursion(TestRecursion, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_recursion", "documentation": {} }, { "label": "TestScanstring", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_scanstring", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_scanstring", "peekOfCode": "class TestScanstring:\n def test_scanstring(self):\n scanstring = self.json.decoder.scanstring\n self.assertEqual(\n scanstring('\"z\\U0001d120x\"', 1, True),\n ('z\\U0001d120x', 5))\n self.assertEqual(\n scanstring('\"\\\\u007b\"', 1, True),\n ('{', 8))\n self.assertEqual(", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_scanstring", "documentation": {} }, { "label": "TestPyScanstring", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_scanstring", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_scanstring", "peekOfCode": "class TestPyScanstring(TestScanstring, PyTest): pass\nclass TestCScanstring(TestScanstring, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_scanstring", "documentation": {} }, { "label": "TestCScanstring", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_scanstring", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_scanstring", "peekOfCode": "class TestCScanstring(TestScanstring, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_scanstring", "documentation": {} }, { "label": "TestSeparators", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_separators", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_separators", "peekOfCode": "class TestSeparators:\n def test_separators(self):\n h = [['blorpie'], ['whoops'], [], 'd-shtaeou', 'd-nthiouh', 'i-vhbjkhnth',\n {'nifty': 87}, {'field': 'yes', 'morefield': False} ]\n expect = textwrap.dedent(\"\"\"\\\n [\n [\n \"blorpie\"\n ] ,\n [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_separators", "documentation": {} }, { "label": "TestPySeparators", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_separators", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_separators", "peekOfCode": "class TestPySeparators(TestSeparators, PyTest): pass\nclass TestCSeparators(TestSeparators, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_separators", "documentation": {} }, { "label": "TestCSeparators", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_separators", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_separators", "peekOfCode": "class TestCSeparators(TestSeparators, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_separators", "documentation": {} }, { "label": "BadBool", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_speedups", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_speedups", "peekOfCode": "class BadBool:\n def __bool__(self):\n 1/0\nclass TestSpeedups(CTest):\n def test_scanstring(self):\n self.assertEqual(self.json.decoder.scanstring.__module__, \"_json\")\n self.assertIs(self.json.decoder.scanstring, self.json.decoder.c_scanstring)\n def test_encode_basestring_ascii(self):\n self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__,\n \"_json\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_speedups", "documentation": {} }, { "label": "TestSpeedups", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_speedups", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_speedups", "peekOfCode": "class TestSpeedups(CTest):\n def test_scanstring(self):\n self.assertEqual(self.json.decoder.scanstring.__module__, \"_json\")\n self.assertIs(self.json.decoder.scanstring, self.json.decoder.c_scanstring)\n def test_encode_basestring_ascii(self):\n self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__,\n \"_json\")\n self.assertIs(self.json.encoder.encode_basestring_ascii,\n self.json.encoder.c_encode_basestring_ascii)\nclass TestDecode(CTest):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_speedups", "documentation": {} }, { "label": "TestDecode", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_speedups", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_speedups", "peekOfCode": "class TestDecode(CTest):\n def test_make_scanner(self):\n self.assertRaises(AttributeError, self.json.scanner.c_make_scanner, 1)\n def test_bad_bool_args(self):\n def test(value):\n self.json.decoder.JSONDecoder(strict=BadBool()).decode(value)\n self.assertRaises(ZeroDivisionError, test, '\"\"')\n self.assertRaises(ZeroDivisionError, test, '{}')\nclass TestEncode(CTest):\n def test_make_encoder(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_speedups", "documentation": {} }, { "label": "TestEncode", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_speedups", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_speedups", "peekOfCode": "class TestEncode(CTest):\n def test_make_encoder(self):\n # bpo-6986: The interpreter shouldn't crash in case c_make_encoder()\n # receives invalid arguments.\n self.assertRaises(TypeError, self.json.encoder.c_make_encoder,\n (True, False),\n b\"\\xCD\\x7D\\x3D\\x4E\\x12\\x4C\\xF9\\x79\\xD7\\x52\\xBA\\x82\\xF2\\x27\\x4A\\x7D\\xA0\\xCA\\x75\",\n None)\n def test_bad_str_encoder(self):\n # Issue #31505: There shouldn't be an assertion failure in case", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_speedups", "documentation": {} }, { "label": "TestTool", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_tool", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_tool", "peekOfCode": "class TestTool(unittest.TestCase):\n data = \"\"\"\n [[\"blorpie\"],[ \"whoops\" ] , [\n ],\\t\"d-shtaeou\",\\r\"d-nthiouh\",\n \"i-vhbjkhnth\", {\"nifty\":87}, {\"morefield\" :\\tfalse,\"field\"\n :\"yes\"} ]\n \"\"\"\n expect_without_sort_keys = textwrap.dedent(\"\"\"\\\n [\n [", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_tool", "documentation": {} }, { "label": "TestUnicode", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_unicode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_unicode", "peekOfCode": "class TestUnicode:\n # test_encoding1 and test_encoding2 from 2.x are irrelevant (only str\n # is supported as input, not bytes).\n def test_encoding3(self):\n u = '\\N{GREEK SMALL LETTER ALPHA}\\N{GREEK CAPITAL LETTER OMEGA}'\n j = self.dumps(u)\n self.assertEqual(j, '\"\\\\u03b1\\\\u03a9\"')\n def test_encoding4(self):\n u = '\\N{GREEK SMALL LETTER ALPHA}\\N{GREEK CAPITAL LETTER OMEGA}'\n j = self.dumps([u])", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_unicode", "documentation": {} }, { "label": "TestPyUnicode", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_unicode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_unicode", "peekOfCode": "class TestPyUnicode(TestUnicode, PyTest): pass\nclass TestCUnicode(TestUnicode, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_unicode", "documentation": {} }, { "label": "TestCUnicode", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_unicode", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_unicode", "peekOfCode": "class TestCUnicode(TestUnicode, CTest): pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_json.test_unicode", "documentation": {} }, { "label": "outer", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_warnings.data.stacklevel", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_warnings.data.stacklevel", "peekOfCode": "def outer(message, stacklevel=1):\n inner(message, stacklevel)\ndef inner(message, stacklevel=1):\n warnings.warn(message, stacklevel=stacklevel)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_warnings.data.stacklevel", "documentation": {} }, { "label": "inner", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_warnings.data.stacklevel", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_warnings.data.stacklevel", "peekOfCode": "def inner(message, stacklevel=1):\n warnings.warn(message, stacklevel=stacklevel)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.test_warnings.data.stacklevel", "documentation": {} }, { "label": "func", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.tracedmodules.testmod", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.tracedmodules.testmod", "peekOfCode": "def func(x):\n b = x + 1\n return b + 2\ndef func2():\n \"\"\"Test function for issue 9936 \"\"\"\n return (1,\n 2,\n 3)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.tracedmodules.testmod", "documentation": {} }, { "label": "func2", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.tracedmodules.testmod", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.tracedmodules.testmod", "peekOfCode": "def func2():\n \"\"\"Test function for issue 9936 \"\"\"\n return (1,\n 2,\n 3)", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.tracedmodules.testmod", "documentation": {} }, { "label": "test", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.encoded_modules.module_iso_8859_1", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.encoded_modules.module_iso_8859_1", "peekOfCode": "test = (\"Les hommes ont oubli� cette v�rit�, \"\n \"dit le renard. Mais tu ne dois pas l'oublier. Tu deviens \"\n \"responsable pour toujours de ce que tu as apprivois�.\")", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.encoded_modules.module_iso_8859_1", "documentation": {} }, { "label": "test", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.encoded_modules.module_koi8_r", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.encoded_modules.module_koi8_r", "peekOfCode": "test = \"�������� ������������� ������� ������������ �������.\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.encoded_modules.module_koi8_r", "documentation": {} }, { "label": "A", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "peekOfCode": "class A:\n \"\"\"Hello and goodbye\"\"\"\n def __init__():\n \"\"\"Wow, I have no function!\"\"\"\n pass\nclass B(object):\n NO_MEANING: str = \"eggs\"\n pass\nclass C(object):\n def say_no(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "documentation": {} }, { "label": "B", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "peekOfCode": "class B(object):\n NO_MEANING: str = \"eggs\"\n pass\nclass C(object):\n def say_no(self):\n return \"no\"\n def get_answer(self):\n \"\"\" Return say_no() \"\"\"\n return self.say_no()\n def is_it_true(self):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "documentation": {} }, { "label": "C", "kind": 6, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "peekOfCode": "class C(object):\n def say_no(self):\n return \"no\"\n def get_answer(self):\n \"\"\" Return say_no() \"\"\"\n return self.say_no()\n def is_it_true(self):\n \"\"\" Return self.get_answer() \"\"\"\n return self.get_answer()\n def __class_getitem__(self, item):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "documentation": {} }, { "label": "doc_func", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "peekOfCode": "def doc_func():\n \"\"\"\n This function solves all of the world's problems:\n hunger\n lack of Python\n war\n \"\"\"\ndef nodoc_func():\n pass\nlist_alias1 = typing.List[int]", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "documentation": {} }, { "label": "nodoc_func", "kind": 2, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "peekOfCode": "def nodoc_func():\n pass\nlist_alias1 = typing.List[int]\nlist_alias2 = list[int]\nc_alias = C[int]\ntype_union1 = typing.Union[int, str]\ntype_union2 = int | str", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "documentation": {} }, { "label": "__author__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "peekOfCode": "__author__ = \"Benjamin Peterson\"\n__credits__ = \"Nobody\"\n__version__ = \"1.2.3.4\"\n__xyz__ = \"X, Y and Z\"\nclass A:\n \"\"\"Hello and goodbye\"\"\"\n def __init__():\n \"\"\"Wow, I have no function!\"\"\"\n pass\nclass B(object):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "documentation": {} }, { "label": "__credits__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "peekOfCode": "__credits__ = \"Nobody\"\n__version__ = \"1.2.3.4\"\n__xyz__ = \"X, Y and Z\"\nclass A:\n \"\"\"Hello and goodbye\"\"\"\n def __init__():\n \"\"\"Wow, I have no function!\"\"\"\n pass\nclass B(object):\n NO_MEANING: str = \"eggs\"", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "documentation": {} }, { "label": "__version__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "peekOfCode": "__version__ = \"1.2.3.4\"\n__xyz__ = \"X, Y and Z\"\nclass A:\n \"\"\"Hello and goodbye\"\"\"\n def __init__():\n \"\"\"Wow, I have no function!\"\"\"\n pass\nclass B(object):\n NO_MEANING: str = \"eggs\"\n pass", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "documentation": {} }, { "label": "__xyz__", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "peekOfCode": "__xyz__ = \"X, Y and Z\"\nclass A:\n \"\"\"Hello and goodbye\"\"\"\n def __init__():\n \"\"\"Wow, I have no function!\"\"\"\n pass\nclass B(object):\n NO_MEANING: str = \"eggs\"\n pass\nclass C(object):", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "documentation": {} }, { "label": "list_alias1", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "peekOfCode": "list_alias1 = typing.List[int]\nlist_alias2 = list[int]\nc_alias = C[int]\ntype_union1 = typing.Union[int, str]\ntype_union2 = int | str", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "documentation": {} }, { "label": "list_alias2", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "peekOfCode": "list_alias2 = list[int]\nc_alias = C[int]\ntype_union1 = typing.Union[int, str]\ntype_union2 = int | str", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "documentation": {} }, { "label": "c_alias", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "peekOfCode": "c_alias = C[int]\ntype_union1 = typing.Union[int, str]\ntype_union2 = int | str", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "documentation": {} }, { "label": "type_union1", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "peekOfCode": "type_union1 = typing.Union[int, str]\ntype_union2 = int | str", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "documentation": {} }, { "label": "type_union2", "kind": 5, "importPath": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "description": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "peekOfCode": "type_union2 = int | str", "detail": "prolog.HIDEEEEED~.~HIDE~.Python-3.10.4.Lib.test.pydoc_mod", "documentation": {} } ]