summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen Demeyer <jdemeyer@cage.ugent.be>2017-06-01 15:26:50 +0200
committerJeroen Demeyer <jdemeyer@cage.ugent.be>2017-06-01 15:26:50 +0200
commitd59afe3bf4ee03da91184ae6183a6dd6a9d3656f (patch)
tree2c3c8a92fcd4580f64a052f89f25404d865b8669
parentUpdated SageMath version to 8.0.beta9 (diff)
-rw-r--r--src/sage/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sage/__init__.py b/src/sage/__init__.py
index 7127bcd..8cd4918 100644
--- a/src/sage/__init__.py
+++ b/src/sage/__init__.py
@@ -1,5 +1,10 @@
__all__ = ['all']
+# Make sure that the correct zlib library is loaded. This is needed
+# to prevent the system zlib to be loaded instead of the Sage one.
+# See https://trac.sagemath.org/ticket/23122
+import zlib
+
# IPython calls this when starting up
def load_ipython_extension(*args):
import sage.repl.ipython_extension