[issue8726] test_capi failure

2010-05-17 Thread Jeffrey Yasskin
Jeffrey Yasskin jyass...@gmail.com added the comment: Fixed in r81269. Sorry about that. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8726 ___

[issue8726] test_capi failure

2010-05-15 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: [...] test_capi test test_capi failed -- Traceback (most recent call last): File /home/antoine/py3k/__svn__/Lib/test/test_capi.py, line 49, in test_no_FatalError_infinite_loop b'Fatal Python error:' AssertionError: b'' != b'Fatal Python

[issue8726] test_capi failure

2010-05-15 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +jyasskin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8726 ___ ___ Python-bugs-list mailing

[issue8726] test_capi failure

2010-05-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It turns out that the test segfaults: $ ./python -E -bb -c import _testcapi; _testcapi.crash_no_current_thread() Erreur de segmentation (core dumped) And here is the backtrace: Program terminated with signal 11, Segmentation fault. #0

[issue8726] test_capi failure

2010-05-15 Thread Jeffrey Yasskin
Jeffrey Yasskin jyass...@gmail.com added the comment: Ah, darn. Any thoughts on what do to? Shall I make the test conditional on a pydebug build, or just remove it? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8726

[issue8726] test_capi failure

2010-05-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Your test could call PyThreadState_Get() explicitly, before calling PyErr_SetString() (which should then never get executed). -- ___ Python tracker rep...@bugs.python.org