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 't/21318/sequences/rec-basic-arith' into t/21319/sequenc…
…es/rec-hash * t/21318/sequences/rec-basic-arith: (1894 commits) fix building of docs (no idea why it failed) fix doctests (experimental warning) factor out subsequence to separat ticket extend to negative shifts in subsequence doctesting all parameters in coefficient_of_word Updated SageMath version to 7.4.beta1 Dots removed. Minor changes. More cleanup Add sphinx plots and cleanup Fix doctests and minor cleanup Corrections, changes etc. Trac #21181: Yet a few more formatting fixes in docstrings of sage/combinat/words/finite_word.py Trac #21181 (previously #21178): Change to imperative form in docstrings of sage/combinat/words/finite_word.py, part II Trac #21181 (previously #21178): Change to imperative form in docstrings of sage/combinat/words/finite_word.py Trac #21178: A few more markup/formatting fixes in docstrings of sage/combinat/words/finite_word.py Trac #21178: Fix typos and a lot of markup/formatting in docstrings of sage/combinat/words/finite_word.py py3: no longer use file(name, kind) 21137: minor doc change sqome more typos ...
- Loading branch information
Showing
2,357 changed files
with
92,880 additions
and
44,799 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
SageMath version 7.2, Release Date: 2016-05-15 | ||
SageMath version 7.4.beta1, Release Date: 2016-08-17 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,23 @@ | ||
#!/usr/bin/env python | ||
|
||
# USAGE: | ||
# | ||
# sage-uncompress-spkg PKG [FILE] | ||
# | ||
# With a single argument, unpack the file PKG to the current directory. | ||
# | ||
# If FILE is specified, extract FILE from PKG and send it to | ||
# stdout. (This option is present only for backwards compatibility: | ||
# printing the SPKG.txt file from an old-style spkg.) | ||
# usage: sage-uncompress-spkg [-h] [-d DIR] PKG [FILE] | ||
# | ||
# positional arguments: | ||
# PKG the archive to extract | ||
# FILE (deprecated) print the contents of the given archive member to | ||
# stdout | ||
# | ||
# optional arguments: | ||
# -h, --help show this help message and exit | ||
# -d DIR directory to extract archive contents into | ||
|
||
import sys | ||
import tarfile | ||
import zipfile | ||
|
||
if __name__ == '__main__': | ||
filename = sys.argv[1] | ||
if tarfile.is_tarfile(filename): | ||
# tar file, possibly compressed: | ||
archive = tarfile.open(filename, 'r:*') | ||
if len(sys.argv) == 2: | ||
archive.extractall() | ||
else: | ||
member = sys.argv[2] | ||
if member in archive.getnames(): | ||
SPKG_TXT = archive.extractfile(member) | ||
sys.stdout.write(SPKG_TXT.read()) | ||
exit(1) | ||
archive.close() | ||
exit(0) | ||
if zipfile.is_zipfile(filename): | ||
# zip file: | ||
archive = zipfile.ZipFile(filename, 'r') | ||
if len(sys.argv) == 2: | ||
archive.extractall() | ||
else: | ||
member = sys.argv[2] | ||
if member in archive.namelist(): | ||
sys.stdout.write(archive.read(member)) | ||
else: | ||
exit(1) | ||
archive.close() | ||
exit(0) | ||
else: | ||
print ('Error: Unknown file type: {}'.format(filename)) | ||
exit(1) | ||
try: | ||
import sage_bootstrap | ||
except ImportError: | ||
import os, sys | ||
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..')) | ||
import sage_bootstrap | ||
|
||
from sage_bootstrap.uncompress.cmdline import run | ||
run() |
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,5 @@ | ||
zlib $(MP_LIBRARY) glpk | ||
|
||
---------- | ||
All lines of this file are ignored except the first. | ||
It is copied by SAGE_ROOT/build/make/install into SAGE_ROOT/build/make/Makefile. |
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=alabaster-VERSION.tar.gz | ||
sha1=ff3e575ee7eb4ba1721f17d91ec5a54b16283603 | ||
md5=957c665d7126dea8121f98038debcba7 | ||
cksum=738605178 | ||
sha1=c80dedaf4a1906410e53b653de059fe9d8b17c68 | ||
md5=346a71e8a6d51dff2e02086fdd9c5ffe | ||
cksum=2849350596 |
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.7 | ||
0.7.8 |
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.