MINGW-packages/mingw-w64-python-numpy/0007-disable-64bit-experimental-warning.patch
2021-02-11 23:00:41 +05:30

21 lines
788 B
Diff

diff --git a/numpy/core/src/multiarray/multiarraymodule.c b/numpy/core/src/multiarray/multiarraymodule.c
index cc747d8..bde15cb 100644
--- a/numpy/core/src/multiarray/multiarraymodule.c
+++ b/numpy/core/src/multiarray/multiarraymodule.c
@@ -4482,15 +4482,6 @@ PyMODINIT_FUNC PyInit__multiarray_umath(void) {
goto err;
}
-#if defined(MS_WIN64) && defined(__GNUC__)
- PyErr_WarnEx(PyExc_Warning,
- "Numpy built with MINGW-W64 on Windows 64 bits is experimental, " \
- "and only available for \n" \
- "testing. You are advised not to use it for production. \n\n" \
- "CRASHES ARE TO BE EXPECTED - PLEASE REPORT THEM TO NUMPY DEVELOPERS",
- 1);
-#endif
-
/* Initialize access to the PyDateTime API */
numpy_pydatetime_import();