-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added numpy.patch - workaround for byte/str mismatch
- Loading branch information
1 parent
c36ee09
commit d8cc204
Showing
1 changed file
with
13 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff -rupN numpy.orig/lib/format.py numpy/lib/format.py | ||
--- numpy.orig/lib/format.py 2015-01-02 21:54:36.555287500 +0100 | ||
+++ numpy/lib/format.py 2014-12-31 17:09:21.892038900 +0100 | ||
@@ -148,7 +148,7 @@ if sys.version_info[0] >= 3: | ||
else: | ||
import cPickle as pickle | ||
|
||
-MAGIC_PREFIX = asbytes('\x93NUMPY') | ||
+MAGIC_PREFIX = asbytes(b'\x93NUMPY') | ||
MAGIC_LEN = len(MAGIC_PREFIX) + 2 | ||
BUFFER_SIZE = 2**18 # size of buffer for reading npz files in bytes | ||
|
||
Binary files numpy.orig/lib/format.pyc and numpy/lib/format.pyc differ |