• Jeremy Hylton's avatar
    Change warnings to avoid importing re module during startup. · 8501466c
    Jeremy Hylton yazdı
    Add API function simplefilter() that does not create or install
    regular expressions to match message or module.  Extend the filters
    data structure to store None as an alternative to re.compile("").
    
    Move the _test() function to test_warnings and add some code to try
    and avoid disturbing the global state of the warnings module.
    8501466c
warnings.py 8.63 KB