]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650). (GH...
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 8 Aug 2022 15:09:06 +0000 (18:09 +0300)
committerGitHub <noreply@github.com>
Mon, 8 Aug 2022 15:09:06 +0000 (18:09 +0300)
(cherry picked from commit cc9160a29bc3356ced92348bcd8e6668c67167c9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Doc/whatsnew/2.5.rst
Lib/posixpath.py
Lib/test/test_descrtut.py
Tools/c-analyzer/c_parser/parser/__init__.py

index ea785121db90d3419d2e02f5e61e5fa3baaa914b..6c216826fee047550e44cf29064bea2fff9f22ba 100644 (file)
@@ -2019,7 +2019,7 @@ https://www.sqlite.org.
 
 .. seealso::
 
-   http://www.pysqlite.org
+   https://www.pysqlite.org
       The pysqlite web page.
 
    https://www.sqlite.org
index 195374613a779fe4f118d478efea032636339a6c..526f017acbd5f13c717458867d3e06803054bf2e 100644 (file)
@@ -352,7 +352,7 @@ def normpath(path):
     initial_slashes = path.startswith(sep)
     # POSIX allows one or two initial slashes, but treats three or more
     # as single slash.
-    # (see http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_13)
+    # (see https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_13)
     if (initial_slashes and
         path.startswith(sep*2) and not path.startswith(sep*3)):
         initial_slashes = 2
index 8e25f58d7aa20ef76509d3605bc95a98ab6788e4..c5fbcba2d6aea55e6fa6851d03852a9551305127 100644 (file)
@@ -1,7 +1,7 @@
 # This contains most of the executable examples from Guido's descr
 # tutorial, once at
 #
-#     http://www.python.org/2.2/descrintro.html
+#     https://www.python.org/download/releases/2.2.3/descrintro/
 #
 # A few examples left implicit in the writeup were fleshed out, a few were
 # skipped due to lack of interest (e.g., faking super() by hand isn't
index df70aae66b77606247d898c95dba025e417f936b..8ec4b00165e64d1d655a25319c961e9b97b2f085 100644 (file)
@@ -12,7 +12,7 @@ conditions that must be applied when parsing C code:
 
 * ...
 
-(see: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf)
+(see: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf)
 
 We have taken advantage of the elements of the C grammar that are used
 only in a few limited contexts, mostly as delimiters.  They allow us to