Antoine Pitrou added the comment:

> Instead, a mixin which redefined _open would seem to fulfil the
> requirements, and the same strategy could be used to cater for other
> requirements without any stdlib changes. 

One desireable aspect is to still be able to configure logging using 
dictConfig(). I don't know if a mixin could enable this.

----------

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

Reply via email to