[Python-Dev] with_traceback (original) (raw)

Thomas Wouters thomas at python.org
Tue Feb 27 00:10:52 CET 2007


On 2/26/07, Andrew Dalke <dalke at dalkescientific.com> wrote:

My concern when I saw Guido's keynote was the worry that people do/might write code like this

NOENDOFRECORD = ParserError("Cannot find end of record") def parserecord(inputfile): ... raise NOENDOFRECORD ...

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 at python.org>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-dev/attachments/20070226/4171161c/attachment.htm



More information about the Python-Dev mailing list