Guido van Rossum wrote: >> Often I raise EnvironmentErrors of my own to signal >> parsing errors. > > Well, that's your problem. That's not what EnvironmentErrors are for.
But it seems like it's what it *should* be for. I'd be happy to use some other standard exception type if one existed at the right point in the hierarchy to catch what I want to catch, but there isn't one. -- Greg _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com