diff --git a/Doc/distributing/index.rst b/Doc/distributing/index.rst index 82ecd2c1ef45fbe..aedbe712d3db332 100644 --- a/Doc/distributing/index.rst +++ b/Doc/distributing/index.rst @@ -62,7 +62,7 @@ Key terms locally. .. _setuptools: https://setuptools.readthedocs.io/en/latest/ -.. _wheel: https://wheel.readthedocs.org +.. _wheel: https://wheel.readthedocs.io/ Open source licensing and collaboration ======================================= @@ -111,7 +111,7 @@ by invoking the ``pip`` module at the command line:: The Python Packaging User Guide includes more details on the `currently recommended tools`_. -.. _currently recommended tools: https://packaging.python.org/en/latest/current/#packaging-tool-recommendations +.. _currently recommended tools: https://packaging.python.org/guides/tool-recommendations/#packaging-tool-recommendations Reading the guide ================= @@ -124,11 +124,11 @@ involved in creating a project: * `Uploading the project to the Python Packaging Index`_ .. _Project structure: \ - https://packaging.python.org/en/latest/distributing/ + https://packaging.python.org/tutorials/distributing-packages/ .. _Building and packaging the project: \ - https://packaging.python.org/en/latest/distributing/#packaging-your-project + https://packaging.python.org/tutorials/distributing-packages/#packaging-your-project .. _Uploading the project to the Python Packaging Index: \ - https://packaging.python.org/en/latest/distributing/#uploading-your-project-to-pypi + https://packaging.python.org/tutorials/distributing-packages/#uploading-your-project-to-pypi How do I...? @@ -160,7 +160,7 @@ Python Packaging User Guide for more information and recommendations. .. seealso:: `Python Packaging User Guide: Binary Extensions - `__ + `__ .. other topics: diff --git a/Doc/distutils/index.rst b/Doc/distutils/index.rst index c565bcc56286249..d6f7640fcb6826a 100644 --- a/Doc/distutils/index.rst +++ b/Doc/distutils/index.rst @@ -22,7 +22,7 @@ very little overhead for build/release/install mechanics. This guide only covers the basic tools for building and distributing extensions that are provided as part of this version of Python. Third party tools offer easier to use and more secure alternatives. Refer to the `quick - recommendations section `__ + recommendations section `__ in the Python Packaging User Guide for more information. .. toctree:: diff --git a/Doc/distutils/setupscript.rst b/Doc/distutils/setupscript.rst index 542ad544843fdea..952607a4073b254 100644 --- a/Doc/distutils/setupscript.rst +++ b/Doc/distutils/setupscript.rst @@ -625,7 +625,7 @@ Notes: (7) The valid classifiers are listed on - `PyPI `_. + `PyPI `_. (8) To preserve backward compatibility, this field also accepts a string. If diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst index ea1c29a397ed86e..e02f7837b69ed28 100644 --- a/Doc/extending/extending.rst +++ b/Doc/extending/extending.rst @@ -27,7 +27,8 @@ your system setup; details are given in later chapters. avoid writing C extensions and preserve portability to other implementations. For example, if your use case is calling C library functions or system calls, you should consider using the :mod:`ctypes` module or the `cffi - `_ library rather than writing custom C code. + `_ library rather than writing + custom C code. These modules let you write Python code to interface with C code and are more portable between implementations of Python than writing and compiling a C extension module. diff --git a/Doc/extending/index.rst b/Doc/extending/index.rst index 9eec8c273af3011..80594e357fd497d 100644 --- a/Doc/extending/index.rst +++ b/Doc/extending/index.rst @@ -32,7 +32,7 @@ approaches to creating C and C++ extensions for Python. .. seealso:: - `Python Packaging User Guide: Binary Extensions `_ + `Python Packaging User Guide: Binary Extensions `_ The Python Packaging User Guide not only covers several available tools that simplify the creation of binary extensions, but also discusses the various reasons why creating an extension module may be diff --git a/Doc/faq/general.rst b/Doc/faq/general.rst index d4a97fd81af9e2b..0d1cb198da87d81 100644 --- a/Doc/faq/general.rst +++ b/Doc/faq/general.rst @@ -272,7 +272,7 @@ The Python project's infrastructure is located all over the world. `www.python.org `_ is graciously hosted by `Rackspace `_, with CDN caching provided by `Fastly `_. `Upfront Systems -`_ hosts `bugs.python.org +`_ hosts `bugs.python.org `_. Many other Python services like `the Wiki `_ are hosted by `Oregon State University Open Source Lab `_. diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst index 8074b0f10997d51..4ee68b4747eb009 100644 --- a/Doc/howto/logging.rst +++ b/Doc/howto/logging.rst @@ -314,7 +314,7 @@ favourite beverage and carry on. If your logging needs are simple, then use the above examples to incorporate logging into your own scripts, and if you run into problems or don't understand something, please post a question on the comp.lang.python Usenet -group (available at https://groups.google.com/group/comp.lang.python) and you +group (available at https://groups.google.com/forum/#!forum/comp.lang.python) and you should receive help before too long. Still here? You can carry on reading the next few sections, which provide a diff --git a/Doc/howto/pyporting.rst b/Doc/howto/pyporting.rst index bec6a3d72ce548a..98c81206741a494 100644 --- a/Doc/howto/pyporting.rst +++ b/Doc/howto/pyporting.rst @@ -433,12 +433,12 @@ to make sure everything functions as expected in both versions of Python. .. _Futurize: http://python-future.org/automatic_conversion.html .. _importlib: https://docs.python.org/3/library/importlib.html#module-importlib .. _importlib2: https://pypi.python.org/pypi/importlib2 -.. _Modernize: https://python-modernize.readthedocs.org/en/latest/ +.. _Modernize: https://python-modernize.readthedocs.io/ .. _mypy: http://mypy-lang.org/ .. _Porting to Python 3: http://python3porting.com/ .. _Pylint: https://pypi.python.org/pypi/pylint -.. _Python 3 Q & A: https://ncoghlan-devs-python-notes.readthedocs.org/en/latest/python3/questions_and_answers.html +.. _Python 3 Q & A: https://ncoghlan-devs-python-notes.readthedocs.io/en/latest/python3/questions_and_answers.html .. _pytype: https://github.com/google/pytype .. _python-future: http://python-future.org/ diff --git a/Doc/howto/unicode.rst b/Doc/howto/unicode.rst index a83e5a21895c2a6..d4b8f8d2204ab75 100644 --- a/Doc/howto/unicode.rst +++ b/Doc/howto/unicode.rst @@ -214,7 +214,7 @@ difficult reading. `A chronology `_ of the origin and development of Unicode is also available on the site. To help understand the standard, Jukka Korpela has written `an introductory -guide `_ to reading the +guide `_ to reading the Unicode character tables. Another `good introductory article `_ diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst index 8d383e03ee8a285..c1fd5cf0680d96c 100644 --- a/Doc/howto/urllib2.rst +++ b/Doc/howto/urllib2.rst @@ -403,7 +403,7 @@ fetched, particularly the headers sent by the server. It is currently an :class:`http.client.HTTPMessage` instance. Typical headers include 'Content-length', 'Content-type', and so on. See the -`Quick Reference to HTTP Headers `_ +`Quick Reference to HTTP Headers `_ for a useful listing of HTTP headers with brief explanations of their meaning and use. diff --git a/Doc/install/index.rst b/Doc/install/index.rst index bc080b00c59a82e..0545b8f33d0378b 100644 --- a/Doc/install/index.rst +++ b/Doc/install/index.rst @@ -36,7 +36,7 @@ modules and extensions. This guide only covers the basic tools for building and distributing extensions that are provided as part of this version of Python. Third party tools offer easier to use and more secure alternatives. Refer to the `quick - recommendations section `__ + recommendations section `__ in the Python Packaging User Guide for more information. diff --git a/Doc/installing/index.rst b/Doc/installing/index.rst index 09bb8251c35d58c..f9a224be92b8be8 100644 --- a/Doc/installing/index.rst +++ b/Doc/installing/index.rst @@ -48,7 +48,7 @@ Key terms repository of open source licensed packages made available for use by other Python users. * the `Python Packaging Authority - `__ are the group of + `__ are the group of developers and documentation authors responsible for the maintenance and evolution of the standard packaging tools and the associated metadata and file format standards. They maintain a variety of tools, documentation, diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index bda46f46c436672..b7f610ba8b2a5fa 100644 --- a/Doc/library/ast.rst +++ b/Doc/library/ast.rst @@ -261,5 +261,5 @@ and classes for traversing abstract syntax trees: .. seealso:: - `Green Tree Snakes `_, an external documentation resource, has good + `Green Tree Snakes `_, an external documentation resource, has good details on working with Python ASTs. diff --git a/Doc/library/colorsys.rst b/Doc/library/colorsys.rst index c33f531cc1d000d..1360c7cc9f1db46 100644 --- a/Doc/library/colorsys.rst +++ b/Doc/library/colorsys.rst @@ -21,7 +21,7 @@ spaces, the coordinates are all between 0 and 1. .. seealso:: More information about color spaces can be found at - http://www.poynton.com/ColorFAQ.html and + http://poynton.ca/ColorFAQ.html and https://www.cambridgeincolour.com/tutorials/color-spaces.htm. The :mod:`colorsys` module defines the following functions: diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst index d4916914f79ce74..eda18adc9e5ec80 100644 --- a/Doc/library/hashlib.rst +++ b/Doc/library/hashlib.rst @@ -562,7 +562,7 @@ on the hash function used in digital signatures. by the signer. (`NIST SP-800-106 "Randomized Hashing for Digital Signatures" - `_) + `_) In BLAKE2 the salt is processed as a one-time input to the hash function during initialization, rather than as an input to each compression function. @@ -728,7 +728,7 @@ Domain Dedication 1.0 Universal: https://blake2.net Official BLAKE2 website. - http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf + https://csrc.nist.gov/csrc/media/publications/fips/180/2/archive/2002-08-01/documents/fips180-2.pdf The FIPS 180-2 publication on Secure Hash Algorithms. https://en.wikipedia.org/wiki/Cryptographic_hash_function#Cryptographic_hash_algorithms diff --git a/Doc/library/mailbox.rst b/Doc/library/mailbox.rst index 48d76a83221dcb0..d901ad2cc1c48e1 100644 --- a/Doc/library/mailbox.rst +++ b/Doc/library/mailbox.rst @@ -620,7 +620,7 @@ Supported mailbox formats are Maildir, mbox, MH, Babyl, and MMDF. `nmh - Message Handling System `_ Home page of :program:`nmh`, an updated version of the original :program:`mh`. - `MH & nmh: Email for Users & Programmers `_ + `MH & nmh: Email for Users & Programmers `_ A GPL-licensed book on :program:`mh` and :program:`nmh`, with some information on the mailbox format. diff --git a/Doc/library/math.rst b/Doc/library/math.rst index 9e4946323a9d37a..55eb41b86f5d162 100644 --- a/Doc/library/math.rst +++ b/Doc/library/math.rst @@ -461,7 +461,7 @@ Constants Tau is a circle constant equal to 2\ *π*, the ratio of a circle's circumference to its radius. To learn more about Tau, check out Vi Hart's video `Pi is (still) Wrong `_, and start celebrating - `Tau day `_ by eating twice as much pie! + `Tau day `_ by eating twice as much pie! .. versionadded:: 3.6 diff --git a/Doc/library/plistlib.rst b/Doc/library/plistlib.rst index 7d306a2bcaf11ce..20c086c8b524a59 100644 --- a/Doc/library/plistlib.rst +++ b/Doc/library/plistlib.rst @@ -38,7 +38,7 @@ or :class:`datetime.datetime` objects. .. seealso:: - `PList manual page `_ + `PList manual page `_ Apple's documentation of the file format. diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index b40d95841046ee4..4c44ffa23ac8d6d 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -868,9 +868,9 @@ Constants .. data:: HAS_NPN Whether the OpenSSL library has built-in support for *Next Protocol - Negotiation* as described in the `NPN draft specification - `_. When true, - you can use the :meth:`SSLContext.set_npn_protocols` method to advertise + Negotiation* as described in the `Application Layer Protocol + Negotiation `_. + When true, you can use the :meth:`SSLContext.set_npn_protocols` method to advertise which protocols you want to support. .. versionadded:: 3.3 @@ -1374,7 +1374,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 - `_. + `_. 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 @@ -1501,8 +1501,8 @@ to speed up repeated connections from the same clients. Specify which protocols the socket should advertise during the SSL/TLS handshake. It should be a list of strings, like ``['http/1.1', 'spdy/2']``, ordered by preference. The selection of a protocol will happen during the - handshake, and will play out according to the `NPN draft specification - `_. After a + handshake, and will play out according to the `Application Layer Protocol Negotiation + `_. After a successful handshake, the :meth:`SSLSocket.selected_npn_protocol` method will return the agreed-upon protocol. @@ -1663,8 +1663,7 @@ to speed up repeated connections from the same clients. .. method:: SSLContext.session_stats() 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 - `_ to their + A dictionary is returned which maps the names of each `piece of information `_ to their numeric values. For example, here is the total number of hits and misses in the session cache since the context was created:: @@ -2365,7 +2364,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 `_. +about the `cipher list format `_. If you want to check which ciphers are enabled by a given cipher list, use :meth:`SSLContext.get_ciphers` or the ``openssl ciphers`` command on your system. @@ -2393,10 +2392,10 @@ successful call of :func:`~ssl.RAND_add`, :func:`~ssl.RAND_bytes` or `RFC 1422: Privacy Enhancement for Internet Electronic Mail: Part II: Certificate-Based Key Management `_ Steve Kent - `RFC 4086: Randomness Requirements for Security `_ + `RFC 4086: Randomness Requirements for Security `_ Donald E., Jeffrey I. Schiller - `RFC 5280: Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile `_ + `RFC 5280: Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile `_ D. Cooper `RFC 5246: The Transport Layer Security (TLS) Protocol Version 1.2 `_ diff --git a/Doc/library/statistics.rst b/Doc/library/statistics.rst index 2aa778c4d06deb9..bc3817836b93982 100644 --- a/Doc/library/statistics.rst +++ b/Doc/library/statistics.rst @@ -257,8 +257,6 @@ 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 `_. - * The `SSMEDIAN `_ function in the Gnome Gnumeric spreadsheet, including `this discussion diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst index f222fe6f8b20536..6d90e43e33b2660 100644 --- a/Doc/library/tkinter.rst +++ b/Doc/library/tkinter.rst @@ -35,7 +35,7 @@ this should open a window demonstrating a simple Tk interface. `Tcl/Tk manual `_ Official manual for the latest tcl/tk version. - `Programming Python `_ + `Programming Python `_ Book by Mark Lutz, has excellent coverage of Tkinter. `Modern Tkinter for Busy Python Developers `_ diff --git a/Doc/library/tkinter.ttk.rst b/Doc/library/tkinter.ttk.rst index 927f7f3c6c1b717..debbc81ce1a3903 100644 --- a/Doc/library/tkinter.ttk.rst +++ b/Doc/library/tkinter.ttk.rst @@ -26,7 +26,7 @@ appearance. .. seealso:: - `Tk Widget Styling Support `_ + `Tk Widget Styling Support `_ A document introducing theming support for Tk diff --git a/Doc/library/unittest.mock-examples.rst b/Doc/library/unittest.mock-examples.rst index 05f33740d7527a9..5bf3d575520e49b 100644 --- a/Doc/library/unittest.mock-examples.rst +++ b/Doc/library/unittest.mock-examples.rst @@ -1008,7 +1008,7 @@ subclass. True Sometimes this is inconvenient. For example, `one user -`_ is subclassing mock to +`_ is subclassing mock to created a `Twisted adaptor `_. Having this applied to attributes too actually causes errors. @@ -1251,7 +1251,7 @@ With a bit of tweaking you could have the comparison function raise the :exc:`AssertionError` directly and provide a more useful failure message. As of version 1.5, the Python testing library `PyHamcrest -`_ provides similar functionality, +`_ provides similar functionality, that may be useful here, in the form of its equality matcher (`hamcrest.library.integration.match_equality -`_). +`_). diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 5a10f9571e9e87c..413d8b6ffdfe0ab 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -62,7 +62,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 `_) + `Quick Reference to HTTP Headers `_) * :meth:`~urllib.response.addinfourl.getcode` -- return the HTTP status code of the response. diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst index 17c80c8d982c0cd..6707be7fc820ddc 100644 --- a/Doc/library/venv.rst +++ b/Doc/library/venv.rst @@ -458,4 +458,4 @@ subclass which installs setuptools and pip into a created virtual environment:: This script is also available for download `online -`_. +`_. diff --git a/Doc/library/wsgiref.rst b/Doc/library/wsgiref.rst index a1d446902b836cc..b0ef3465b04fabe 100644 --- a/Doc/library/wsgiref.rst +++ b/Doc/library/wsgiref.rst @@ -26,8 +26,8 @@ for implementing WSGI servers, a demo HTTP server that serves WSGI applications, and a validation tool that checks WSGI servers and applications for conformance to the WSGI specification (:pep:`3333`). -See https://wsgi.readthedocs.org/ for more information about WSGI, and links to -tutorials and other resources. +See `wsgi.readthedocs.io `_ for more information about WSGI, and links +to tutorials and other resources. .. XXX If you're just trying to write a web application... diff --git a/Doc/library/xml.dom.rst b/Doc/library/xml.dom.rst index de334af23639263..18519a75a546115 100644 --- a/Doc/library/xml.dom.rst +++ b/Doc/library/xml.dom.rst @@ -67,13 +67,13 @@ implementations are free to support the strict mapping from IDL). See section .. seealso:: - `Document Object Model (DOM) Level 2 Specification `_ + `Document Object Model (DOM) Level 2 Specification `_ The W3C recommendation upon which the Python DOM API is based. `Document Object Model (DOM) Level 1 Specification `_ The W3C recommendation for the DOM supported by :mod:`xml.dom.minidom`. - `Python Language Mapping Specification `_ + `Python Language Mapping Specification `_ This specifies the mapping from OMG IDL to Python. diff --git a/Doc/using/mac.rst b/Doc/using/mac.rst index b89c98709ea3795..a386728eaee3068 100644 --- a/Doc/using/mac.rst +++ b/Doc/using/mac.rst @@ -66,7 +66,7 @@ number of standard Unix command line editors, :program:`vim` and :program:`BBEdit` or :program:`TextWrangler` from Bare Bones Software (see http://www.barebones.com/products/bbedit/index.html) are good choices, as is :program:`TextMate` (see https://macromates.com/). Other editors include -:program:`Gvim` (http://macvim.org) and :program:`Aquamacs` +:program:`Gvim` (http://macvim-dev.github.io/macvim/) and :program:`Aquamacs` (http://aquamacs.org/). To run your script from the Terminal window you must make sure that @@ -117,7 +117,7 @@ The IDE MacPython ships with the standard IDLE development environment. A good introduction to using IDLE can be found at -https://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro/index.html. +http://www.hashcollision.org/hkn/python/idle_intro/index.html. .. _mac-package-manager: diff --git a/Doc/using/unix.rst b/Doc/using/unix.rst index 8b96ebea396fb6c..ccdf84dcfa5edaa 100644 --- a/Doc/using/unix.rst +++ b/Doc/using/unix.rst @@ -30,7 +30,7 @@ following links: for Debian users https://en.opensuse.org/Portal:Packaging for OpenSuse users - https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch-creating-rpms.html + https://docs-old.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch-creating-rpms.html for Fedora users http://www.slackbook.org/html/package-management-making-packages.html for Slackware users diff --git a/Doc/using/windows.rst b/Doc/using/windows.rst index cc560d968a1de9a..1c7b8142af29e09 100644 --- a/Doc/using/windows.rst +++ b/Doc/using/windows.rst @@ -307,11 +307,11 @@ key features: `ActivePython `_ Installer with multi-platform compatibility, documentation, PyWin32 -`Anaconda `_ +`Anaconda `_ Popular scientific modules (such as numpy, scipy and pandas) and the ``conda`` package manager. -`Canopy `_ +`Canopy `_ A "comprehensive Python analysis environment" with editors and other development tools. @@ -377,7 +377,7 @@ System variables, you need non-restricted access to your machine .. seealso:: - https://support.microsoft.com/kb/100843 + https://support.microsoft.com/en-us/help/100843/environment-variables-in-windows-nt Environment variables in Windows NT https://technet.microsoft.com/en-us/library/cc754250.aspx @@ -386,7 +386,7 @@ System variables, you need non-restricted access to your machine https://technet.microsoft.com/en-us/library/cc755104.aspx The SETX command, for permanently modifying environment variables - https://support.microsoft.com/kb/310519 + https://support.microsoft.com/en-us/help/310519/how-to-manage-environment-variables-in-windows-xp How To Manage Environment Variables in Windows XP https://www.chem.gla.ac.uk/~louis/software/faq/q1.html diff --git a/Doc/whatsnew/2.2.rst b/Doc/whatsnew/2.2.rst index a0bb81a97486637..0aa6003f4c46d82 100644 --- a/Doc/whatsnew/2.2.rst +++ b/Doc/whatsnew/2.2.rst @@ -957,7 +957,7 @@ New and Improved Modules # 'title': 'html2fo 0.3 (Default)'}, ... ] The :mod:`SimpleXMLRPCServer` module makes it easy to create straightforward - XML-RPC servers. See http://www.xmlrpc.com/ for more information about XML-RPC. + XML-RPC servers. See http://xmlrpc.scripting.com/ for more information about XML-RPC. * The new :mod:`hmac` module implements the HMAC algorithm described by :rfc:`2104`. (Contributed by Gerhard Häring.) diff --git a/Doc/whatsnew/2.3.rst b/Doc/whatsnew/2.3.rst index cebfb21156bf69f..b5628a910ae86fe 100644 --- a/Doc/whatsnew/2.3.rst +++ b/Doc/whatsnew/2.3.rst @@ -1955,7 +1955,7 @@ The RPM spec files, found in the :file:`Misc/RPM/` directory in the Python source distribution, were updated for 2.3. (Contributed by Sean Reifschneider.) Other new platforms now supported by Python include AtheOS -(http://atheos.cx/), GNU/Hurd, and OpenVMS. +(http://www.atheos.cx/), GNU/Hurd, and OpenVMS. .. ====================================================================== diff --git a/Doc/whatsnew/2.5.rst b/Doc/whatsnew/2.5.rst index 4d4829183132395..15d35d384c40468 100644 --- a/Doc/whatsnew/2.5.rst +++ b/Doc/whatsnew/2.5.rst @@ -330,7 +330,7 @@ statement, only the ``from ... import`` form. :pep:`328` - Imports: Multi-Line and Absolute/Relative PEP written by Aahz; implemented by Thomas Wouters. - https://pylib.readthedocs.org/ + https://pylib.readthedocs.io/ The py library by Holger Krekel, which contains the :mod:`py.std` package. .. ====================================================================== diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index 45b0ab9f3453677..33d9f7ce43b1fd6 100644 --- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -172,7 +172,7 @@ this edition of "What's New in Python" links to the bug/patch item for each change. Hosting of the Python bug tracker is kindly provided by -`Upfront Systems `__ +`Upfront Systems `__ of Stellenbosch, South Africa. Martin von Löwis put a lot of effort into importing existing bugs and patches from SourceForge; his scripts for this import operation are at diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst index eec8984539573cf..90ce06c328685cc 100644 --- a/Doc/whatsnew/2.7.rst +++ b/Doc/whatsnew/2.7.rst @@ -1545,7 +1545,7 @@ changes, or look through the Subversion logs for all the details. *ciphers* argument that's a string listing the encryption algorithms to be allowed; the format of the string is described `in the OpenSSL documentation - `__. + `__. (Added by Antoine Pitrou; :issue:`8322`.) Another change makes the extension load all of OpenSSL's ciphers and diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 78d3105a5a410b1..2d740006a3706a2 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -1643,7 +1643,7 @@ for secure (encrypted, authenticated) internet connections: * The :func:`ssl.wrap_socket` constructor function now takes a *ciphers* argument. The *ciphers* string lists the allowed encryption algorithms using the format described in the `OpenSSL documentation - `__. + `__. * When linked against recent versions of OpenSSL, the :mod:`ssl` module now supports the Server Name Indication extension to the TLS protocol, allowing diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index 67c86df02076bb7..a355af7adb80ff4 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -1568,7 +1568,7 @@ mark class variables. As introduced in :pep:`526`, a variable annotation wrapped in ClassVar indicates that a given attribute is intended to be used as a class variable and should not be set on instances of that class. (Contributed by Ivan Levkivskyi in `Github #280 -`_.) +`_.) A new :const:`~typing.TYPE_CHECKING` constant that is assumed to be ``True`` by the static type chekers, but is ``False`` at runtime.