[Zope3-dev] Exception raising style adjustments?

Martijn Pieters mj at zopatista.com
Tue Aug 30 06:13:05 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD4DBQFDFDEx3xaj2GOvgP0RAmiOAKCSDUKXq5juQ8rmPIZzAMFP1iPdrACXeXXE
E2dY8E2EOruEhc1Iw+rK3g==
=2qzx
-----END PGP SIGNATURE-----



More information about the Zope3-dev mailing list