Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-31457: Don't omit inner ``process()`` calls with nested LogAdapters (#4044) | Łukasz Langa | 2017-10-19 | 1 | -6/+14 |
| | | | | | | | | | | | This used to be the case on Python 2. Commit 212b590e118e3650b596917021ed9612a918180b changed the implementation for Python 3, making the `log()` method of LogAdapter call `logger._log()` directly. This makes nested log adapters not execute their ``process()`` method. This patch fixes the issue. Also, now proxying `name`, too, to make `repr()` work with nested log adapters. New tests added. | ||||
* | bpo-31457: Make the `LoggerAdapter.manager` property settable (#4042) | Łukasz Langa | 2017-10-19 | 1 | -1/+14 |
| | | | | Due to a bug in the initial fix, the setter was in fact creating a different property. This is now fixed. | ||||
* | bpo-31346: Use PROTOCOL_TLS_CLIENT/SERVER (#3058) | Christian Heimes | 2017-09-15 | 1 | -1/+1 |
| | | | | | | Replaces PROTOCOL_TLSv* and PROTOCOL_SSLv23 with PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER. Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-31234: Add support.join_thread() helper (#3587) | Victor Stinner | 2017-09-14 | 1 | -12/+4 |
| | | | | join_thread() joins a thread but raises an AssertionError if the thread is still alive after timeout seconds. | ||||
* | bpo-31457: Allow for nested LoggerAdapter objects (#3551) | Łukasz Langa | 2017-09-14 | 1 | -0/+11 |
| | | | | | | Some of the proxied methods use internal Logger state which isn't proxied, causing failures if an adapter is applied to another adapter. This commit fixes the issue, adds a new test for the use case. | ||||
* | bpo-31233: socketserver.ThreadingMixIn.server_close() (#3523) | Victor Stinner | 2017-09-13 | 1 | -11/+2 |
| | | | | | | | | | socketserver.ThreadingMixIn now keeps a list of non-daemonic threads to wait until all these threads complete in server_close(). Reenable test_logging skipped tests. Fix SocketHandlerTest.tearDown(): close the socket handler before stopping the server, so the server can join threads. | ||||
* | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | 2017-09-07 | 1 | -278/+256 |
| | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
* | bpo-31235: Fix ResourceWarning in test_logging (#3147) | Victor Stinner | 2017-08-18 | 1 | -0/+2 |
| | |||||
* | bpo-30830: test_logging uses threading_setup/cleanup (#3137) | Victor Stinner | 2017-08-18 | 1 | -9/+14 |
| | | | | | | | | | | | | | | | | | * bpo-30830: test_logging uses threading_setup/cleanup Replace @support.reap_threads on some methods with support.threading_setup() in setUp() and support.threading_cleanup() in tearDown() in BaseTest. * bpo-30830: test_logging disables threaded socketserver tests Disable tests because of socketserver.ThreadingMixIn leaks threads, whereas leaking threads now makes a test to fail on buildbots. Disable tests until socketserver is fixed: bpo-31233. * Skip also setup_via_listener() | ||||
* | bpo-31080: Allowed logging.config.fileConfig() to accept both args and ↵ | Preston Landers | 2017-08-02 | 1 | -2/+2 |
| | | | | kwargs. (GH-2979) | ||||
* | bpo-31084: QueueHandler now formats messages correctly. (GH-2954) | favll | 2017-08-01 | 1 | -0/+14 |
| | |||||
* | bpo-30522: Implemented a method to allow setting a logging.StreamHander's ↵ | Vinay Sajip | 2017-07-30 | 1 | -0/+14 |
| | | | | stream. (GH-2921) | ||||
* | bpo-30962: Added caching to Logger.isEnabledFor() (GH-2752) | Avram Lubkin | 2017-07-30 | 1 | -1/+59 |
| | |||||
* | bpo-30520: Implemented pickling for loggers. (#1956) | Vinay Sajip | 2017-06-06 | 1 | -0/+8 |
| | | | Implemented pickling for loggers. | ||||
* | bpo-30378: Fix the problem that SysLogHandler can't handle IPv6 addresses ↵ | Xiang Zhang | 2017-06-01 | 1 | -2/+20 |
| | | | | (#1676) | ||||
* | bpo-30131: test_logging now joins queue threads (#1298) | Victor Stinner | 2017-04-26 | 1 | -0/+8 |
| | | | | | | | | QueueListenerTest of test_logging now closes the multiprocessing Queue and joins its thread to prevent leaking dangling threads to following tests. Add also @support.reap_threads to detect earlier if a test leaks threads (and try to "cleanup" these threads). | ||||
* | bpo-30131: Cleanup threads in test_logging (#1275) | Victor Stinner | 2017-04-24 | 1 | -0/+15 |
| | | | | * Use @support.reap_threads on unit tests creating threads * Call TestCase.fail() on thread.join(timeout) failure | ||||
* | Issue #29220: Merged fixes from 3.6. | Vinay Sajip | 2017-01-11 | 1 | -0/+8 |
|\ | |||||
| * | Issue #292Merged fixes from 3.5. | Vinay Sajip | 2017-01-11 | 1 | -0/+8 |
| |\ | |||||
| | * | Issue #29220: Improved fix and test. | Vinay Sajip | 2017-01-11 | 1 | -0/+8 |
| | | | |||||
* | | | Closes #29220: Fixed regression in logging.getLevelName(). | Vinay Sajip | 2017-01-11 | 1 | -0/+6 |
| | | | |||||
* | | | Closes #29177: Merged fix from 3.6. | Vinay Sajip | 2017-01-09 | 1 | -24/+62 |
|\ \ \ | |/ / | |||||
| * | | Fixes #29177: Improved resilience of logging tests which use socket servers. | Vinay Sajip | 2017-01-09 | 1 | -24/+62 |
| | | | | | | | | | | | | Thanks to Xavier de Gaye for the report and patch improvements. | ||||
* | | | Closes #28524: added default level for logging.disable(). | Vinay Sajip | 2016-12-31 | 1 | -0/+5 |
|/ / | |||||
* | | Issue 28668: Merge 3.5 | Xavier de Gaye | 2016-11-15 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Issue 28668: Skip tests where instanciation of multiprocessing.Queue | Xavier de Gaye | 2016-11-15 | 1 | -0/+2 |
| | | | | | | | | would raise ImportError | ||||
* | | Issue #28480: Adjust or skip tests if multithreading is disabled | Martin Panter | 2016-10-20 | 1 | -1/+1 |
| | | |||||
* | | Added back test code lost during merge. | Vinay Sajip | 2016-09-08 | 1 | -1/+71 |
|/ | |||||
* | Fixes #27930: improved QueueListener behaviour. | Vinay Sajip | 2016-09-08 | 1 | -4/+86 |
| | |||||
* | Issue #19527: Fixed tests with defined COUNT_ALLOCS. | Serhiy Storchaka | 2016-07-03 | 1 | -0/+1 |
| | |||||
* | Fixed #27251: corrected string/bytes handling in credentials. | Vinay Sajip | 2016-06-07 | 1 | -1/+2 |
| | |||||
* | Closes #25411: Merged fix from 3.4. | Vinay Sajip | 2015-10-17 | 1 | -2/+2 |
|\ | |||||
| * | Closes #25411: Improved Unicode support in SMTPHandler. | Vinay Sajip | 2015-10-17 | 1 | -2/+2 |
| | | |||||
* | | Issue #25097: Merge with 3.4 | Zachary Ware | 2015-10-06 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Issue #25097: Re-raise any other pywin32 error | Zachary Ware | 2015-10-06 | 1 | -0/+1 |
| | | |||||
* | | Issue #25097: Merge with 3.4 | Zachary Ware | 2015-10-06 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #25097: fix Windows error number access | Zachary Ware | 2015-10-06 | 1 | -1/+1 |
| | | |||||
* | | Fixes #25097: Merged fi from 3.4. | Vinay Sajip | 2015-10-01 | 1 | -9/+11 |
|\ \ | |/ | |||||
| * | Fixes #25097: Windows test is skipped if there are insufficient privileges, ↵ | Vinay Sajip | 2015-10-01 | 1 | -9/+11 |
| | | | | | | | | rather than failing. | ||||
* | | Issue #24678: Fixed raiseExceptions typo in logging tests. | Serhiy Storchaka | 2015-07-21 | 1 | -10/+4 |
|\ \ | |/ | | | | | Patch by Jacek Kołodziej. | ||||
| * | Issue #24678: Fixed raiseExceptions typo in logging tests. | Serhiy Storchaka | 2015-07-21 | 1 | -11/+6 |
| | | | | | | | | Patch by Jacek Kołodziej. | ||||
* | | Issue #9517: Move script_helper to the support package. | Berker Peksag | 2015-05-06 | 1 | -1/+1 |
| | | | | | | | | Patch by Christie Wilson. | ||||
* | | Issue #23207: merged fix from 3.4. | Vinay Sajip | 2015-03-18 | 1 | -0/+4 |
|\ \ | |/ | |||||
| * | Issue #23207: Improved kwarg validation. | Vinay Sajip | 2015-03-18 | 1 | -0/+4 |
| | | |||||
| * | Issue #23211: Fix patch for 3.4 differences. | Ned Deily | 2015-01-18 | 1 | -3/+3 |
| | | |||||
* | | Added respect_handler_level to QueueListener. | Vinay Sajip | 2015-02-09 | 1 | -0/+19 |
| | | |||||
* | | Issue #23211: merge from 3.4 | Ned Deily | 2015-01-18 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #23211: Workaround test_logging failure on some OS X 10.6 systems: | Ned Deily | 2015-01-18 | 1 | -2/+2 |
| | | | | | | | | | | getaddrinfo("localhost") can fail depending on the name server configuration, use "127.0.0.0" instead. | ||||
* | | merge 3.4 (#22788) | Benjamin Peterson | 2014-11-24 | 1 | -14/+5 |
|\ \ | |/ | |||||
| * | add context parameter to HTTPHandler (closes #22788) | Benjamin Peterson | 2014-11-24 | 1 | -14/+5 |
| | |