Message150867
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? |
|
Date |
User |
Action |
Args |
2012-01-08 14:36:58 | pitrou | set | recipients:
+ pitrou, amaury.forgeotdarc, vstinner, benjamin.peterson, Devin Jeanpierre, eric.araujo, Arfrever, cvrebert, neologix, docs@python, Julian, David.Townshend |
2012-01-08 14:36:58 | pitrou | set | messageid: <1326033418.04.0.645986399942.issue12760@psf.upfronthosting.co.za> |
2012-01-08 14:36:57 | pitrou | link | issue12760 messages |
2012-01-08 14:36:57 | pitrou | create | |
|