while (a=b()) ... infinite sets digression

Friedrich Dominicus Friedrich.Dominicus at inka.de
Thu May 20 02:36:22 EDT 1999


What about a sliding exit condition


loop:
	line = readline()
until: not line



or  the other way round
loop:
	line=readline()
while: line

exit condition at the end


but this would be ok too:
i = 2
loop: 
while: i > 1;


or the like?

Just a thought

Regards
Friedrich




More information about the Python-list mailing list