IDLE vs. the command line?

Rene Pijlman at
Wed Sep 15 10:10:03 CEST 2004

Otto T Hyvarinen:
>We have this big Python program, developed by another institute, that
>uses C extensions a lot. One of those C methods does the segmentation
>fault when run from the command line, but _not_ when run from the IDLE.
>This is quite strange.

Shit happens. When a program is correct, it will work. But when a program
is incorrect, there is no guarantee that it will fail.

>What is different when a program is run in IDLE? Or is there no
>difference and our case is just a fluke? Or should I update my Python
>knowledge (and how)?

You should probably debug the C extensions.

René Pijlman

More information about the Python-list mailing list