Skip to content

Commit

Permalink
Update URLs in documentation: http:// → https://
Browse files Browse the repository at this point in the history
Update link to an old MSDN article and point to a newer article.
  • Loading branch information
DimitriPapadopoulos committed Nov 16, 2023
1 parent 7a04cbd commit 2d8c40f
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion distutils/command/bdist_rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def _make_spec_file(self): # noqa: C901
fixed = "brp-python-bytecompile %{__python} \\\n"
fixed_hook = vendor_hook.replace(problem, fixed)
if fixed_hook != vendor_hook:
spec_file.append('# Workaround for http://bugs.python.org/issue14443')
spec_file.append('# Workaround for https://bugs.python.org/issue14443')
spec_file.append('%define __os_install_post ' + fixed_hook + '\n')

# put locale summaries into spec file
Expand Down
4 changes: 2 additions & 2 deletions distutils/msvc9compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,8 @@ def link( # noqa: C901
def manifest_setup_ldargs(self, output_filename, build_temp, ld_args):
# If we need a manifest at all, an embedded manifest is recommended.
# See MSDN article titled
# "How to: Embed a Manifest Inside a C/C++ Application"
# (currently at http://msdn2.microsoft.com/en-us/library/ms235591(VS.80).aspx)
# "Understanding manifest generation for C/C++ programs"
# (currently at https://learn.microsoft.com/en-us/cpp/build/understanding-manifest-generation-for-c-cpp-programs)
# Ask the linker to generate the manifest in the temp dir, so
# we can check it, and possibly embed it, later.
temp_manifest = os.path.join(
Expand Down
2 changes: 1 addition & 1 deletion distutils/tests/test_bdist_rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def test_quiet(self):

@mac_woes
@requires_zlib()
# http://bugs.python.org/issue1533164
# https://bugs.python.org/issue1533164
@pytest.mark.skipif("not find_executable('rpm')")
@pytest.mark.skipif("not find_executable('rpmbuild')")
def test_no_optimize_flag(self):
Expand Down
2 changes: 1 addition & 1 deletion distutils/tests/test_sdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def test_make_distribution(self):

@pytest.mark.usefixtures('needs_zlib')
def test_add_defaults(self):
# http://bugs.python.org/issue2279
# https://bugs.python.org/issue2279

# add_default should also include
# data_files and package_data
Expand Down
2 changes: 1 addition & 1 deletion docs/distutils/apiref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ directories.

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

.. versionchanged:: 3.3.1
NFS files are ignored.
Expand Down
2 changes: 1 addition & 1 deletion docs/distutils/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -335,4 +335,4 @@ loads its values::
.. % \section{Putting it all together}
.. _docutils: http://docutils.sourceforge.net
.. _docutils: https://docutils.sourceforge.io

0 comments on commit 2d8c40f

Please sign in to comment.