[Python-ideas] Boolean value of file object? (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Sun Jan 8 02🔞30 CET 2012
- Previous message: [Python-ideas] Boolean value of file object?
- Next message: [Python-ideas] Boolean value of file object?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, Jan 8, 2012 at 11:07 AM, Mike Meyer <mwm at mired.org> wrote:
My own thought is that this is a case where status quo wins, but thought someone else might think the idea has more merit.
Unfortunately, there are way too many "file-like objects" in the wild for it to ever be feasible to rely on such a shorthand. Cute idea, though.
Cheers, Nick.
-- Nick Coghlan  |  ncoghlan at gmail.com  |  Brisbane, Australia
- Previous message: [Python-ideas] Boolean value of file object?
- Next message: [Python-ideas] Boolean value of file object?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]