question about True values
Ben Finney
bignose+hates-spam at benfinney.id.au
Thu Oct 26 18:57:04 EDT 2006
More information about the Python-list mailing list
Thu Oct 26 18:57:04 EDT 2006
- Previous message (by thread): question about True values
- Next message (by thread): question about True values
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gabriel Genellina <gagsl-py at yahoo.com.ar> writes: > At Wednesday 25/10/2006 23:29, Paul Rubin wrote: > >Steve Holden <steve at holdenweb.com> writes: > >I get that iter(()) is True (Python 2.3.4). > > It's False on 2.4.2 - and perhaps it's what one would expect, but > since this behavior is not documented anywhere, one should not count > on it. Doesn't this fall under "any empty sequence" in the following list of evaluates-to-false: <URL:http://docs.python.org/lib/truth.html> -- \ "If you continue running Windows, your system may become | `\ unstable." -- Microsoft, Windows 95 BSOD message | _o__) | Ben Finney
- Previous message (by thread): question about True values
- Next message (by thread): question about True values
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list