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.
- Loading branch information
Showing
647 changed files
with
46,435 additions
and
12,815 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
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 @@ | ||
Sage version 6.6.beta5, released 2015-03-13 | ||
Sage version 6.7.beta1, released 2015-04-15 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
= COIN-OR / CBC = | ||
|
||
== Description == | ||
|
||
The Computational Infrastructure for Operations Research (COIN-OR**, | ||
or simply COIN) project is an initiative to spur the development of | ||
open-source software for the operations research community. | ||
|
||
The COIN Branch and Cut solver (CBC) is an open-source | ||
mixed-integer program (MIP) solver written in C++. CBC is intended to | ||
be used primarily as a callable library to create customized | ||
branch-and-cut solvers. A basic, stand-alone executable version is | ||
also available. CBC is an active open-source project led by John | ||
Forrest at www.coin-or.org. | ||
|
||
== License == | ||
|
||
Eclipse Public License, Version 1.0 (EPL-1.0) | ||
(http://opensource.org/licenses/eclipse-1.0) | ||
|
||
== Upstream Contact == | ||
|
||
* John Forrest <[email protected]> | ||
* Robin Lougee-Heimer | ||
|
||
== Project Home Page == | ||
|
||
* https://projects.coin-or.org/Cbc |
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,4 @@ | ||
tarball=cbc-VERSION.tar.gz | ||
sha1=d937d6af1ee8838d44659ebd4cf7bbb1b20372ce | ||
md5=2134576233cc95cdfedc63991a4944ec | ||
cksum=1215468781 |
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 @@ | ||
2.9.4 |
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,22 @@ | ||
if [ "$SAGE_LOCAL" = "" ]; then | ||
echo >&2 "SAGE_LOCAL undefined ... exiting"; | ||
echo >&2 "Maybe run 'sage -sh'?" | ||
exit 1 | ||
fi | ||
|
||
export LDFLAGS="$LDFLAGS -lz -lbz2" | ||
#export CPPFLAGS="-DHAVE_CLOCK_GETTIME=0" | ||
|
||
# See discussion on #12220 | ||
# | ||
#-> Mac and Linux behave differently according to the presence of librt, and a | ||
# good way around if to make the computer believe that it does not exist | ||
# locally, or more precisely that it does not contain the clock_gettime | ||
# function. Cbc uses an alternative method to do the job, and it looks like | ||
# all this is required when Cbc solves LP with several threads. | ||
# | ||
cd src && | ||
sed -i -e "s/clock\_gettime ()/Grrrrrrrrrrrr\ ()/g" Cbc/configure && | ||
./configure --prefix="$SAGE_LOCAL" "${args[@]}" --enable-cbc-parallel --enable-parallel --enable-gnu-packages --enable-static && | ||
make && | ||
make install |
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=12e8d35579711c8bf8beddb890aaebd6b2c51db1 | ||
md5=dbb592c16e66f4f2e3345071fb115abf | ||
cksum=693230472 | ||
sha1=ca70b58ba6c8bd0bbcab9ed5408f9f43dde8fffa | ||
md5=02a841e6f9e8915d674ac2180447562b | ||
cksum=923598272 |
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 @@ | ||
75 | ||
87 |
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.22 | ||
0.22.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,44 @@ | ||
commit 9139a7f836151fb5bdb1624a05dce13b1bb17164 | ||
Author: Stefan Behnel <[email protected]> | ||
Date: Mon Apr 6 10:45:48 2015 +0200 | ||
|
||
support NULL as default argument in auto doc transform | ||
|
||
diff --git a/Cython/Compiler/AutoDocTransforms.py b/Cython/Compiler/AutoDocTransforms.py | ||
index 775f635..88b0cd8 100644 | ||
--- a/Cython/Compiler/AutoDocTransforms.py | ||
+++ b/Cython/Compiler/AutoDocTransforms.py | ||
@@ -51,6 +51,8 @@ class EmbedSignature(CythonTransform): | ||
default_val = arg.default | ||
if not default_val: | ||
return None | ||
+ if isinstance(default_val, ExprNodes.NullNode): | ||
+ return 'NULL' | ||
try: | ||
denv = self.denv # XXX | ||
ctval = default_val.compile_time_value(self.denv) | ||
diff --git a/tests/run/embedsignatures.pyx b/tests/run/embedsignatures.pyx | ||
index 0bfebfe..781cd21 100644 | ||
--- a/tests/run/embedsignatures.pyx | ||
+++ b/tests/run/embedsignatures.pyx | ||
@@ -199,6 +199,9 @@ __doc__ = ur""" | ||
|
||
>>> print(funcdoc(f_defexpr5)) | ||
f_defexpr5(int x=4) | ||
+ | ||
+ >>> print(funcdoc(f_charptr_null)) | ||
+ f_charptr_null(char *s=NULL) -> char * | ||
""" | ||
|
||
cdef class Ext: | ||
@@ -403,6 +406,10 @@ cpdef f_defexpr4(int x = (Ext.CONST1 + FLAG1) * Ext.CONST2): | ||
cpdef f_defexpr5(int x = 2+2): | ||
pass | ||
|
||
+cpdef (char*) f_charptr_null(char* s=NULL): | ||
+ return s or b'abc' | ||
+ | ||
+ | ||
# no signatures for lambda functions | ||
lambda_foo = lambda x: 10 | ||
lambda_bar = lambda x: 20 |
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,29 @@ | ||
= database_pari = | ||
|
||
== Description == | ||
|
||
The collection of optional PARI packages elldata, seadata, galpol, | ||
nftables (galdata is included in the standard PARI spkg). | ||
See http://pari.math.u-bordeaux.fr/packages.html | ||
|
||
== License == | ||
|
||
GNU General Public License (GPL version 2 or any later version). | ||
|
||
== SPKG Maintainers == | ||
|
||
* Jeroen Demeyer | ||
|
||
== Upstream Contact == | ||
|
||
http://pari.math.u-bordeaux.fr/ | ||
|
||
== Dependencies == | ||
|
||
* Installation: None | ||
* Runtime: PARI/GP | ||
|
||
== Special Update/Build Instructions == | ||
|
||
Download the four mentioned tarballs and extract them, then move them | ||
out of the top-level directory data. |
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,4 @@ | ||
tarball=database_pari-VERSION.tar.bz2 | ||
sha1=92dcb68e7a6def53ffc5fb82e3593d5b80c940cb | ||
md5=652d36d18ea300193957120815298be7 | ||
cksum=2257060384 |
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 @@ | ||
20140908 |
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 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ -z "$SAGE_SRC" ]; then | ||
echo >&2 "SAGE_SRC undefined ... exiting" | ||
echo >&2 "Maybe run 'sage --sh'?" | ||
exit 1 | ||
fi | ||
|
||
sage -tp --long --optional=database_pari,sage "$SAGE_SRC/sage/tests/parigp.py" "$SAGE_SRC/sage/libs/pari" |
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,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ -z "$GP_DATA_DIR" ]; then | ||
echo >&2 "GP_DATA_DIR undefined ... exiting" | ||
echo >&2 "Maybe run 'sage --sh'?" | ||
exit 1 | ||
fi | ||
|
||
cd src | ||
cp -pR elldata galpol nftables seadata "$GP_DATA_DIR" |
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=eclib-VERSION.tar.bz2 | ||
sha1=b8a8b5232caf2332e650d8b6b8ec009979312974 | ||
md5=da8b822c6bbef913bcef6d7491c8c999 | ||
cksum=3800001876 | ||
sha1=78c29e1a3dd56f78c7c73518bbbcc87ec46ccaa6 | ||
md5=9f236177d235a3105ec4f7d513ab0470 | ||
cksum=3608506624 |
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 @@ | ||
20140921 | ||
20150323 |
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=ipython-VERSION.tar.gz | ||
sha1=a8dbfad1faa4adb647c7695bd2584ab48ddddb34 | ||
md5=b3f00f3c0be036fafef3b0b9d663f27e | ||
cksum=123101250 | ||
sha1=e81b5b9730b3392948cdc69aa107b407028dba5e | ||
md5=a749d90c16068687b0ec45a27e72ef8f | ||
cksum=998856847 |
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 @@ | ||
3.0.0 | ||
3.1.0 |
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,23 @@ | ||
See https://github.com/ipython/ipython/pull/8208 | ||
|
||
Catch termios.error in pager | ||
|
||
This error is raised by termios.tcgetattr on really old Linux versions | ||
(here: Ubuntu 8.04.4) in doctests, that is, without a real stdout. | ||
|
||
diff --git a/IPython/core/page.py b/IPython/core/page.py | ||
index 2a0305e..067b540 100644 | ||
--- a/IPython/core/page.py | ||
+++ b/IPython/core/page.py | ||
@@ -100,7 +100,10 @@ def _detect_screen_size(screen_lines_def): | ||
# flags each time), we just save the initial terminal state and | ||
# unconditionally reset it every time. It's cheaper than making | ||
# the checks. | ||
- term_flags = termios.tcgetattr(sys.stdout) | ||
+ try: | ||
+ term_flags = termios.tcgetattr(sys.stdout) | ||
+ except termios.error as err: | ||
+ raise TypeError | ||
|
||
# Curses modifies the stdout buffer size by default, which messes | ||
# up Python's normal stdout buffering. This would manifest itself |
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=jinja2-VERSION.tar.bz2 | ||
sha1=e9e13b4f573effd35e03b1ecd978c684342d549c | ||
md5=3ca3504c27a147d38f4d32214a3f3004 | ||
cksum=1443664485 | ||
tarball=jinja2-VERSION.tar.gz | ||
sha1=25ab3881f0c1adfcf79053b58de829c5ae65d3ac | ||
md5=b9dffd2f3b43d673802fe857c8445b1a | ||
cksum=3563905877 |
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 @@ | ||
2.5.5 | ||
2.7.3 |
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,19 @@ | ||
= markupsafe = | ||
|
||
== Description == | ||
|
||
Implements a XML/HTML/XHTML Markup safe string for Python | ||
|
||
== License == | ||
|
||
Simplified BSD | ||
|
||
== Upstream Contact == | ||
|
||
Home page: http://github.com/mitsuhiko/markupsafe | ||
|
||
== Dependencies == | ||
|
||
Python, setuptools | ||
|
||
|
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,4 @@ | ||
tarball=markupsafe-VERSION.tar.gz | ||
sha1=cd5c22acf6dd69046d6cb6a3920d84ea66bdf62a | ||
md5=f5ab3deee4c37cd6a922fb81e730da6e | ||
cksum=586757310 |
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 @@ | ||
0.23 |
Oops, something went wrong.