Zbyszek Jędrzejewski-Szmek <zbys...@in.waw.pl> added the comment:

% PYTHONFAULTHANDLER=1 ./python -E -c 'import faulthandler; 
faulthandler._sigsegv()'
[3]    14516 segmentation fault (core dumped)

Unless I'm missing something, the env. var. is not working as documented.

Patch with two tests is attached: the first does 'python -X faulthandler ...' 
and passes after Antoine's patch, the second does 'PYTHONFAULTHANDLER=YesPlease 
python ...' and does not pass.

----------
keywords: +patch
Added file: http://bugs.python.org/file25640/issue14854_faulthandler_tests.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14854>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to