Re: strop module and whitespace

peter@robots.oxford.ac.uk
Thu, 8 Jul 93 13:29:47 BST

Guido writes:
> A possibility, if people think this is worth it, would be to somehow
> find out which characters the C library's "isspace()" function
> considers whitespace and use this definition throughout.
>
> Feedback, please!
>
> --Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
>

I think you could either have some kind of python variable (like sh's IFS)
or as you suggest just use the C isspace() function. Both of these are
an improvement on the current hardcoded behaviour, especially if python has
the ability of running on multiple platforms.

Pete.