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.
Merge branch 'develop' into t/23782/fricas_output_and_sage_conversion…
…_bug
- Loading branch information
Showing
231 changed files
with
16,563 additions
and
7,289 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 |
---|---|---|
@@ -1 +1 @@ | ||
SageMath version 8.1.beta5, Release Date: 2017-09-11 | ||
SageMath version 8.1.beta6, Release Date: 2017-09-21 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
tarball=configure-VERSION.tar.gz | ||
sha1=c063b3ecf3e5b7b4669670f40d960231d0cc9470 | ||
md5=76d19d3a4f35085009a2a0a398259d74 | ||
cksum=2616315576 | ||
sha1=f97d37995518571ade4ec3ba1004fb8f2e60eb72 | ||
md5=09a7668e2d53c68bb22c25c70a9fe8c7 | ||
cksum=2353275698 |
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 |
---|---|---|
@@ -1 +1 @@ | ||
237 | ||
238 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
tarball=fricas-VERSION-full.tar.bz2 | ||
sha1=f476a535ba189658cbc6055a951867c0c23787e4 | ||
md5=1850f25249ed238203b9519c522d1795 | ||
cksum=2721391206 | ||
sha1=8fc3e850a9890eac21cd9f391dd58000b3537067 | ||
md5=0d3af65758ce93b1cc52c2511e73e674 | ||
cksum=1048748907 |
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 |
---|---|---|
@@ -1 +1 @@ | ||
1.2.7 | ||
1.3.2 |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1 +1 @@ | ||
1.12.1 | ||
1.12.1.p0 |
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,39 @@ | ||
See https://github.com/numpy/numpy/pull/9691 | ||
|
||
commit 409e78dd851f5413338f8ce22e50d1a11aa0391a | ||
Author: Jeroen Demeyer <jdemeyer@cage.ugent.be> | ||
Date: Fri Sep 15 12:22:51 2017 +0200 | ||
|
||
PEP 3141 numbers should be considered scalars | ||
|
||
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py | ||
index fde0849..647a9dd 100644 | ||
--- a/numpy/core/numeric.py | ||
+++ b/numpy/core/numeric.py | ||
@@ -5,6 +5,7 @@ import itertools | ||
import operator | ||
import sys | ||
import warnings | ||
+import numbers | ||
|
||
import numpy as np | ||
from . import multiarray | ||
@@ -2161,12 +2162,14 @@ def isscalar(num): | ||
True | ||
>>> np.isscalar('numpy') | ||
True | ||
+ >>> from fractions import Fraction | ||
+ >>> isscalar(Fraction()) | ||
+ True | ||
|
||
""" | ||
- if isinstance(num, generic): | ||
- return True | ||
- else: | ||
- return type(num) in ScalarType | ||
+ return (isinstance(num, generic) | ||
+ or type(num) in ScalarType | ||
+ or isinstance(num, numbers.Number)) | ||
|
||
|
||
def binary_repr(num, width=None): |
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,67 @@ | ||
diff -ruN a/exports/Makefile b/exports/Makefile | ||
--- a/exports/Makefile 2017-09-07 12:40:36.504486400 +0200 | ||
+++ b/exports/Makefile 2017-09-07 13:28:39.665869200 +0200 | ||
@@ -89,13 +89,13 @@ | ||
# in their import table. By instead using a stable name it is possible to | ||
# upgrade between library versions, without needing to re-link an application. | ||
# For more details see: https://github.com/xianyi/OpenBLAS/issues/127. | ||
-../$(LIBDLLNAME) : ../$(LIBNAME) libopenblas.def dllinit.$(SUFFIX) | ||
+../$(LIBDLLNAME) : ../$(LIBNAME) $(LIBPREFIX).def dllinit.$(SUFFIX) | ||
$(RANLIB) ../$(LIBNAME) | ||
- $(CC) $(CFLAGS) $(LDFLAGS) libopenblas.def dllinit.$(SUFFIX) \ | ||
- -shared -o ../$(LIBDLLNAME) -Wl,--out-implib,../$(LIBDLLNAME).a \ | ||
+ $(CC) $(CFLAGS) $(LDFLAGS) $(LIBPREFIX).def dllinit.$(SUFFIX) \ | ||
+ -shared -o ../$(LIBDLLNAME) -Wl,--out-implib,../$(IMPLIBNAME) \ | ||
-Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive $(FEXTRALIB) $(EXTRALIB) | ||
|
||
-libopenblas.def : gensymbol | ||
+$(LIBPREFIX).def : gensymbol | ||
perl ./gensymbol win2k $(ARCH) dummy $(EXPRECISION) $(NO_CBLAS) $(NO_LAPACK) $(NO_LAPACKE) $(NEED2UNDERSCORES) $(ONLY_CBLAS) "$(SYMBOLPREFIX)" "$(SYMBOLSUFFIX)" $(BUILD_LAPACK_DEPRECATED) > $(@F) | ||
|
||
libgoto_hpl.def : gensymbol | ||
diff -ruN a/Makefile.install b/Makefile.install | ||
--- a/Makefile.install 2017-09-07 12:40:50.166767100 +0200 | ||
+++ b/Makefile.install 2017-09-07 13:28:29.265353000 +0200 | ||
@@ -88,10 +88,11 @@ | ||
endif | ||
ifeq ($(OSNAME), WINNT) | ||
@-cp $(LIBDLLNAME) "$(DESTDIR)$(OPENBLAS_BINARY_DIR)" | ||
- @-cp $(LIBDLLNAME).a "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" | ||
+ @-cp $(IMPLIBNAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" | ||
endif | ||
ifeq ($(OSNAME), CYGWIN_NT) | ||
- @-cp $(LIBDLLNAME) $(OPENBLAS_BINARY_DIR) | ||
+ @-cp $(LIBDLLNAME) "$(DESTDIR)$(OPENBLAS_BINARY_DIR)" | ||
+ @-cp $(IMPLIBNAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" | ||
endif | ||
endif | ||
#Generating OpenBLASConfig.cmake | ||
diff -ruN a/Makefile.system b/Makefile.system | ||
--- a/Makefile.system 2017-09-07 12:40:47.348982600 +0200 | ||
+++ b/Makefile.system 2017-09-07 13:29:01.062873600 +0200 | ||
@@ -904,9 +904,15 @@ | ||
endif | ||
|
||
ifndef LIBNAMESUFFIX | ||
-LIBPREFIX = lib$(SYMBOLPREFIX)openblas$(SYMBOLSUFFIX) | ||
+LIBNAMEBASE = $(SYMBOLPREFIX)openblas$(SYMBOLSUFFIX) | ||
else | ||
-LIBPREFIX = lib$(SYMBOLPREFIX)openblas$(SYMBOLSUFFIX)_$(LIBNAMESUFFIX) | ||
+LIBNAMEBASE = $(SYMBOLPREFIX)openblas$(SYMBOLSUFFIX)_$(LIBNAMESUFFIX) | ||
+endif | ||
+ | ||
+ifeq ($(OSNAME), CYGWIN_NT) | ||
+LIBPREFIX = cyg$(LIBNAMEBASE) | ||
+else | ||
+LIBPREFIX = lib$(LIBNAMEBASE) | ||
endif | ||
|
||
KERNELDIR = $(TOPDIR)/kernel/$(ARCH) | ||
@@ -1065,6 +1071,7 @@ | ||
|
||
|
||
LIBDLLNAME = $(LIBPREFIX).dll | ||
+IMPLIBNAME = lib$(LIBNAMEBASE).dll.a | ||
LIBSONAME = $(LIBNAME:.$(LIBSUFFIX)=.so) | ||
LIBDYNNAME = $(LIBNAME:.$(LIBSUFFIX)=.dylib) | ||
LIBDEFNAME = $(LIBNAME:.$(LIBSUFFIX)=.def) |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
tarball=pynac-VERSION.tar.bz2 | ||
sha1=613108dd2f74a277ec401c86a369d8521d352ae6 | ||
md5=2d4dd3aa493a80c97de9afc8bbadb464 | ||
cksum=2175259532 | ||
sha1=4a451caec15ac10387b722ca42f5fd6baf5f4d6d | ||
md5=36dfabf9c1ecc39eda3d34b4393fbb9f | ||
cksum=4008480479 |
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 |
---|---|---|
@@ -1 +1 @@ | ||
0.7.10 | ||
0.7.11 |
This file was deleted.
Oops, something went wrong.
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,26 @@ | ||
diff --git a/ginac/power.cpp b/ginac/power.cpp | ||
index 74dc725..ca504f1 100644 | ||
--- a/ginac/power.cpp | ||
+++ b/ginac/power.cpp | ||
@@ -744,12 +744,15 @@ ex power::eval(int level) const | ||
outex = outer[0]; | ||
else | ||
outex = mul(outer).hold(); | ||
- if (inner.size() == 1) | ||
- innex = inner[0]; | ||
- else | ||
- innex = mul(inner).hold(); | ||
- ex p = power(innex, eexponent).hold(); | ||
- return (new mul(outex, p))->setflag(status_flags::dynallocated | status_flags::evaluated); | ||
+ if (inner.size() > 0) { | ||
+ if (inner.size() == 1) | ||
+ innex = inner[0]; | ||
+ else | ||
+ innex = mul(inner).hold(); | ||
+ ex p = power(innex, eexponent).hold(); | ||
+ return (new mul(outex, p))->setflag(status_flags::dynallocated | status_flags::evaluated); | ||
+ } | ||
+ return outex; | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1 +1 @@ | ||
1.6.3.p0 | ||
1.6.3.p1 |
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,24 @@ | ||
commit f4c8115a7e5f1a5d9ba10279b5a7634f63c18526 | ||
Author: Jeroen Demeyer <jdemeyer@cage.ugent.be> | ||
Date: Fri Sep 8 11:42:35 2017 +0200 | ||
|
||
Turn any environment unpickling error into IOError | ||
|
||
diff --git a/sphinx/environment/__init__.py b/sphinx/environment/__init__.py | ||
index 536aa95..a3a3e3a 100644 | ||
--- a/sphinx/environment/__init__.py | ||
+++ b/sphinx/environment/__init__.py | ||
@@ -110,7 +110,12 @@ class BuildEnvironment(object): | ||
@staticmethod | ||
def load(f, app=None): | ||
# type: (IO, Sphinx) -> BuildEnvironment | ||
- env = pickle.load(f) | ||
+ try: | ||
+ env = pickle.load(f) | ||
+ except Exception as exc: | ||
+ # This can happen for example when the pickle is from a | ||
+ # different version of Sphinx. | ||
+ raise IOError(exc) | ||
if env.version != ENV_VERSION: | ||
raise IOError('build environment version not current') | ||
if app: |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sage version information for shell scripts | ||
# This file is auto-generated by the sage-update-version script, do not edit! | ||
SAGE_VERSION='8.1.beta5' | ||
SAGE_RELEASE_DATE='2017-09-11' | ||
SAGE_VERSION='8.1.beta6' | ||
SAGE_RELEASE_DATE='2017-09-21' |
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
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
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
Oops, something went wrong.