[Python-Dev] Style for raising exceptions (python-dev Summary for 2005-08-01 through 2005-08-15 [draft])

skip@pobox.com skip at pobox.com
Sat Aug 27 14:48:20 CEST 2005


    MAL> I don't see a need for two or more syntaxes either, but most code
    MAL> nowadays uses the second variant (I don't know of any code that
    MAL> uses the traceback argument), which puts up a high barrier for
    MAL> changes.

Earlier this week I managed to fix all the instances in the projects I'm
involved with at my day job in a couple rounds of grep/emacs macro sessions.
It took all of about 20 minutes, so I don't think the conversion will be
onerous.

Skip


More information about the Python-Dev mailing list