Re: str.isspace()

2006-09-03 Thread George Sakkis
Jean-Paul Calderone wrote: > On 3 Sep 2006 09:20:49 -0700, [EMAIL PROTECTED] wrote: > >Are you using the str.isspace() method? I don't use it, so if most > >people don't uses it, then it may be removed from Py 3.0. > > > >I usually need to know if a string contains some non-spaces (not space > >cl

Re: str.isspace()

2006-09-03 Thread forman . simon
[EMAIL PROTECTED] wrote: > Are you using the str.isspace() method? I don't use it, so if most > people don't uses it, then it may be removed from Py 3.0. > > I usually need to know if a string contains some non-spaces (not space > class chars). To do it I use something like: > > if aline.strip(): .

Re: str.isspace()

2006-09-03 Thread Jean-Paul Calderone
On 3 Sep 2006 09:20:49 -0700, [EMAIL PROTECTED] wrote: >Are you using the str.isspace() method? I don't use it, so if most >people don't uses it, then it may be removed from Py 3.0. > >I usually need to know if a string contains some non-spaces (not space >class chars). To do it I use something lik