Issue 1002537: test_logging fails if run twice (original) (raw)
Issue1002537
This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/40681
classification
Title: | test_logging fails if run twice | ||
---|---|---|---|
Type: | Stage: | ||
Components: | Library (Lib) | Versions: | Python 2.4 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | vinay.sajip | Nosy List: | anthonybaxter, mwh, vinay.sajip |
Priority: | normal | Keywords: |
Created on 2004-08-03 11:17 by mwh, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (3) | ||
---|---|---|
msg21927 - (view) | Author: Michael Hudson (mwh) ![]() |
Date: 2004-08-03 11:17 |
Traceback (most recent call last): File "/Users/mwh/Source/python/dist/src/Lib/logging/ __init__.py", line 696, in emit self.stream.write("%s\n" % msg) ValueError: I/O operation on closed file over and over again. | ||
msg21928 - (view) | Author: Anthony Baxter (anthonybaxter) ![]() |
Date: 2004-08-03 11:28 |
Logged In: YES user_id=29957 Commenting out line 467 stops these errors, but there's still a keyerror lying around. | ||
msg21929 - (view) | Author: Vinay Sajip (vinay.sajip) * ![]() |
Date: 2004-08-04 08:31 |
Logged In: YES user_id=308438 Fixed by closing used handlers and tidying up loggers to remove closed handlers. Checked into CVS. Tested on Windows only. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:06 | admin | set | github: 40681 |
2004-08-03 11:17:43 | mwh | create |