mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Does not install a logging handler. Fixes issue 10626.
This commit is contained in:
parent
dad532f7de
commit
251cc846f3
2 changed files with 3 additions and 12 deletions
|
@ -41,8 +41,6 @@ _STATE_TO_DESCRIPTION_MAP = {
|
|||
|
||||
# Logger for internal use by the futures package.
|
||||
LOGGER = logging.getLogger("concurrent.futures")
|
||||
STDERR_HANDLER = logging.StreamHandler()
|
||||
LOGGER.addHandler(STDERR_HANDLER)
|
||||
|
||||
class Error(Exception):
|
||||
"""Base class for all future-related exceptions."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue