
4 Oct
2011
4 Oct
'11
9:48 p.m.
On Tue, Oct 4, 2011 at 10:21 PM, Guido van Rossum guido@python.org wrote:
I'm out of ideas here. But of all these, str.find is probably still the worst -- I've flagged bugs caused by it too many times to count.
You're not the only one - there's a reason str.find/index discussions always seem to devolve into attempts to find tolerable expression syntaxes for converting a particular exception type into a default value for the expression :P
Cheers, Nick.
--
Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia