• Brett Cannon's avatar
    Silence the DeprecationWarning of rfc822 triggered by its importation in · bf3157b8
    Brett Cannon yazdı
    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.
    bf3157b8
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.bzrignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...