Staging
v0.5.1
https://github.com/python/cpython
Revision b6b8ebb610a9a47c9cf7ae230b99b929f02a5d6c authored by Brett Cannon on 14 August 2008, 05:01:01 UTC, committed by Brett Cannon on 14 August 2008, 05:01:01 UTC
........
  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.
........
1 parent 0255f0e
History
Tip revision: b6b8ebb610a9a47c9cf7ae230b99b929f02a5d6c authored by Brett Cannon on 14 August 2008, 05:01:01 UTC
Blocked revisions 65665 via svnmerge
Tip revision: b6b8ebb
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 673 bytes
.hgignore -rw-r--r-- 866 bytes
.hgtags -rw-r--r-- 2.9 KB
INTBENCH -rw-r--r-- 941 bytes
LICENSE -rw-r--r-- 13.5 KB
Makefile.pre.in -rw-r--r-- 37.4 KB
README -rw-r--r-- 7.0 KB
RELNOTES -rw-r--r-- 3.4 KB
configure -rwxr-xr-x 651.9 KB
configure.in -rw-r--r-- 99.9 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 28.5 KB
runtests.sh -rwxr-xr-x 2.1 KB
setup.py -rw-r--r-- 70.8 KB

README

back to top