Hard to find bugs, misleading exceptions

Steve Holden sholden at holdenweb.com
Mon Feb 24 22:16:45 CET 2003


"Ferenczi Viktor" <cx at cx.hu> wrote ..
> Recently I've debugged my source code more than an hour to find a very
> instructive bug. The simplified problem is demonstrated in the following
> interactive session:
>
[missing comma in list of tuples]
>
> Alternatively a "bug hunter" module could be implemented to point out
common
> mistakes in the source code, passing the runtime exception to the module
may
> help.
>
It's called "pychecker", and I'd be very surprised if it didn't point out
the problem it took you so long to find. These things certainly are very
annoying.

> If you had some hard to debug scenarios, please share it and it's solution
> with the python community. This can save time and improve productivity of
> the community as a whole. Is there a mailing list somewhere about this
> problem?
>

regards
--
Steve Holden                                  http://www.holdenweb.com/
Python Web Programming                 http://pydish.holdenweb.com/pwp/
Register for PyCon now!            http://www.python.org/pycon/reg.html






More information about the Python-list mailing list