30 Aug 12:12
Exception raising style adjustments?
From: Martijn Pieters <mj <at> zopatista.com>
Subject: Exception raising style adjustments?
Newsgroups: gmane.comp.web.zope.zope3
Date: 2005-08-30 10:13:05 GMT
Subject: Exception raising style adjustments?
Newsgroups: gmane.comp.web.zope.zope3
Date: 2005-08-30 10:13:05 GMT
Now that our dear BDFL has expressed the opinion that exceptions raising
of the form:
raise FooException, "Bar"
is definitely passé and so 20th century[1], and now that the holy writ of
PEP 8[2] has been updated to reflect the current view that all exception
raising incantations should be expressed as:
raise FooException("Bar")
would people object if I convert such expressions in violation of this
view to the One True Way? (At least in src/zope as much such mistakes in
other code may be blamed on infidels more easily).
All not in favour, please keep mum unless a good reason not to be flogged
for blasphemy is brought henceforth immediatly.
Your loyal priest of the styleguides,
Martijn Pieters
[1] http://mail.python.org/pipermail/python-dev/2005-August/055190.html
[2] http://www.python.org/peps/pep-0008.html
RSS Feed