Antoine Pitrou <pit...@free.fr> added the comment:

I don't think the "created()" method has to be exposed. People can inspect the 
"mode" attribute if they want to have that information.
(besides, the semantics are misleading since a new file opened with "w" has 
also be created, but created() would return False)

There's some bogus indentation in the patch (it uses tab characters in some 
places).

Also:

+    if not (creating + reading or writing or appending):

Not sure why the "+". Shouldn't it be "or" instead?

----------

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

Reply via email to