Skip to content

Commit a41195d

Browse files
committed
http -> https
1 parent 2e63fe1 commit a41195d

File tree

12 files changed

+28
-23
lines changed

12 files changed

+28
-23
lines changed

.install-pari.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ if [ "$URLDIR" = "" ]; then
88
URLDIR=OLD/${PURE_VERSION%.*}
99
fi
1010

11-
PARI_URL="http://pari.math.u-bordeaux.fr/pub/pari/$URLDIR"
12-
PARI_URL1="http://pari.math.u-bordeaux.fr/pub/pari/unix"
13-
PARI_URL2="http://pari.math.u-bordeaux.fr/pub/pari/unstable"
11+
PARI_URL="https://pari.math.u-bordeaux.fr/pub/pari/$URLDIR"
12+
PARI_URL1="https://pari.math.u-bordeaux.fr/pub/pari/unix"
13+
PARI_URL2="https://pari.math.u-bordeaux.fr/pub/pari/unstable"
1414

1515
# Download PARI sources
1616
wget --no-verbose "$PARI_URL/$PARI_VERSION.tar.gz" -O pari.tgz || wget --no-verbose "$PARI_URL1/pari-$PARI_VERSION.tar.gz" -O pari.tgz || wget --no-verbose "$PARI_URL2/pari-$PARI_VERSION.tar.gz" -O pari.tgz

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CyPari 2
55
:target: https://cypari2.readthedocs.io/en/latest/?badge=latest
66
:alt: Documentation Status
77

8-
A Python interface to the number theory library `PARI/GP <http://pari.math.u-bordeaux.fr/>`_.
8+
A Python interface to the number theory library `PARI/GP <https://pari.math.u-bordeaux.fr/>`_.
99

1010
Installation
1111
------------
@@ -132,8 +132,8 @@ same computations be done via
132132
>>> pari.centerlift(pari.lift(fq))
133133
[x - t, 1; x + (t^2 + t - 1), 1; x + (-t^2 - 1), 1]
134134

135-
The complete documentation of cypari2 is available at http://cypari2.readthedocs.io and
136-
the PARI/GP documentation at http://pari.math.u-bordeaux.fr/doc.html
135+
The complete documentation of cypari2 is available at https://cypari2.readthedocs.io and
136+
the PARI/GP documentation at https://pari.math.u-bordeaux.fr/doc.html
137137

138138
Contributing & Development
139139
--------------------------

autogen/args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# it under the terms of the GNU General Public License as published by
1010
# the Free Software Foundation, either version 2 of the License, or
1111
# (at your option) any later version.
12-
# http://www.gnu.org/licenses/
12+
# https://www.gnu.org/licenses/
1313
#*****************************************************************************
1414

1515
from __future__ import unicode_literals

autogen/parser.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,18 @@
99
# it under the terms of the GNU General Public License as published by
1010
# the Free Software Foundation, either version 2 of the License, or
1111
# (at your option) any later version.
12-
# http://www.gnu.org/licenses/
12+
# https://www.gnu.org/licenses/
1313
#*****************************************************************************
1414

1515
from __future__ import absolute_import, unicode_literals
1616

17-
import os, re, io
17+
import io
18+
import os
19+
import re
1820

1921
from .args import pari_arg_types
20-
from .ret import pari_ret_types
2122
from .paths import pari_share
23+
from .ret import pari_ret_types
2224

2325
paren_re = re.compile(r"[(](.*)[)]")
2426
argname_re = re.compile(r"[ {]*&?([A-Za-z_][A-Za-z0-9_]*)")

autogen/paths.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,15 @@
99
# it under the terms of the GNU General Public License as published by
1010
# the Free Software Foundation, either version 2 of the License, or
1111
# (at your option) any later version.
12-
# http://www.gnu.org/licenses/
12+
# https://www.gnu.org/licenses/
1313
#*****************************************************************************
1414

1515
from __future__ import absolute_import, unicode_literals
1616

1717
import os
1818
import shutil
19-
2019
from glob import glob
2120

22-
2321
gppath = shutil.which("gp")
2422

2523
if gppath is None:
@@ -43,7 +41,7 @@ def pari_share():
4341
"""
4442
if "PARI_SHARE" in os.environ:
4543
return os.environ["PARI_SHARE"]
46-
from subprocess import Popen, PIPE
44+
from subprocess import PIPE, Popen
4745
if not gppath:
4846
raise EnvironmentError("cannot find an installation of PARI/GP: make sure that the 'gp' program is in your $PATH")
4947
# Ignore GP_DATA_DIR environment variable

autogen/ret.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
# it under the terms of the GNU General Public License as published by
1010
# the Free Software Foundation, either version 2 of the License, or
1111
# (at your option) any later version.
12-
# http://www.gnu.org/licenses/
12+
# https://www.gnu.org/licenses/
1313
#*****************************************************************************
1414

1515
from __future__ import unicode_literals
1616

17+
1718
class PariReturn(object):
1819
"""
1920
This class represents the return value of a PARI call.

cypari2/convert.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ PARI integers are stored as an array of limbs of type ``pari_ulong``
1515
(GMP or native), this array is stored little-endian or big-endian.
1616
This is encapsulated in macros like ``int_W()``:
1717
see section 4.5.1 of the
18-
`PARI library manual <http://pari.math.u-bordeaux.fr/pub/pari/manuals/2.7.0/libpari.pdf>`_.
18+
`PARI library manual <https://pari.math.u-bordeaux.fr/pub/pari/manuals/2.7.0/libpari.pdf>`_.
1919
2020
Python integers of type ``int`` are just C longs. Python integers of
2121
type ``long`` are stored as a little-endian array of type ``digit``

cypari2/custom_block.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Distributed under the terms of the GNU General Public License (GPL)
55
# as published by the Free Software Foundation; either version 2 of
66
# the License, or (at your option) any later version.
7-
# http://www.gnu.org/licenses/
7+
# https://www.gnu.org/licenses/
88
#*****************************************************************************
99

1010
from cysignals.signals cimport add_custom_signals

cypari2/gen.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3639,7 +3639,7 @@ cdef class Gen(Gen_base):
36393639
>>> G.galoissubfields(flag=2, v='z')[3]
36403640
[...^2 + 2, Mod(x^3 + x, x^4 + 1), [x^2 - z*x - 1, x^2 + z*x - 1]]
36413641
3642-
.. _galoissubfields: http://pari.math.u-bordeaux.fr/dochtml/html.stable/Functions_related_to_general_number_fields.html#galoissubfields
3642+
.. _galoissubfields: https://pari.math.u-bordeaux.fr/dochtml/html.stable/Functions_related_to_general_number_fields.html#galoissubfields
36433643
"""
36443644
sig_on()
36453645
return new_gen(galoissubfields(self.g, flag, get_var(v)))

cypari2/stack.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Memory management for Gens on the PARI stack or the heap
1111
# it under the terms of the GNU General Public License as published by
1212
# the Free Software Foundation, either version 2 of the License, or
1313
# (at your option) any later version.
14-
# http://www.gnu.org/licenses/
14+
# https://www.gnu.org/licenses/
1515
# ****************************************************************************
1616

1717
cimport cython

0 commit comments

Comments
 (0)