A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2006-August/068196.html below:

[Python-Dev] Recent logging spew

[Python-Dev] Recent logging spewTim Peters tim.peters at gmail.com
Sat Aug 12 09:24:05 CEST 2006
We're getting an awful lot of these turds at the ends of test runs now:

Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "C:\Code\bb_slave\trunk.peters-windows\build\lib\atexit.py",
line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "C:\Code\bb_slave\trunk.peters-windows\build\lib\logging\__init__.py",
line 1351, in shutdown
    h.flush()
  File "C:\Code\bb_slave\trunk.peters-windows\build\lib\logging\__init__.py",
line 731, in flush
    self.stream.flush()
ValueError: I/O operation on closed file
Error in sys.exitfunc:
Traceback (most recent call last):
  File "C:\Code\bb_slave\trunk.peters-windows\build\lib\atexit.py",
line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "C:\Code\bb_slave\trunk.peters-windows\build\lib\logging\__init__.py",
line 1351, in shutdown
    h.flush()
  File "C:\Code\bb_slave\trunk.peters-windows\build\lib\logging\__init__.py",
line 731, in flush
    self.stream.flush()
ValueError: I/O operation on closed file
[450168 refs]
program finished with exit code 0

Not sure what caused it, but suspect this:

"""
Author: georg.brandl
Date: Fri Aug 11 09:26:10 2006
New Revision: 51206

Modified:
  python/trunk/Lib/logging/__init__.py
  python/trunk/Misc/NEWS
Log:
logging's atexit hook now runs even if the rest of the module has
already been cleaned up.
"""

Anyway, can we stop this?  It doesn't look like "a feature" from here ;-)
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4