code: def add_error_and_warning_configvars():
      ###
      # To disable some warning about old bug that are fixed now.
      ###
      config.add(
          "warn__ignore_bug_before",
          (
              "If 'None', we warn about all PyTensor bugs found by default. "
              "If 'all', we don't warn about PyTensor bugs found by default. "
              "If a version, we print only the warnings relative to PyTensor "
              "bugs found after that version. "
              "Warning for specific bugs can be configured with specific "
              "[warn] flags."
          ),
          EnumStr(
              "0.9",
              [
                  "None",
                  "all",
                  "0.3",
                  "0.4",
                  "0.4.1",
                  "0.5",
                  "0.6",
                  "0.7",
                  "0.8",
                  "0.8.1",
                  "0.8.2",
                  "0.9",
                  "0.10",
                  "1.0",
                  "1.0.1",
                  "1.0.2",
                  "1.0.3",
                  "1.0.4",
                  "1.0.5",
              ],
              mutable=False,
          ),
          in_c_key=False,
      )
  
      # Note to developers:
      # Generally your exceptions should use an apply node's __str__
      # method when exception_verbosity == 'low'. When exception_verbosity
      # == 'high', you should include a call to printing.min_informative_str
      # on all important apply nodes.
      config.add(
          "exception_verbosity",
          "If 'low', the text of exceptions will generally refer "
          "to apply nodes with short names such as "
          "Elemwise{add_no_inplace}. If 'high', some exceptions "
          "will also refer to apply nodes with long descriptions "
          """ like:
          A. Elemwise{add_no_inplace}
                  B. log_likelihood_v_given_h
                  C. log_likelihood_h""",
          EnumStr("low", ["high"]),
          in_c_key=False,
      )
  
imports: import errno
  import logging
  import os
  import platform
  import re
  import socket
  import sys
  import textwrap
  import numpy
  from setuptools._distutils.spawn import find_executable
  import pytensor
  from pytensor.configparser import BoolParam, ConfigParam, DeviceParam, EnumStr, FloatParam, IntParam, StrParam, _create_default_config
  from pytensor.utils import LOCAL_BITWIDTH, PYTHON_INT_BITWIDTH, call_subprocess_Popen, maybe_add_to_os_environ_pathlist, output_subprocess_Popen
label_desc: Use image node_id 24 for calling a global function with example usage: add_error_and_warning_configvars() without return types