[Python-Dev] string to float containing whitespace (original) (raw)
skip at pobox.com skip at pobox.com
Wed Apr 29 16:30:53 CEST 2009
- Previous message: [Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces
- Next message: [Python-Dev] string to float containing whitespace
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Someone please tell me I'm not going mad. I could have sworn that once upon a time attempting to convert numeric strings to ints or floats if they contained whitespace raised an exception. As far back as 1.5.2 it appears that float(), string.atof() and string.atoi() allow whitespace. Maybe I'm thinking of trailing non-numeric, non-whitespace characters.
Skip
- Previous message: [Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces
- Next message: [Python-Dev] string to float containing whitespace
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]