On 2/26/07, Andrew Dalke <dalke@dalkescientific.com> wrote:
My concern when I saw Guido's keynote was the worry that
people do/might write code like this

NO_END_OF_RECORD = ParserError("Cannot find end of record")

def parse_record(input_file):
   ...
    raise NO_END_OF_RECORD
   ...

FWIW, you can remove 'might' from that sentence: I've seen more than a few people use that kind of code (and I share your concerns.)

--
Thomas Wouters <thomas@python.org>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!