Oops!
This bug is due to the fact that what I first wrote ( and
actually tested ) was the more general split on whitespace
case:
fields = string.split( fp.readline() )
and then I changed it to splitfields without checking!
string.split( ' ' ) or string.split( '' )
return []
while string.splitfields( '', '\t' ) returns ['']
A difference I hadn't noticed before, but is (I think) necessary
to maintain the reversability of string.splitfields and
string.joinfields. ( Which is a quite useful feature! )
- Steve "Code in haste, repend in leisure!" Majewski