This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/sage/__init__.py: Move 'import zlib' to src/sage/cpython/__init__.py
- Loading branch information
Matthias Koeppe
committed
Sep 8, 2021
1 parent
949d787
commit f77a98e
Showing
2 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# sage.cpython is an ordinary package, not a namespace package. | ||
|
||
# This package is imported very early, which is why workarounds/monkey-patching | ||
# are done in this file. | ||
|
||
# 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 as _zlib |