Vinay Sajip added the comment:

Well, it's possible that you could configure handlers in the configuration for 
later use (i.e. at some point after the dictConfig() call returns).

If you want to avoid opening the file until it's actually needed, you can 
specify delay=True, and then you shouldn't see the resource leak because the 
stream will be opened when it's actually needed.

Unless there's some reason you can't do that, or there's something I've 
overlooked, I think I should close this as invalid.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23010>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to