summaryrefslogtreecommitdiff
path: root/Lib/warnings.py
AgeCommit message (Expand)AuthorLines
2017-06-05Simplify code in warnings modules (#1957)Alex Gaynor-3/+6
2016-12-27Issue #28998: More APIs now support longs as well as ints.Serhiy Storchaka-4/+4
2015-05-16Issue #23637: Showing a warning no longer fails with UnicodeErrror.Serhiy Storchaka-2/+20
2014-12-10Issue #23016: A warning no longer produces an AttributeError when sys.stderrSerhiy Storchaka-0/+3
2014-08-22Issue #22191: Fix warnings.__all__.Brett Cannon-1/+2
2010-04-25When DeprecationWarning was silenced by default, it also silenced any use of -QBrett Cannon-1/+2
2010-03-07Fix some py3k warnings in the standard library.Florent Xicluna-1/+1
2010-01-14The silencing of DeprecationWarning was not taking -3 into consideration. SinceBrett Cannon-2/+5
2010-01-10DeprecationWarning is now silent by default.Brett Cannon-2/+2
2009-10-23Improve some docstrings in the 'warnings' module.Neil Schemenauer-1/+13
2009-03-11Require implementations for warnings.showwarning() support the 'line' argument.Brett Cannon-18/+0
2008-09-11Issue #3781: Final cleanup of warnings.catch_warnings and its usage in the te...Nick Coghlan-0/+15
2008-09-09warnings.catch_warnings() now returns a list or None instead of the customBrett Cannon-34/+21
2008-09-05Deprecate bsddb for removal in Python 3.0.Brett Cannon-1/+8
2008-09-02Move test.test_support.catch_warning() to the warnings module, rename itBrett Cannon-1/+74
2008-06-27warnings.warn_explicit() did not have the proper TypeErrors in place to preventBrett Cannon-0/+1
2008-05-07Practice EAFP, and revert 62787Benjamin Peterson-3/+0
2008-05-06Make the Python implementation of warnings compatible with the C implementati...Benjamin Peterson-0/+3
2008-05-05Remove the use of 'inspect' from 'warnings' for detected deprecated use of theBrett Cannon-5/+12
2008-05-05Add a DeprecationWarning for when warnings.showwarning() is set to a functionBrett Cannon-1/+14
2008-04-12Re-implement the 'warnings' module in C. This allows for usage of theBrett Cannon-123/+148
2007-11-27Expose Py_Py3kWarningFlag as sys.py3kwarning as discussed in #1504Christian Heimes-0/+10
2006-07-06Ignore ImportWarning by defaultNick Coghlan-0/+1
2006-06-22'warning's was improperly requiring that a command-line Warning category beBrett Cannon-2/+1
2006-06-09Make use of new str.startswith/endswith semantics.Georg Brandl-1/+1
2006-05-27Conversion of exceptions over from faked-up classes to new-style C types.Richard Jones-2/+0
2006-04-11Updated the warnings, linecache, inspect, traceback, site, and doctest modulesPhillip J. Eby-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
2001-03-01final round of __all__ lists (I hope) - skipped urllib2 because Moshe may beSkip Montanaro-0/+3