How to do this in Python...

Martin Maney maney at pobox.com
Mon Jan 27 21:18:00 EST 2003


Carl Banks <imbosol at vt.edu> 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