diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-08-14 05:01:01 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-08-14 05:01:01 (GMT) |
commit | b6b8ebb610a9a47c9cf7ae230b99b929f02a5d6c (patch) | |
tree | 859fedd6b6584b0f81080bb1b58125cb45806983 | |
parent | 0255f0e9f9ebe9015fb6837c6c5c22d4903f2431 (diff) | |
download | cpython-b6b8ebb610a9a47c9cf7ae230b99b929f02a5d6c.zip cpython-b6b8ebb610a9a47c9cf7ae230b99b929f02a5d6c.tar.gz cpython-b6b8ebb610a9a47c9cf7ae230b99b929f02a5d6c.tar.bz2 |
Blocked revisions 65665 via svnmerge
........
r65665 | brett.cannon | 2008-08-13 22:00:03 -0700 (Wed, 13 Aug 2008) | 11 lines
Silence the DeprecationWarning of rfc822 triggered by its importation in
mimetools.
This has an unfortunate side-effect of potentially not letting any warning
about rfc822's deprecation be seen by user-visible code if rfc822 is not
imported before mimetools. This is because modules are cached in sys.modules
and thus do not have their deprecation triggered more than once. But this
silencing would have happened by other code that silences the use of mimetools
or rfc822 anyway in the stdlib or user code, and thus seems justified to be
done here.
........
0 files changed, 0 insertions, 0 deletions