]> granicus.if.org Git - python/commit
bpo-30125: Fix faulthandler.disable() on Windows (#1240)
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 21 Apr 2017 16:06:13 +0000 (18:06 +0200)
committerGitHub <noreply@github.com>
Fri, 21 Apr 2017 16:06:13 +0000 (18:06 +0200)
commit46c2b81026bbf966c0898a1fa30d98c33673aea0
tree8fe6be2610839b6be6b0d0b847497191a38a90eb
parent2a1aed04b0943636f605543522e16cca1dc23e70
bpo-30125: Fix faulthandler.disable() on Windows (#1240)

* bpo-30125: Cleanup faulthandler.c

* Use size_t type for iterators
* Add { ... }

* bpo-30125: Fix faulthandler.disable() on Windows

On Windows, faulthandler.disable() now removes the exception handler
installed by faulthandler.enable().
Lib/test/test_faulthandler.py
Modules/faulthandler.c