Another Wart! string.find() [ was: namespace issue? ]

Chris Barker chrishbarker at home.net
Fri Jun 22 15:59:32 EDT 2001


Tim Peters wrote:
> > it is a valid index into a string
> 
> Historical note:  at the time these functions were designed, negative
> indices were not allowed:  sequence[negative_int] raised an exception.

I suppose the time machine was not yet functional either...

-- 
Christopher Barker,
Ph.D.                                                           
ChrisHBarker at home.net                 ---           ---           ---
http://members.home.net/barkerlohmann ---@@       -----@@       -----@@
                                   ------@@@     ------@@@     ------@@@
Oil Spill Modeling                ------   @    ------   @   ------   @
Water Resources Engineering       -------      ---------     --------    
Coastal and Fluvial Hydrodynamics --------------------------------------
------------------------------------------------------------------------



More information about the Python-list mailing list