[issue11700] mailbox.py proxy updates
Steffen Daode Nurpmeso
report at bugs.python.org
Tue Mar 29 13:39:07 CEST 2011
Steffen Daode Nurpmeso <sdaoden at googlemail.com> added the comment:
On Mon, Mar 28, 2011 at 09:52:43PM +0000, Amaury Forgeot d'Arc wrote:
> But then, is "close=False" necessary?
It's about 'class _PartialFile(_ProxyFile)', for which this
argument is always false.
Alternatively there could be a "protected" _ProxyFile._do_close()
method which would only be used by the _PartialFile subclass;
then the ctor argument could be dropped in favour of that.
I've gone that way because both classes are internal.
?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11700>
_______________________________________
More information about the Python-bugs-list
mailing list