mod_speling for python
Harald Massa
cpl.19.ghum at spamgourmet.com
Thu Jan 29 15:33:02 EST 2004
> prtk3> I know there are drawbacks, disadvantages, this is "evil",
> etc. prtk3> I only wanted to know what ways there are to add such
> a hook if prtk3> it is possible without altering the C source for
> python itself.
>
> Take a look at sys.excepthook. Actual implementation is left as an
> exercise for the reader. <wink>
And be carefull: it breaks the Zen of Python and thereby removes it's mojo.
More information about the Python-list
mailing list