On Wed, Jun 01, 2005 at 07:24:14PM +0300, Michael S. Tsirkin wrote: > > Meanwhile, it might make sense to validate input. It essentially does - bogus input will throw exceptions. It just doesn't catch the resulting exception. It ought to do: try: parse except: print "Got unexpected input:", d -- Mathematics is the supreme nostalgia of our time.