[Python-projects] Assertions, type checking, and testing
John J Lee
jjl at pobox.com
Thu Jun 22 21:27:16 CEST 2006
On Thu, 22 Jun 2006, Maarten ter Huurne wrote:
[...]
> strict. For example, an iteration always ends with the StopIteration
> exception being raised.
[...]
I don't think that's quite true, is it? AFAIK, the interpreter is free to
implement iteration over instances of builtin types without raising
StopIteration, for example.
John
More information about the Python-Projects
mailing list