Steffen Daode Nurpmeso <sdao...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11700>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to