cpython: e3af25d70976 (original) (raw)

--- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -297,7 +297,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.

On versions before 2.6.6, you can achieve the same effect by manually popping the first :data:sys.path element after having called

--- a/Doc/faq/design.rst +++ b/Doc/faq/design.rst @@ -431,10 +431,10 @@ much speed. There are also several programs which make it easier to intermingle Python and C code in various ways to increase performance. See, for example, Cython <http://cython.org/>_ , Psyco[](#l2.5) <http://psyco.sourceforge.net/>, Pyrex[](#l2.6) -<http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>, PyInline[](#l2.7) +<https://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>, PyInline[](#l2.8) <http://pyinline.sourceforge.net/>, Py2Cmod[](#l2.9) <http://sourceforge.net/projects/py2cmod/>, and -Weave <http://docs.scipy.org/doc/scipy-dev/reference/tutorial/weave.html>. +Weave <https://docs.scipy.org/doc/scipy-dev/reference/tutorial/weave.html>_. How does Python manage memory?

--- a/Doc/faq/extending.rst +++ b/Doc/faq/extending.rst @@ -45,7 +45,7 @@ very little effort, as long as you're ru x86-compatible processor. Cython <http://cython.org>_ and its relative Pyrex[](#l3.6) -<http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/>_ are compilers +https://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/`_ are compilers that accept a slightly modified form of Python and generate the corresponding C code. Pyrex makes it possible to write an extension without having to learn Python's C API.

--- a/Doc/faq/general.rst +++ b/Doc/faq/general.rst @@ -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 <https://www.python.org>_ is graciously hosted by Rackspace[](#l4.6) -<http://www.rackspace.com>, with CDN caching provided by Fastly[](#l4.7) +<https://www.rackspace.com>, with CDN caching provided by Fastly[](#l4.8) <https://www.fastly.com>. Upfront Systems[](#l4.9) <http://www.upfrontsystems.co.za/> hosts bugs.python.org[](#l4.10) <https://bugs.python.org>_. Many other Python services like `the Wiki

--- a/Doc/faq/gui.rst +++ b/Doc/faq/gui.rst @@ -21,13 +21,13 @@ Tkinter Standard builds of Python include an object-oriented interface to the Tcl/Tk widget set, called Tkinter. This is probably the easiest to install and use. For more info about Tk, including pointers to the source, see the Tcl/Tk home -page at http://www.tcl.tk. Tcl/Tk is fully portable to the Mac OS X, Windows, +page at https://www.tcl.tk. 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

