Stefan Krah <[email protected]> added the comment:
Well, to be completely unambiguous. This works:
diff -r d2cf8a34ddf9 Modules/faulthandler.c
--- a/Modules/faulthandler.c Thu Jan 26 00:15:07 2012 -0800
+++ b/Modules/faulthandler.c Fri Jan 27 23:16:27 2012 +0100
@@ -943,7 +943,7 @@
static PyObject *
faulthandler_read_null(PyObject *self, PyObject *args)
{
- int *x = NULL, y;
+ volatile int *x = NULL, y;
int release_gil = 0;
if (!PyArg_ParseTuple(args, "|i:_read_null", &release_gil))
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13874>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com