diff -r e3c9a47a83fb Doc/c-api/init.rst --- a/Doc/c-api/init.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/c-api/init.rst Mon Apr 11 21:16:28 2016 +0300 @@ -366,7 +366,7 @@ Process-wide parameters It is recommended that applications embedding the Python interpreter for purposes other than executing a single script pass 0 as *updatepath*, and update :data:`sys.path` themselves if desired. - See `CVE-2008-5983 `_. + See `CVE-2008-5983 `_. On versions before 3.1.3, you can achieve the same effect by manually popping the first :data:`sys.path` element after having called diff -r e3c9a47a83fb Doc/faq/design.rst --- a/Doc/faq/design.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/faq/design.rst Mon Apr 11 21:16:28 2016 +0300 @@ -368,7 +368,7 @@ Can Python be compiled to machine code, Practical answer: -`Cython `_ and `Pyrex `_ +`Cython `_ and `Pyrex `_ compile a modified version of Python with optional annotations into C extensions. `Weave `_ makes it easy to intermingle Python and C code in various ways to increase performance. diff -r e3c9a47a83fb Doc/faq/extending.rst --- a/Doc/faq/extending.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/faq/extending.rst Mon Apr 11 21:16:28 2016 +0300 @@ -42,7 +42,7 @@ on what you're trying to do. .. XXX make sure these all work `Cython `_ and its relative `Pyrex -`_ are compilers +`_ are compilers that accept a slightly modified form of Python and generate the corresponding C code. Cython and Pyrex make it possible to write an extension without having to learn Python's C API. diff -r e3c9a47a83fb Doc/faq/general.rst --- a/Doc/faq/general.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/faq/general.rst Mon Apr 11 21:16:28 2016 +0300 @@ -271,7 +271,7 @@ Where in the world is www.python.org loc 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 +`_, with CDN caching provided by `Fastly `_. `Upfront Systems `_ hosts `bugs.python.org `_. Many other Python services like `the Wiki diff -r e3c9a47a83fb Doc/faq/gui.rst --- a/Doc/faq/gui.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/faq/gui.rst Mon Apr 11 21:16:28 2016 +0300 @@ -31,13 +31,13 @@ widget set, called :ref:`tkinter `_ of Python) and use. For more info about Tk, including pointers to the source, see the -`Tcl/Tk home page `_. Tcl/Tk is fully portable to the +`Tcl/Tk home page `_. Tcl/Tk is fully portable to the Mac OS X, Windows, and Unix platforms. wxWidgets --------- -wxWidgets (http://www.wxwidgets.org) is a free, portable GUI class +wxWidgets (https://www.wxwidgets.org) is a free, portable GUI class library written in C++ that provides a native look and feel on a number of platforms, with Windows, Mac OS X, GTK, X11, all listed as current stable targets. Language bindings are available for a number @@ -72,7 +72,7 @@ Gtk+ The `GObject introspection bindings `_ for Python allow you to write GTK+ 3 applications. There is also a -`Python GTK+ 3 Tutorial `_. +`Python GTK+ 3 Tutorial `_. The older PyGtk bindings for the `Gtk+ 2 toolkit `_ have been implemented by James Henstridge; see . diff -r e3c9a47a83fb Doc/faq/programming.rst --- a/Doc/faq/programming.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/faq/programming.rst Mon Apr 11 21:16:28 2016 +0300 @@ -28,9 +28,9 @@ graphical debugger. PythonWin is a Python IDE that includes a GUI debugger based on pdb. The Pythonwin debugger colors breakpoints and has quite a few cool features such as debugging non-Pythonwin programs. Pythonwin is available as part of the `Python -for Windows Extensions `__ project and +for Windows Extensions `__ project and as a part of the ActivePython distribution (see -http://www.activestate.com/activepython\ ). +https://www.activestate.com/activepython\ ). `Boa Constructor `_ is an IDE and GUI builder that uses wxWidgets. It offers visual frame creation and manipulation, @@ -44,13 +44,13 @@ and the Scintilla editing component. Pydb is a version of the standard Python debugger pdb, modified for use with DDD (Data Display Debugger), a popular graphical debugger front end. Pydb can be found at http://bashdb.sourceforge.net/pydb/ and DDD can be found at -http://www.gnu.org/software/ddd. +https://www.gnu.org/software/ddd. There are a number of commercial Python IDEs that include graphical debuggers. They include: -* Wing IDE (http://wingware.com/) -* Komodo IDE (http://komodoide.com/) +* Wing IDE (https://wingware.com/) +* Komodo IDE (https://komodoide.com/) * PyCharm (https://www.jetbrains.com/pycharm/) @@ -63,13 +63,13 @@ PyChecker is a static analysis tool that warns about code complexity and style. You can get PyChecker from http://pychecker.sourceforge.net/. -`Pylint `_ is another tool that checks +`Pylint `_ is another tool that checks if a module satisfies a coding standard, and also makes it possible to write plug-ins to add a custom feature. In addition to the bug checking that PyChecker performs, Pylint offers some additional features such as checking line length, whether variable names are well-formed according to your coding standard, whether declared interfaces are fully implemented, and more. -http://docs.pylint.org/ provides a full list of Pylint's features. +https://docs.pylint.org/ provides a full list of Pylint's features. How can I create a stand-alone binary from a Python script? @@ -1116,7 +1116,7 @@ How do you remove duplicates from a list See the Python Cookbook for a long discussion of many ways to do this: - http://code.activestate.com/recipes/52560/ + https://code.activestate.com/recipes/52560/ If you don't mind reordering the list, sort it and then scan from the end of the list, deleting duplicates as you go:: diff -r e3c9a47a83fb Doc/faq/windows.rst --- a/Doc/faq/windows.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/faq/windows.rst Mon Apr 11 21:16:28 2016 +0300 @@ -340,5 +340,5 @@ This is a mistake; the extension should Simply rename the downloaded file to have the .TGZ extension, and WinZip will be able to handle it. (If your copy of WinZip doesn't, get a newer one from -http://www.winzip.com.) +https://www.winzip.com.) diff -r e3c9a47a83fb Doc/howto/functional.rst --- a/Doc/howto/functional.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/howto/functional.rst Mon Apr 11 21:16:28 2016 +0300 @@ -1225,9 +1225,9 @@ Text Processing". Mertz also wrote a 3-part series of articles on functional programming for IBM's DeveloperWorks site; see -`part 1 `__, -`part 2 `__, and -`part 3 `__, +`part 1 `__, +`part 2 `__, and +`part 3 `__, Python documentation diff -r e3c9a47a83fb Doc/howto/logging-cookbook.rst --- a/Doc/howto/logging-cookbook.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/howto/logging-cookbook.rst Mon Apr 11 21:16:28 2016 +0300 @@ -1634,11 +1634,11 @@ works:: Inserting a BOM into messages sent to a SysLogHandler ----------------------------------------------------- -`RFC 5424 `_ requires that a +`RFC 5424 `_ requires that a Unicode message be sent to a syslog daemon as a set of bytes which have the following structure: an optional pure-ASCII component, followed by a UTF-8 Byte Order Mark (BOM), followed by Unicode encoded using UTF-8. (See the `relevant -section of the specification `_.) +section of the specification `_.) In Python 3.1, code was added to :class:`~logging.handlers.SysLogHandler` to insert a BOM into the message, but diff -r e3c9a47a83fb Doc/howto/pyporting.rst --- a/Doc/howto/pyporting.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/howto/pyporting.rst Mon Apr 11 21:16:28 2016 +0300 @@ -427,10 +427,10 @@ supported by Python 2. You should also u .. _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: http://python-modernize.readthedocs.org/en/latest/ +.. _Modernize: https://python-modernize.readthedocs.org/en/latest/ .. _Porting to Python 3: http://python3porting.com/ .. _Pylint: https://pypi.python.org/pypi/pylint -.. _Python 3 Q & A: http://ncoghlan-devs-python-notes.readthedocs.org/en/latest/python3/questions_and_answers.html +.. _Python 3 Q & A: https://ncoghlan-devs-python-notes.readthedocs.org/en/latest/python3/questions_and_answers.html .. _python-future: http://python-future.org/ .. _python-porting: https://mail.python.org/mailman/listinfo/python-porting diff -r e3c9a47a83fb Doc/howto/unicode.rst --- a/Doc/howto/unicode.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/howto/unicode.rst Mon Apr 11 21:16:28 2016 +0300 @@ -214,7 +214,7 @@ difficult reading. `A chronology `_ to reading the +guide `_ to reading the Unicode character tables. Another `good introductory article `_ diff -r e3c9a47a83fb Doc/howto/urllib2.rst --- a/Doc/howto/urllib2.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/howto/urllib2.rst Mon Apr 11 21:16:28 2016 +0300 @@ -122,7 +122,7 @@ library. :: Note that other encodings are sometimes required (e.g. for file upload from HTML forms - see `HTML Specification, Form Submission -`_ for more +`_ for more details). If you do not pass the ``data`` argument, urllib uses a **GET** request. One @@ -403,7 +403,7 @@ fetched, particularly the headers sent b :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. @@ -586,5 +586,5 @@ This document was reviewed and revised b scripts with a localhost server, I have to prevent urllib from using the proxy. .. [#] urllib opener for SSL proxy (CONNECT method): `ASPN Cookbook Recipe - `_. + `_. diff -r e3c9a47a83fb Doc/install/index.rst --- a/Doc/install/index.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/install/index.rst Mon Apr 11 21:16:28 2016 +0300 @@ -1012,7 +1012,7 @@ section :ref:`inst-config-files`.) .. seealso:: - `C++Builder Compiler `_ + `C++Builder Compiler `_ Information about the free C++ compiler from Borland, including links to the download pages. @@ -1055,7 +1055,7 @@ These compilers require some special lib for Borland's C++, because there is no program to convert the library. First you have to create a list of symbols which the Python DLL exports. (You can find a good program for this task at -http://sourceforge.net/projects/mingw/files/MinGW/Extension/pexports/). +https://sourceforge.net/projects/mingw/files/MinGW/Extension/pexports/). .. I don't understand what the next line means. --amk .. (inclusive the references on data structures.) @@ -1093,7 +1093,7 @@ normal libraries do. .. [#] This also means you could replace all existing COFF-libraries with OMF-libraries of the same name. -.. [#] Check http://www.sourceware.org/cygwin/ and http://www.mingw.org/ for more +.. [#] Check https://www.sourceware.org/cygwin/ and http://www.mingw.org/ for more information .. [#] Then you have no POSIX emulation available, but you also don't need diff -r e3c9a47a83fb Doc/library/array.rst --- a/Doc/library/array.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/array.rst Mon Apr 11 21:16:28 2016 +0300 @@ -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 `_ + `The Numerical Python Documentation `_ The Numeric Python extension (NumPy) defines another array type; see http://www.numpy.org/ for further information about Numerical Python. diff -r e3c9a47a83fb Doc/library/bisect.rst --- a/Doc/library/bisect.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/bisect.rst Mon Apr 11 21:16:28 2016 +0300 @@ -60,7 +60,7 @@ The following functions are provided: .. seealso:: `SortedCollection recipe - `_ that uses + `_ 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 -r e3c9a47a83fb Doc/library/codecs.rst --- a/Doc/library/codecs.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/codecs.rst Mon Apr 11 21:16:28 2016 +0300 @@ -1414,7 +1414,7 @@ parameters, such as :mod:`http.client` a 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 -r e3c9a47a83fb Doc/library/collections.abc.rst --- a/Doc/library/collections.abc.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/collections.abc.rst Mon Apr 11 21:16:28 2016 +0300 @@ -268,7 +268,7 @@ Notes on using :class:`Set` and :class:` .. seealso:: - * `OrderedSet recipe `_ for an + * `OrderedSet recipe `_ for an example built on :class:`MutableSet`. * For more about ABCs, see the :mod:`abc` module and :pep:`3119`. diff -r e3c9a47a83fb Doc/library/collections.rst --- a/Doc/library/collections.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/collections.rst Mon Apr 11 21:16:28 2016 +0300 @@ -116,12 +116,12 @@ The class can be used to simulate nested :meth:`~collections.ChainMap.parents` property. * The `Nested Contexts recipe - `_ has options to control + `_ 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 - `_. + `_. :class:`ChainMap` Examples and Recipes @@ -952,7 +952,7 @@ customize a prototype instance: .. seealso:: * `Recipe for named tuple abstract base class with a metaclass mix-in - `_ + `_ 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 -r e3c9a47a83fb Doc/library/colorsys.rst --- a/Doc/library/colorsys.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/colorsys.rst Mon Apr 11 21:16:28 2016 +0300 @@ -21,7 +21,7 @@ spaces, the coordinates are all between 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 -r e3c9a47a83fb Doc/library/datetime.rst --- a/Doc/library/datetime.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/datetime.rst Mon Apr 11 21:16:28 2016 +0300 @@ -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 @@ -1775,7 +1775,7 @@ only EST (fixed offset -5 hours), or onl *pytz* library brings the *IANA timezone database* (also known as the Olson database) to Python and its usage is recommended. - `IANA timezone database `_ + `IANA timezone database `_ 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 -r e3c9a47a83fb Doc/library/difflib.rst --- a/Doc/library/difflib.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/difflib.rst Mon Apr 11 21:16:28 2016 +0300 @@ -613,7 +613,7 @@ If you want to know how to change the fi work. * `Simple version control recipe - `_ for a small application + `_ for a small application built with :class:`SequenceMatcher`. diff -r e3c9a47a83fb Doc/library/hashlib.rst --- a/Doc/library/hashlib.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/hashlib.rst Mon Apr 11 21:16:28 2016 +0300 @@ -232,5 +232,5 @@ include a `salt ``, this method - would be called as ``handle_starttag('a', [('href', 'http://www.cwi.nl/')])``. + For instance, for the tag ````, 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 -r e3c9a47a83fb Doc/library/http.cookiejar.rst --- a/Doc/library/http.cookiejar.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/http.cookiejar.rst Mon Apr 11 21:16:28 2016 +0300 @@ -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 -r e3c9a47a83fb Doc/library/http.rst --- a/Doc/library/http.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/http.rst Mon Apr 11 21:16:28 2016 +0300 @@ -51,7 +51,7 @@ HTTP status codes ----------------- Supported, -`IANA-registered `_ +`IANA-registered `_ status codes available in :class:`http.HTTPStatus` are: ======= =================================== ================================================================== diff -r e3c9a47a83fb Doc/library/imaplib.rst --- a/Doc/library/imaplib.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/imaplib.rst Mon Apr 11 21:16:28 2016 +0300 @@ -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 -r e3c9a47a83fb Doc/library/ipaddress.rst --- a/Doc/library/ipaddress.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/ipaddress.rst Mon Apr 11 21:16:28 2016 +0300 @@ -198,8 +198,8 @@ write code that handles both IP versions ``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 -r e3c9a47a83fb Doc/library/json.rst --- a/Doc/library/json.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/json.rst Mon Apr 11 21:16:28 2016 +0300 @@ -689,7 +689,7 @@ Command line options .. rubric:: Footnotes .. [#rfc-errata] As noted in `the errata for 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 -r e3c9a47a83fb Doc/library/mailbox.rst --- a/Doc/library/mailbox.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/mailbox.rst Mon Apr 11 21:16:28 2016 +0300 @@ -422,7 +422,7 @@ Supported mailbox formats are Maildir, m `maildir man page from qmail `_ The original specification of the format. - `Using maildir format `_ + `Using maildir format `_ 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, m .. seealso:: - `Format of Version 5 Babyl Files `_ + `Format of Version 5 Babyl Files `_ A specification of the Babyl format. - `Reading Mail with Rmail `_ + `Reading Mail with Rmail `_ The Rmail manual, with some information on Babyl semantics. diff -r e3c9a47a83fb Doc/library/mimetypes.rst --- a/Doc/library/mimetypes.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/mimetypes.rst Mon Apr 11 21:16:28 2016 +0300 @@ -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 - `_. + `_. 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 -r e3c9a47a83fb Doc/library/othergui.rst --- a/Doc/library/othergui.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/othergui.rst Mon Apr 11 21:16:28 2016 +0300 @@ -31,7 +31,7 @@ available for Python: book, `GUI Programming with Python: QT Edition `_ by Boudewijn Rempt. The *PyQt4* bindings also have a book, `Rapid GUI Programming - with Python and Qt `_, by Mark + with Python and Qt `_, by Mark Summerfield. `PySide `_ @@ -41,7 +41,7 @@ available for Python: `wxPython `_ wxPython is a cross-platform GUI toolkit for Python that is built around - the popular `wxWidgets `_ (formerly wxWindows) + the popular `wxWidgets `_ (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 -r e3c9a47a83fb Doc/library/pyexpat.rst --- a/Doc/library/pyexpat.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/pyexpat.rst Mon Apr 11 21:16:28 2016 +0300 @@ -867,6 +867,6 @@ The ``errors`` module has the following .. [#] 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 -r e3c9a47a83fb Doc/library/select.rst --- a/Doc/library/select.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/select.rst Mon Apr 11 21:16:28 2016 +0300 @@ -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 -r e3c9a47a83fb Doc/library/sqlite3.rst --- a/Doc/library/sqlite3.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/sqlite3.rst Mon Apr 11 21:16:28 2016 +0300 @@ -53,7 +53,7 @@ The data you've saved is persistent and 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 `_. + be found in the `SQLite URI documentation `_. .. versionchanged:: 3.4 Added the *uri* parameter. diff -r e3c9a47a83fb Doc/library/ssl.rst --- a/Doc/library/ssl.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/ssl.rst Mon Apr 11 21:16:28 2016 +0300 @@ -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 - `_. + `_. 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 - `_ + `_ 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 th 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 @@ -1212,7 +1212,7 @@ to speed up repeated connections from th Set the available ciphers for sockets created with this context. It should be a string in the `OpenSSL 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 th 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 + `_ 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 i :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 the ``openssl ciphers`` command on your system. @@ -2061,5 +2061,5 @@ successful call of :func:`~ssl.RAND_add` `RFC 6066: Transport Layer Security (TLS) Extensions `_ D. Eastlake - `IANA TLS: Transport Layer Security (TLS) Parameters `_ + `IANA TLS: Transport Layer Security (TLS) Parameters `_ IANA diff -r e3c9a47a83fb Doc/library/statistics.rst --- a/Doc/library/statistics.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/statistics.rst Mon Apr 11 21:16:28 2016 +0300 @@ -223,7 +223,7 @@ However, for reading convenience, most o * "Statistics for the Behavioral Sciences", Frederick J Gravetter and Larry B Wallnau (8th Edition). - * Calculating the `median `_. + * Calculating the `median `_. * The `SSMEDIAN `_ diff -r e3c9a47a83fb Doc/library/sys.rst --- a/Doc/library/sys.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/sys.rst Mon Apr 11 21:16:28 2016 +0300 @@ -479,7 +479,7 @@ always available. additional garbage collector overhead if the object is managed by the garbage collector. - See `recursive sizeof recipe `_ + See `recursive sizeof recipe `_ for an example of using :func:`getsizeof` recursively to find the size of containers and all their contents. diff -r e3c9a47a83fb Doc/library/tarfile.rst --- a/Doc/library/tarfile.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/tarfile.rst Mon Apr 11 21:16:28 2016 +0300 @@ -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 `_ + `GNU tar manual, Basic Tar Format `_ Documentation for tar archive files, including GNU tar extensions. diff -r e3c9a47a83fb Doc/library/tkinter.rst --- a/Doc/library/tkinter.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/tkinter.rst Mon Apr 11 21:16:28 2016 +0300 @@ -22,13 +22,13 @@ this should open a window demonstrating `TKDocs `_ Extensive tutorial plus friendlier widget pages for some of the widgets. - `Tkinter reference: a GUI for Python `_ + `Tkinter reference: a GUI for Python `_ On-line reference material. `Tkinter docs from effbot `_ Online reference for tkinter supported by effbot.org. - `Tcl/Tk manual `_ + `Tcl/Tk manual `_ Official manual for the latest tcl/tk version. `Programming Python `_ @@ -173,7 +173,7 @@ documentation that exists. Here are some .. seealso:: - `Tcl/Tk 8.6 man pages `_ + `Tcl/Tk 8.6 man pages `_ The Tcl/Tk manual on www.tcl.tk. `ActiveState Tcl Home Page `_ diff -r e3c9a47a83fb Doc/library/tkinter.ttk.rst --- a/Doc/library/tkinter.ttk.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/tkinter.ttk.rst Mon Apr 11 21:16:28 2016 +0300 @@ -22,7 +22,7 @@ appearance. .. seealso:: - `Tk Widget Styling Support `_ + `Tk Widget Styling Support `_ A document introducing theming support for Tk diff -r e3c9a47a83fb Doc/library/unittest.mock-examples.rst --- a/Doc/library/unittest.mock-examples.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/unittest.mock-examples.rst Mon Apr 11 21:16:28 2016 +0300 @@ -549,7 +549,7 @@ Calls to the date constructor are record An alternative way of dealing with mocking dates, or other builtin classes, is discussed in `this blog entry -`_. +`_. Mocking a Generator Method @@ -1010,7 +1010,7 @@ subclass. Sometimes this is inconvenient. For example, `one user `_ is subclassing mock to created a `Twisted adaptor -`_. +`_. Having this applied to attributes too actually causes errors. ``Mock`` (in all its flavours) uses a method called ``_get_child_mock`` to create diff -r e3c9a47a83fb Doc/library/unittest.rst --- a/Doc/library/unittest.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/unittest.rst Mon Apr 11 21:16:28 2016 +0300 @@ -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 `_, `Jenkins `_ + `Buildbot `_, `Jenkins `_ or `Hudson `_. diff -r e3c9a47a83fb Doc/library/urllib.parse.rst --- a/Doc/library/urllib.parse.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/urllib.parse.rst Mon Apr 11 21:16:28 2016 +0300 @@ -259,8 +259,8 @@ or on combining URL components into a UR path, to provide missing components in the relative URL. For example: >>> from urllib.parse import urljoin - >>> urljoin('http://www.cwi.nl/%7Eguido/Python.html', 'FAQ.html') - 'http://www.cwi.nl/%7Eguido/FAQ.html' + >>> urljoin('https://www.cwi.nl/%7Eguido/Python.html', 'FAQ.html') + 'https://www.cwi.nl/%7Eguido/FAQ.html' The *allow_fragments* argument has the same meaning and default as for :func:`urlparse`. @@ -272,7 +272,7 @@ or on combining URL components into a UR .. doctest:: - >>> urljoin('http://www.cwi.nl/%7Eguido/Python.html', + >>> urljoin('https://www.cwi.nl/%7Eguido/Python.html', ... '//www.python.org/%7Eguido') 'http://www.python.org/%7Eguido' diff -r e3c9a47a83fb Doc/library/urllib.request.rst --- a/Doc/library/urllib.request.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/urllib.request.rst Mon Apr 11 21:16:28 2016 +0300 @@ -67,7 +67,7 @@ The :mod:`urllib.request` module defines * :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. @@ -1123,7 +1123,7 @@ it receives from the http server. In gen 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 -r e3c9a47a83fb Doc/library/xml.dom.minidom.rst --- a/Doc/library/xml.dom.minidom.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/xml.dom.minidom.rst Mon Apr 11 21:16:28 2016 +0300 @@ -100,7 +100,7 @@ eventually take care of the objects in t .. seealso:: - `Document Object Model (DOM) Level 1 Specification `_ + `Document Object Model (DOM) Level 1 Specification `_ 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 -r e3c9a47a83fb Doc/library/xml.dom.rst --- a/Doc/library/xml.dom.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/xml.dom.rst Mon Apr 11 21:16:28 2016 +0300 @@ -63,10 +63,10 @@ implementations are free to support the .. 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 `_ + `Document Object Model (DOM) Level 1 Specification `_ The W3C recommendation for the DOM supported by :mod:`xml.dom.minidom`. `Python Language Mapping Specification `_ @@ -115,20 +115,20 @@ Some convenience constants are also prov .. data:: XML_NAMESPACE The namespace URI associated with the reserved prefix ``xml``, as defined by - `Namespaces in XML `_ (section 4). + `Namespaces in XML `_ (section 4). .. data:: XMLNS_NAMESPACE The namespace URI for namespace declarations, as defined by `Document Object Model (DOM) Level 2 Core Specification - `_ (section 1.1.8). + `_ (section 1.1.8). .. data:: XHTML_NAMESPACE The URI of the XHTML namespace as defined by `XHTML 1.0: The Extensible - HyperText Markup Language `_ (section 3.1.1). + HyperText Markup Language `_ (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 `_ + regard to the `Namespaces in XML `_ recommendation, this exception is raised. diff -r e3c9a47a83fb Doc/library/xml.etree.elementtree.rst --- a/Doc/library/xml.etree.elementtree.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/xml.etree.elementtree.rst Mon Apr 11 21:16:28 2016 +0300 @@ -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 -`__, +`__, 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 `_ for locating elements in a +`XPath expressions `_ 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 -r e3c9a47a83fb Doc/library/xmlrpc.client.rst --- a/Doc/library/xmlrpc.client.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/library/xmlrpc.client.rst Mon Apr 11 21:16:28 2016 +0300 @@ -306,7 +306,7 @@ internal use by the marshalling/unmarsha 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 `_, + `RFC 2045 section 6.8 `_, which was the de facto standard base64 specification when the XML-RPC spec was written. @@ -577,7 +577,7 @@ See :ref:`simplexmlrpcserver-example`. .. rubric:: Footnotes .. [#] This approach has been first presented in `a discussion on xmlrpc.com - `_. + `_. .. the link now points to webarchive since the one at .. http://www.xmlrpc.com/discuss/msgReader%241208 is broken (and webadmin .. doesn't reply) diff -r e3c9a47a83fb Doc/license.rst --- a/Doc/license.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/license.rst Mon Apr 11 21:16:28 2016 +0300 @@ -11,12 +11,12 @@ History of the software ======================= Python was created in the early 1990s by Guido van Rossum at Stichting -Mathematisch Centrum (CWI, see http://www.cwi.nl/) in the Netherlands as a +Mathematisch Centrum (CWI, see https://www.cwi.nl/) in the Netherlands as a successor of a language called ABC. Guido remains Python's principal author, although it includes many contributions from others. In 1995, Guido continued his work on Python at the Corporation for National -Research Initiatives (CNRI, see http://www.cnri.reston.va.us/) in Reston, +Research Initiatives (CNRI, see https://www.cnri.reston.va.us/) in Reston, Virginia where he released several versions of the software. In May 2000, Guido and the Python core development team moved to BeOpen.com to @@ -27,7 +27,7 @@ https://www.python.org/psf/) was formed, specifically to own Python-related Intellectual Property. Zope Corporation is a sponsoring member of the PSF. -All Python releases are Open Source (see http://opensource.org/ for the Open +All Python releases are Open Source (see https://opensource.org/ for the Open Source Definition). Historically, most, but not all, Python releases have also been GPL-compatible; the table below summarizes the various releases. diff -r e3c9a47a83fb Doc/reference/lexical_analysis.rst --- a/Doc/reference/lexical_analysis.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/reference/lexical_analysis.rst Mon Apr 11 21:16:28 2016 +0300 @@ -322,7 +322,7 @@ of identifiers is based on NFKC. A non-normative HTML file listing all valid identifier characters for Unicode 4.1 can be found at -http://www.dcl.hpi.uni-potsdam.de/home/loewis/table-3131.html. +https://www.dcl.hpi.uni-potsdam.de/home/loewis/table-3131.html. .. _keywords: diff -r e3c9a47a83fb Doc/tutorial/floatingpoint.rst --- a/Doc/tutorial/floatingpoint.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/tutorial/floatingpoint.rst Mon Apr 11 21:16:28 2016 +0300 @@ -155,7 +155,7 @@ 1/3 can be represented exactly). If you are a heavy user of floating point operations you should take a look at the Numerical Python package and many other packages for mathematical and -statistical operations supplied by the SciPy project. See . +statistical operations supplied by the SciPy project. See . Python provides tools that may help on those rare occasions when you really *do* want to know the exact value of a float. The diff -r e3c9a47a83fb Doc/tutorial/interactive.rst --- a/Doc/tutorial/interactive.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/tutorial/interactive.rst Mon Apr 11 21:16:28 2016 +0300 @@ -49,6 +49,6 @@ into other applications. Another simila bpython_. -.. _GNU Readline: http://tiswww.case.edu/php/chet/readline/rltop.html +.. _GNU Readline: https://tiswww.case.edu/php/chet/readline/rltop.html .. _IPython: http://ipython.scipy.org/ .. _bpython: http://www.bpython-interpreter.org/ diff -r e3c9a47a83fb Doc/tutorial/stdlib.rst --- a/Doc/tutorial/stdlib.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/tutorial/stdlib.rst Mon Apr 11 21:16:28 2016 +0300 @@ -152,7 +152,7 @@ The :mod:`statistics` module calculates >>> statistics.variance(data) 1.3720238095238095 -The SciPy project has many other modules for numerical +The SciPy project has many other modules for numerical computations. .. _tut-internet-access: diff -r e3c9a47a83fb Doc/tutorial/whatnow.rst --- a/Doc/tutorial/whatnow.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/tutorial/whatnow.rst Mon Apr 11 21:16:28 2016 +0300 @@ -43,7 +43,7 @@ More Python resources: for download. Once you begin releasing code, you can register it here so that others can find it. -* http://code.activestate.com/recipes/langs/python/: The Python Cookbook is a +* https://code.activestate.com/recipes/langs/python/: The Python Cookbook is a sizable collection of code examples, larger modules, and useful scripts. Particularly notable contributions are collected in a book also titled Python Cookbook (O'Reilly & Associates, ISBN 0-596-00797-3.) @@ -51,7 +51,7 @@ More Python resources: * http://www.pyvideo.org collects links to Python-related videos from conferences and user-group meetings. -* http://scipy.org: The Scientific Python project includes modules for fast +* https://scipy.org: The Scientific Python project includes modules for fast array computations and manipulations plus a host of packages for such things as linear algebra, Fourier transforms, non-linear solvers, random number distributions, statistical analysis and the like. diff -r e3c9a47a83fb Doc/using/mac.rst --- a/Doc/using/mac.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/using/mac.rst Mon Apr 11 21:16:28 2016 +0300 @@ -65,7 +65,7 @@ number of standard Unix command line edi :program:`emacs` among them. If you want a more Mac-like editor, :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 http://macromates.com/). Other editors include +:program:`TextMate` (see https://macromates.com/). Other editors include :program:`Gvim` (http://macvim.org) and :program:`Aquamacs` (http://aquamacs.org/). @@ -144,9 +144,9 @@ the foundation of most modern Mac develo available from https://pythonhosted.org/pyobjc/. The standard Python GUI toolkit is :mod:`tkinter`, based on the cross-platform -Tk toolkit (http://www.tcl.tk). An Aqua-native version of Tk is bundled with OS +Tk toolkit (https://www.tcl.tk). An Aqua-native version of Tk is bundled with OS X by Apple, and the latest version can be downloaded and installed from -http://www.activestate.com; it can also be built from source. +https://www.activestate.com; it can also be built from source. *wxPython* is another popular cross-platform GUI toolkit that runs natively on Mac OS X. Packages and documentation are available from http://www.wxpython.org. diff -r e3c9a47a83fb Doc/using/unix.rst --- a/Doc/using/unix.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/using/unix.rst Mon Apr 11 21:16:28 2016 +0300 @@ -55,7 +55,7 @@ On FreeBSD and OpenBSD On OpenSolaris -------------- -You can get Python from `OpenCSW `_. Various versions +You can get Python from `OpenCSW `_. Various versions of Python are available and can be installed with e.g. ``pkgutil -i python27``. @@ -139,10 +139,10 @@ Vim and Emacs are excellent editors whic information on how to code in Python in these editors, look at: * http://www.vim.org/scripts/script.php?script_id=790 -* http://sourceforge.net/projects/python-mode +* https://sourceforge.net/projects/python-mode Geany is an excellent IDE with support for a lot of languages. For more -information, read: http://www.geany.org/ +information, read: https://www.geany.org/ Komodo edit is another extremely good IDE. It also has support for a lot of -languages. For more information, read http://komodoide.com/. +languages. For more information, read https://komodoide.com/. diff -r e3c9a47a83fb Doc/using/windows.rst --- a/Doc/using/windows.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/using/windows.rst Mon Apr 11 21:16:28 2016 +0300 @@ -245,7 +245,7 @@ earlier are no longer supported (due to Check :pep:`11` for details on all unsupported platforms. * `Windows CE `_ is still supported. -* The `Cygwin `_ installer offers to install the Python +* The `Cygwin `_ installer offers to install the Python interpreter as well (cf. `Cygwin package source `_, `Maintainer releases @@ -364,7 +364,7 @@ System variables, you need non-restricte https://support.microsoft.com/kb/310519 How To Manage Environment Variables in Windows XP - http://www.chem.gla.ac.uk/~louis/software/faq/q1.html + https://www.chem.gla.ac.uk/~louis/software/faq/q1.html Setting Environment variables, Louis J. Farrugia .. _windows-path-mod: diff -r e3c9a47a83fb Doc/whatsnew/2.0.rst --- a/Doc/whatsnew/2.0.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/whatsnew/2.0.rst Mon Apr 11 21:16:28 2016 +0300 @@ -61,7 +61,7 @@ how Python is developed: in May 2000 the made available by SourceForge for storing source code, tracking bug reports, and managing the queue of patch submissions. To report bugs or submit patches for Python 2.0, use the bug tracking and patch manager tools available from -Python's project page, located at http://sourceforge.net/projects/python/. +Python's project page, located at https://sourceforge.net/projects/python/. The most important of the services now hosted at SourceForge is the Python CVS tree, the version-controlled repository containing the source code for Python. diff -r e3c9a47a83fb Doc/whatsnew/2.2.rst --- a/Doc/whatsnew/2.2.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/whatsnew/2.2.rst Mon Apr 11 21:16:28 2016 +0300 @@ -632,10 +632,10 @@ queen threatens another) and the Knight' every square of an $NxN$ chessboard without visiting any square twice). The idea of generators comes from other programming languages, especially Icon -(http://www.cs.arizona.edu/icon/), where the idea of generators is central. In +(https://www.cs.arizona.edu/icon/), where the idea of generators is central. In Icon, every expression and function call behaves like a generator. One example from "An Overview of the Icon Programming Language" at -http://www.cs.arizona.edu/icon/docs/ipd266.htm gives an idea of what this looks +https://www.cs.arizona.edu/icon/docs/ipd266.htm gives an idea of what this looks like:: sentence := "Store it in the neighboring harbor" diff -r e3c9a47a83fb Doc/whatsnew/2.3.rst --- a/Doc/whatsnew/2.3.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/whatsnew/2.3.rst Mon Apr 11 21:16:28 2016 +0300 @@ -218,10 +218,10 @@ queen threatens another) and the Knight' every square of an $NxN$ chessboard without visiting any square twice). The idea of generators comes from other programming languages, especially Icon -(http://www.cs.arizona.edu/icon/), where the idea of generators is central. In +(https://www.cs.arizona.edu/icon/), where the idea of generators is central. In Icon, every expression and function call behaves like a generator. One example from "An Overview of the Icon Programming Language" at -http://www.cs.arizona.edu/icon/docs/ipd266.htm gives an idea of what this looks +https://www.cs.arizona.edu/icon/docs/ipd266.htm gives an idea of what this looks like:: sentence := "Store it in the neighboring harbor" diff -r e3c9a47a83fb Doc/whatsnew/2.5.rst --- a/Doc/whatsnew/2.5.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/whatsnew/2.5.rst Mon Apr 11 21:16:28 2016 +0300 @@ -1528,7 +1528,7 @@ complete list of changes, or look throug * The :mod:`socket` module now supports :const:`AF_NETLINK` sockets on Linux, thanks to a patch from Philippe Biondi. Netlink sockets are a Linux-specific mechanism for communications between a user-space process and kernel code; an - introductory article about them is at http://www.linuxjournal.com/article/7356. + introductory article about them is at https://www.linuxjournal.com/article/7356. In Python code, netlink addresses are represented as a tuple of 2 integers, ``(pid, group_mask)``. @@ -2013,7 +2013,7 @@ This example uses the iterator form:: >>> For more information about the SQL dialect supported by SQLite, see -http://www.sqlite.org. +https://www.sqlite.org. .. seealso:: @@ -2021,7 +2021,7 @@ http://www.sqlite.org. http://www.pysqlite.org The pysqlite web page. - 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. diff -r e3c9a47a83fb Doc/whatsnew/2.6.rst --- a/Doc/whatsnew/2.6.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/whatsnew/2.6.rst Mon Apr 11 21:16:28 2016 +0300 @@ -154,9 +154,9 @@ therefore posted a call for issue tracke up different products and import some of the bugs and patches from SourceForge. Four different trackers were examined: `Jira `__, -`Launchpad `__, +`Launchpad `__, `Roundup `__, and -`Trac `__. +`Trac `__. The committee eventually settled on Jira and Roundup as the two candidates. Jira is a commercial product that offers no-cost hosted instances to free-software projects; Roundup @@ -1431,7 +1431,7 @@ one, :func:`math.trunc`, that's been bac :pep:`3141` - A Type Hierarchy for Numbers PEP written by Jeffrey Yasskin. - `Scheme's numerical tower `__, from the Guile manual. + `Scheme's numerical tower `__, from the Guile manual. `Scheme's number datatypes `__ from the R5RS Scheme specification. @@ -2889,7 +2889,7 @@ Improved SSL Support Bill Janssen made extensive improvements to Python 2.6's support for the Secure Sockets Layer by adding a new module, :mod:`ssl`, that's -built atop the `OpenSSL `__ library. +built atop the `OpenSSL `__ library. This new module provides more control over the protocol negotiated, the X.509 certificates used, and has better support for writing SSL servers (as opposed to clients) in Python. The existing SSL support diff -r e3c9a47a83fb Doc/whatsnew/2.7.rst --- a/Doc/whatsnew/2.7.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/whatsnew/2.7.rst Mon Apr 11 21:16:28 2016 +0300 @@ -1157,7 +1157,7 @@ changes, or look through the Subversion * The :mod:`ctypes` module now always converts ``None`` to a C NULL pointer for arguments declared as pointers. (Changed by Thomas Heller; :issue:`4606`.) The underlying `libffi library - `__ has been updated to version + `__ has been updated to version 3.0.9, containing various fixes for different platforms. (Updated by Matthias Klose; :issue:`8142`.) @@ -1530,7 +1530,7 @@ changes, or look through the Subversion *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 @@ -1783,7 +1783,7 @@ on being added to Tcl/Tck release 8.5. To learn more, read the :mod:`ttk` module documentation. You may also wish to read the Tcl/Tk manual page describing the Ttk theme engine, available at -http://www.tcl.tk/man/tcl8.5/TkCmd/ttk_intro.htm. Some +https://www.tcl.tk/man/tcl8.5/TkCmd/ttk_intro.htm. Some screenshots of the Python/Ttk code in use are at http://code.google.com/p/python-ttk/wiki/Screenshots. @@ -2079,7 +2079,7 @@ Changes to Python's build process and to * The latest release of the GNU Debugger, GDB 7, can be `scripted using Python - `__. + `__. When you begin debugging an executable program P, GDB will look for a file named ``P-gdb.py`` and automatically read it. Dave Malcolm contributed a :file:`python-gdb.py` that adds a number of @@ -2149,7 +2149,7 @@ Changes to Python's build process and to with *updatepath* set to false. Security issue reported as `CVE-2008-5983 - `_; + `_; discussed in :issue:`5753`, and fixed by Antoine Pitrou. * New macros: the Python header files now define the following macros: diff -r e3c9a47a83fb Doc/whatsnew/3.2.rst --- a/Doc/whatsnew/3.2.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/whatsnew/3.2.rst Mon Apr 11 21:16:28 2016 +0300 @@ -769,8 +769,8 @@ functools (Contributed by Raymond Hettinger and incorporating design ideas from Jim Baker, Miki Tebeka, and Nick Coghlan; see `recipe 498245 - `_\, `recipe 577479 - `_\, :issue:`10586`, and + `_\, `recipe 577479 + `_\, :issue:`10586`, and :issue:`10593`.) * The :func:`functools.wraps` decorator now adds a :attr:`__wrapped__` attribute @@ -955,7 +955,7 @@ sites do not finish before midnight, the sealed and deposited in a queue for later handling. See `Barrier Synchronization Patterns -`_ for +`_ for more examples of how barriers can be used in parallel computing. Also, there is a simple but thorough explanation of barriers in `The Little Book of Semaphores `_, *section 3.6*. @@ -1618,7 +1618,7 @@ for secure (encrypted, authenticated) in * 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 @@ -2559,7 +2559,7 @@ Also, there were a number of updates to :source:`Mac/BuildScript/README.txt` for details. For users running a 32/64-bit build, there is a known problem with the default Tcl/Tk on Mac OS X 10.6. Accordingly, we recommend installing an updated alternative such as -`ActiveState Tcl/Tk 8.5.9 `_\. +`ActiveState Tcl/Tk 8.5.9 `_\. See https://www.python.org/download/mac/tcltk/ for additional details. Porting to Python 3.2 diff -r e3c9a47a83fb Doc/whatsnew/3.4.rst --- a/Doc/whatsnew/3.4.rst Mon Apr 11 17:33:27 2016 +0300 +++ b/Doc/whatsnew/3.4.rst Mon Apr 11 21:16:28 2016 +0300 @@ -1410,7 +1410,7 @@ sqlite3 A new boolean parameter to the :func:`~sqlite3.connect` function, *uri*, can be used to indicate that the *database* parameter is a ``uri`` (see the `SQLite -URI documentation `_). (Contributed by poq in +URI documentation `_). (Contributed by poq in :issue:`13773`.)