Skip to content

Commit f4a1f04

Browse files
committedFeb 21, 2024
Docs: replace http links with https
1 parent 30c525e commit f4a1f04

File tree

7 files changed

+23
-23
lines changed

7 files changed

+23
-23
lines changed
 

‎README.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ Overview: Easy, clean, reliable Python 2/3 compatibility
66
.. image:: https://github.com/PythonCharmers/python-future/actions/workflows/ci.yml/badge.svg?branch=master
77
:target: https://github.com/PythonCharmers/python-future/actions/workflows/ci.yml?query=branch%3Amaster
88

9-
.. image:: https://readthedocs.org/projects/python-future/badge/?version=latest
10-
:target: https://python-future.readthedocs.io/en/latest/?badge=latest
11-
129
``python-future`` is the missing compatibility layer between Python 2 and
1310
Python 3. It allows you to use a single, clean Python 3.x-compatible
1411
codebase to support both Python 2 and Python 3 with minimal overhead.
@@ -325,16 +322,19 @@ Licensing
325322

326323
Pinterest https://opensource.pinterest.com
327324

328-
:Licence: MIT. See ``LICENSE.txt`` or `here <http://python-future.org/credits.html>`_.
325+
:Licence: MIT. See ``LICENSE.txt`` or `here <https://python-future.org/credits.html>`_.
329326

330-
:Other credits: See `here <http://python-future.org/credits.html>`_.
327+
:Other credits: See `here <https://python-future.org/credits.html>`_.
331328

329+
Docs
330+
----
331+
See the docs `here <https://python-future.org>`.
332332

333333
Next steps
334334
----------
335335

336336
If you are new to Python-Future, check out the `Quickstart Guide
337-
<http://python-future.org/quickstart.html>`_.
337+
<https://python-future.org/quickstart.html>`_.
338338

339339
For an update on changes in the latest version, see the `What's New
340-
<http://python-future.org/whatsnew.html>`_ page.
340+
<https://python-future.org/whatsnew.html>`_ page.

‎docs/_templates/sidebarintro.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!--<h3>Python-Future</h3>
22
<p>-->
33
<h4>Easy, clean, reliable Python 2/3 compatibility</h4>
4-
<a href="http://python-future.org">Table of Contents</a>
4+
<a href="https://python-future.org">Table of Contents</a>
55
<!--
66
</p>
77
<h3>Other Formats</h3>

‎docs/compatible_idioms.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ Cheat Sheet: Writing Python 2-3 compatible code
77
- **Author:** Ed Schofield.
88
- **Licence:** Creative Commons Attribution.
99

10-
A PDF version is here: http://python-future.org/compatible\_idioms.pdf
10+
A PDF version is here: https://python-future.org/compatible\_idioms.pdf
1111

1212
This notebook shows you idioms for writing future-proof code that is
1313
compatible with both versions of Python: 2 and 3. It accompanies Ed
1414
Schofield's talk at PyCon AU 2014, "Writing 2/3 compatible code". (The
15-
video is here: http://www.youtube.com/watch?v=KOqk8j11aAI&t=10m14s.)
15+
video is here: https://www.youtube.com/watch?v=KOqk8j11aAI&t=10m14s.)
1616

1717
Minimum versions:
1818

@@ -38,7 +38,7 @@ The following scripts are also ``pip``-installable:
3838
futurize # pip install future
3939
pasteurize # pip install future
4040

41-
See http://python-future.org and https://pythonhosted.org/six/ for more
41+
See https://python-future.org and https://pythonhosted.org/six/ for more
4242
information.
4343

4444
Essential syntax differences
@@ -337,7 +337,7 @@ this idiom to make all string literals in a module unicode strings:
337337
338338
s1 = 'The Zen of Python'
339339
s2 = 'きたないのよりきれいな方がいい\n'
340-
See http://python-future.org/unicode\_literals.html for more discussion
340+
See https://python-future.org/unicode\_literals.html for more discussion
341341
on which style to use.
342342

343343
Byte-string literals

‎docs/faq.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Who is this for?
88
ongoing Python 2.7 support easily and with little maintenance burden.
99

1010
2. People who wish to ease and accelerate migration of their Python 2 codebases
11-
to Python 3.4+, module by module, without giving up Python 2 compatibility.
11+
to Python 3.3+, module by module, without giving up Python 2 compatibility.
1212

