Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27478)
(cherry picked from commit be42c06bb01206209430f3ac08b72643dc7cad1c)
Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
index b6b7ca4..61aaf85 100644
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -35,7 +35,7 @@
A number of SysV or ncurses functions don't have wrappers yet; if you
need a given function, add it and send a patch. See
- http://www.python.org/dev/patches/ for instructions on how to submit
+ https://www.python.org/dev/patches/ for instructions on how to submit
patches to Python.
Here's a list of currently unsupported functions:
diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c
index 85fdfa7..b4528a9 100644
--- a/Modules/_elementtree.c
+++ b/Modules/_elementtree.c
@@ -1,6 +1,6 @@
/*--------------------------------------------------------------------
* Licensed to PSF under a Contributor Agreement.
- * See http://www.python.org/psf/license for licensing details.
+ * See https://www.python.org/psf/license for licensing details.
*
* _elementtree - C accelerator for xml.etree.ElementTree
* Copyright (c) 1999-2009 by Secret Labs AB. All rights reserved.
diff --git a/Modules/_winapi.c b/Modules/_winapi.c
index bf2498a..3e24d51 100644
--- a/Modules/_winapi.c
+++ b/Modules/_winapi.c
@@ -32,7 +32,7 @@
*/
/* Licensed to PSF under a Contributor Agreement. */
-/* See http://www.python.org/2.4/license for licensing details. */
+/* See https://www.python.org/2.4/license for licensing details. */
#include "Python.h"
#include "pycore_moduleobject.h" // _PyModule_GetState()
diff --git a/Modules/gc_weakref.txt b/Modules/gc_weakref.txt
index 2f18402..b5b9f7b 100644
--- a/Modules/gc_weakref.txt
+++ b/Modules/gc_weakref.txt
@@ -47,7 +47,7 @@
too, and they can do ordinary things with weakrefs that end up resurrecting
CT while gc is running.
- http://www.python.org/sf/1055820
+ https://www.python.org/sf/1055820
shows how innocent it can be, and also how nasty. Variants of the three
focussed test cases attached to that bug report are now part of Python's