summaryrefslogtreecommitdiffstats
path: root/Lib/logging/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #9501: Merged fix from 3.3.Vinay Sajip2013-01-151-1/+2
|\
| * Issue #9501: Merged fix from 3.2.Vinay Sajip2013-01-151-1/+2
| |\
| | * Issue #9501: Improved shutdown handling to deal with module attributes ↵Vinay Sajip2013-01-151-1/+2
| | | | | | | | | | | | correctly.
* | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-2/+2
| | |
* | | Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-1/+1
|\ \ \ | |/ / | | | | | | Patch by Serhiy Storchaka.
| * | Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-1/+1
| |\ \ | | |/ | | | | | | Patch by Serhiy Storchaka.
| | * Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-1/+1
| | | | | | | | | | | | Patch by Serhiy Storchaka.
| | * Closes #16521: Improved error handling for basicConfig(), added tests for same.Vinay Sajip2012-11-251-7/+10
| | |
* | | Closes #16366: Improve diagnostics from handleError(). Thanks to Antoine ↵Vinay Sajip2012-10-311-6/+17
| | | | | | | | | | | | Pitrou for the suggestion.
* | | Issue #16141: replaced old-style exception handling code in logging with the ↵Vinay Sajip2012-10-091-5/+3
|/ / | | | | | | modern idiom.
* | Merged fix added for recent changes in non-threading environments.Vinay Sajip2012-02-231-2/+8
|\ \ | |/
| * Fix added for recent changes in non-threading environments.Vinay Sajip2012-02-231-2/+8
| |
* | Merged logging flush/close changes from 3.2.Vinay Sajip2012-02-231-10/+12
|\ \ | |/
| * logging: Added locking in flush() and close() handler methods. Thanks to ↵Vinay Sajip2012-02-231-11/+13
| | | | | | | | Fayaz Yusuf Khan for the suggestion.
* | Closes #13859: Merged fix from 3.2 - thanks to Matt Joiner for spotting this ↵Vinay Sajip2012-01-251-2/+2
|\ \ | |/ | | | | and the patch.
| * Closes #13859: Replaced reference to StandardError with reference to ↵Vinay Sajip2012-01-251-1/+1
| | | | | | | | Exception. Thanks to Matt Joiner for spotting this and submitting a patch.
* | Closes #13807: Merged fix from 3.2.Vinay Sajip2012-01-201-1/+1
|\ \ | |/
| * Closes #13807: Merged fix from 3.1.Vinay Sajip2012-01-201-1/+1
| |\
| | * Closes #13807: Now checks for sys.stderr being there before writing to it.Vinay Sajip2012-01-201-1/+1
| | |
* | | Mention that level can be an int or str in the setLevel docstring.Gregory P. Smith2011-12-171-2/+2
| | |
* | | logging: replace codecs.open with builtins.open, remove '_encoded' sort, add ↵Florent Xicluna2011-11-071-12/+1
| | | | | | | | | | | | some tests.
* | | Closes #13361: Merge fix from 3.2.Vinay Sajip2011-11-071-1/+1
|\ \ \ | |/ /
| * | Closes #13361: Raise correct exception type.Vinay Sajip2011-11-071-1/+1
| | |
* | | Merged fix for #13361 from 3.2.Vinay Sajip2011-11-071-0/+2
|\ \ \ | |/ /
| * | Closes #13661: Check added for type of logger name.Vinay Sajip2011-11-071-0/+2
| | |
* | | Closes #13235: Changed PendingDeprecationWarning to DeprecationWarning.Vinay Sajip2011-10-221-4/+4
| | |
* | | Closes #13235: Added deprecation for warn() methods and function in logging.Vinay Sajip2011-10-211-3/+12
| | |
* | | Issue #12780: Merged fix from 3.2.Vinay Sajip2011-08-191-2/+0
|\ \ \ | |/ /
| * | Issue #12780: Removed checks in logging for .pyc/.pyo in __file__.Vinay Sajip2011-08-191-2/+0
| | |
* | | Fixes #12637: Merged fix from 3.2 and added test.Vinay Sajip2011-07-251-1/+2
|\ \ \ | |/ /
| * | Fixes #12637: Last resort messages now correctly handled. Thanks to Xavier ↵Vinay Sajip2011-07-251-2/+3
| | | | | | | | | | | | de Gaye for the patch."
* | | Made time formats in Formatter more configurable.Vinay Sajip2011-06-091-2/+5
| | |
* | | Close #12028: Make threading._get_ident() public, rename it toVictor Stinner2011-05-301-6/+5
| | | | | | | | | | | | | | | threading.get_ident() and document it. This function was used by _thread.get_ident().
* | | Updated usage of boolean values.Vinay Sajip2011-04-301-5/+5
| | |
* | | Improved test_logging coverage.Vinay Sajip2011-04-281-1/+1
| | |
* | | More test_logging coverage improvements.Vinay Sajip2011-04-261-1/+1
| | |
* | | test_logging coverage improvements.Vinay Sajip2011-04-261-28/+28
| | |
* | | Whitespace normalized.Vinay Sajip2011-04-111-1/+1
| | |
* | | Added 'handlers' argument to logging.basicConfig.Vinay Sajip2011-04-111-9/+33
| | |
* | | Closes issue #11557: Added Natalia Bidart's patch to improve test coverage.Vinay Sajip2011-03-291-4/+4
|/ /
* | Issue #11444: Merge fix from 3.1.Vinay Sajip2011-03-081-0/+3
|\ \ | |/
| * Issue #11444: Lock handlers while flushing/closing during shutdown.Vinay Sajip2011-03-081-0/+3
| |
| * Issue #9945: logging: backported locking fixes from py3k.Vinay Sajip2010-09-271-37/+39
| |
| * Merged revisions 77389 via svnmerge fromBenjamin Peterson2010-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r77389 | benjamin.peterson | 2010-01-09 12:45:30 -0600 (Sat, 09 Jan 2010) | 25 lines Merged revisions 77209,77229,77359-77360,77371 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r77209 | georg.brandl | 2010-01-01 07:07:05 -0600 (Fri, 01 Jan 2010) | 1 line More yearly updates. ........ r77229 | georg.brandl | 2010-01-02 06:35:01 -0600 (Sat, 02 Jan 2010) | 1 line Fix casing. ........ r77359 | georg.brandl | 2010-01-07 14:54:45 -0600 (Thu, 07 Jan 2010) | 1 line Fix description for Py_GetPath(); it sounded like it always returned sys.path. ........ r77360 | georg.brandl | 2010-01-07 15:48:47 -0600 (Thu, 07 Jan 2010) | 1 line #7653: clarify how the PythonPath registry key should look like. ........ r77371 | senthil.kumaran | 2010-01-08 13:20:25 -0600 (Fri, 08 Jan 2010) | 3 lines Fix for Issue7026. For the Error - RuntimeError: dictionary changed size during iteration ........ ................
| * Merged revisions 75231 via svnmerge fromBenjamin Peterson2009-10-041-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r75231 | benjamin.peterson | 2009-10-04 09:49:41 -0500 (Sun, 04 Oct 2009) | 166 lines Merged revisions 74779-74786,74793,74795,74811,74860-74861,74863,74876,74886,74896,74901,74903,74908,74912,74930,74933,74943,74946,74952-74955,75015,75019,75032,75068,75076,75095,75098,75102,75129,75139,75230 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r74779 | michael.foord | 2009-09-13 11:13:36 -0500 (Sun, 13 Sep 2009) | 1 line Change to tutorial wording for reading text / binary files on Windows. Issue #6301. ........ r74780 | michael.foord | 2009-09-13 11:40:02 -0500 (Sun, 13 Sep 2009) | 1 line Objects that compare equal automatically pass or fail assertAlmostEqual and assertNotAlmostEqual tests on unittest.TestCase. Issue 6567. ........ r74781 | michael.foord | 2009-09-13 11:46:19 -0500 (Sun, 13 Sep 2009) | 1 line Note that sys._getframe is not guaranteed to exist in all implementations of Python, and a corresponding note in inspect.currentframe. Issue 6712. ........ r74782 | michael.foord | 2009-09-13 12:07:46 -0500 (Sun, 13 Sep 2009) | 1 line Tutorial tweaks. Issue 6849. ........ r74783 | michael.foord | 2009-09-13 12:28:35 -0500 (Sun, 13 Sep 2009) | 1 line unittest.TestLoader.loadTestsFromName honors the loader suiteClass attribute. Issue 6866. ........ r74784 | georg.brandl | 2009-09-13 13:15:07 -0500 (Sun, 13 Sep 2009) | 1 line Typo fix. ........ r74785 | michael.foord | 2009-09-13 14:07:03 -0500 (Sun, 13 Sep 2009) | 1 line Test discovery in unittest will only attempt to import modules that are importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568. ........ r74786 | michael.foord | 2009-09-13 14:08:18 -0500 (Sun, 13 Sep 2009) | 1 line Remove an extraneous space in unittest documentation. ........ r74793 | georg.brandl | 2009-09-14 09:50:47 -0500 (Mon, 14 Sep 2009) | 1 line #6908: fix association of hashlib hash attributes. ........ r74795 | benjamin.peterson | 2009-09-14 22:36:26 -0500 (Mon, 14 Sep 2009) | 1 line Py_SetPythonHome uses static storage #6913 ........ r74811 | georg.brandl | 2009-09-15 15:26:59 -0500 (Tue, 15 Sep 2009) | 1 line Add Armin Ronacher. ........ r74860 | benjamin.peterson | 2009-09-16 21:46:54 -0500 (Wed, 16 Sep 2009) | 1 line kill bare except ........ r74861 | benjamin.peterson | 2009-09-16 22:18:28 -0500 (Wed, 16 Sep 2009) | 1 line pep 8 defaults ........ r74863 | benjamin.peterson | 2009-09-16 22:27:33 -0500 (Wed, 16 Sep 2009) | 1 line rationalize a bit ........ r74876 | georg.brandl | 2009-09-17 11:15:53 -0500 (Thu, 17 Sep 2009) | 1 line #6932: remove paragraph that advises relying on __del__ being called. ........ r74886 | benjamin.peterson | 2009-09-17 16:33:46 -0500 (Thu, 17 Sep 2009) | 1 line use macros ........ r74896 | georg.brandl | 2009-09-18 02:22:41 -0500 (Fri, 18 Sep 2009) | 1 line #6936: for interactive use, quit() is just fine. ........ r74901 | georg.brandl | 2009-09-18 04:14:52 -0500 (Fri, 18 Sep 2009) | 1 line #6905: use better exception messages in inspect when the argument is of the wrong type. ........ r74903 | georg.brandl | 2009-09-18 04:18:27 -0500 (Fri, 18 Sep 2009) | 1 line #6938: "ident" is always a string, so use a format code which works. ........ r74908 | georg.brandl | 2009-09-18 08:57:11 -0500 (Fri, 18 Sep 2009) | 1 line Use str.format() to fix beginner's mistake with %-style string formatting. ........ r74912 | georg.brandl | 2009-09-18 11:19:56 -0500 (Fri, 18 Sep 2009) | 1 line Optimize optimization and fix method name in docstring. ........ r74930 | georg.brandl | 2009-09-18 16:21:41 -0500 (Fri, 18 Sep 2009) | 1 line #6925: rewrite docs for locals() and vars() a bit. ........ r74933 | georg.brandl | 2009-09-18 16:35:59 -0500 (Fri, 18 Sep 2009) | 1 line #6930: clarify description about byteorder handling in UTF decoder routines. ........ r74943 | georg.brandl | 2009-09-19 02:35:07 -0500 (Sat, 19 Sep 2009) | 1 line #6944: the argument to PyArg_ParseTuple should be a tuple, otherwise a SystemError is set. Also clean up another usage of PyArg_ParseTuple. ........ r74946 | georg.brandl | 2009-09-19 03:43:16 -0500 (Sat, 19 Sep 2009) | 1 line Update bug tracker reference. ........ r74952 | georg.brandl | 2009-09-19 05:42:34 -0500 (Sat, 19 Sep 2009) | 1 line #6946: fix duplicate index entries for datetime classes. ........ r74953 | georg.brandl | 2009-09-19 07:04:16 -0500 (Sat, 19 Sep 2009) | 1 line Fix references to threading.enumerate(). ........ r74954 | georg.brandl | 2009-09-19 08:13:56 -0500 (Sat, 19 Sep 2009) | 1 line Add Doug. ........ r74955 | georg.brandl | 2009-09-19 08:20:49 -0500 (Sat, 19 Sep 2009) | 1 line Add Mark Summerfield. ........ r75015 | georg.brandl | 2009-09-22 05:55:08 -0500 (Tue, 22 Sep 2009) | 1 line Fix encoding name. ........ r75019 | vinay.sajip | 2009-09-22 12:23:41 -0500 (Tue, 22 Sep 2009) | 1 line Fixed a typo, and added sections on optimization and using arbitrary objects as messages. ........ r75032 | benjamin.peterson | 2009-09-22 17:15:28 -0500 (Tue, 22 Sep 2009) | 1 line fix typos/rephrase ........ r75068 | benjamin.peterson | 2009-09-25 21:57:59 -0500 (Fri, 25 Sep 2009) | 1 line comment out ugly xxx ........ r75076 | vinay.sajip | 2009-09-26 09:53:32 -0500 (Sat, 26 Sep 2009) | 1 line Tidied up name of parameter in StreamHandler ........ r75095 | michael.foord | 2009-09-27 14:15:41 -0500 (Sun, 27 Sep 2009) | 1 line Test creation moved from TestProgram.parseArgs to TestProgram.createTests exclusively. Issue 6956. ........ r75098 | michael.foord | 2009-09-27 15:08:23 -0500 (Sun, 27 Sep 2009) | 1 line Documentation improvement for load_tests protocol in unittest. Issue 6515. ........ r75102 | skip.montanaro | 2009-09-27 21:12:27 -0500 (Sun, 27 Sep 2009) | 3 lines Patch from Thomas Barr so that csv.Sniffer will set doublequote property. Closes issue 6606. ........ r75129 | vinay.sajip | 2009-09-29 02:08:54 -0500 (Tue, 29 Sep 2009) | 1 line Issue #7014: logging: Improved IronPython 2.6 compatibility. ........ r75139 | raymond.hettinger | 2009-09-29 13:53:24 -0500 (Tue, 29 Sep 2009) | 3 lines Issue 7008: Better document str.title and show how to work around the apostrophe problem. ........ r75230 | benjamin.peterson | 2009-10-04 08:38:38 -0500 (Sun, 04 Oct 2009) | 1 line test logging ........ ................
* | Issue #11330: Updated tests for correct asctime handling.Vinay Sajip2011-02-261-1/+1
| |
* | Removed typo.Vinay Sajip2011-02-261-1/+1
| |
* | Issue #11330: asctime format bug fixed.Vinay Sajip2011-02-261-1/+4
| |
* | logging: added handler of last resort.Vinay Sajip2010-12-101-14/+50
| |
* | logging: tidied up some docstrings.Vinay Sajip2010-12-031-3/+3
| |