• Brett Cannon's avatar
    _warnings exposed two variables with the name 'default_action' and · ef0e6c3b
    Brett Cannon yazdı
    'once_registry'. This is bad as the warnings module had variables named
    'defaultaction' and 'onceregistry' which are what people should be looking at
    (technically those variables shouldn't be mucked with as they are undocumented,
    but we all know better than to believe that isn't happening). So the variables
    from _warnings have been renamed to come off as private and to avoid confusion
    over what variable should be used.
    
    Closes issue #9766. Thanks to Antoine Pitrou for the discovery.
    ef0e6c3b
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...
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...
runtests.sh Loading commit data...
setup.py Loading commit data...