summaryrefslogtreecommitdiff
path: root/Lib/warnings.py
AgeCommit message (Expand)AuthorLines
2014-12-14Fixed a typo in a comment (issue #23016).Serhiy Storchaka-1/+1
2014-12-10Issue #23016: A warning no longer produces AttributeError when the programSerhiy Storchaka-0/+3
2014-09-18Issue #4180: The warnings registries are now reset when the filters are modif...Antoine Pitrou-1/+16
2014-08-22Issue #22191: Fix warnings.__all__.Brett Cannon-1/+2
2013-10-24Close #19379: Lazily import linecache in the warnings module, to make startup...Antoine Pitrou-4/+2
2013-07-04Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon-3/+3
2013-06-13Issue #18200: Update the stdlib (except tests) to useBrett Cannon-3/+3
2012-12-25Replace IOError with OSError (#16715)Andrew Svetlov-1/+1
2011-10-28Closes #13258: Use callable() built-in in the standard library.Florent Xicluna-1/+1
2010-10-24Add a new warning gategory, ResourceWarning, as discussed on python-dev. It ...Georg Brandl-0/+7
2010-09-04_warnings exposed two variables with the name 'default_action' andBrett Cannon-3/+3
2010-06-28Merged revisions 77402,77505,77510 via svnmerge fromBenjamin Peterson-2/+4
2009-10-27Merged revisions 75365,75394,75402-75403,75418,75459,75484,75592-75596,75600,...Georg Brandl-1/+13
2009-09-16Use true booleans and PEP8 for argdefaults.Georg Brandl-2/+2
2008-10-16forward port r66386Benjamin Peterson-0/+15
2008-09-09Merged revisions 66321 via svnmerge fromBrett Cannon-25/+21
2008-09-02Merge in r66135. Doing also required removing a stale DeprecationWarning alongBrett Cannon-0/+70
2008-08-15Removed some unused imports to decrease the amount of loaded modules during s...Christian Heimes-1/+0
2008-06-27Merged revisions 64549 via svnmerge fromBrett Cannon-0/+1
2008-05-06Merged revisions 62774-62775,62785,62787-62788 via svnmerge fromChristian Heimes-0/+3
2008-04-13Merged revisions 62260-62261,62266,62271,62277-62279,62289-62290,62293-62298,...Christian Heimes-123/+148
2007-10-16Patch# 1258 by Christian Heimes: kill basestring.Guido van Rossum-2/+2
2007-06-07Merged revisions 55795-55816 via svnmerge fromGuido van Rossum-3/+2
2007-02-09Fix most trivially-findable print statements.Guido van Rossum-1/+1
2007-01-10SF patch 1631942 by Collin Winter:Guido van Rossum-1/+1
2006-08-11Merged revisions 46753-51188 via svnmerge fromThomas Wouters-3/+3
2006-05-27Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.Thomas Wouters-2/+0
2006-04-21Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters-2/+8
2006-03-01PEP 352 implementation. Creates a new base class, BaseException, which has anBrett Cannon-1/+2
2006-01-13Bug #1403410: The warnings module now doesn't get confusedGeorg Brandl-1/+1
2005-06-26bug [ 839151 ] attempt to access sys.argv when it doesn't existGeorg Brandl-1/+5
2005-02-06Replace list of constants with tuples of constants.Raymond Hettinger-1/+1
2004-12-29Fix wrong variable name.Walter Dörwald-1/+1
2004-08-25Stop producing or using OverflowWarning. PEP 237 thought this wouldTim Peters-0/+1
2004-03-21SF bug 917108: warnings.py does not define _test().Tim Peters-8/+3
2004-02-12Replace backticks with repr() or "%r"Walter Dörwald-11/+11
2003-07-11Change warnings to avoid importing re module during startup.Jeremy Hylton-43/+28
2003-05-14defer re module imports to help improve interpreter startupSkip Montanaro-1/+4
2003-02-19Fix bug 683658 - PyErr_Warn may cause import deadlock.Mark Hammond-1/+4
2002-10-14Allow Unicode strings as message and module name.Martin v. Löwis-2/+2
2002-09-11Ignore IOError exceptions when writing the message.Mark Hammond-1/+4
2002-06-03Remove uses of the string and types modules:Walter Dörwald-3/+3
2002-06-01SF 563203. Replaced 'has_key()' with 'in'.Raymond Hettinger-1/+1
2002-05-29As discussed on python-dev, add a mechanism to indicate featuresNeal Norwitz-0/+1
2002-04-16resetwarnings(): Remove extra space from docstring guts.Tim Peters-1/+1
2002-04-16Whitespace normalization.Tim Peters-5/+5
2002-04-16resetwarnings(): change the docstring to reflect what the codeTim Peters-1/+1
2002-03-21[Apply SF patch #504943]Walter Dörwald-5/+14
2001-08-31Allow for the possibility that globals['__name__'] does not exist;Guido van Rossum-1/+4
2001-08-23Ignore OverflowWarning by default. To enable the warning, useGuido van Rossum-0/+1