diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-07-11 15:37:59 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-07-11 15:37:59 (GMT) |
commit | 8501466c7f0843e68ee6fb91e3d8221d5eb1a019 (patch) | |
tree | 97403c9fde25171a8e37a3a9a4a44bd3eabe3836 /Objects/cobject.c | |
parent | 1e5fc55c4dcddcd97951d54c04b321c0a284affa (diff) | |
download | cpython-8501466c7f0843e68ee6fb91e3d8221d5eb1a019.zip cpython-8501466c7f0843e68ee6fb91e3d8221d5eb1a019.tar.gz cpython-8501466c7f0843e68ee6fb91e3d8221d5eb1a019.tar.bz2 |
Change warnings to avoid importing re module during startup.
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.
Diffstat (limited to 'Objects/cobject.c')
0 files changed, 0 insertions, 0 deletions