Is this a bug or a feature?: Python 1.6a2 (#4, Jun 9 2000, 02:22:41) [GCC 2.95.2 19991024 (release)] on linux2 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam Copyright 1995-2000 Corporation for National Research Initiatives (CNRI) >>> ''.isdigit() 1 >>> ''.isspace() 1 Shouldn't both string methods return 0 when the string is empty?