Skip to content

Commit f9d42db

Browse files
authored
Merge pull request #218 from DimitriPapadopoulos/http
Update URLs in documentation: http:// → https://
2 parents 6da7ebb + ee263dc commit f9d42db

9 files changed

+11
-12
lines changed

distutils/command/bdist_rpm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ def _make_spec_file(self): # noqa: C901
435435
fixed = "brp-python-bytecompile %{__python} \\\n"
436436
fixed_hook = vendor_hook.replace(problem, fixed)
437437
if fixed_hook != vendor_hook:
438-
spec_file.append('# Workaround for http://bugs.python.org/issue14443')
438+
spec_file.append('# Workaround for https://bugs.python.org/issue14443')
439439
spec_file.append('%define __os_install_post ' + fixed_hook + '\n')
440440

441441
# put locale summaries into spec file

distutils/msvc9compiler.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -698,8 +698,8 @@ def link( # noqa: C901
698698
def manifest_setup_ldargs(self, output_filename, build_temp, ld_args):
699699
# If we need a manifest at all, an embedded manifest is recommended.
700700
# See MSDN article titled
701-
# "How to: Embed a Manifest Inside a C/C++ Application"
702-
# (currently at http://msdn2.microsoft.com/en-us/library/ms235591(VS.80).aspx)
701+
# "Understanding manifest generation for C/C++ programs"
702+
# (currently at https://learn.microsoft.com/en-us/cpp/build/understanding-manifest-generation-for-c-cpp-programs)
703703
# Ask the linker to generate the manifest in the temp dir, so
704704
# we can check it, and possibly embed it, later.
705705
temp_manifest = os.path.join(
@@ -710,7 +710,7 @@ def manifest_setup_ldargs(self, output_filename, build_temp, ld_args):
710710
def manifest_get_embed_info(self, target_desc, ld_args):
711711
# If a manifest should be embedded, return a tuple of
712712
# (manifest_filename, resource_id). Returns None if no manifest
713-
# should be embedded. See http://bugs.python.org/issue7833 for why
713+
# should be embedded. See https://bugs.python.org/issue7833 for why
714714
# we want to avoid any manifest for extension modules if we can)
715715
for arg in ld_args:
716716
if arg.startswith("/MANIFESTFILE:"):

distutils/tests/test_bdist_rpm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def test_quiet(self):
8989

9090
@mac_woes
9191
@requires_zlib()
92-
# http://bugs.python.org/issue1533164
92+
# https://bugs.python.org/issue1533164
9393
@pytest.mark.skipif("not find_executable('rpm')")
9494
@pytest.mark.skipif("not find_executable('rpmbuild')")
9595
def test_no_optimize_flag(self):

distutils/tests/test_build_scripts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def test_version_int(self):
8888
)
8989
cmd.finalize_options()
9090

91-
# http://bugs.python.org/issue4524
91+
# https://bugs.python.org/issue4524
9292
#
9393
# On linux-g++-32 with command line `./configure --enable-ipv6
9494
# --with-suffix=3`, python is compiled okay but the build scripts

distutils/tests/test_sdist.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def test_make_distribution(self):
162162

163163
@pytest.mark.usefixtures('needs_zlib')
164164
def test_add_defaults(self):
165-
# http://bugs.python.org/issue2279
165+
# https://bugs.python.org/issue2279
166166

167167
# add_default should also include
168168
# data_files and package_data

distutils/unixccompiler.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,7 @@ def _is_gcc(self):
283283

284284
def runtime_library_dir_option(self, dir):
285285
# XXX Hackish, at the very least. See Python bug #445902:
286-
# http://sourceforge.net/tracker/index.php
287-
# ?func=detail&aid=445902&group_id=5470&atid=105470
286+
# https://bugs.python.org/issue445902
288287
# Linkers on different platforms need different options to
289288
# specify that directories need to be added to the list of
290289
# directories searched for dependencies when a dynamic library

docs/distutils/apiref.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ directories.
10211021

10221022
Files in *src* that begin with :file:`.nfs` are skipped (more information on
10231023
these files is available in answer D2 of the `NFS FAQ page
1024-
<http://nfs.sourceforge.net/#section_d>`_).
1024+
<https://nfs.sourceforge.net/#section_d>`_).
10251025

10261026
.. versionchanged:: 3.3.1
10271027
NFS files are ignored.

docs/distutils/examples.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,4 +335,4 @@ loads its values::
335335
.. % \section{Putting it all together}
336336
337337
338-
.. _docutils: http://docutils.sourceforge.net
338+
.. _docutils: https://docutils.sourceforge.io

docs/distutils/setupscript.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ Notes:
642642

643643
'long string'
644644
Multiple lines of plain text in reStructuredText format (see
645-
http://docutils.sourceforge.net/).
645+
https://docutils.sourceforge.io/).
646646

647647
'list of strings'
648648
See below.

0 commit comments

Comments
 (0)