How to do this in Python...

Martin Maney maney at
Tue Jan 28 03:18:00 CET 2003

Carl Banks <imbosol at> wrote:
> (And, frankly, I'm rather annoyed that you've come to this
> two-sample-point "conclusion" without examining the method I gave in
> the very post you responded to.)

I'm sorry you have been needlessly annoyed, Carl.  I have indeed seen,
and considered, many more than two proposed solutions to this problem,
but I was writing mostly for the OP's benefit, so I chose to discuss
only the ones that I thought were interesting.  Since you seem to be
asking, I would have to say that the fake loop approach you say you
favor seems to me to be one of the ugliest proposals, exactly because
it abuses a control structure that normally has well-known behavior. 
Of course tastes differ when you're twisting a tool into doing
something it doesn't wish to do, which was perhaps the ultimate point
of my small treatise on contorted Python.

More information about the Python-list mailing list