Commit 646f321a authored by Marius Wachtler's avatar Marius Wachtler

dtoa: disable custom memory managment

travis-ci encountered sometimes a crash while running test_math.py.
This should fix the issue (the routines are used when creating a float from a string constant)
parent 0fc53b70
...@@ -118,6 +118,9 @@ ...@@ -118,6 +118,9 @@
#include "Python.h" #include "Python.h"
// Pyston change: disable custom memory managment because it confuses our GC
#define Py_USING_MEMORY_DEBUGGER 1
/* if PY_NO_SHORT_FLOAT_REPR is defined, then don't even try to compile /* if PY_NO_SHORT_FLOAT_REPR is defined, then don't even try to compile
the following code */ the following code */
#ifndef PY_NO_SHORT_FLOAT_REPR #ifndef PY_NO_SHORT_FLOAT_REPR
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment