diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-07 07:49:07 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-07 07:49:07 (GMT) |
commit | 6dff0205b724669cc0469dd65a3f7edc5a69e1e7 (patch) | |
tree | b909a98cf8b2d7820f897b89e3114b7b1844f037 /Doc/library | |
parent | 64099ea58ea61c8f37c1fd9f673e0ded59600209 (diff) | |
download | cpython-6dff0205b724669cc0469dd65a3f7edc5a69e1e7.zip cpython-6dff0205b724669cc0469dd65a3f7edc5a69e1e7.tar.gz cpython-6dff0205b724669cc0469dd65a3f7edc5a69e1e7.tar.bz2 |
Issue #26736: Used HTTPS for external links in the documentation if possible.
Diffstat (limited to 'Doc/library')
35 files changed, 67 insertions, 67 deletions
diff --git a/Doc/library/array.rst b/Doc/library/array.rst index f1ab959..419d584 100644 --- a/Doc/library/array.rst +++ b/Doc/library/array.rst @@ -271,7 +271,7 @@ Examples:: Packing and unpacking of External Data Representation (XDR) data as used in some remote procedure call systems. - `The Numerical Python Documentation <http://docs.scipy.org/doc/>`_ + `The Numerical Python Documentation <https://docs.scipy.org/doc/>`_ The Numeric Python extension (NumPy) defines another array type; see http://www.numpy.org/ for further information about Numerical Python. diff --git a/Doc/library/bisect.rst b/Doc/library/bisect.rst index 13b0147..6bf7814 100644 --- a/Doc/library/bisect.rst +++ b/Doc/library/bisect.rst @@ -60,7 +60,7 @@ The following functions are provided: .. seealso:: `SortedCollection recipe - <http://code.activestate.com/recipes/577197-sortedcollection/>`_ that uses + <https://code.activestate.com/recipes/577197-sortedcollection/>`_ that uses bisect to build a full-featured collection class with straight-forward search methods and support for a key-function. The keys are precomputed to save unnecessary calls to the key function during searches. diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index 46d72b5..49068cb 100644 --- a/Doc/library/codecs.rst +++ b/Doc/library/codecs.rst @@ -1414,7 +1414,7 @@ parameters, such as :mod:`http.client` and :mod:`ftplib`, accept Unicode host names (:mod:`http.client` then also transparently sends an IDNA hostname in the :mailheader:`Host` field if it sends that field at all). -.. _section 3.1: http://tools.ietf.org/html/rfc3490#section-3.1 +.. _section 3.1: https://tools.ietf.org/html/rfc3490#section-3.1 When receiving host names from the wire (such as in reverse name lookup), no automatic conversion to Unicode is performed: Applications wishing to present diff --git a/Doc/library/collections.abc.rst b/Doc/library/collections.abc.rst index d9b93ad..67118d5 100644 --- a/Doc/library/collections.abc.rst +++ b/Doc/library/collections.abc.rst @@ -263,7 +263,7 @@ Notes on using :class:`Set` and :class:`MutableSet` as a mixin: .. seealso:: - * `OrderedSet recipe <http://code.activestate.com/recipes/576694/>`_ for an + * `OrderedSet recipe <https://code.activestate.com/recipes/576694/>`_ for an example built on :class:`MutableSet`. * For more about ABCs, see the :mod:`abc` module and :pep:`3119`. diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 6e165ab..a0820a7 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -116,12 +116,12 @@ The class can be used to simulate nested scopes and is useful in templating. :meth:`~collections.ChainMap.parents` property. * The `Nested Contexts recipe - <http://code.activestate.com/recipes/577434/>`_ has options to control + <https://code.activestate.com/recipes/577434/>`_ has options to control whether writes and other mutations apply only to the first mapping or to any mapping in the chain. * A `greatly simplified read-only version of Chainmap - <http://code.activestate.com/recipes/305268/>`_. + <https://code.activestate.com/recipes/305268/>`_. :class:`ChainMap` Examples and Recipes @@ -957,7 +957,7 @@ customize a prototype instance: .. seealso:: * `Recipe for named tuple abstract base class with a metaclass mix-in - <http://code.activestate.com/recipes/577629-namedtupleabc-abstract-base-class-mix-in-for-named/>`_ + <https://code.activestate.com/recipes/577629-namedtupleabc-abstract-base-class-mix-in-for-named/>`_ by Jan Kaliszewski. Besides providing an :term:`abstract base class` for named tuples, it also supports an alternate :term:`metaclass`-based constructor that is convenient for use cases where named tuples are being diff --git a/Doc/library/colorsys.rst b/Doc/library/colorsys.rst index 225306c..f1447e8 100644 --- a/Doc/library/colorsys.rst +++ b/Doc/library/colorsys.rst @@ -21,7 +21,7 @@ spaces, the coordinates are all between 0 and 1. More information about color spaces can be found at http://www.poynton.com/ColorFAQ.html and - http://www.cambridgeincolour.com/tutorials/color-spaces.htm. + https://www.cambridgeincolour.com/tutorials/color-spaces.htm. The :mod:`colorsys` module defines the following functions: diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 03624f3..3c60819 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -562,7 +562,7 @@ Instance methods: Return a 3-tuple, (ISO year, ISO week number, ISO weekday). The ISO calendar is a widely used variant of the Gregorian calendar. See - http://www.staff.science.uu.nl/~gent0113/calendar/isocalendar.htm for a good + https://www.staff.science.uu.nl/~gent0113/calendar/isocalendar.htm for a good explanation. The ISO year consists of 52 or 53 full weeks, and where a week starts on a @@ -1708,7 +1708,7 @@ only EST (fixed offset -5 hours), or only EDT (fixed offset -4 hours)). *pytz* library brings the *IANA timezone database* (also known as the Olson database) to Python and its usage is recommended. - `IANA timezone database <http://www.iana.org/time-zones>`_ + `IANA timezone database <https://www.iana.org/time-zones>`_ The Time Zone Database (often called tz or zoneinfo) contains code and data that represent the history of local time for many representative locations around the globe. It is updated periodically to reflect changes diff --git a/Doc/library/difflib.rst b/Doc/library/difflib.rst index 9a41f66..f161e2f 100644 --- a/Doc/library/difflib.rst +++ b/Doc/library/difflib.rst @@ -613,7 +613,7 @@ If you want to know how to change the first sequence into the second, use work. * `Simple version control recipe - <http://code.activestate.com/recipes/576729/>`_ for a small application + <https://code.activestate.com/recipes/576729/>`_ for a small application built with :class:`SequenceMatcher`. diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst index 73a7555..8eb3fd5 100644 --- a/Doc/library/hashlib.rst +++ b/Doc/library/hashlib.rst @@ -232,5 +232,5 @@ include a `salt <https://en.wikipedia.org/wiki/Salt_%28cryptography%29>`_. Wikipedia article with information on which algorithms have known issues and what that means regarding their use. - http://www.ietf.org/rfc/rfc2898.txt + https://www.ietf.org/rfc/rfc2898.txt PKCS #5: Password-Based Cryptography Specification Version 2.0 diff --git a/Doc/library/html.entities.rst b/Doc/library/html.entities.rst index e10e46e..7e29280 100644 --- a/Doc/library/html.entities.rst +++ b/Doc/library/html.entities.rst @@ -43,4 +43,4 @@ This module defines four dictionaries, :data:`html5`, .. rubric:: Footnotes -.. [#] See http://www.w3.org/TR/html5/syntax.html#named-character-references +.. [#] See https://www.w3.org/TR/html5/syntax.html#named-character-references diff --git a/Doc/library/html.parser.rst b/Doc/library/html.parser.rst index 824995e..a084d3d 100644 --- a/Doc/library/html.parser.rst +++ b/Doc/library/html.parser.rst @@ -131,8 +131,8 @@ implementations do nothing (except for :meth:`~HTMLParser.handle_startendtag`): and quotes in the *value* have been removed, and character and entity references have been replaced. - For instance, for the tag ``<A HREF="http://www.cwi.nl/">``, this method - would be called as ``handle_starttag('a', [('href', 'http://www.cwi.nl/')])``. + For instance, for the tag ``<A HREF="https://www.cwi.nl/">``, this method + would be called as ``handle_starttag('a', [('href', 'https://www.cwi.nl/')])``. All entity references from :mod:`html.entities` are replaced in the attribute values. diff --git a/Doc/library/http.cookiejar.rst b/Doc/library/http.cookiejar.rst index ca68aac..f2e1c69 100644 --- a/Doc/library/http.cookiejar.rst +++ b/Doc/library/http.cookiejar.rst @@ -115,7 +115,7 @@ The following classes are provided: :mod:`http.cookiejar` and :mod:`http.cookies` modules do not depend on each other. - http://curl.haxx.se/rfc/cookie_spec.html + https://curl.haxx.se/rfc/cookie_spec.html The specification of the original Netscape cookie protocol. Though this is still the dominant protocol, the 'Netscape cookie protocol' implemented by all the major browsers (and :mod:`http.cookiejar`) only bears a passing resemblance to diff --git a/Doc/library/http.rst b/Doc/library/http.rst index b6f2c58..1fce9c9 100644 --- a/Doc/library/http.rst +++ b/Doc/library/http.rst @@ -51,7 +51,7 @@ HTTP status codes ----------------- Supported, -`IANA-registered <http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml>`_ +`IANA-registered <https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml>`_ status codes available in :class:`http.HTTPStatus` are: ======= =================================== ================================================================== diff --git a/Doc/library/imaplib.rst b/Doc/library/imaplib.rst index 15b0932..dbd8e77 100644 --- a/Doc/library/imaplib.rst +++ b/Doc/library/imaplib.rst @@ -157,7 +157,7 @@ example of usage. Documents describing the protocol, and sources and binaries for servers implementing it, can all be found at the University of Washington's *IMAP - Information Center* (http://www.washington.edu/imap/). + Information Center* (https://www.washington.edu/imap/). .. _imap4-objects: diff --git a/Doc/library/ipaddress.rst b/Doc/library/ipaddress.rst index 90fcc74..e2fc742 100644 --- a/Doc/library/ipaddress.rst +++ b/Doc/library/ipaddress.rst @@ -198,8 +198,8 @@ write code that handles both IP versions correctly. ``True`` if the address is reserved for link-local usage. See :RFC:`3927`. -.. _iana-ipv4-special-registry: http://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml -.. _iana-ipv6-special-registry: http://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml +.. _iana-ipv4-special-registry: https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml +.. _iana-ipv6-special-registry: https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml .. class:: IPv6Address(address) diff --git a/Doc/library/json.rst b/Doc/library/json.rst index fc85cb6..c41b4a3 100644 --- a/Doc/library/json.rst +++ b/Doc/library/json.rst @@ -689,7 +689,7 @@ Command line options .. rubric:: Footnotes .. [#rfc-errata] As noted in `the errata for RFC 7159 - <http://www.rfc-editor.org/errata_search.php?rfc=7159>`_, + <https://www.rfc-editor.org/errata_search.php?rfc=7159>`_, JSON permits literal U+2028 (LINE SEPARATOR) and U+2029 (PARAGRAPH SEPARATOR) characters in strings, whereas JavaScript (as of ECMAScript Edition 5.1) does not. diff --git a/Doc/library/mailbox.rst b/Doc/library/mailbox.rst index ef47e00..1082bf9 100644 --- a/Doc/library/mailbox.rst +++ b/Doc/library/mailbox.rst @@ -422,7 +422,7 @@ Supported mailbox formats are Maildir, mbox, MH, Babyl, and MMDF. `maildir man page from qmail <http://www.qmail.org/man/man5/maildir.html>`_ The original specification of the format. - `Using maildir format <http://cr.yp.to/proto/maildir.html>`_ + `Using maildir format <https://cr.yp.to/proto/maildir.html>`_ Notes on Maildir by its inventor. Includes an updated name-creation scheme and details on "info" semantics. @@ -690,10 +690,10 @@ Supported mailbox formats are Maildir, mbox, MH, Babyl, and MMDF. .. seealso:: - `Format of Version 5 Babyl Files <http://quimby.gnus.org/notes/BABYL>`_ + `Format of Version 5 Babyl Files <https://quimby.gnus.org/notes/BABYL>`_ A specification of the Babyl format. - `Reading Mail with Rmail <http://www.gnu.org/software/emacs/manual/html_node/emacs/Rmail.html>`_ + `Reading Mail with Rmail <https://www.gnu.org/software/emacs/manual/html_node/emacs/Rmail.html>`_ The Rmail manual, with some information on Babyl semantics. diff --git a/Doc/library/mimetypes.rst b/Doc/library/mimetypes.rst index 8739ea3..9e91b8a 100644 --- a/Doc/library/mimetypes.rst +++ b/Doc/library/mimetypes.rst @@ -44,7 +44,7 @@ the information :func:`init` sets up. The optional *strict* argument is a flag specifying whether the list of known MIME types is limited to only the official types `registered with IANA - <http://www.iana.org/assignments/media-types/media-types.xhtml>`_. + <https://www.iana.org/assignments/media-types/media-types.xhtml>`_. When *strict* is ``True`` (the default), only the IANA types are supported; when *strict* is ``False``, some additional non-standard but commonly used MIME types are also recognized. diff --git a/Doc/library/othergui.rst b/Doc/library/othergui.rst index cad8a78..ee1ce50 100644 --- a/Doc/library/othergui.rst +++ b/Doc/library/othergui.rst @@ -31,7 +31,7 @@ available for Python: book, `GUI Programming with Python: QT Edition <https://www.commandprompt.com/community/pyqt/>`_ by Boudewijn Rempt. The *PyQt4* bindings also have a book, `Rapid GUI Programming - with Python and Qt <http://www.qtrac.eu/pyqtbook.html>`_, by Mark + with Python and Qt <https://www.qtrac.eu/pyqtbook.html>`_, by Mark Summerfield. `PySide <https://wiki.qt.io/PySide>`_ @@ -41,7 +41,7 @@ available for Python: `wxPython <http://www.wxpython.org>`_ wxPython is a cross-platform GUI toolkit for Python that is built around - the popular `wxWidgets <http://www.wxwidgets.org/>`_ (formerly wxWindows) + the popular `wxWidgets <https://www.wxwidgets.org/>`_ (formerly wxWindows) C++ toolkit. It provides a native look and feel for applications on Windows, Mac OS X, and Unix systems by using each platform's native widgets where ever possible, (GTK+ on Unix-like systems). In addition to diff --git a/Doc/library/pyexpat.rst b/Doc/library/pyexpat.rst index bb95431..3bc26ce 100644 --- a/Doc/library/pyexpat.rst +++ b/Doc/library/pyexpat.rst @@ -867,6 +867,6 @@ The ``errors`` module has the following attributes: .. [#] The encoding string included in XML output should conform to the appropriate standards. For example, "UTF-8" is valid, but "UTF8" is - not. See http://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl - and http://www.iana.org/assignments/character-sets/character-sets.xhtml. + not. See https://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl + and https://www.iana.org/assignments/character-sets/character-sets.xhtml. diff --git a/Doc/library/select.rst b/Doc/library/select.rst index a62dc84..364b499 100644 --- a/Doc/library/select.rst +++ b/Doc/library/select.rst @@ -472,7 +472,7 @@ Kqueue Objects Kevent Objects -------------- -http://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2 +https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2 .. attribute:: kevent.ident diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index b037b45..f6e5384 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -53,7 +53,7 @@ The data you've saved is persistent and is available in subsequent sessions:: Usually your SQL operations will need to use values from Python variables. You shouldn't assemble your query using Python's string operations because doing so is insecure; it makes your program vulnerable to an SQL injection attack -(see http://xkcd.com/327/ for humorous example of what can go wrong). +(see https://xkcd.com/327/ for humorous example of what can go wrong). Instead, use the DB-API's parameter substitution. Put ``?`` as a placeholder wherever you want to use a value, and then provide a tuple of values as the @@ -99,7 +99,7 @@ This example uses the iterator form:: The pysqlite web page -- sqlite3 is developed externally under the name "pysqlite". - http://www.sqlite.org + https://www.sqlite.org The SQLite web page; the documentation describes the syntax and the available data types for the supported SQL dialect. @@ -209,7 +209,7 @@ Module functions and constants db = sqlite3.connect('file:path/to/database?mode=ro', uri=True) More information about this feature, including a list of recognized options, can - be found in the `SQLite URI documentation <http://www.sqlite.org/uri.html>`_. + be found in the `SQLite URI documentation <https://www.sqlite.org/uri.html>`_. .. versionchanged:: 3.4 Added the *uri* parameter. diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index 98e866f..0367569 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -206,7 +206,7 @@ instead. The *ciphers* parameter sets the available ciphers for this SSL object. It should be a string in the `OpenSSL cipher list format - <http://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT>`_. + <https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT>`_. The parameter ``do_handshake_on_connect`` specifies whether to do the SSL handshake automatically after doing a :meth:`socket.connect`, or whether the @@ -769,7 +769,7 @@ Constants ALERT_DESCRIPTION_* Alert Descriptions from :rfc:`5246` and others. The `IANA TLS Alert Registry - <http://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-6>`_ + <https://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-6>`_ contains this list and references to the RFCs where their meaning is defined. Used as the return value of the callback function in @@ -1174,7 +1174,7 @@ to speed up repeated connections from the same clients. The *capath* string, if present, is the path to a directory containing several CA certificates in PEM format, following an `OpenSSL specific layout - <http://www.openssl.org/docs/ssl/SSL_CTX_load_verify_locations.html>`_. + <https://www.openssl.org/docs/ssl/SSL_CTX_load_verify_locations.html>`_. The *cadata* object, if present, is either an ASCII string of one or more PEM-encoded certificates or a :term:`bytes-like object` of DER-encoded @@ -1212,7 +1212,7 @@ to speed up repeated connections from the same clients. Set the available ciphers for sockets created with this context. It should be a string in the `OpenSSL cipher list format - <http://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT>`_. + <https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT>`_. If no cipher can be selected (because compile-time options or other configuration forbids use of all the specified ciphers), an :class:`SSLError` will be raised. @@ -1369,7 +1369,7 @@ to speed up repeated connections from the same clients. Get statistics about the SSL sessions created or managed by this context. A dictionary is returned which maps the names of each `piece of information - <http://www.openssl.org/docs/ssl/SSL_CTX_sess_number.html>`_ to their + <https://www.openssl.org/docs/ssl/SSL_CTX_sess_number.html>`_ to their numeric values. For example, here is the total number of hits and misses in the session cache since the context was created:: @@ -2019,7 +2019,7 @@ enabled when negotiating a SSL session is possible through the :meth:`SSLContext.set_ciphers` method. Starting from Python 3.2.3, the ssl module disables certain weak ciphers by default, but you may want to further restrict the cipher choice. Be sure to read OpenSSL's documentation -about the `cipher list format <http://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT>`_. +about the `cipher list format <https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT>`_. If you want to check which ciphers are enabled by a given cipher list, use the ``openssl ciphers`` command on your system. @@ -2061,5 +2061,5 @@ successful call of :func:`~ssl.RAND_add`, :func:`~ssl.RAND_bytes` or `RFC 6066: Transport Layer Security (TLS) Extensions <https://tools.ietf.org/html/rfc6066>`_ D. Eastlake - `IANA TLS: Transport Layer Security (TLS) Parameters <http://www.iana.org/assignments/tls-parameters/tls-parameters.xml>`_ + `IANA TLS: Transport Layer Security (TLS) Parameters <https://www.iana.org/assignments/tls-parameters/tls-parameters.xml>`_ IANA diff --git a/Doc/library/statistics.rst b/Doc/library/statistics.rst index 0c9d88c..1e1bd9b 100644 --- a/Doc/library/statistics.rst +++ b/Doc/library/statistics.rst @@ -223,7 +223,7 @@ However, for reading convenience, most of the examples show sorted sequences. * "Statistics for the Behavioral Sciences", Frederick J Gravetter and Larry B Wallnau (8th Edition). - * Calculating the `median <http://www.ualberta.ca/~opscan/median.html>`_. + * Calculating the `median <https://www.ualberta.ca/~opscan/median.html>`_. * The `SSMEDIAN <https://help.gnome.org/users/gnumeric/stable/gnumeric.html#gnumeric-function-SSMEDIAN>`_ diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 36e8ee4..4f94124 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -474,7 +474,7 @@ always available. additional garbage collector overhead if the object is managed by the garbage collector. - See `recursive sizeof recipe <http://code.activestate.com/recipes/577504>`_ + See `recursive sizeof recipe <https://code.activestate.com/recipes/577504>`_ for an example of using :func:`getsizeof` recursively to find the size of containers and all their contents. diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst index bf90fc4..b49da47 100644 --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -238,7 +238,7 @@ details. Documentation of the higher-level archiving facilities provided by the standard :mod:`shutil` module. - `GNU tar manual, Basic Tar Format <http://www.gnu.org/software/tar/manual/html_node/Standard.html>`_ + `GNU tar manual, Basic Tar Format <https://www.gnu.org/software/tar/manual/html_node/Standard.html>`_ Documentation for tar archive files, including GNU tar extensions. diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst index f0fe9df..7b14d55 100644 --- a/Doc/library/tkinter.rst +++ b/Doc/library/tkinter.rst @@ -22,13 +22,13 @@ this should open a window demonstrating a simple Tk interface. `TKDocs <http://www.tkdocs.com/>`_ Extensive tutorial plus friendlier widget pages for some of the widgets. - `Tkinter reference: a GUI for Python <http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/index.html>`_ + `Tkinter reference: a GUI for Python <https://infohost.nmt.edu/tcc/help/pubs/tkinter/web/index.html>`_ On-line reference material. `Tkinter docs from effbot <http://effbot.org/tkinterbook/>`_ Online reference for tkinter supported by effbot.org. - `Tcl/Tk manual <http://www.tcl.tk/man/tcl8.5/>`_ + `Tcl/Tk manual <https://www.tcl.tk/man/tcl8.5/>`_ Official manual for the latest tcl/tk version. `Programming Python <http://learning-python.com/books/about-pp4e.html>`_ @@ -173,7 +173,7 @@ documentation that exists. Here are some hints: .. seealso:: - `Tcl/Tk 8.6 man pages <http://www.tcl.tk/man/tcl8.6/>`_ + `Tcl/Tk 8.6 man pages <https://www.tcl.tk/man/tcl8.6/>`_ The Tcl/Tk manual on www.tcl.tk. `ActiveState Tcl Home Page <http://tcl.activestate.com/>`_ diff --git a/Doc/library/tkinter.ttk.rst b/Doc/library/tkinter.ttk.rst index 7aebddc..7448525 100644 --- a/Doc/library/tkinter.ttk.rst +++ b/Doc/library/tkinter.ttk.rst @@ -22,7 +22,7 @@ appearance. .. seealso:: - `Tk Widget Styling Support <http://www.tcl.tk/cgi-bin/tct/tip/48>`_ + `Tk Widget Styling Support <https://www.tcl.tk/cgi-bin/tct/tip/48>`_ A document introducing theming support for Tk diff --git a/Doc/library/unittest.mock-examples.rst b/Doc/library/unittest.mock-examples.rst index 0bb52ef..05f33740 100644 --- a/Doc/library/unittest.mock-examples.rst +++ b/Doc/library/unittest.mock-examples.rst @@ -549,7 +549,7 @@ Calls to the date constructor are recorded in the ``mock_date`` attributes An alternative way of dealing with mocking dates, or other builtin classes, is discussed in `this blog entry -<http://williambert.online/2011/07/how-to-unit-testing-in-django-with-mocking-and-patching/>`_. +<https://williambert.online/2011/07/how-to-unit-testing-in-django-with-mocking-and-patching/>`_. Mocking a Generator Method @@ -1010,7 +1010,7 @@ subclass. Sometimes this is inconvenient. For example, `one user <https://code.google.com/p/mock/issues/detail?id=105>`_ is subclassing mock to created a `Twisted adaptor -<http://twistedmatrix.com/documents/11.0.0/api/twisted.python.components.html>`_. +<https://twistedmatrix.com/documents/11.0.0/api/twisted.python.components.html>`_. Having this applied to attributes too actually causes errors. ``Mock`` (in all its flavours) uses a method called ``_get_child_mock`` to create diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index e076be6..2e260d1 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -67,7 +67,7 @@ test runner a GUI tool for test discovery and execution. This is intended largely for ease of use for those new to unit testing. For production environments it is recommended that tests be driven by a continuous integration system such as - `Buildbot <http://buildbot.net/>`_, `Jenkins <http://jenkins-ci.org/>`_ + `Buildbot <https://buildbot.net/>`_, `Jenkins <https://jenkins.io/>`_ or `Hudson <http://hudson-ci.org/>`_. diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 8aca0dd..39a42e4 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -67,7 +67,7 @@ The :mod:`urllib.request` module defines the following functions: * :meth:`~urllib.response.addinfourl.info` --- return the meta-information of the page, such as headers, in the form of an :func:`email.message_from_string` instance (see - `Quick Reference to HTTP Headers <http://www.cs.tut.fi/~jkorpela/http.html>`_) + `Quick Reference to HTTP Headers <https://www.cs.tut.fi/~jkorpela/http.html>`_) * :meth:`~urllib.response.addinfourl.getcode` -- return the HTTP status code of the response. @@ -1130,7 +1130,7 @@ it receives from the http server. In general, a program will decode the returned bytes object to string once it determines or guesses the appropriate encoding. -The following W3C document, http://www.w3.org/International/O-charset\ , lists +The following W3C document, https://www.w3.org/International/O-charset\ , lists the various ways in which a (X)HTML or a XML document could have specified its encoding information. diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst index 6762e91..cb1c727 100644 --- a/Doc/library/xml.dom.minidom.rst +++ b/Doc/library/xml.dom.minidom.rst @@ -100,7 +100,7 @@ eventually take care of the objects in the tree. .. seealso:: - `Document Object Model (DOM) Level 1 Specification <http://www.w3.org/TR/REC-DOM-Level-1/>`_ + `Document Object Model (DOM) Level 1 Specification <https://www.w3.org/TR/REC-DOM-Level-1/>`_ The W3C recommendation for the DOM supported by :mod:`xml.dom.minidom`. @@ -251,5 +251,5 @@ utility to most DOM users. the appropriate standards. For example, "UTF-8" is valid, but "UTF8" is not valid in an XML document's declaration, even though Python accepts it as an encoding name. - See http://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl - and http://www.iana.org/assignments/character-sets/character-sets.xhtml. + See https://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl + and https://www.iana.org/assignments/character-sets/character-sets.xhtml. diff --git a/Doc/library/xml.dom.rst b/Doc/library/xml.dom.rst index a432202..13e0d1b 100644 --- a/Doc/library/xml.dom.rst +++ b/Doc/library/xml.dom.rst @@ -63,10 +63,10 @@ implementations are free to support the strict mapping from IDL). See section .. seealso:: - `Document Object Model (DOM) Level 2 Specification <http://www.w3.org/TR/DOM-Level-2-Core/>`_ + `Document Object Model (DOM) Level 2 Specification <https://www.w3.org/TR/DOM-Level-2-Core/>`_ The W3C recommendation upon which the Python DOM API is based. - `Document Object Model (DOM) Level 1 Specification <http://www.w3.org/TR/REC-DOM-Level-1/>`_ + `Document Object Model (DOM) Level 1 Specification <https://www.w3.org/TR/REC-DOM-Level-1/>`_ The W3C recommendation for the DOM supported by :mod:`xml.dom.minidom`. `Python Language Mapping Specification <http://www.omg.org/spec/PYTH/1.2/PDF>`_ @@ -115,20 +115,20 @@ Some convenience constants are also provided: .. data:: XML_NAMESPACE The namespace URI associated with the reserved prefix ``xml``, as defined by - `Namespaces in XML <http://www.w3.org/TR/REC-xml-names/>`_ (section 4). + `Namespaces in XML <https://www.w3.org/TR/REC-xml-names/>`_ (section 4). .. data:: XMLNS_NAMESPACE The namespace URI for namespace declarations, as defined by `Document Object Model (DOM) Level 2 Core Specification - <http://www.w3.org/TR/DOM-Level-2-Core/core.html>`_ (section 1.1.8). + <https://www.w3.org/TR/DOM-Level-2-Core/core.html>`_ (section 1.1.8). .. data:: XHTML_NAMESPACE The URI of the XHTML namespace as defined by `XHTML 1.0: The Extensible - HyperText Markup Language <http://www.w3.org/TR/xhtml1/>`_ (section 3.1.1). + HyperText Markup Language <https://www.w3.org/TR/xhtml1/>`_ (section 3.1.1). In addition, :mod:`xml.dom` contains a base :class:`Node` class and the DOM @@ -874,7 +874,7 @@ attribute. .. exception:: NamespaceErr If an attempt is made to change any object in a way that is not permitted with - regard to the `Namespaces in XML <http://www.w3.org/TR/REC-xml-names/>`_ + regard to the `Namespaces in XML <https://www.w3.org/TR/REC-xml-names/>`_ recommendation, this exception is raised. diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst index 01fccb3..488cf4e 100644 --- a/Doc/library/xml.etree.elementtree.rst +++ b/Doc/library/xml.etree.elementtree.rst @@ -292,7 +292,7 @@ If the XML input has `namespaces with prefixes in the form ``prefix:sometag`` get expanded to ``{uri}sometag`` where the *prefix* is replaced by the full *URI*. Also, if there is a `default namespace -<http://www.w3.org/TR/2006/REC-xml-names-20060816/#defaulting>`__, +<https://www.w3.org/TR/2006/REC-xml-names-20060816/#defaulting>`__, that full URI gets prepended to all of the non-prefixed tags. Here is an XML example that incorporates two namespaces, one with the @@ -363,7 +363,7 @@ XPath support ------------- This module provides limited support for -`XPath expressions <http://www.w3.org/TR/xpath>`_ for locating elements in a +`XPath expressions <https://www.w3.org/TR/xpath>`_ for locating elements in a tree. The goal is to support a small subset of the abbreviated syntax; a full XPath engine is outside the scope of the module. @@ -1189,5 +1189,5 @@ Exceptions .. [#] The encoding string included in XML output should conform to the appropriate standards. For example, "UTF-8" is valid, but "UTF8" is - not. See http://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl - and http://www.iana.org/assignments/character-sets/character-sets.xhtml. + not. See https://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl + and https://www.iana.org/assignments/character-sets/character-sets.xhtml. diff --git a/Doc/library/xmlrpc.client.rst b/Doc/library/xmlrpc.client.rst index 37a7076..0edf010 100644 --- a/Doc/library/xmlrpc.client.rst +++ b/Doc/library/xmlrpc.client.rst @@ -315,7 +315,7 @@ Binary Objects Write the XML-RPC base 64 encoding of this binary item to the *out* stream object. The encoded data will have newlines every 76 characters as per - `RFC 2045 section 6.8 <http://tools.ietf.org/html/rfc2045#section-6.8>`_, + `RFC 2045 section 6.8 <https://tools.ietf.org/html/rfc2045#section-6.8>`_, which was the de facto standard base64 specification when the XML-RPC spec was written. @@ -590,7 +590,7 @@ See :ref:`simplexmlrpcserver-example`. .. rubric:: Footnotes .. [#] This approach has been first presented in `a discussion on xmlrpc.com - <http://web.archive.org/web/20060624230303/http://www.xmlrpc.com/discuss/msgReader$1208?mode=topic>`_. + <https://web.archive.org/web/20060624230303/http://www.xmlrpc.com/discuss/msgReader$1208?mode=topic>`_. .. the link now points to webarchive since the one at .. http://www.xmlrpc.com/discuss/msgReader%241208 is broken (and webadmin .. doesn't reply) |