ENH: one of possible many str -> basestring
this is a python 2.x enhancement, where str -> basestring is needed if the input is for example a unicode string. Remark: there are about 10-20 other places in ASE where a similar enhancement could in principle be done.