mirror of
https://github.com/python/cpython.git
synced 2025-12-22 16:39:14 +00:00
Update URLs in comments and metadata to use HTTPS (GH-27458)
This commit is contained in:
parent
ea4673ed07
commit
be42c06bb0
39 changed files with 58 additions and 58 deletions
|
|
@ -389,7 +389,7 @@ class FunctionTestCase(unittest.TestCase):
|
|||
(9*2, 8*3, 7*4, 6*5, 5*6, 4*7, 3*8, 2*9))
|
||||
|
||||
def test_sf1651235(self):
|
||||
# see http://www.python.org/sf/1651235
|
||||
# see https://www.python.org/sf/1651235
|
||||
|
||||
proto = CFUNCTYPE(c_int, RECT, POINT)
|
||||
def callback(*args):
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ class LoaderTest(unittest.TestCase):
|
|||
# NOT fit into a 32-bit integer. FreeLibrary must be able
|
||||
# to accept this address.
|
||||
|
||||
# These are tests for http://www.python.org/sf/1703286
|
||||
# These are tests for https://www.python.org/sf/1703286
|
||||
handle = LoadLibrary("advapi32")
|
||||
FreeLibrary(handle)
|
||||
|
||||
|
|
|
|||
|
|
@ -2,10 +2,10 @@ This directory contains the Distutils package.
|
|||
|
||||
There's a full documentation available at:
|
||||
|
||||
http://docs.python.org/distutils/
|
||||
https://docs.python.org/distutils/
|
||||
|
||||
The Distutils-SIG web page is also a good starting point:
|
||||
|
||||
http://www.python.org/sigs/distutils-sig/
|
||||
https://www.python.org/sigs/distutils-sig/
|
||||
|
||||
$Id$
|
||||
|
|
|
|||
|
|
@ -492,7 +492,7 @@ def lru_cache(maxsize=128, typed=False):
|
|||
with f.cache_info(). Clear the cache and statistics with f.cache_clear().
|
||||
Access the underlying function with f.__wrapped__.
|
||||
|
||||
See: http://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU)
|
||||
See: https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU)
|
||||
|
||||
"""
|
||||
|
||||
|
|
@ -660,7 +660,7 @@ def cache(user_function, /):
|
|||
def _c3_merge(sequences):
|
||||
"""Merges MROs in *sequences* to a single MRO using the C3 algorithm.
|
||||
|
||||
Adapted from http://www.python.org/download/releases/2.3/mro/.
|
||||
Adapted from https://www.python.org/download/releases/2.3/mro/.
|
||||
|
||||
"""
|
||||
result = []
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ def tkVersionWarning(root):
|
|||
return False
|
||||
return ("WARNING: The version of Tcl/Tk ({0}) in use may"
|
||||
" be unstable.\n"
|
||||
"Visit http://www.python.org/download/mac/tcltk/"
|
||||
"Visit https://www.python.org/download/mac/tcltk/"
|
||||
" for current information.".format(patchlevel))
|
||||
else:
|
||||
return False
|
||||
|
|
|
|||
|
|
@ -735,7 +735,7 @@ hello world
|
|||
s = a[-5:]
|
||||
s = a[:-1]
|
||||
s = a[-4:-3]
|
||||
# A rough test of SF bug 1333982. http://python.org/sf/1333982
|
||||
# A rough test of SF bug 1333982. https://python.org/sf/1333982
|
||||
# The testing here is fairly incomplete.
|
||||
# Test cases should include: commas with 1 and 2 colons
|
||||
d = {}
|
||||
|
|
|
|||
|
|
@ -714,7 +714,7 @@ class GrammarTests(unittest.TestCase):
|
|||
s = a[-5:]
|
||||
s = a[:-1]
|
||||
s = a[-4:-3]
|
||||
# A rough test of SF bug 1333982. http://python.org/sf/1333982
|
||||
# A rough test of SF bug 1333982. https://python.org/sf/1333982
|
||||
# The testing here is fairly incomplete.
|
||||
# Test cases should include: commas with 1 and 2 colons
|
||||
d = {}
|
||||
|
|
|
|||
|
|
@ -694,7 +694,7 @@ class HTMLDoc(Doc):
|
|||
url = 'http://www.rfc-editor.org/rfc/rfc%d.txt' % int(rfc)
|
||||
results.append('<a href="%s">%s</a>' % (url, escape(all)))
|
||||
elif pep:
|
||||
url = 'http://www.python.org/dev/peps/pep-%04d/' % int(pep)
|
||||
url = 'https://www.python.org/dev/peps/pep-%04d/' % int(pep)
|
||||
results.append('<a href="%s">%s</a>' % (url, escape(all)))
|
||||
elif selfdot:
|
||||
# Create a link for methods like 'self.method(...)'
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ class DocXMLRPCHTTPGETServer(unittest.TestCase):
|
|||
self.assertIn(
|
||||
(b'<dl><dt><a name="-add"><strong>add</strong></a>(x, y)</dt><dd>'
|
||||
b'<tt>Add two instances together. This '
|
||||
b'follows <a href="http://www.python.org/dev/peps/pep-0008/">'
|
||||
b'follows <a href="https://www.python.org/dev/peps/pep-0008/">'
|
||||
b'PEP008</a>, but has nothing<br>\nto do '
|
||||
b'with <a href="http://www.rfc-editor.org/rfc/rfc1952.txt">'
|
||||
b'RFC1952</a>. Case should matter: pEp008 '
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ pictures can easily be drawn.
|
|||
----- turtle.py
|
||||
|
||||
This module is an extended reimplementation of turtle.py from the
|
||||
Python standard distribution up to Python 2.5. (See: http://www.python.org)
|
||||
Python standard distribution up to Python 2.5. (See: https://www.python.org)
|
||||
|
||||
It tries to keep the merits of turtle.py and to be (nearly) 100%
|
||||
compatible with it. This means in the first place to enable the
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ opener = urllib.request.build_opener(proxy_support, authinfo,
|
|||
# install it
|
||||
urllib.request.install_opener(opener)
|
||||
|
||||
f = urllib.request.urlopen('http://www.python.org/')
|
||||
f = urllib.request.urlopen('https://www.python.org/')
|
||||
"""
|
||||
|
||||
# XXX issues:
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
This module is an implementation of PEP 205:
|
||||
|
||||
http://www.python.org/dev/peps/pep-0205/
|
||||
https://www.python.org/dev/peps/pep-0205/
|
||||
"""
|
||||
|
||||
# Naming convention: Variables named "wr" are weak reference objects;
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
# --------------------------------------------------------------------
|
||||
|
||||
# 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.
|
||||
|
||||
##
|
||||
# Limited XInclude support for the ElementTree package.
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
# --------------------------------------------------------------------
|
||||
|
||||
# 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.
|
||||
|
||||
##
|
||||
# Implementation module for XPath support. There's usually no reason
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
#---------------------------------------------------------------------
|
||||
# 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
|
||||
# Copyright (c) 1999-2008 by Fredrik Lundh. All rights reserved.
|
||||
|
|
@ -1283,7 +1283,7 @@ class XMLPullParser:
|
|||
def __init__(self, events=None, *, _parser=None):
|
||||
# The _parser argument is for internal use only and must not be relied
|
||||
# upon in user code. It will be removed in a future release.
|
||||
# See http://bugs.python.org/issue17741 for more details.
|
||||
# See https://bugs.python.org/issue17741 for more details.
|
||||
|
||||
self._events_queue = collections.deque()
|
||||
self._parser = _parser or XMLParser(target=TreeBuilder())
|
||||
|
|
|
|||
|
|
@ -30,4 +30,4 @@
|
|||
# --------------------------------------------------------------------
|
||||
|
||||
# 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.
|
||||
|
|
|
|||
|
|
@ -750,7 +750,7 @@ class ServerHTMLDoc(pydoc.HTMLDoc):
|
|||
url = 'http://www.rfc-editor.org/rfc/rfc%d.txt' % int(rfc)
|
||||
results.append('<a href="%s">%s</a>' % (url, escape(all)))
|
||||
elif pep:
|
||||
url = 'http://www.python.org/dev/peps/pep-%04d/' % int(pep)
|
||||
url = 'https://www.python.org/dev/peps/pep-%04d/' % int(pep)
|
||||
results.append('<a href="%s">%s</a>' % (url, escape(all)))
|
||||
elif text[end:end+1] == '(':
|
||||
results.append(self.namelink(name, methods, funcs, classes))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue