does lack of type declarations make Python unsafe?

Thomas Heller theller at
Fri Jun 20 17:02:16 CEST 2003

David Abrahams <dave at> writes:

> Has someone really straightened out the situation with Python
> debuggers?  Last time I looked there was no JIT debugging,
You can install an except hook which throws you into a debugger when
an uncatched exception is raised, see

>  and no way
> to set a conditional breakpoint in a long-running test without waiting
> forever as Python calls the debugger hook on every instruction (or
> statement, I forget).

Hm, you can simply insert 'import pdb; pdb.set_trace()' into the code.
No overhead.


More information about the Python-list mailing list