]> granicus.if.org Git - python/commitdiff
pypi.python.org -> pypi.org (GH-7613) (GH-7615)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 11 Jun 2018 05:07:49 +0000 (22:07 -0700)
committerNed Deily <nad@python.org>
Mon, 11 Jun 2018 05:07:49 +0000 (01:07 -0400)
(cherry picked from commit 9d6d06e8065d45f375f4a80e2d7e13b032da1f5b)

Co-authored-by: Ned Deily <nad@python.org>
Lib/unittest/mock.py
Mac/BuildScript/resources/ReadMe.rtf
Mac/BuildScript/resources/install_certificates.command
Misc/python.man
Tools/scripts/checkpip.py

index 6be7bb4f065e81cd36ece686d2000c4acecb1d05..86183adc190533d859e43c79ec6e992e664e275b 100644 (file)
@@ -2,7 +2,7 @@
 # Test tools for mocking and patching.
 # Maintained by Michael Foord
 # Backport for other versions of Python available from
-# http://pypi.python.org/pypi/mock
+# https://pypi.org/project/mock
 
 __all__ = (
     'Mock',
index e81465915380ff2acf50ec12869edd95e5cf8ba4..f541688489ccca8b194feeab51d214632a433527 100644 (file)
@@ -1,4 +1,4 @@
-{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf200
+{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf400
 {\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 CourierNewPSMT;}
 {\colortbl;\red255\green255\blue255;}
 {\*\expandedcolortbl;;}
@@ -42,7 +42,7 @@ This variant of Python 3.6 now includes its own private copy of OpenSSL 1.0.2.
 \f1 /Applications/Python 3.6
 \f0  to install a curated bundle of default root certificates from the third-party 
 \f1 certifi
-\f0  package ({\field{\*\fldinst{HYPERLINK "https://pypi.python.org/pypi/certifi"}}{\fldrslt https://pypi.python.org/pypi/certifi}}).  If you choose to use 
+\f0  package ({\field{\*\fldinst{HYPERLINK "https://pypi.org/project/certifi/"}}{\fldrslt https://pypi.org/project/certifi/}}).  If you choose to use 
 \f1 certifi
 \f0 , you should consider subscribing to the{\field{\*\fldinst{HYPERLINK "https://certifi.io/en/latest/"}}{\fldrslt  project's email update service}} to be notified when the certificate bundle is updated.\
 \
index 1d2e2d878cd8dd312d7c476a243d79811faa91fd..19b4adac07bb1d64eaf9b5028b9b4820c2148f3b 100755 (executable)
@@ -6,7 +6,7 @@
 #
 # sample script to install or update a set of default Root Certificates
 # for the ssl module.  Uses the certificates provided by the certifi package:
-#       https://pypi.python.org/pypi/certifi
+#       https://pypi.org/project/certifi/
 
 import os
 import os.path
index ad3ea6a431f5561f4d05430eeb15225f53294342..b2e9437e8dabe487c9f4c7132da16952cac78c4c 100644 (file)
@@ -445,7 +445,7 @@ Developer resources:  https://devguide.python.org/
 .br
 Downloads:  https://www.python.org/downloads/
 .br
-Module repository:  https://pypi.python.org/
+Module repository:  https://pypi.org/
 .br
 Newsgroups:  comp.lang.python, comp.lang.python.announce
 .SH LICENSING
index 8a64eda34af610c28c7c680fc01a4886808e4294..a4a9ddfa6f324a9c3079085f296917af9b4489ab 100755 (executable)
@@ -14,7 +14,7 @@ def main():
 
     for project, version in ensurepip._PROJECTS:
         data = json.loads(urllib.request.urlopen(
-            "https://pypi.python.org/pypi/{}/json".format(project),
+            "https://pypi.org/pypi/{}/json".format(project),
             cadefault=True,
         ).read().decode("utf8"))
         upstream_version = data["info"]["version"]