--- a/Doc/faq/programming.rst +++ b/Doc/faq/programming.rst @@ -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[](#l6.6) -for Windows Extensions <http://sourceforge.net/projects/pywin32/>__ project and +for Windows Extensions https://sourceforge.net/projects/pywin32/__ project and[](#l6.8) as a part of the ActivePython distribution (see[](#l6.9) -http://www.activestate.com/activepython\ ).[](#l6.10) +https://www.activestate.com/activepython\ ).[](#l6.11) [](#l6.12) Boa Constructor http://boa-constructor.sourceforge.net/`_ 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.[](#l6.19) +https://www.gnu.org/software/ddd.[](#l6.20) There are a number of commercial Python IDEs that include graphical debuggers. They include: -* Wing IDE (http://wingware.com/)[](#l6.25) -* Komodo IDE (http://komodoide.com/)[](#l6.26) +* Wing IDE (https://wingware.com/)[](#l6.27) +* Komodo IDE (https://komodoide.com/)[](#l6.28)

If you don't mind reordering the list, sort it and then scan from the end of the list, deleting duplicates as you go::

--- a/Doc/faq/windows.rst +++ b/Doc/faq/windows.rst @@ -334,5 +334,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.)[](#l7.7) +https://www.winzip.com.)[](#l7.8)

--- a/Doc/howto/functional.rst +++ b/Doc/howto/functional.rst @@ -1171,9 +1171,9 @@ Text Processing". Mertz also wrote a 3-part series of articles on functional programming for IBM's DeveloperWorks site; see -part 1 <http://www.ibm.com/developerworks/linux/library/l-prog/index.html>, -part 2 <http://www.ibm.com/developerworks/linux/library/l-prog2/index.html>, and -part 3 <http://www.ibm.com/developerworks/linux/library/l-prog3/index.html>, +part 1 <https://www.ibm.com/developerworks/linux/library/l-prog/index.html>, +part 2 <https://www.ibm.com/developerworks/linux/library/l-prog2/index.html>, and +part 3 <https://www.ibm.com/developerworks/linux/library/l-prog3/index.html>, Python documentation

--- a/Doc/howto/logging-cookbook.rst +++ b/Doc/howto/logging-cookbook.rst @@ -767,11 +767,11 @@ of the Django documentation. Inserting a BOM into messages sent to a SysLogHandler ----------------------------------------------------- -RFC 5424 <http://tools.ietf.org/html/rfc5424>_ requires that a +RFC 5424 <https://tools.ietf.org/html/rfc5424>_ 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[](#l9.11) -section of the specification <http://tools.ietf.org/html/rfc5424#section-6>_.) +section of the specification https://tools.ietf.org/html/rfc5424#section-6_.)[](#l9.13) [](#l9.14) In Python 2.6 and 2.7, code was added to[](#l9.15) :class:~logging.handlers.SysLogHandler` to insert a BOM into the message, but

--- a/Doc/howto/pyporting.rst +++ b/Doc/howto/pyporting.rst @@ -379,10 +379,10 @@ supported by Python 2. You should also u .. _cheat sheet: http://python-future.org/compatible_idioms.html[](#l10.4) .. _coverage.py: https://pypi.python.org/pypi/coverage[](#l10.5) .. _Futurize: http://python-future.org/automatic_conversion.html[](#l10.6) -.. _Modernize: http://python-modernize.readthedocs.org/en/latest/[](#l10.7) +.. _Modernize: https://python-modernize.readthedocs.org/en/latest/[](#l10.8) .. _Porting to Python 3: http://python3porting.com/[](#l10.9) .. _Pylint: https://pypi.python.org/pypi/pylint[](#l10.10) -.. _Python 3 Q & A: http://ncoghlan-devs-python-notes.readthedocs.org/en/latest/python3/questions_and_answers.html[](#l10.11) +.. _Python 3 Q & A: https://ncoghlan-devs-python-notes.readthedocs.org/en/latest/python3/questions_and_answers.html[](#l10.12) .. _python-future: http://python-future.org/[](#l10.14) .. _python-porting: https://mail.python.org/mailman/listinfo/python-porting[](#l10.15)

--- a/Doc/howto/unicode.rst +++ b/Doc/howto/unicode.rst @@ -211,7 +211,7 @@ origin and development of Unicode. To help understand the standard, Jukka Korpela has written an introductory guide to reading the Unicode character tables, available at -http://www.cs.tut.fi/~jkorpela/unicode/guide.html. +https://www.cs.tut.fi/~jkorpela/unicode/guide.html. Another good introductory article was written by Joel Spolsky http://www.joelonsoftware.com/articles/Unicode.html.

--- a/Doc/howto/urllib2.rst +++ b/Doc/howto/urllib2.rst @@ -112,7 +112,7 @@ argument. The encoding is done using a f Note that other encodings are sometimes required (e.g. for file upload from HTML forms - see HTML Specification, Form Submission[](#l12.6) -<http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13>_ for more +https://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13_ for more[](#l12.8) details).[](#l12.9) [](#l12.10) If you do not pass the ``data`` argument, urllib2 uses a **GET** request. One[](#l12.11) @@ -388,7 +388,7 @@ fetched, particularly the headers sent b[](#l12.12) ``httplib.HTTPMessage`` instance.[](#l12.13) [](#l12.14) Typical headers include 'Content-length', 'Content-type', and so on. See the[](#l12.15) -Quick Reference to HTTP Headers http://www.cs.tut.fi/~jkorpela/http.html_[](#l12.16) +Quick Reference to HTTP Headers https://www.cs.tut.fi/~jkorpela/http.html_[](#l12.17) for a useful listing of HTTP headers with brief explanations of their meaning[](#l12.18) and use.[](#l12.19) [](#l12.20) @@ -573,5 +573,5 @@ This document was reviewed and revised b[](#l12.21) scripts with a localhost server, I have to prevent urllib2 from using[](#l12.22) the proxy.[](#l12.23) .. [#] urllib2 opener for SSL proxy (CONNECT method): ASPN Cookbook Recipe

--- a/Doc/install/index.rst +++ b/Doc/install/index.rst @@ -1009,7 +1009,7 @@ section :ref:inst-config-files.) .. seealso::

@@ -1052,7 +1052,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/).[](#l13.16) +https://sourceforge.net/projects/mingw/files/MinGW/Extension/pexports/).[](#l13.17) .. I don't understand what the next line means. --amk .. (inclusive the references on data structures.) @@ -1090,7 +1090,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

--- a/Doc/library/array.rst +++ b/Doc/library/array.rst @@ -268,7 +268,7 @@ Examples:: Packing and unpacking of External Data Representation (XDR) data as used in some remote procedure call systems.

--- a/Doc/library/bisect.rst +++ b/Doc/library/bisect.rst @@ -62,7 +62,7 @@ The following functions are provided: .. seealso:: `SortedCollection recipe

--- a/Doc/library/codecs.rst +++ b/Doc/library/codecs.rst @@ -1273,7 +1273,7 @@ parameters, such as :mod:httplib and : (:mod:httplib 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[](#l16.7) +.. _section 3.1: https://tools.ietf.org/html/rfc3490#section-3.1[](#l16.8) When receiving host names from the wire (such as in reverse name lookup), no automatic conversion to Unicode is performed: Applications wishing to present

--- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -196,9 +196,9 @@ counts, but the output will exclude resu .. seealso::

in Smalltalk. @@ -785,7 +785,7 @@ and more efficient to use a simple class .. seealso::

@@ -828,7 +828,7 @@ semantics pass-in keyword arguments usin .. seealso::

:class:OrderedDict Examples and Recipes @@ -1040,7 +1040,7 @@ Notes on using :class:Set and :class:` .. seealso::

--- a/Doc/library/colorsys.rst +++ b/Doc/library/colorsys.rst @@ -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

The :mod:colorsys module defines the following functions:

--- a/Doc/library/cookielib.rst +++ b/Doc/library/cookielib.rst @@ -122,7 +122,7 @@ The following classes are provided: HTTP cookie classes, principally useful for server-side code. The :mod:cookielib and :mod:Cookie modules do not depend on each other.

--- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -515,7 +515,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

--- a/Doc/library/difflib.rst +++ b/Doc/library/difflib.rst @@ -594,7 +594,7 @@ If you want to know how to change the fi work. * `Simple version control recipe

--- a/Doc/library/htmllib.rst +++ b/Doc/library/htmllib.rst @@ -64,7 +64,7 @@ The module defines a parser class and an .. class:: HTMLParser(formatter) This is the basic HTML parser class. It supports all entity names required by

--- a/Doc/library/htmlparser.rst +++ b/Doc/library/htmlparser.rst @@ -148,8 +148,8 @@ implementations do nothing (except for : and quotes in the value have been removed, and character and entity references have been replaced.

--- a/Doc/library/imaplib.rst +++ b/Doc/library/imaplib.rst @@ -125,7 +125,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

.. _imap4-objects:

--- a/Doc/library/json.rst +++ b/Doc/library/json.rst @@ -613,7 +613,7 @@ when serializing instances of "exotic" n .. rubric:: Footnotes .. [#rfc-errata] As noted in `the errata for RFC 7159

--- a/Doc/library/mailbox.rst +++ b/Doc/library/mailbox.rst @@ -409,7 +409,7 @@ 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.

@@ -677,10 +677,10 @@ Maildir, mbox, MH, Babyl, and MMDF. .. seealso::

--- 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

--- a/Doc/library/othergui.rst +++ b/Doc/library/othergui.rst @@ -25,12 +25,12 @@ available for Python: book, GUI Programming with Python: QT Edition[](#l28.4) <https://www.commandprompt.com/community/pyqt/>_ by Boudewijn Rempt. The PyQt4 bindings also have a book, `Rapid GUI Programming

wxPython <http://www.wxpython.org>_ wxPython is a cross-platform GUI toolkit for Python that is built around

--- a/Doc/library/pyexpat.rst +++ b/Doc/library/pyexpat.rst @@ -911,6 +911,6 @@ The errors object 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

--- a/Doc/library/select.rst +++ b/Doc/library/select.rst @@ -305,7 +305,7 @@ Kqueue Objects Kevent Objects -------------- -http://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2[](#l30.7) +https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2[](#l30.8) .. attribute:: kevent.ident

--- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -55,7 +55,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 @@ -101,7 +101,7 @@ This example uses the iterator form:: The pysqlite web page -- sqlite3 is developed externally under the name "pysqlite".

--- 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

Alert Descriptions from :rfc:5246 and others. The `IANA TLS Alert Registry

@@ -1722,7 +1722,7 @@ enabled when negotiating a SSL session i :meth:SSLContext.set_ciphers method. Starting from Python 2.7.9, 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. @@ -1764,5 +1764,5 @@ successful call of :func:~ssl.RAND_add RFC 6066: Transport Layer Security (TLS) Extensions <https://tools.ietf.org/html/rfc6066>_ D. Eastlake

--- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -229,7 +229,7 @@ details. Documentation of the higher-level archiving facilities provided by the standard :mod:shutil module.

--- a/Doc/library/tkinter.rst +++ b/Doc/library/tkinter.rst @@ -26,13 +26,13 @@ is maintained at ActiveState.) TKDocs <http://www.tkdocs.com/>_ Extensive tutorial plus friendlier widget pages for some of the widgets.

--- a/Doc/library/ttk.rst +++ b/Doc/library/ttk.rst @@ -21,7 +21,7 @@ implementing a widget's behavior from th .. seealso::

--- a/Doc/library/urllib2.rst +++ b/Doc/library/urllib2.rst @@ -64,7 +64,7 @@ The :mod:urllib2 module defines the fo * :meth:info --- return the meta-information of the page, such as headers, in the form of an :class:mimetools.Message instance

* :meth:getcode --- return the HTTP status code of the response.

--- a/Doc/library/urlparse.rst +++ b/Doc/library/urlparse.rst @@ -258,7 +258,7 @@ The :mod:urlparse module defines the f .. doctest::

--- a/Doc/library/xml.dom.minidom.rst +++ b/Doc/library/xml.dom.minidom.rst @@ -107,7 +107,7 @@ eventually take care of the objects in t .. seealso::

@@ -275,5 +275,5 @@ utility to most DOM users. .. [#] The encoding string included in XML output should conform to the appropriate standards. For example, "UTF-8" is valid, but "UTF8" is

--- a/Doc/library/xml.dom.rst +++ b/Doc/library/xml.dom.rst @@ -73,10 +73,10 @@ implementations are free to support the .. seealso::

@@ -136,7 +136,7 @@ Some convenience constants are also prov The namespace URI for namespace declarations, as defined by `Document Object Model (DOM) Level 2 Core Specification

@@ -144,7 +144,7 @@ Some convenience constants are also prov .. data:: XHTML_NAMESPACE The URI of the XHTML namespace as defined by `XHTML 1.0: The Extensible

@@ -895,7 +895,7 @@ attribute. .. exception:: NamespaceErr If an attempt is made to change any object in a way that is not permitted with

--- a/Doc/library/xml.etree.elementtree.rst +++ b/Doc/library/xml.etree.elementtree.rst @@ -274,7 +274,7 @@ If the XML input has namespaces[](#l40.3) with prefixes in the form ``prefix:sometag`` get expanded to[](#l40.4) ``{uri}sometag`` where the *prefix* is replaced by the full *URI*.[](#l40.5) Also, if there is a default namespace -http://www.w3.org/TR/2006/REC-xml-names-20060816/#defaulting__,[](#l40.7) +<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 @@ -345,7 +345,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. @@ -1032,5 +1032,5 @@ This is an example of counting the maxim .. [#] The encoding string included in XML output should conform to the appropriate standards. For example, "UTF-8" is valid, but "UTF8" is

--- a/Doc/library/xmlrpclib.rst +++ b/Doc/library/xmlrpclib.rst @@ -334,7 +334,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

@@ -614,7 +614,7 @@ See :ref:simplexmlrpcserver-example. .. rubric:: Footnotes .. [#] This approach has been first presented in `a discussion on xmlrpc.com

--- a/Doc/license.rst +++ b/Doc/license.rst @@ -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.

--- a/Doc/tutorial/interactive.rst +++ b/Doc/tutorial/interactive.rst @@ -170,6 +170,6 @@ bpython_. :ref:tut-customize. -.. _GNU Readline: http://tiswww.case.edu/php/chet/readline/rltop.html[](#l43.7) +.. _GNU Readline: https://tiswww.case.edu/php/chet/readline/rltop.html[](#l43.8) .. _IPython: http://ipython.scipy.org/[](#l43.9) .. _bpython: http://www.bpython-interpreter.org/[](#l43.10)

--- a/Doc/tutorial/whatnow.rst +++ b/Doc/tutorial/whatnow.rst @@ -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.)

--- a/Doc/using/mac.rst +++ b/Doc/using/mac.rst @@ -72,7 +72,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/).[](#l45.10) @@ -151,9 +151,9 @@ the foundation of most modern Mac develo available from https://pythonhosted.org/pyobjc/.[](#l45.13) 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.[](#l45.23)

--- a/Doc/using/unix.rst +++ b/Doc/using/unix.rst @@ -55,7 +55,7 @@ On FreeBSD and OpenBSD On OpenSolaris -------------- -You can get Python from OpenCSW <http://www.opencsw.org/>. Various versions +You can get Python from OpenCSW <https://www.opencsw.org/>. Various versions of Python are available and can be installed with e.g. pkgutil -i python27. @@ -143,10 +143,10 @@ Vim and Emacs are excellent editors whic information on how to code in Python in these editors, look at:

--- a/Doc/using/windows.rst +++ b/Doc/using/windows.rst @@ -31,7 +31,7 @@ Check :pep:11 for details on all unsup following releases), this support was dropped and new releases are just expected to work on the Windows NT family.

--- a/Doc/whatsnew/2.0.rst +++ b/Doc/whatsnew/2.0.rst @@ -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/.[](#l48.7) +Python's project page, located at https://sourceforge.net/projects/python/.[](#l48.8) 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.

--- a/Doc/whatsnew/2.2.rst +++ b/Doc/whatsnew/2.2.rst @@ -632,10 +632,10 @@ queen threatens another) and the Knight' every square of an NxNNxNNxN 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"

--- a/Doc/whatsnew/2.3.rst +++ b/Doc/whatsnew/2.3.rst @@ -218,10 +218,10 @@ queen threatens another) and the Knight' every square of an NxNNxNNxN 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"

--- a/Doc/whatsnew/2.5.rst +++ b/Doc/whatsnew/2.5.rst @@ -1528,7 +1528,7 @@ complete list of changes, or look throug

--- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -152,9 +152,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[](#l52.5) <https://www.atlassian.com/software/jira/>, -Launchpad <https://www.launchpad.net>, +Launchpad <https://launchpad.net/>, Roundup <http://roundup.sourceforge.net/>, and -Trac <http://trac.edgewall.org/>. +Trac <https://trac.edgewall.org/>. 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 @@ -1427,7 +1427,7 @@ one, :func:math.trunc, that's been bac :pep:3141 - A Type Hierarchy for Numbers PEP written by Jeffrey Yasskin.

@@ -2885,7 +2885,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 <http://www.openssl.org/>__ library. +built atop the OpenSSL <https://www.openssl.org/>__ 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

--- a/Doc/whatsnew/2.7.rst +++ b/Doc/whatsnew/2.7.rst @@ -1157,7 +1157,7 @@ changes, or look through the Subversion

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -231,6 +231,8 @@ IDLE Documentation ------------- +- Issue #26736: Used HTTPS for external links in the documentation if possible. +