1313

1414
Why upgrade to Python 3?
@@ -92,7 +92,7 @@ What inspired this project?
9292
---------------------------
9393

9494
In our Python training courses, we at `Python Charmers
95-
<http://pythoncharmers.com>`_ faced a dilemma: teach people Python 3, which was
95+
<https://pythoncharmers.com>`_ faced a dilemma: teach people Python 3, which was
9696
future-proof but not as useful to them today because of weaker 3rd-party
9797
package support, or teach people Python 2, which was more useful today but
9898
would require them to change their code and unlearn various habits soon. We

‎docs/notebooks/Writing Python 2-3 compatible code.ipynb

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
"- **Author:** Ed Schofield.\n",
1616
"- **Licence:** Creative Commons Attribution.\n",
1717
"\n",
18-
"A PDF version is here: http://python-future.org/compatible_idioms.pdf\n",
18+
"A PDF version is here: https://python-future.org/compatible_idioms.pdf\n",
1919
"\n",
20-
"This notebook shows you idioms for writing future-proof code that is compatible with both versions of Python: 2 and 3. It accompanies Ed Schofield's talk at PyCon AU 2014, \"Writing 2/3 compatible code\". (The video is here: <http://www.youtube.com/watch?v=KOqk8j11aAI&t=10m14s>.)\n",
20+
"This notebook shows you idioms for writing future-proof code that is compatible with both versions of Python: 2 and 3. It accompanies Ed Schofield's talk at PyCon AU 2014, \"Writing 2/3 compatible code\". (The video is here: <https://www.youtube.com/watch?v=KOqk8j11aAI&t=10m14s>.)\n",
2121
"\n",
2222
"Minimum versions:\n",
2323
"\n",
@@ -48,7 +48,7 @@
4848
" futurize # pip install future\n",
4949
" pasteurize # pip install future\n",
5050
"\n",
51-
"See http://python-future.org and https://pythonhosted.org/six/ for more information."
51+
"See https://python-future.org and https://pythonhosted.org/six/ for more information."
5252
]
5353
},
5454
{
@@ -756,7 +756,7 @@
756756
"cell_type": "markdown",
757757
"metadata": {},
758758
"source": [
759-
"See http://python-future.org/unicode_literals.html for more discussion on which style to use."
759+
"See https://python-future.org/unicode_literals.html for more discussion on which style to use."
760760
]
761761
},
762762
{
@@ -2812,7 +2812,7 @@
28122812
"cell_type": "markdown",
28132813
"metadata": {},
28142814
"source": [
2815-
"``urllib`` is the hardest module to use from Python 2/3 compatible code. You may like to use Requests (http://python-requests.org) instead."
2815+
"``urllib`` is the hardest module to use from Python 2/3 compatible code. You may like to use Requests (https://python-requests.org) instead."
28162816
]
28172817
},
28182818
{

‎src/future/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
--------------------
5353
5454
An included script called `futurize
55-
<http://python-future.org/automatic_conversion.html>`_ aids in converting
55+
<https://python-future.org/automatic_conversion.html>`_ aids in converting
5656
code (from either Python 2 or Python 3) to code compatible with both
5757
platforms. It is similar to ``python-modernize`` but goes further in
5858
providing Python 3 compatibility through the use of the backported types
@@ -62,15 +62,15 @@
6262
Documentation
6363
-------------
6464
65-
See: http://python-future.org
65+
See: https://python-future.org
6666
6767
6868
Credits
6969
-------
7070
7171
:Author: Ed Schofield, Jordan M. Adler, et al
7272
:Sponsor: Python Charmers: https://pythoncharmers.com
73-
:Others: See docs/credits.rst or http://python-future.org/credits.html
73+
:Others: See docs/credits.rst or https://python-future.org/credits.html
7474
7575
7676
Licensing

‎src/future/builtins/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
A module that brings in equivalents of the new and modified Python 3
33
builtins into Py2. Has no effect on Py3.
44
5-
See the docs `here <http://python-future.org/what-else.html>`_
5+
See the docs `here <https://python-future.org/what-else.html>`_
66
(``docs/what-else.rst``) for more information.
77
88
"""

0 commit comments

Comments
 (0)
Failed to load comments.