Author nadeem.vawda
Recipients ajaksu2, calvin, loewis, nadeem.vawda, python-dev, serhiy.storchaka, yeeeev
Date 2013-02-03.01:32:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I think the new behavior should be controlled by a constructor flag, maybe
named "defer_errors". I don't like the idea of adding the flag to read(),
since that makes us diverge from the standard file interface. Making a
distinction between size<0 and size=None seems confusing and error-prone,
not to mention that we (again) would have read() work differently from most
other file classes.

I'd prefer it if the new behavior is not enabled by default for size>=0,
even if this wouldn't break well-behaved code. Having a flag that only
controls the size<0 case is inelegant, and I don't think we should change
the default behavior unless there is a clear benefit to doing so.
Date User Action Args
2013-02-03 01:32:55nadeem.vawdasetrecipients: + nadeem.vawda, loewis, calvin, ajaksu2, python-dev, yeeeev, serhiy.storchaka
2013-02-03 01:32:54nadeem.vawdasetmessageid: <>
2013-02-03 01:32:54nadeem.vawdalinkissue1159051 messages
2013-02-03 01:32:52nadeem.vawdacreate