[Python-Dev] Fault handler updated, now disabled by default (original) (raw)

Victor Stinner victor.stinner at haypocalc.com
Sun Dec 26 23:57:10 CET 2010


Le dimanche 26 décembre 2010 à 14:10 +0000, exarkun at twistedmatrix.com a écrit :

On 25 Dec, 10:31 pm, merwok at netwok.org wrote: >>faulthandler is a module: enable the handler is simple as "import >>faulthandler". > >That sounds like a source of unwanted behavior (aka problems) if the >handler is enabled by 1Cpydoc faulthandler 1D or by a pkgutil walk. You >may want to consider using a function to enable the functionality (and >add one to disable it).

Enormous +1.

I don't know pkgutil. How does it work? In which case would it load the faulthandler module?

faulthandler is currently only written in C.

Victor



More information about the Python-Dev mailing list