Victor Stinner
a5cd255a7c
Close #19267 : Fix support of multibyte encoding (ex: UTF-16) in the logging
...
module.
2013-10-15 23:36:56 +02:00
Vinay Sajip
bb2dad8915
Issue #17521 : Corrected non-enabling of logger following two calls to fileConfig().
2013-03-23 11:18:10 +00:00
Vinay Sajip
8651a51c92
Issue #17508 : Handled out-of-order handler configuration correctly.
2013-03-22 15:19:24 +00:00
Vinay Sajip
c3ea4085f9
Changed comment on test skip.
2012-05-31 12:35:13 +01:00
Vinay Sajip
269d21336a
Temporarily disabled test_race on Windows.
2012-05-20 09:53:13 +01:00
Vinay Sajip
7b57750db5
Ignore exceptions on test handler closing.
2012-05-19 16:50:07 +01:00
Vinay Sajip
e5d3bc4700
Changed order of cleanup operations to be more sensible.
2012-05-03 12:03:29 +01:00
Vinay Sajip
00086bb7e8
Fixed test to work on Windows.
2012-04-25 10:45:27 +01:00
Vinay Sajip
5820cc0f06
Updated year in docstring/comment.
2012-04-24 23:17:29 +01:00
Vinay Sajip
885f6fd472
Issue #14632 : Updated WatchedFileHandler to deal with race condition. Thanks to John Mulligan for the problem report and patch.
2012-04-24 23:15:10 +01:00
Vinay Sajip
53703d9d72
Closes #13361 : Raise correct exception type.
2011-11-07 10:13:18 +00:00
Vinay Sajip
74ab3440ba
Closes #13661 : Check added for type of logger name.
2011-11-07 08:49:16 +00:00
Vinay Sajip
923e6d29e5
Whitespace normalization.
2011-03-07 18:20:27 +00:00
Vinay Sajip
44b740ff28
#Issue 11424: merged fix from 2.6.
2011-03-07 15:07:58 +00:00
Vinay Sajip
8dd2a40bc7
Issue #11424 : Fix bug in determining child loggers.
2011-03-07 15:02:11 +00:00
Ezio Melotti
2623a37852
Merged revisions 86596 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line
#9424 : Replace deprecated assert* methods in the Python test suite.
........
2010-11-21 13:34:58 +00:00
Vinay Sajip
8a435c4729
Fixed #9310 : backported logging fix from 2.7.
2010-07-20 20:18:14 +00:00
Vinay Sajip
27a1370ae0
Issue #8576 : logging updated to remove usage of find_unused_port().
2010-05-03 15:11:53 +00:00
Victor Stinner
6a10281d33
Issue #7449 , last part (11): fix many tests if thread support is disabled
...
* Use try/except ImportError or test_support.import_module() to import thread
and threading modules
* Add @unittest.skipUnless(threading, ...) to testcases using threads
2010-04-27 23:55:59 +00:00
Vinay Sajip
804899b4ab
logging: Added getChild utility method to Logger and added isEnabledFor method to LoggerAdapter.
2010-03-22 15:29:01 +00:00
Vinay Sajip
31e928eb3c
Issue #8201 : logging: Handle config errors when non-ASCII and Unicode logger names exist at the same time.
2010-03-22 13:02:28 +00:00
Georg Brandl
b6453a902e
Merged revisions 77120,77151,77155,77209,77229,77256,77317,77331,77333,77359-77360,77382,77561,77570 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77120 | georg.brandl | 2009-12-29 22:09:17 +0100 (Di, 29 Dez 2009) | 1 line
#7595 : fix typo in argument default constant.
........
r77151 | georg.brandl | 2009-12-30 19:32:50 +0100 (Mi, 30 Dez 2009) | 1 line
#7487 : update Pygments version.
........
r77155 | georg.brandl | 2009-12-30 20:03:00 +0100 (Mi, 30 Dez 2009) | 1 line
We only support Windows NT derivatives now.
........
r77209 | georg.brandl | 2010-01-01 14:07:05 +0100 (Fr, 01 Jan 2010) | 1 line
More yearly updates.
........
r77229 | georg.brandl | 2010-01-02 13:35:01 +0100 (Sa, 02 Jan 2010) | 1 line
Fix casing.
........
r77256 | georg.brandl | 2010-01-02 23:55:55 +0100 (Sa, 02 Jan 2010) | 1 line
Fix typo.
........
r77317 | georg.brandl | 2010-01-05 19:14:52 +0100 (Di, 05 Jan 2010) | 1 line
Add Stefan.
........
r77331 | georg.brandl | 2010-01-06 18:43:06 +0100 (Mi, 06 Jan 2010) | 1 line
Small fixes to test_cmd: fix signature of do_shell, remove duplicate import, add option to run the custom Cmd class.
........
r77333 | georg.brandl | 2010-01-06 19:26:08 +0100 (Mi, 06 Jan 2010) | 1 line
#5950 : document that zip files with comments are unsupported in zipimport.
........
r77359 | georg.brandl | 2010-01-07 21:54:45 +0100 (Do, 07 Jan 2010) | 1 line
Fix description for Py_GetPath(); it sounded like it always returned sys.path.
........
r77360 | georg.brandl | 2010-01-07 22:48:47 +0100 (Do, 07 Jan 2010) | 1 line
#7653 : clarify how the PythonPath registry key should look like.
........
r77382 | georg.brandl | 2010-01-09 10:47:11 +0100 (Sa, 09 Jan 2010) | 1 line
#7422 : make it clear that getargspec() only works on Python functions.
........
r77561 | georg.brandl | 2010-01-17 09:42:30 +0100 (So, 17 Jan 2010) | 1 line
#7699 : improve datetime docs: straightforward linking to strftime/strptime section, mark classmethods as such.
........
r77570 | georg.brandl | 2010-01-17 13:14:42 +0100 (So, 17 Jan 2010) | 1 line
Add note about usage of STRINGLIB_EMPTY.
........
2010-03-21 19:16:28 +00:00
Vinay Sajip
d45a278b93
Added schema version test in dictConfig.
2010-03-06 15:12:08 +00:00
Vinay Sajip
cfc43e9435
logging: gingerly re-enabling skipped tests after improving thread sync code in configurator.
2010-02-08 21:18:15 +00:00
Vinay Sajip
9a164ac800
Issue #7857 : Another attempt to keep the buildbots happy.
2010-02-08 16:05:50 +00:00
Vinay Sajip
e1ec841086
logging: skipped listening tests because they're not working reliably.
2010-02-08 15:32:08 +00:00
Vinay Sajip
7ed8001862
Removed spurious print statement in test.
2010-02-08 06:50:14 +00:00
Georg Brandl
a4f46e1292
Remove unused imports in test modules.
2010-02-07 17:03:15 +00:00
Vinay Sajip
657514a690
Issue #7868 : logging: added loggerClass attribute to Manager.
2010-02-07 01:37:08 +00:00
Benjamin Peterson
239f138aea
make waiting for the server to start robust
2010-02-06 22:08:15 +00:00
Georg Brandl
26a1f72637
Remove unused imports from test_logging.
2010-02-06 21:54:40 +00:00
Vinay Sajip
7f22443d94
Issue #7857 : Gave server thread more time to get ready, and re-enabled a skipped test.
2010-02-06 20:28:36 +00:00
Vinay Sajip
5749d88243
Issue #7857 : Tentatively re-enabling one test to see effect on buildbots.
2010-02-06 20:00:43 +00:00
Vinay Sajip
2373926964
test_logging: minor tweaks to timeouts, listening tests marked as skipped.
2010-02-05 23:43:11 +00:00
Vinay Sajip
007a618a38
Issue #7857 : test_logging: listener tests disabled for now.
2010-02-05 15:40:20 +00:00
Vinay Sajip
3dd734fe03
Issue #7857 : test_logging: listener test now uses find_unused_port().
2010-02-05 14:52:05 +00:00
Vinay Sajip
f7610b23de
Added unit test for cfg:// resolution.
2010-02-04 21:40:56 +00:00
Vinay Sajip
28c382f73a
Logging: Implemented PEP 391.
2010-02-04 18:48:53 +00:00
Georg Brandl
8cdc9bc901
More yearly updates.
2010-01-01 13:07:05 +00:00
Benjamin Peterson
4d3f18f2ed
fix a few cases where automated fail -> assert translation messed up
...
Thanks Joe Amenta
2009-07-01 00:36:41 +00:00
Benjamin Peterson
5c8da86f3a
convert usage of fail* to assert*
2009-06-30 22:57:08 +00:00
Vinay Sajip
cbe744ae43
Issue #5768 : Change to Unicode output logic and test case for same.
2009-04-16 19:11:35 +00:00
Vinay Sajip
74f045088d
Issue #5768 : Change to Unicode output logic and test case for same.
2009-04-16 19:07:37 +00:00
Vinay Sajip
14bf0a0a37
Issue #5695 : Minor tweak to improve the code as suggested by Brett Cannon and as implemented in the Py3K branch.
2009-04-07 17:18:24 +00:00
Vinay Sajip
1e566cec6f
Issue #5695 : Moved logging.captureWarnings() call inside with statement in WarningsTest.test_warnings.
2009-04-05 11:06:24 +00:00
Brett Cannon
2da4d628a5
test_logging was blindly clearing the warnings filter. This caused
...
PendingDeprecationWarnings to be spewed all over by unittest.failIf*(). Fix
moves over to using warnings.catch_warning to protect the warnings filter.
2009-04-01 19:57:10 +00:00
Vinay Sajip
4db70f3580
Fixed missing import.
2009-02-08 19:16:37 +00:00
Vinay Sajip
9c78658670
Issue #5170 : Fixed Unicode output bug in logging and added test case. This is a regression which did not occur in 2.5.
2009-02-08 19:14:41 +00:00
Vinay Sajip
b20af944d2
Issue #5170 : Fixed Unicode output bug in logging and added test case. This is a regression which did not occur in 2.5.
2009-02-08 19:06:08 +00:00
Vinay Sajip
213faca204
Issue #4384 : Added logging integration with warnings module using captureWarnings(). This change includes a NullHandler which does nothing; it will be of use to library developers who want to avoid the "No handlers could be found for logger XXX" message which can appear if the library user doesn't configure logging.
2008-12-03 23:22:58 +00:00