Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
1acbf853
Commit
1acbf853
authored
May 07, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Plain Diff
Issue #26736: Used HTTPS for external links in the documentation if possible.
parents
a5f3a507
6dff0205
Changes
66
Hide whitespace changes
Inline
Side-by-side
Showing
66 changed files
with
140 additions
and
138 deletions
+140
-138
Doc/c-api/init.rst
Doc/c-api/init.rst
+1
-1
Doc/faq/design.rst
Doc/faq/design.rst
+1
-1
Doc/faq/extending.rst
Doc/faq/extending.rst
+1
-1
Doc/faq/general.rst
Doc/faq/general.rst
+1
-1
Doc/faq/gui.rst
Doc/faq/gui.rst
+3
-3
Doc/faq/programming.rst
Doc/faq/programming.rst
+8
-8
Doc/faq/windows.rst
Doc/faq/windows.rst
+1
-1
Doc/howto/functional.rst
Doc/howto/functional.rst
+3
-3
Doc/howto/logging-cookbook.rst
Doc/howto/logging-cookbook.rst
+2
-2
Doc/howto/pyporting.rst
Doc/howto/pyporting.rst
+2
-2
Doc/howto/unicode.rst
Doc/howto/unicode.rst
+1
-1
Doc/howto/urllib2.rst
Doc/howto/urllib2.rst
+3
-3
Doc/install/index.rst
Doc/install/index.rst
+3
-3
Doc/library/array.rst
Doc/library/array.rst
+1
-1
Doc/library/bisect.rst
Doc/library/bisect.rst
+1
-1
Doc/library/codecs.rst
Doc/library/codecs.rst
+1
-1
Doc/library/collections.abc.rst
Doc/library/collections.abc.rst
+1
-1
Doc/library/collections.rst
Doc/library/collections.rst
+3
-3
Doc/library/colorsys.rst
Doc/library/colorsys.rst
+1
-1
Doc/library/datetime.rst
Doc/library/datetime.rst
+2
-2
Doc/library/difflib.rst
Doc/library/difflib.rst
+1
-1
Doc/library/hashlib.rst
Doc/library/hashlib.rst
+1
-1
Doc/library/html.entities.rst
Doc/library/html.entities.rst
+1
-1
Doc/library/html.parser.rst
Doc/library/html.parser.rst
+2
-2
Doc/library/http.cookiejar.rst
Doc/library/http.cookiejar.rst
+1
-1
Doc/library/http.rst
Doc/library/http.rst
+1
-1
Doc/library/imaplib.rst
Doc/library/imaplib.rst
+1
-1
Doc/library/ipaddress.rst
Doc/library/ipaddress.rst
+2
-2
Doc/library/json.rst
Doc/library/json.rst
+1
-1
Doc/library/mailbox.rst
Doc/library/mailbox.rst
+3
-3
Doc/library/mimetypes.rst
Doc/library/mimetypes.rst
+1
-1
Doc/library/othergui.rst
Doc/library/othergui.rst
+2
-2
Doc/library/pyexpat.rst
Doc/library/pyexpat.rst
+2
-2
Doc/library/select.rst
Doc/library/select.rst
+1
-1
Doc/library/sqlite3.rst
Doc/library/sqlite3.rst
+3
-3
Doc/library/ssl.rst
Doc/library/ssl.rst
+7
-7
Doc/library/statistics.rst
Doc/library/statistics.rst
+1
-1
Doc/library/sys.rst
Doc/library/sys.rst
+1
-1
Doc/library/tarfile.rst
Doc/library/tarfile.rst
+1
-1
Doc/library/tkinter.rst
Doc/library/tkinter.rst
+3
-3
Doc/library/tkinter.ttk.rst
Doc/library/tkinter.ttk.rst
+1
-1
Doc/library/unittest.mock-examples.rst
Doc/library/unittest.mock-examples.rst
+2
-2
Doc/library/unittest.rst
Doc/library/unittest.rst
+1
-1
Doc/library/urllib.request.rst
Doc/library/urllib.request.rst
+2
-2
Doc/library/xml.dom.minidom.rst
Doc/library/xml.dom.minidom.rst
+3
-3
Doc/library/xml.dom.rst
Doc/library/xml.dom.rst
+6
-6
Doc/library/xml.etree.elementtree.rst
Doc/library/xml.etree.elementtree.rst
+4
-4
Doc/library/xmlrpc.client.rst
Doc/library/xmlrpc.client.rst
+2
-2
Doc/license.rst
Doc/license.rst
+3
-3
Doc/reference/lexical_analysis.rst
Doc/reference/lexical_analysis.rst
+1
-1
Doc/tutorial/floatingpoint.rst
Doc/tutorial/floatingpoint.rst
+1
-1
Doc/tutorial/interactive.rst
Doc/tutorial/interactive.rst
+1
-1
Doc/tutorial/stdlib.rst
Doc/tutorial/stdlib.rst
+1
-1
Doc/tutorial/whatnow.rst
Doc/tutorial/whatnow.rst
+2
-2
Doc/using/mac.rst
Doc/using/mac.rst
+3
-3
Doc/using/unix.rst
Doc/using/unix.rst
+4
-4
Doc/using/windows.rst
Doc/using/windows.rst
+2
-2
Doc/whatsnew/2.0.rst
Doc/whatsnew/2.0.rst
+1
-1
Doc/whatsnew/2.2.rst
Doc/whatsnew/2.2.rst
+2
-2
Doc/whatsnew/2.3.rst
Doc/whatsnew/2.3.rst
+2
-2
Doc/whatsnew/2.5.rst
Doc/whatsnew/2.5.rst
+3
-3
Doc/whatsnew/2.6.rst
Doc/whatsnew/2.6.rst
+4
-4
Doc/whatsnew/2.7.rst
Doc/whatsnew/2.7.rst
+5
-5
Doc/whatsnew/3.2.rst
Doc/whatsnew/3.2.rst
+5
-5
Doc/whatsnew/3.4.rst
Doc/whatsnew/3.4.rst
+1
-1
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Doc/c-api/init.rst
View file @
1acbf853
...
@@ -366,7 +366,7 @@ Process-wide parameters
...
@@ -366,7 +366,7 @@ Process-wide parameters
It is recommended that applications embedding the Python interpreter
It is recommended that applications embedding the Python interpreter
for purposes other than executing a single script pass 0 as *updatepath*,
for purposes other than executing a single script pass 0 as *updatepath*,
and update :data:`sys.path` themselves if desired.
and update :data:`sys.path` themselves if desired.
See `CVE-2008-5983 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983>`_.
See `CVE-2008-5983 <http
s
://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983>`_.
On versions before 3.1.3, you can achieve the same effect by manually
On versions before 3.1.3, you can achieve the same effect by manually
popping the first :data:`sys.path` element after having called
popping the first :data:`sys.path` element after having called
...
...
Doc/faq/design.rst
View file @
1acbf853
...
@@ -368,7 +368,7 @@ Can Python be compiled to machine code, C or some other language?
...
@@ -368,7 +368,7 @@ Can Python be compiled to machine code, C or some other language?
Practical answer:
Practical answer:
`Cython <http://cython.org/>`_ and `Pyrex <http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/>`_
`Cython <http://cython.org/>`_ and `Pyrex <http
s
://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/>`_
compile a modified version of Python with optional annotations into C
compile a modified version of Python with optional annotations into C
extensions. `Weave <https://scipy.github.io/devdocs/tutorial/weave.html>`_ makes it easy to
extensions. `Weave <https://scipy.github.io/devdocs/tutorial/weave.html>`_ makes it easy to
intermingle Python and C code in various ways to increase performance.
intermingle Python and C code in various ways to increase performance.
...
...
Doc/faq/extending.rst
View file @
1acbf853
...
@@ -42,7 +42,7 @@ on what you're trying to do.
...
@@ -42,7 +42,7 @@ on what you're trying to do.
.. XXX make sure these all work
.. XXX make sure these all work
`Cython <http://cython.org>`_ and its relative `Pyrex
`Cython <http://cython.org>`_ and its relative `Pyrex
<http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/>`_ are compilers
<http
s
://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/>`_ are compilers
that accept a slightly modified form of Python and generate the corresponding
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
C code. Cython and Pyrex make it possible to write an extension without having
to learn Python's C API.
to learn Python's C API.
...
...
Doc/faq/general.rst
View file @
1acbf853
...
@@ -271,7 +271,7 @@ Where in the world is www.python.org located?
...
@@ -271,7 +271,7 @@ Where in the world is www.python.org located?
The Python project's infrastructure is located all over the world.
The Python project's infrastructure is located all over the world.
`www.python.org <https://www.python.org>`_ is graciously hosted by `Rackspace
`www.python.org <https://www.python.org>`_ is graciously hosted by `Rackspace
<http://www.rackspace.com>`_, with CDN caching provided by `Fastly
<http
s
://www.rackspace.com>`_, with CDN caching provided by `Fastly
<https://www.fastly.com>`_. `Upfront Systems
<https://www.fastly.com>`_. `Upfront Systems
<http://www.upfrontsystems.co.za/>`_ hosts `bugs.python.org
<http://www.upfrontsystems.co.za/>`_ hosts `bugs.python.org
<https://bugs.python.org>`_. Many other Python services like `the Wiki
<https://bugs.python.org>`_. Many other Python services like `the Wiki
...
...
Doc/faq/gui.rst
View file @
1acbf853
...
@@ -31,13 +31,13 @@ widget set, called :ref:`tkinter <Tkinter>`. This is probably the easiest to
...
@@ -31,13 +31,13 @@ widget set, called :ref:`tkinter <Tkinter>`. This is probably the easiest to
install (since it comes included with most
install (since it comes included with most
`binary distributions <https://www.python.org/downloads/>`_ of Python) and use.
`binary distributions <https://www.python.org/downloads/>`_ of Python) and use.
For more info about Tk, including pointers to the source, see the
For more info about Tk, including pointers to the source, see the
`Tcl/Tk home page <http://www.tcl.tk>`_. Tcl/Tk is fully portable to the
`Tcl/Tk home page <http
s
://www.tcl.tk>`_. Tcl/Tk is fully portable to the
Mac OS X, Windows, and Unix platforms.
Mac OS X, Windows, and Unix platforms.
wxWidgets
wxWidgets
---------
---------
wxWidgets (http://www.wxwidgets.org) is a free, portable GUI class
wxWidgets (http
s
://www.wxwidgets.org) is a free, portable GUI class
library written in C++ that provides a native look and feel on a
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
number of platforms, with Windows, Mac OS X, GTK, X11, all listed as
current stable targets. Language bindings are available for a number
current stable targets. Language bindings are available for a number
...
@@ -72,7 +72,7 @@ Gtk+
...
@@ -72,7 +72,7 @@ Gtk+
The `GObject introspection bindings <https://wiki.gnome.org/Projects/PyGObject>`_
The `GObject introspection bindings <https://wiki.gnome.org/Projects/PyGObject>`_
for Python allow you to write GTK+ 3 applications. There is also a
for Python allow you to write GTK+ 3 applications. There is also a
`Python GTK+ 3 Tutorial <http://python-gtk-3-tutorial.readthedocs.org/en/latest/>`_.
`Python GTK+ 3 Tutorial <http
s
://python-gtk-3-tutorial.readthedocs.org/en/latest/>`_.
The older PyGtk bindings for the `Gtk+ 2 toolkit <http://www.gtk.org>`_ have
The older PyGtk bindings for the `Gtk+ 2 toolkit <http://www.gtk.org>`_ have
been implemented by James Henstridge; see <http://www.pygtk.org>.
been implemented by James Henstridge; see <http://www.pygtk.org>.
...
...
Doc/faq/programming.rst
View file @
1acbf853
...
@@ -28,9 +28,9 @@ graphical debugger.
...
@@ -28,9 +28,9 @@ graphical debugger.
PythonWin is a Python IDE that includes a GUI debugger based on pdb. The
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
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
debugging non-Pythonwin programs. Pythonwin is available as part of the `Python
for Windows Extensions <http://sourceforge.net/projects/pywin32/>`__ project and
for Windows Extensions <http
s
://sourceforge.net/projects/pywin32/>`__ project and
as a part of the ActivePython distribution (see
as a part of the ActivePython distribution (see
http://www.activestate.com/activepython\ ).
http
s
://www.activestate.com/activepython\ ).
`Boa Constructor <http://boa-constructor.sourceforge.net/>`_ is an IDE and GUI
`Boa Constructor <http://boa-constructor.sourceforge.net/>`_ is an IDE and GUI
builder that uses wxWidgets. It offers visual frame creation and manipulation,
builder that uses wxWidgets. It offers visual frame creation and manipulation,
...
@@ -44,13 +44,13 @@ and the Scintilla editing component.
...
@@ -44,13 +44,13 @@ and the Scintilla editing component.
Pydb is a version of the standard Python debugger pdb, modified for use with DDD
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
(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
found at http://bashdb.sourceforge.net/pydb/ and DDD can be found at
http://www.gnu.org/software/ddd.
http
s
://www.gnu.org/software/ddd.
There are a number of commercial Python IDEs that include graphical debuggers.
There are a number of commercial Python IDEs that include graphical debuggers.
They include:
They include:
* Wing IDE (http://wingware.com/)
* Wing IDE (http
s
://wingware.com/)
* Komodo IDE (http://komodoide.com/)
* Komodo IDE (http
s
://komodoide.com/)
* PyCharm (https://www.jetbrains.com/pycharm/)
* PyCharm (https://www.jetbrains.com/pycharm/)
...
@@ -63,13 +63,13 @@ PyChecker is a static analysis tool that finds bugs in Python source code and
...
@@ -63,13 +63,13 @@ PyChecker is a static analysis tool that finds bugs in Python source code and
warns about code complexity and style. You can get PyChecker from
warns about code complexity and style. You can get PyChecker from
http://pychecker.sourceforge.net/.
http://pychecker.sourceforge.net/.
`Pylint <http://www.pylint.org/>`_ is another tool that checks
`Pylint <http
s
://www.pylint.org/>`_ is another tool that checks
if a module satisfies a coding standard, and also makes it possible to write
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
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
PyChecker performs, Pylint offers some additional features such as checking line
length, whether variable names are well-formed according to your coding
length, whether variable names are well-formed according to your coding
standard, whether declared interfaces are fully implemented, and more.
standard, whether declared interfaces are fully implemented, and more.
http://docs.pylint.org/ provides a full list of Pylint's features.
http
s
://docs.pylint.org/ provides a full list of Pylint's features.
How can I create a stand-alone binary from a Python script?
How can I create a stand-alone binary from a Python script?
...
@@ -1116,7 +1116,7 @@ How do you remove duplicates from a list?
...
@@ -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:
See the Python Cookbook for a long discussion of many ways to do this:
http://code.activestate.com/recipes/52560/
http
s
://code.activestate.com/recipes/52560/
If you don't mind reordering the list, sort it and then scan from the end of the
If you don't mind reordering the list, sort it and then scan from the end of the
list, deleting duplicates as you go::
list, deleting duplicates as you go::
...
...
Doc/faq/windows.rst
View file @
1acbf853
...
@@ -340,5 +340,5 @@ This is a mistake; the extension should be .TGZ.
...
@@ -340,5 +340,5 @@ This is a mistake; the extension should be .TGZ.
Simply rename the downloaded file to have the .TGZ extension, and WinZip will be
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
able to handle it. (If your copy of WinZip doesn't, get a newer one from
http://www.winzip.com.)
http
s
://www.winzip.com.)
Doc/howto/functional.rst
View file @
1acbf853
...
@@ -1225,9 +1225,9 @@ Text Processing".
...
@@ -1225,9 +1225,9 @@ Text Processing".
Mertz also wrote a 3-part series of articles on functional programming
Mertz also wrote a 3-part series of articles on functional programming
for IBM's DeveloperWorks site; see
for IBM's DeveloperWorks site; see
`part 1 <http://www.ibm.com/developerworks/linux/library/l-prog/index.html>`__,
`part 1 <http
s
://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 2 <http
s
://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 3 <http
s
://www.ibm.com/developerworks/linux/library/l-prog3/index.html>`__,
Python documentation
Python documentation
...
...
Doc/howto/logging-cookbook.rst
View file @
1acbf853
...
@@ -1634,11 +1634,11 @@ works::
...
@@ -1634,11 +1634,11 @@ works::
Inserting a BOM into messages sent to a SysLogHandler
Inserting a BOM into messages sent to a SysLogHandler
-----------------------------------------------------
-----------------------------------------------------
`RFC 5424 <http://tools.ietf.org/html/rfc5424>`_ requires that a
`RFC 5424 <http
s
://tools.ietf.org/html/rfc5424>`_ requires that a
Unicode message be sent to a syslog daemon as a set of bytes which have the
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
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
Order Mark (BOM), followed by Unicode encoded using UTF-8. (See the `relevant
section of the specification <http://tools.ietf.org/html/rfc5424#section-6>`_.)
section of the specification <http
s
://tools.ietf.org/html/rfc5424#section-6>`_.)
In Python 3.1, code was added to
In Python 3.1, code was added to
:class:`~logging.handlers.SysLogHandler` to insert a BOM into the message, but
:class:`~logging.handlers.SysLogHandler` to insert a BOM into the message, but
...
...
Doc/howto/pyporting.rst
View file @
1acbf853
...
@@ -427,10 +427,10 @@ supported by Python 2. You should also update the classifiers in your
...
@@ -427,10 +427,10 @@ supported by Python 2. You should also update the classifiers in your
.. _Futurize: http://python-future.org/automatic_conversion.html
.. _Futurize: http://python-future.org/automatic_conversion.html
.. _importlib: https://docs.python.org/3/library/importlib.html#module-importlib
.. _importlib: https://docs.python.org/3/library/importlib.html#module-importlib
.. _importlib2: https://pypi.python.org/pypi/importlib2
.. _importlib2: https://pypi.python.org/pypi/importlib2
.. _Modernize: http://python-modernize.readthedocs.org/en/latest/
.. _Modernize: http
s
://python-modernize.readthedocs.org/en/latest/
.. _Porting to Python 3: http://python3porting.com/
.. _Porting to Python 3: http://python3porting.com/
.. _Pylint: https://pypi.python.org/pypi/pylint
.. _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: http
s
://ncoghlan-devs-python-notes.readthedocs.org/en/latest/python3/questions_and_answers.html
.. _python-future: http://python-future.org/
.. _python-future: http://python-future.org/
.. _python-porting: https://mail.python.org/mailman/listinfo/python-porting
.. _python-porting: https://mail.python.org/mailman/listinfo/python-porting
...
...
Doc/howto/unicode.rst
View file @
1acbf853
...
@@ -214,7 +214,7 @@ difficult reading. `A chronology <http://www.unicode.org/history/>`_ of the
...
@@ -214,7 +214,7 @@ difficult reading. `A chronology <http://www.unicode.org/history/>`_ of the
origin and development of Unicode is also available on the site.
origin and development of Unicode is also available on the site.
To help understand the standard, Jukka Korpela has written `an introductory
To help understand the standard, Jukka Korpela has written `an introductory
guide <http://www.cs.tut.fi/~jkorpela/unicode/guide.html>`_ to reading the
guide <http
s
://www.cs.tut.fi/~jkorpela/unicode/guide.html>`_ to reading the
Unicode character tables.
Unicode character tables.
Another `good introductory article <http://www.joelonsoftware.com/articles/Unicode.html>`_
Another `good introductory article <http://www.joelonsoftware.com/articles/Unicode.html>`_
...
...
Doc/howto/urllib2.rst
View file @
1acbf853
...
@@ -122,7 +122,7 @@ library. ::
...
@@ -122,7 +122,7 @@ library. ::
Note that other encodings are sometimes required (e.g. for file upload from HTML
Note that other encodings are sometimes required (e.g. for file upload from HTML
forms - see `HTML Specification, Form Submission
forms - see `HTML Specification, Form Submission
<http:
//
www
.
w3
.
org
/
TR
/
REC-html40
/
interact
/
forms
.
html#h-17
.
13
>
`_ for more
<http
s
:
//
www
.
w3
.
org
/
TR
/
REC-html40
/
interact
/
forms
.
html#h-17
.
13
>
`_ for more
details).
details).
If you do not pass the ``data`` argument, urllib uses a **GET** request. One
If you do not pass the ``data`` argument, urllib uses a **GET** request. One
...
@@ -403,7 +403,7 @@ fetched, particularly the headers sent by the server. It is currently an
...
@@ -403,7 +403,7 @@ fetched, particularly the headers sent by the server. It is currently an
:class:`http.client.HTTPMessage` instance.
:class:`http.client.HTTPMessage` instance.
Typical headers include 'Content-length', 'Content-type', and so on. See the
Typical headers include 'Content-length', 'Content-type', and so on. See the
`Quick Reference to HTTP Headers
<http:
//
www
.
cs
.
tut
.
fi
/~
jkorpela
/
http
.
html
>
`_
`Quick Reference to HTTP Headers
<http
s
:
//
www
.
cs
.
tut
.
fi
/~
jkorpela
/
http
.
html
>
`_
for a useful listing of HTTP headers with brief explanations of their meaning
for a useful listing of HTTP headers with brief explanations of their meaning
and use.
and use.
...
@@ -586,5 +586,5 @@ This document was reviewed and revised by John Lee.
...
@@ -586,5 +586,5 @@ This document was reviewed and revised by John Lee.
scripts with a localhost server, I have to prevent urllib from using
scripts with a localhost server, I have to prevent urllib from using
the proxy.
the proxy.
.. [#] urllib opener for SSL proxy (CONNECT method): `ASPN Cookbook Recipe
.. [#] urllib opener for SSL proxy (CONNECT method): `ASPN Cookbook Recipe
<http:
//
code
.
activestate
.
com
/
recipes
/
456195
/>
`_.
<http
s
:
//
code
.
activestate
.
com
/
recipes
/
456195
/>
`_.
Doc/install/index.rst
View file @
1acbf853
...
@@ -1012,7 +1012,7 @@ section :ref:`inst-config-files`.)
...
@@ -1012,7 +1012,7 @@ section :ref:`inst-config-files`.)
.. seealso::
.. seealso::
`C++Builder Compiler <http
://www.embarcadero.com/download
s>`_
`C++Builder Compiler <http
s://www.embarcadero.com/product
s>`_
Information about the free C++ compiler from Borland, including links to the
Information about the free C++ compiler from Borland, including links to the
download pages.
download pages.
...
@@ -1055,7 +1055,7 @@ These compilers require some special libraries. This task is more complex than
...
@@ -1055,7 +1055,7 @@ These compilers require some special libraries. This task is more complex than
for Borland's C++, because there is no program to convert the library. First
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
you have to create a list of symbols which the Python DLL exports. (You can find
a good program for this task at
a good program for this task at
http://sourceforge.net/projects/mingw/files/MinGW/Extension/pexports/).
http
s
://sourceforge.net/projects/mingw/files/MinGW/Extension/pexports/).
.. I don't understand what the next line means. --amk
.. I don't understand what the next line means. --amk
.. (inclusive the references on data structures.)
.. (inclusive the references on data structures.)
...
@@ -1093,7 +1093,7 @@ normal libraries do.
...
@@ -1093,7 +1093,7 @@ normal libraries do.
.. [#] This also means you could replace all existing COFF-libraries with OMF-libraries
.. [#] This also means you could replace all existing COFF-libraries with OMF-libraries
of the same name.
of the same name.
.. [#] Check http://www.sourceware.org/cygwin/ and http://www.mingw.org/ for more
.. [#] Check http
s
://www.sourceware.org/cygwin/ and http://www.mingw.org/ for more
information
information
.. [#] Then you have no POSIX emulation available, but you also don't need
.. [#] Then you have no POSIX emulation available, but you also don't need
...
...
Doc/library/array.rst
View file @
1acbf853
...
@@ -271,7 +271,7 @@ Examples::
...
@@ -271,7 +271,7 @@ Examples::
Packing and unpacking of External Data Representation (XDR) data as used in some
Packing and unpacking of External Data Representation (XDR) data as used in some
remote procedure call systems.
remote procedure call systems.
`The Numerical Python Documentation <http://docs.scipy.org/doc/>`_
`The Numerical Python Documentation <http
s
://docs.scipy.org/doc/>`_
The Numeric Python extension (NumPy) defines another array type; see
The Numeric Python extension (NumPy) defines another array type; see
http://www.numpy.org/ for further information about Numerical Python.
http://www.numpy.org/ for further information about Numerical Python.
Doc/library/bisect.rst
View file @
1acbf853
...
@@ -60,7 +60,7 @@ The following functions are provided:
...
@@ -60,7 +60,7 @@ The following functions are provided:
.. seealso::
.. seealso::
`SortedCollection recipe
`SortedCollection recipe
<http://code.activestate.com/recipes/577197-sortedcollection/>`_ that uses
<http
s
://code.activestate.com/recipes/577197-sortedcollection/>`_ that uses
bisect to build a full-featured collection class with straight-forward search
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
methods and support for a key-function. The keys are precomputed to save
unnecessary calls to the key function during searches.
unnecessary calls to the key function during searches.
...
...
Doc/library/codecs.rst
View file @
1acbf853
...
@@ -1414,7 +1414,7 @@ parameters, such as :mod:`http.client` and :mod:`ftplib`, accept Unicode host
...
@@ -1414,7 +1414,7 @@ parameters, such as :mod:`http.client` and :mod:`ftplib`, accept Unicode host
names (:mod:`http.client` then also transparently sends an IDNA hostname in the
names (:mod:`http.client` then also transparently sends an IDNA hostname in the
:mailheader:`Host`
field if it sends that field at all).
: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: http
s
://tools.ietf.org/html/rfc3490#section-3.1
When receiving host names from the wire (such as in reverse name lookup), no
When receiving host names from the wire (such as in reverse name lookup), no
automatic conversion to Unicode is performed: Applications wishing to present
automatic conversion to Unicode is performed: Applications wishing to present
...
...
Doc/library/collections.abc.rst
View file @
1acbf853
...
@@ -270,7 +270,7 @@ Notes on using :class:`Set` and :class:`MutableSet` as a mixin:
...
@@ -270,7 +270,7 @@ Notes on using :class:`Set` and :class:`MutableSet` as a mixin:
.. seealso::
.. seealso::
* `OrderedSet recipe <http://code.activestate.com/recipes/576694/>`_ for an
* `OrderedSet recipe <http
s
://code.activestate.com/recipes/576694/>`_ for an
example built on :class:`MutableSet`.
example built on :class:`MutableSet`.
* For more about ABCs, see the :mod:`abc` module and :pep:`3119`.
* For more about ABCs, see the :mod:`abc` module and :pep:`3119`.
Doc/library/collections.rst
View file @
1acbf853
...
@@ -116,12 +116,12 @@ The class can be used to simulate nested scopes and is useful in templating.
...
@@ -116,12 +116,12 @@ The class can be used to simulate nested scopes and is useful in templating.
:meth:`~collections.ChainMap.parents` property.
:meth:`~collections.ChainMap.parents` property.
* The `Nested Contexts recipe
* The `Nested Contexts recipe
<http://code.activestate.com/recipes/577434/>`_ has options to control
<http
s
://code.activestate.com/recipes/577434/>`_ has options to control
whether writes and other mutations apply only to the first mapping or to
whether writes and other mutations apply only to the first mapping or to
any mapping in the chain.
any mapping in the chain.
* A `greatly simplified read-only version of Chainmap
* A `greatly simplified read-only version of Chainmap
<http://code.activestate.com/recipes/305268/>`_.
<http
s
://code.activestate.com/recipes/305268/>`_.
:class:`ChainMap` Examples and Recipes
:class:`ChainMap` Examples and Recipes
...
@@ -957,7 +957,7 @@ customize a prototype instance:
...
@@ -957,7 +957,7 @@ customize a prototype instance:
.. seealso::
.. seealso::
* `Recipe for named tuple abstract base class with a metaclass mix-in
* `Recipe for named tuple abstract base class with a metaclass mix-in
<http://code.activestate.com/recipes/577629-namedtupleabc-abstract-base-class-mix-in-for-named/>`_
<http
s
://code.activestate.com/recipes/577629-namedtupleabc-abstract-base-class-mix-in-for-named/>`_
by Jan Kaliszewski. Besides providing an :term:`abstract base class` for
by Jan Kaliszewski. Besides providing an :term:`abstract base class` for
named tuples, it also supports an alternate :term:`metaclass`-based
named tuples, it also supports an alternate :term:`metaclass`-based
constructor that is convenient for use cases where named tuples are being
constructor that is convenient for use cases where named tuples are being
...
...
Doc/library/colorsys.rst
View file @
1acbf853
...
@@ -21,7 +21,7 @@ spaces, the coordinates are all between 0 and 1.
...
@@ -21,7 +21,7 @@ spaces, the coordinates are all between 0 and 1.
More information about color spaces can be found at
More information about color spaces can be found at
http://www.poynton.com/ColorFAQ.html and
http://www.poynton.com/ColorFAQ.html and
http://www.cambridgeincolour.com/tutorials/color-spaces.htm.
http
s
://www.cambridgeincolour.com/tutorials/color-spaces.htm.
The :mod:`colorsys` module defines the following functions:
The :mod:`colorsys` module defines the following functions:
...
...
Doc/library/datetime.rst
View file @
1acbf853
...
@@ -562,7 +562,7 @@ Instance methods:
...
@@ -562,7 +562,7 @@ Instance methods:
Return a 3-tuple, (ISO year, ISO week number, ISO weekday).
Return a 3-tuple, (ISO year, ISO week number, ISO weekday).
The ISO calendar is a widely used variant of the Gregorian calendar. See
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
http
s
://www.staff.science.uu.nl/~gent0113/calendar/isocalendar.htm for a good
explanation.
explanation.
The ISO year consists of 52 or 53 full weeks, and where a week starts on a
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 only EDT (fixed offset -4 hours)).
...
@@ -1775,7 +1775,7 @@ only EST (fixed offset -5 hours), or only EDT (fixed offset -4 hours)).
*pytz* library brings the *IANA timezone database* (also known as the
*pytz* library brings the *IANA timezone database* (also known as the
Olson database) to Python and its usage is recommended.
Olson database) to Python and its usage is recommended.
`IANA timezone database <http://www.iana.org/time-zones>`_
`IANA timezone database <http
s
://www.iana.org/time-zones>`_
The Time Zone Database (often called tz or zoneinfo) contains code and
The Time Zone Database (often called tz or zoneinfo) contains code and
data that represent the history of local time for many representative
data that represent the history of local time for many representative
locations around the globe. It is updated periodically to reflect changes
locations around the globe. It is updated periodically to reflect changes
...
...
Doc/library/difflib.rst
View file @
1acbf853
...
@@ -613,7 +613,7 @@ If you want to know how to change the first sequence into the second, use
...
@@ -613,7 +613,7 @@ If you want to know how to change the first sequence into the second, use
work.
work.
* `Simple version control recipe
* `Simple version control recipe
<http://code.activestate.com/recipes/576729/>`_ for a small application
<http
s
://code.activestate.com/recipes/576729/>`_ for a small application
built with :class:`SequenceMatcher`.
built with :class:`SequenceMatcher`.
...
...
Doc/library/hashlib.rst
View file @
1acbf853
...
@@ -232,5 +232,5 @@ include a `salt <https://en.wikipedia.org/wiki/Salt_%28cryptography%29>`_.
...
@@ -232,5 +232,5 @@ include a `salt <https://en.wikipedia.org/wiki/Salt_%28cryptography%29>`_.
Wikipedia article with information on which algorithms have known issues and
Wikipedia article with information on which algorithms have known issues and
what that means regarding their use.
what that means regarding their use.
http://www.ietf.org/rfc/rfc2898.txt
http
s
://www.ietf.org/rfc/rfc2898.txt
PKCS #5: Password-Based Cryptography Specification Version 2.0
PKCS #5: Password-Based Cryptography Specification Version 2.0
Doc/library/html.entities.rst
View file @
1acbf853
...
@@ -43,4 +43,4 @@ This module defines four dictionaries, :data:`html5`,
...
@@ -43,4 +43,4 @@ This module defines four dictionaries, :data:`html5`,
.. rubric:: Footnotes
.. rubric:: Footnotes
.. [#] See http://www.w3.org/TR/html5/syntax.html#named-character-references
.. [#] See http
s
://www.w3.org/TR/html5/syntax.html#named-character-references
Doc/library/html.parser.rst
View file @
1acbf853
...
@@ -131,8 +131,8 @@ implementations do nothing (except for :meth:`~HTMLParser.handle_startendtag`):
...
@@ -131,8 +131,8 @@ implementations do nothing (except for :meth:`~HTMLParser.handle_startendtag`):
and quotes in the *value* have been removed, and character and entity references
and quotes in the *value* have been removed, and character and entity references
have been replaced.
have been replaced.
For instance, for the tag ``
<A
HREF=
"http://www.cwi.nl/"
>
``, this method
For instance, for the tag ``
<A
HREF=
"http
s
://www.cwi.nl/"
>
``, this method
would be called as ``handle_starttag('a', [('href', 'http://www.cwi.nl/')])``.
would be called as ``handle_starttag('a', [('href', 'http
s
://www.cwi.nl/')])``.
All entity references from :mod:`html.entities` are replaced in the attribute
All entity references from :mod:`html.entities` are replaced in the attribute
values.
values.
...
...
Doc/library/http.cookiejar.rst
View file @
1acbf853
...
@@ -115,7 +115,7 @@ The following classes are provided:
...
@@ -115,7 +115,7 @@ The following classes are provided:
:mod:`http.cookiejar` and :mod:`http.cookies` modules do not depend on each
:mod:`http.cookiejar` and :mod:`http.cookies` modules do not depend on each
other.
other.
http://curl.haxx.se/rfc/cookie_spec.html
http
s
://curl.haxx.se/rfc/cookie_spec.html
The specification of the original Netscape cookie protocol. Though this is
The specification of the original Netscape cookie protocol. Though this is
still the dominant protocol, the 'Netscape cookie protocol' implemented by all
still the dominant protocol, the 'Netscape cookie protocol' implemented by all
the major browsers (and :mod:`http.cookiejar`) only bears a passing resemblance to
the major browsers (and :mod:`http.cookiejar`) only bears a passing resemblance to
...
...
Doc/library/http.rst
View file @
1acbf853
...
@@ -51,7 +51,7 @@ HTTP status codes
...
@@ -51,7 +51,7 @@ HTTP status codes
-----------------
-----------------
Supported,
Supported,
`IANA-registered <http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml>`_
`IANA-registered <http
s
://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml>`_
status codes available in :class:`http.HTTPStatus` are:
status codes available in :class:`http.HTTPStatus` are:
======= =================================== ==================================================================
======= =================================== ==================================================================
...
...
Doc/library/imaplib.rst
View file @
1acbf853
...
@@ -157,7 +157,7 @@ example of usage.
...
@@ -157,7 +157,7 @@ example of usage.
Documents describing the protocol, and sources and binaries for servers
Documents describing the protocol, and sources and binaries for servers
implementing it, can all be found at the University of Washington's *IMAP
implementing it, can all be found at the University of Washington's *IMAP
Information Center* (http://www.washington.edu/imap/).
Information Center* (http
s
://www.washington.edu/imap/).
.. _imap4-objects:
.. _imap4-objects:
...
...
Doc/library/ipaddress.rst
View file @
1acbf853
...
@@ -198,8 +198,8 @@ write code that handles both IP versions correctly.
...
@@ -198,8 +198,8 @@ write code that handles both IP versions correctly.
``True`` if the address is reserved for link-local usage. See
``True`` if the address is reserved for link-local usage. See
:RFC:`3927`.
:RFC:`3927`.
.. _iana-ipv4-special-registry: http://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml
.. _iana-ipv4-special-registry: http
s
://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-ipv6-special-registry: http
s
://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml
.. class:: IPv6Address(address)
.. class:: IPv6Address(address)
...
...
Doc/library/json.rst
View file @
1acbf853
...
@@ -689,7 +689,7 @@ Command line options
...
@@ -689,7 +689,7 @@ Command line options
.. rubric:: Footnotes
.. rubric:: Footnotes
.. [#rfc-errata] As noted in `the errata for RFC 7159
.. [#rfc-errata] As noted in `the errata for RFC 7159
<http://www.rfc-editor.org/errata_search.php?rfc=7159>`_,
<http
s
://www.rfc-editor.org/errata_search.php?rfc=7159>`_,
JSON permits literal U+2028 (LINE SEPARATOR) and
JSON permits literal U+2028 (LINE SEPARATOR) and
U+2029 (PARAGRAPH SEPARATOR) characters in strings, whereas JavaScript
U+2029 (PARAGRAPH SEPARATOR) characters in strings, whereas JavaScript
(as of ECMAScript Edition 5.1) does not.
(as of ECMAScript Edition 5.1) does not.
Doc/library/mailbox.rst
View file @
1acbf853
...
@@ -422,7 +422,7 @@ Supported mailbox formats are Maildir, mbox, MH, Babyl, and MMDF.
...
@@ -422,7 +422,7 @@ Supported mailbox formats are Maildir, mbox, MH, Babyl, and MMDF.
`maildir man page from qmail <http://www.qmail.org/man/man5/maildir.html>`_
`maildir man page from qmail <http://www.qmail.org/man/man5/maildir.html>`_
The original specification of the format.
The original specification of the format.
`Using maildir format <http://cr.yp.to/proto/maildir.html>`_
`Using maildir format <http
s
://cr.yp.to/proto/maildir.html>`_
Notes on Maildir by its inventor. Includes an updated name-creation scheme and
Notes on Maildir by its inventor. Includes an updated name-creation scheme and
details on "info" semantics.
details on "info" semantics.
...
@@ -690,10 +690,10 @@ Supported mailbox formats are Maildir, mbox, MH, Babyl, and MMDF.
...
@@ -690,10 +690,10 @@ Supported mailbox formats are Maildir, mbox, MH, Babyl, and MMDF.
.. seealso::
.. seealso::
`Format of Version 5 Babyl Files <http://quimby.gnus.org/notes/BABYL>`_
`Format of Version 5 Babyl Files <http
s
://quimby.gnus.org/notes/BABYL>`_
A specification of the Babyl format.
A specification of the Babyl format.
`Reading Mail with Rmail <http://www.gnu.org/software/emacs/manual/html_node/emacs/Rmail.html>`_
`Reading Mail with Rmail <http
s
://www.gnu.org/software/emacs/manual/html_node/emacs/Rmail.html>`_
The Rmail manual, with some information on Babyl semantics.
The Rmail manual, with some information on Babyl semantics.
...
...
Doc/library/mimetypes.rst
View file @
1acbf853
...
@@ -44,7 +44,7 @@ the information :func:`init` sets up.
...
@@ -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
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
is limited to only the official types `registered with IANA
<http://www.iana.org/assignments/media-types/media-types.xhtml>`_.
<http
s
://www.iana.org/assignments/media-types/media-types.xhtml>`_.
When *strict* is ``True`` (the default), only the IANA types are supported; when
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
*strict* is ``False``, some additional non-standard but commonly used MIME types
are also recognized.
are also recognized.
...
...
Doc/library/othergui.rst
View file @
1acbf853
...
@@ -31,7 +31,7 @@ available for Python:
...
@@ -31,7 +31,7 @@ available for Python:
book, `GUI Programming with Python: QT Edition
book, `GUI Programming with Python: QT Edition
<https://www.commandprompt.com/community/pyqt/>`_ by Boudewijn
<https://www.commandprompt.com/community/pyqt/>`_ by Boudewijn
Rempt. The *PyQt4* bindings also have a book, `Rapid GUI Programming
Rempt. The *PyQt4* bindings also have a book, `Rapid GUI Programming
with Python and Qt <http://www.qtrac.eu/pyqtbook.html>`_, by Mark
with Python and Qt <http
s
://www.qtrac.eu/pyqtbook.html>`_, by Mark
Summerfield.
Summerfield.
`PySide <https://wiki.qt.io/PySide>`_
`PySide <https://wiki.qt.io/PySide>`_
...
@@ -41,7 +41,7 @@ available for Python:
...
@@ -41,7 +41,7 @@ available for Python:
`wxPython <http://www.wxpython.org>`_
`wxPython <http://www.wxpython.org>`_
wxPython is a cross-platform GUI toolkit for Python that is built around
wxPython is a cross-platform GUI toolkit for Python that is built around
the popular `wxWidgets <http://www.wxwidgets.org/>`_ (formerly wxWindows)
the popular `wxWidgets <http
s
://www.wxwidgets.org/>`_ (formerly wxWindows)
C++ toolkit. It provides a native look and feel for applications on
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
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
widgets where ever possible, (GTK+ on Unix-like systems). In addition to
...
...
Doc/library/pyexpat.rst
View file @
1acbf853
...
@@ -867,6 +867,6 @@ The ``errors`` module has the following attributes:
...
@@ -867,6 +867,6 @@ The ``errors`` module has the following attributes:
.. [#] The encoding string included in XML output should conform to the
.. [#] The encoding string included in XML output should conform to the
appropriate standards. For example, "UTF-8" is valid, but "UTF8" is
appropriate standards. For example, "UTF-8" is valid, but "UTF8" is
not. See http://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl
not. See http
s
://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl
and http://www.iana.org/assignments/character-sets/character-sets.xhtml.
and http
s
://www.iana.org/assignments/character-sets/character-sets.xhtml.
Doc/library/select.rst
View file @
1acbf853
...
@@ -472,7 +472,7 @@ Kqueue Objects
...
@@ -472,7 +472,7 @@ Kqueue Objects
Kevent Objects
Kevent Objects
--------------
--------------
http://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2
http
s
://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2
.. attribute:: kevent.ident
.. attribute:: kevent.ident
...
...
Doc/library/sqlite3.rst
View file @
1acbf853
...
@@ -53,7 +53,7 @@ The data you've saved is persistent and is available in subsequent sessions::
...
@@ -53,7 +53,7 @@ The data you've saved is persistent and is available in subsequent sessions::
Usually your SQL operations will need to use values from Python variables. You
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
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
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 http
s
://xkcd.com/327/ for humorous example of what can go wrong).
Instead, use the DB-API's parameter substitution. Put ``?`` as a placeholder
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
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::
...
@@ -99,7 +99,7 @@ This example uses the iterator form::
The pysqlite web page -- sqlite3 is developed externally under the name
The pysqlite web page -- sqlite3 is developed externally under the name
"pysqlite".
"pysqlite".
http://www.sqlite.org
http
s
://www.sqlite.org
The SQLite web page; the documentation describes the syntax and the
The SQLite web page; the documentation describes the syntax and the
available data types for the supported SQL dialect.
available data types for the supported SQL dialect.
...
@@ -209,7 +209,7 @@ Module functions and constants
...
@@ -209,7 +209,7 @@ Module functions and constants
db = sqlite3.connect('file:path/to/database?mode=ro', uri=True)
db = sqlite3.connect('file:path/to/database?mode=ro', uri=True)
More information about this feature, including a list of recognized options, can
More information about this feature, including a list of recognized options, can
be found in the `SQLite URI documentation <http://www.sqlite.org/uri.html>`_.
be found in the `SQLite URI documentation <http
s
://www.sqlite.org/uri.html>`_.
.. versionchanged:: 3.4
.. versionchanged:: 3.4
Added the *uri* parameter.
Added the *uri* parameter.
...
...
Doc/library/ssl.rst
View file @
1acbf853
...
@@ -206,7 +206,7 @@ instead.
...
@@ -206,7 +206,7 @@ instead.
The *ciphers* parameter sets the available ciphers for this SSL object.
The *ciphers* parameter sets the available ciphers for this SSL object.
It should be a string in the `OpenSSL cipher list format
It should be a string in the `OpenSSL cipher list format
<http://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT>`_.
<http
s
://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT>`_.
The parameter ``do_handshake_on_connect`` specifies whether to do the SSL
The parameter ``do_handshake_on_connect`` specifies whether to do the SSL
handshake automatically after doing a :meth:`socket.connect`, or whether the
handshake automatically after doing a :meth:`socket.connect`, or whether the
...
@@ -769,7 +769,7 @@ Constants
...
@@ -769,7 +769,7 @@ Constants
ALERT_DESCRIPTION_*
ALERT_DESCRIPTION_*
Alert Descriptions from :rfc:`5246` and others. The `IANA TLS Alert Registry
Alert Descriptions from :rfc:`5246` and others. The `IANA TLS Alert Registry
<http://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-6>`_
<http
s
://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-6>`_
contains this list and references to the RFCs where their meaning is defined.
contains this list and references to the RFCs where their meaning is defined.
Used as the return value of the callback function in
Used as the return value of the callback function in
...
@@ -1174,7 +1174,7 @@ to speed up repeated connections from the same clients.
...
@@ -1174,7 +1174,7 @@ to speed up repeated connections from the same clients.
The *capath* string, if present, is
The *capath* string, if present, is
the path to a directory containing several CA certificates in PEM format,
the path to a directory containing several CA certificates in PEM format,
following an `OpenSSL specific layout
following an `OpenSSL specific layout
<http://www.openssl.org/docs/ssl/SSL_CTX_load_verify_locations.html>`_.
<http
s
://www.openssl.org/docs/ssl/SSL_CTX_load_verify_locations.html>`_.
The *cadata* object, if present, is either an ASCII string of one or more
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
PEM-encoded certificates or a :term:`bytes-like object` of DER-encoded
...
@@ -1212,7 +1212,7 @@ to speed up repeated connections from the same clients.
...
@@ -1212,7 +1212,7 @@ to speed up repeated connections from the same clients.
Set the available ciphers for sockets created with this context.
Set the available ciphers for sockets created with this context.
It should be a string in the `OpenSSL cipher list format
It should be a string in the `OpenSSL cipher list format
<http://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT>`_.
<http
s
://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT>`_.
If no cipher can be selected (because compile-time options or other
If no cipher can be selected (because compile-time options or other
configuration forbids use of all the specified ciphers), an
configuration forbids use of all the specified ciphers), an
:class:`SSLError` will be raised.
:class:`SSLError` will be raised.
...
@@ -1369,7 +1369,7 @@ to speed up repeated connections from the same clients.
...
@@ -1369,7 +1369,7 @@ to speed up repeated connections from the same clients.
Get statistics about the SSL sessions created or managed by this context.
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
A dictionary is returned which maps the names of each `piece of information
<http://www.openssl.org/docs/ssl/SSL_CTX_sess_number.html>`_ to their
<http
s
://www.openssl.org/docs/ssl/SSL_CTX_sess_number.html>`_ to their
numeric values. For example, here is the total number of hits and misses
numeric values. For example, here is the total number of hits and misses
in the session cache since the context was created::
in the session cache since the context was created::
...
@@ -2019,7 +2019,7 @@ enabled when negotiating a SSL session is possible through the
...
@@ -2019,7 +2019,7 @@ enabled when negotiating a SSL session is possible through the
:meth:`SSLContext.set_ciphers` method. Starting from Python 3.2.3, the
:meth:`SSLContext.set_ciphers` method. Starting from Python 3.2.3, the
ssl module disables certain weak ciphers by default, but you may want
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
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 <http
s
://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
If you want to check which ciphers are enabled by a given cipher list, use the
``openssl ciphers`` command on your system.
``openssl ciphers`` command on your system.
...
@@ -2061,5 +2061,5 @@ successful call of :func:`~ssl.RAND_add`, :func:`~ssl.RAND_bytes` or
...
@@ -2061,5 +2061,5 @@ successful call of :func:`~ssl.RAND_add`, :func:`~ssl.RAND_bytes` or
`RFC 6066: Transport Layer Security (TLS) Extensions <https://tools.ietf.org/html/rfc6066>`_
`RFC 6066: Transport Layer Security (TLS) Extensions <https://tools.ietf.org/html/rfc6066>`_
D. Eastlake
D. Eastlake
`IANA TLS: Transport Layer Security (TLS) Parameters <http://www.iana.org/assignments/tls-parameters/tls-parameters.xml>`_
`IANA TLS: Transport Layer Security (TLS) Parameters <http
s
://www.iana.org/assignments/tls-parameters/tls-parameters.xml>`_
IANA
IANA
Doc/library/statistics.rst
View file @
1acbf853
...
@@ -223,7 +223,7 @@ However, for reading convenience, most of the examples show sorted sequences.
...
@@ -223,7 +223,7 @@ However, for reading convenience, most of the examples show sorted sequences.
* "Statistics for the Behavioral Sciences", Frederick J Gravetter and
* "Statistics for the Behavioral Sciences", Frederick J Gravetter and
Larry B Wallnau (8th Edition).
Larry B Wallnau (8th Edition).
* Calculating the `median <http://www.ualberta.ca/~opscan/median.html>`_.
* Calculating the `median <http
s
://www.ualberta.ca/~opscan/median.html>`_.
* The `SSMEDIAN
* The `SSMEDIAN
<https://help.gnome.org/users/gnumeric/stable/gnumeric.html#gnumeric-function-SSMEDIAN>`_
<https://help.gnome.org/users/gnumeric/stable/gnumeric.html#gnumeric-function-SSMEDIAN>`_
...
...
Doc/library/sys.rst
View file @
1acbf853
...
@@ -479,7 +479,7 @@ always available.
...
@@ -479,7 +479,7 @@ always available.
additional garbage collector overhead if the object is managed by the garbage
additional garbage collector overhead if the object is managed by the garbage
collector.
collector.
See `recursive sizeof recipe <http://code.activestate.com/recipes/577504>`_
See `recursive sizeof recipe <http
s
://code.activestate.com/recipes/577504>`_
for an example of using :func:`getsizeof` recursively to find the size of
for an example of using :func:`getsizeof` recursively to find the size of
containers and all their contents.
containers and all their contents.
...
...
Doc/library/tarfile.rst
View file @
1acbf853
...
@@ -238,7 +238,7 @@ details.
...
@@ -238,7 +238,7 @@ details.
Documentation of the higher-level archiving facilities provided by the
Documentation of the higher-level archiving facilities provided by the
standard :mod:`shutil` module.
standard :mod:`shutil` module.
`GNU tar manual, Basic Tar Format <http://www.gnu.org/software/tar/manual/html_node/Standard.html>`_
`GNU tar manual, Basic Tar Format <http
s
://www.gnu.org/software/tar/manual/html_node/Standard.html>`_
Documentation for tar archive files, including GNU tar extensions.
Documentation for tar archive files, including GNU tar extensions.
...
...
Doc/library/tkinter.rst
View file @
1acbf853
...
@@ -22,13 +22,13 @@ this should open a window demonstrating a simple Tk interface.
...
@@ -22,13 +22,13 @@ this should open a window demonstrating a simple Tk interface.
`
TKDocs
<
http
://
www
.
tkdocs
.
com
/>`
_
`
TKDocs
<
http
://
www
.
tkdocs
.
com
/>`
_
Extensive
tutorial
plus
friendlier
widget
pages
for
some
of
the
widgets
.
Extensive
tutorial
plus
friendlier
widget
pages
for
some
of
the
widgets
.
`
Tkinter
reference
:
a
GUI
for
Python
<
http
://
infohost
.
nmt
.
edu
/
tcc
/
help
/
pubs
/
tkinter
/
web
/
index
.
html
>`
_
`
Tkinter
reference
:
a
GUI
for
Python
<
http
s
://
infohost
.
nmt
.
edu
/
tcc
/
help
/
pubs
/
tkinter
/
web
/
index
.
html
>`
_
On
-
line
reference
material
.
On
-
line
reference
material
.
`
Tkinter
docs
from
effbot
<
http
://
effbot
.
org
/
tkinterbook
/>`
_
`
Tkinter
docs
from
effbot
<
http
://
effbot
.
org
/
tkinterbook
/>`
_
Online
reference
for
tkinter
supported
by
effbot
.
org
.
Online
reference
for
tkinter
supported
by
effbot
.
org
.
`
Tcl
/
Tk
manual
<
http
://
www
.
tcl
.
tk
/
man
/
tcl8
.5
/>`
_
`
Tcl
/
Tk
manual
<
http
s
://
www
.
tcl
.
tk
/
man
/
tcl8
.5
/>`
_
Official
manual
for
the
latest
tcl
/
tk
version
.
Official
manual
for
the
latest
tcl
/
tk
version
.
`
Programming
Python
<
http
://
learning
-
python
.
com
/
books
/
about
-
pp4e
.
html
>`
_
`
Programming
Python
<
http
://
learning
-
python
.
com
/
books
/
about
-
pp4e
.
html
>`
_
...
@@ -173,7 +173,7 @@ documentation that exists. Here are some hints:
...
@@ -173,7 +173,7 @@ documentation that exists. Here are some hints:
..
seealso
::
..
seealso
::
`
Tcl
/
Tk
8.6
man
pages
<
http
://
www
.
tcl
.
tk
/
man
/
tcl8
.6
/>`
_
`
Tcl
/
Tk
8.6
man
pages
<
http
s
://
www
.
tcl
.
tk
/
man
/
tcl8
.6
/>`
_
The
Tcl
/
Tk
manual
on
www
.
tcl
.
tk
.
The
Tcl
/
Tk
manual
on
www
.
tcl
.
tk
.
`
ActiveState
Tcl
Home
Page
<
http
://
tcl
.
activestate
.
com
/>`
_
`
ActiveState
Tcl
Home
Page
<
http
://
tcl
.
activestate
.
com
/>`
_
...
...
Doc/library/tkinter.ttk.rst
View file @
1acbf853
...
@@ -22,7 +22,7 @@ appearance.
...
@@ -22,7 +22,7 @@ appearance.
.. seealso::
.. seealso::
`Tk Widget Styling Support <http://www.tcl.tk/cgi-bin/tct/tip/48>`_
`Tk Widget Styling Support <http
s
://www.tcl.tk/cgi-bin/tct/tip/48>`_
A document introducing theming support for Tk
A document introducing theming support for Tk
...
...
Doc/library/unittest.mock-examples.rst
View file @
1acbf853
...
@@ -549,7 +549,7 @@ Calls to the date constructor are recorded in the ``mock_date`` attributes
...
@@ -549,7 +549,7 @@ Calls to the date constructor are recorded in the ``mock_date`` attributes
An alternative way of dealing with mocking dates, or other builtin classes,
An alternative way of dealing with mocking dates, or other builtin classes,
is discussed in `this blog entry
is discussed in `this blog entry
<http://williambert.online/2011/07/how-to-unit-testing-in-django-with-mocking-and-patching/>`_.
<http
s
://williambert.online/2011/07/how-to-unit-testing-in-django-with-mocking-and-patching/>`_.
Mocking a Generator Method
Mocking a Generator Method
...
@@ -1010,7 +1010,7 @@ subclass.
...
@@ -1010,7 +1010,7 @@ subclass.
Sometimes this is inconvenient. For example, `one user
Sometimes this is inconvenient. For example, `one user
<https://code.google.com/p/mock/issues/detail?id=105>`_ is subclassing mock to
<https://code.google.com/p/mock/issues/detail?id=105>`_ is subclassing mock to
created a `Twisted adaptor
created a `Twisted adaptor
<http://twistedmatrix.com/documents/11.0.0/api/twisted.python.components.html>`_.
<http
s
://twistedmatrix.com/documents/11.0.0/api/twisted.python.components.html>`_.
Having this applied to attributes too actually causes errors.
Having this applied to attributes too actually causes errors.
``Mock`` (in all its flavours) uses a method called ``_get_child_mock`` to create
``Mock`` (in all its flavours) uses a method called ``_get_child_mock`` to create
...
...
Doc/library/unittest.rst
View file @
1acbf853
...
@@ -67,7 +67,7 @@ test runner
...
@@ -67,7 +67,7 @@ test runner
a GUI tool for test discovery and execution. This is intended largely for ease of use
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
for those new to unit testing. For production environments it is
recommended that tests be driven by a continuous integration system such as
recommended that tests be driven by a continuous integration system such as
`Buildbot <http
://buildbot.net/>`_, `Jenkins <http://jenkins-ci.org
/>`_
`Buildbot <http
s://buildbot.net/>`_, `Jenkins <https://jenkins.io
/>`_
or `Hudson <http://hudson-ci.org/>`_.
or `Hudson <http://hudson-ci.org/>`_.
...
...
Doc/library/urllib.request.rst
View file @
1acbf853
...
@@ -67,7 +67,7 @@ The :mod:`urllib.request` module defines the following functions:
...
@@ -67,7 +67,7 @@ The :mod:`urllib.request` module defines the following functions:
* :meth:`~urllib.response.addinfourl.info` --- return the meta-information of the page, such as headers,
* :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
in the form of an :func:`email.message_from_string` instance (see
`Quick Reference to HTTP Headers
<http:
//
www
.
cs
.
tut
.
fi
/~
jkorpela
/
http
.
html
>
`_)
`Quick Reference to HTTP Headers
<http
s
:
//
www
.
cs
.
tut
.
fi
/~
jkorpela
/
http
.
html
>
`_)
* :meth:`~urllib.response.addinfourl.getcode` -- return the HTTP status code of the response.
* :meth:`~urllib.response.addinfourl.getcode` -- return the HTTP status code of the response.
...
@@ -1130,7 +1130,7 @@ it receives from the http server. In general, a program will decode
...
@@ -1130,7 +1130,7 @@ it receives from the http server. In general, a program will decode
the returned bytes object to string once it determines or guesses
the returned bytes object to string once it determines or guesses
the appropriate encoding.
the appropriate encoding.
The following W3C document, http://www.w3.org/International/O-charset\ , lists
The following W3C document, http
s
://www.w3.org/International/O-charset\ , lists
the various ways in which a (X)HTML or a XML document could have specified its
the various ways in which a (X)HTML or a XML document could have specified its
encoding information.
encoding information.
...
...
Doc/library/xml.dom.minidom.rst
View file @
1acbf853
...
@@ -100,7 +100,7 @@ eventually take care of the objects in the tree.
...
@@ -100,7 +100,7 @@ eventually take care of the objects in the tree.
.. seealso::
.. seealso::
`Document Object Model (DOM) Level 1 Specification <http://www.w3.org/TR/REC-DOM-Level-1/>`_
`Document Object Model (DOM) Level 1 Specification <http
s
://www.w3.org/TR/REC-DOM-Level-1/>`_
The W3C recommendation for the DOM supported by :mod:`xml.dom.minidom`.
The W3C recommendation for the DOM supported by :mod:`xml.dom.minidom`.
...
@@ -251,5 +251,5 @@ utility to most DOM users.
...
@@ -251,5 +251,5 @@ utility to most DOM users.
the appropriate standards. For example, "UTF-8" is valid, but
the appropriate standards. For example, "UTF-8" is valid, but
"UTF8" is not valid in an XML document's declaration, even though
"UTF8" is not valid in an XML document's declaration, even though
Python accepts it as an encoding name.
Python accepts it as an encoding name.
See http://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl
See http
s
://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl
and http://www.iana.org/assignments/character-sets/character-sets.xhtml.
and http
s
://www.iana.org/assignments/character-sets/character-sets.xhtml.
Doc/library/xml.dom.rst
View file @
1acbf853
...
@@ -63,10 +63,10 @@ implementations are free to support the strict mapping from IDL). See section
...
@@ -63,10 +63,10 @@ implementations are free to support the strict mapping from IDL). See section
.. seealso::
.. seealso::
`Document Object Model (DOM) Level 2 Specification <http://www.w3.org/TR/DOM-Level-2-Core/>`_
`Document Object Model (DOM) Level 2 Specification <http
s
://www.w3.org/TR/DOM-Level-2-Core/>`_
The W3C recommendation upon which the Python DOM API is based.
The W3C recommendation upon which the Python DOM API is based.
`Document Object Model (DOM) Level 1 Specification <http://www.w3.org/TR/REC-DOM-Level-1/>`_
`Document Object Model (DOM) Level 1 Specification <http
s
://www.w3.org/TR/REC-DOM-Level-1/>`_
The W3C recommendation for the DOM supported by :mod:`xml.dom.minidom`.
The W3C recommendation for the DOM supported by :mod:`xml.dom.minidom`.
`Python Language Mapping Specification <http://www.omg.org/spec/PYTH/1.2/PDF>`_
`Python Language Mapping Specification <http://www.omg.org/spec/PYTH/1.2/PDF>`_
...
@@ -115,20 +115,20 @@ Some convenience constants are also provided:
...
@@ -115,20 +115,20 @@ Some convenience constants are also provided:
.. data:: XML_NAMESPACE
.. data:: XML_NAMESPACE
The namespace URI associated with the reserved prefix ``xml``, as defined by
The namespace URI associated with the reserved prefix ``xml``, as defined by
`Namespaces in XML <http://www.w3.org/TR/REC-xml-names/>`_ (section 4).
`Namespaces in XML <http
s
://www.w3.org/TR/REC-xml-names/>`_ (section 4).
.. data:: XMLNS_NAMESPACE
.. data:: XMLNS_NAMESPACE
The namespace URI for namespace declarations, as defined by `Document Object
The namespace URI for namespace declarations, as defined by `Document Object
Model (DOM) Level 2 Core Specification
Model (DOM) Level 2 Core Specification
<http://www.w3.org/TR/DOM-Level-2-Core/core.html>`_ (section 1.1.8).
<http
s
://www.w3.org/TR/DOM-Level-2-Core/core.html>`_ (section 1.1.8).
.. data:: XHTML_NAMESPACE
.. data:: XHTML_NAMESPACE
The URI of the XHTML namespace as defined by `XHTML 1.0: The Extensible
The URI of the XHTML namespace as defined by `XHTML 1.0: The Extensible
HyperText Markup Language <http://www.w3.org/TR/xhtml1/>`_ (section 3.1.1).
HyperText Markup Language <http
s
://www.w3.org/TR/xhtml1/>`_ (section 3.1.1).
In addition, :mod:`xml.dom` contains a base :class:`Node` class and the DOM
In addition, :mod:`xml.dom` contains a base :class:`Node` class and the DOM
...
@@ -874,7 +874,7 @@ attribute.
...
@@ -874,7 +874,7 @@ attribute.
.. exception:: NamespaceErr
.. exception:: NamespaceErr
If an attempt is made to change any object in a way that is not permitted with
If an attempt is made to change any object in a way that is not permitted with
regard to the `Namespaces in XML <http://www.w3.org/TR/REC-xml-names/>`_
regard to the `Namespaces in XML <http
s
://www.w3.org/TR/REC-xml-names/>`_
recommendation, this exception is raised.
recommendation, this exception is raised.
...
...
Doc/library/xml.etree.elementtree.rst
View file @
1acbf853
...
@@ -292,7 +292,7 @@ If the XML input has `namespaces
...
@@ -292,7 +292,7 @@ If the XML input has `namespaces
with prefixes in the form ``prefix:sometag`` get expanded to
with prefixes in the form ``prefix:sometag`` get expanded to
``{uri}sometag`` where the *prefix* is replaced by the full *URI*.
``{uri}sometag`` where the *prefix* is replaced by the full *URI*.
Also, if there is a `default namespace
Also, if there is a `default namespace
<http:
//
www
.
w3
.
org
/
TR
/
2006
/
REC-xml-names-20060816
/
#defaulting
>
`__,
<http
s
:
//
www
.
w3
.
org
/
TR
/
2006
/
REC-xml-names-20060816
/
#defaulting
>
`__,
that full URI gets prepended to all of the non-prefixed tags.
that full URI gets prepended to all of the non-prefixed tags.
Here is an XML example that incorporates two namespaces, one with the
Here is an XML example that incorporates two namespaces, one with the
...
@@ -363,7 +363,7 @@ XPath support
...
@@ -363,7 +363,7 @@ XPath support
-------------
-------------
This module provides limited support for
This module provides limited support for
`XPath expressions
<http:
//
www
.
w3
.
org
/
TR
/
xpath
>
`_ for locating elements in a
`XPath expressions
<http
s
:
//
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
tree. The goal is to support a small subset of the abbreviated syntax; a full
XPath engine is outside the scope of the module.
XPath engine is outside the scope of the module.
...
@@ -1189,5 +1189,5 @@ Exceptions
...
@@ -1189,5 +1189,5 @@ Exceptions
.. [#] The encoding string included in XML output should conform to the
.. [#] The encoding string included in XML output should conform to the
appropriate standards. For example, "UTF-8" is valid, but "UTF8" is
appropriate standards. For example, "UTF-8" is valid, but "UTF8" is
not. See http://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl
not. See http
s
://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl
and http://www.iana.org/assignments/character-sets/character-sets.xhtml.
and http
s
://www.iana.org/assignments/character-sets/character-sets.xhtml.
Doc/library/xmlrpc.client.rst
View file @
1acbf853
...
@@ -315,7 +315,7 @@ Binary Objects
...
@@ -315,7 +315,7 @@ Binary Objects
Write the XML-RPC base 64 encoding of this binary item to the *out* stream object.
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
The encoded data will have newlines every 76 characters as per
`RFC 2045 section 6.8 <http://tools.ietf.org/html/rfc2045#section-6.8>`_,
`RFC 2045 section 6.8 <http
s
://tools.ietf.org/html/rfc2045#section-6.8>`_,
which was the de facto standard base64 specification when the
which was the de facto standard base64 specification when the
XML-RPC spec was written.
XML-RPC spec was written.
...
@@ -590,7 +590,7 @@ See :ref:`simplexmlrpcserver-example`.
...
@@ -590,7 +590,7 @@ See :ref:`simplexmlrpcserver-example`.
.. rubric:: Footnotes
.. rubric:: Footnotes
.. [#] This approach has been first presented in `a discussion on xmlrpc.com
.. [#] This approach has been first presented in `a discussion on xmlrpc.com
<http://web.archive.org/web/20060624230303/http://www.xmlrpc.com/discuss/msgReader$1208?mode=topic>`_.
<http
s
://web.archive.org/web/20060624230303/http://www.xmlrpc.com/discuss/msgReader$1208?mode=topic>`_.
.. the link now points to webarchive since the one at
.. the link now points to webarchive since the one at
.. http://www.xmlrpc.com/discuss/msgReader%241208 is broken (and webadmin
.. http://www.xmlrpc.com/discuss/msgReader%241208 is broken (and webadmin
.. doesn't reply)
.. doesn't reply)
Doc/license.rst
View file @
1acbf853
...
@@ -11,12 +11,12 @@ History of the software
...
@@ -11,12 +11,12 @@ History of the software
=======================
=======================
Python was created in the early 1990s by Guido van Rossum at Stichting
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 http
s
://www.cwi.nl/) in the Netherlands as a
successor of a language called ABC. Guido remains Python's principal author,
successor of a language called ABC. Guido remains Python's principal author,
although it includes many contributions from others.
although it includes many contributions from others.
In 1995, Guido continued his work on Python at the Corporation for National
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 http
s
://www.cnri.reston.va.us/) in Reston,
Virginia where he released several versions of the software.
Virginia where he released several versions of the software.
In May 2000, Guido and the Python core development team moved to BeOpen.com to
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, a non-profit organization created
...
@@ -27,7 +27,7 @@ https://www.python.org/psf/) was formed, a non-profit organization created
specifically to own Python-related Intellectual Property. Zope Corporation is a
specifically to own Python-related Intellectual Property. Zope Corporation is a
sponsoring member of the PSF.
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 http
s
://opensource.org/ for the Open
Source Definition). Historically, most, but not all, Python releases have also
Source Definition). Historically, most, but not all, Python releases have also
been GPL-compatible; the table below summarizes the various releases.
been GPL-compatible; the table below summarizes the various releases.
...
...
Doc/reference/lexical_analysis.rst
View file @
1acbf853
...
@@ -322,7 +322,7 @@ of identifiers is based on NFKC.
...
@@ -322,7 +322,7 @@ of identifiers is based on NFKC.
A non-normative HTML file listing all valid identifier characters for Unicode
A non-normative HTML file listing all valid identifier characters for Unicode
4.1 can be found at
4.1 can be found at
http://www.dcl.hpi.uni-potsdam.de/home/loewis/table-3131.html.
http
s
://www.dcl.hpi.uni-potsdam.de/home/loewis/table-3131.html.
.. _keywords:
.. _keywords:
...
...
Doc/tutorial/floatingpoint.rst
View file @
1acbf853
...
@@ -155,7 +155,7 @@ which implements arithmetic based on rational numbers (so the numbers like
...
@@ -155,7 +155,7 @@ which implements arithmetic based on rational numbers (so the numbers like
If you are a heavy user of floating point operations you should take a look
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
at the Numerical Python package and many other packages for mathematical and
statistical operations supplied by the SciPy project. See <http://scipy.org>.
statistical operations supplied by the SciPy project. See <http
s
://scipy.org>.
Python provides tools that may help on those rare occasions when you really
Python provides tools that may help on those rare occasions when you really
*do* want to know the exact value of a float. The
*do* want to know the exact value of a float. The
...
...
Doc/tutorial/interactive.rst
View file @
1acbf853
...
@@ -49,6 +49,6 @@ into other applications. Another similar enhanced interactive environment is
...
@@ -49,6 +49,6 @@ into other applications. Another similar enhanced interactive environment is
bpython_.
bpython_.
.. _GNU Readline: http://tiswww.case.edu/php/chet/readline/rltop.html
.. _GNU Readline: http
s
://tiswww.case.edu/php/chet/readline/rltop.html
.. _IPython: http://ipython.scipy.org/
.. _IPython: http://ipython.scipy.org/
.. _bpython: http://www.bpython-interpreter.org/
.. _bpython: http://www.bpython-interpreter.org/
Doc/tutorial/stdlib.rst
View file @
1acbf853
...
@@ -152,7 +152,7 @@ The :mod:`statistics` module calculates basic statistical properties
...
@@ -152,7 +152,7 @@ The :mod:`statistics` module calculates basic statistical properties
>>> statistics.variance(data)
>>> statistics.variance(data)
1.3720238095238095
1.3720238095238095
The SciPy project <http://scipy.org> has many other modules for numerical
The SciPy project <http
s
://scipy.org> has many other modules for numerical
computations.
computations.
.. _tut-internet-access:
.. _tut-internet-access:
...
...
Doc/tutorial/whatnow.rst
View file @
1acbf853
...
@@ -43,7 +43,7 @@ More Python resources:
...
@@ -43,7 +43,7 @@ More Python resources:
for download. Once you begin releasing code, you can register it here so that
for download. Once you begin releasing code, you can register it here so that
others can find it.
others can find it.
* http://code.activestate.com/recipes/langs/python/: The Python Cookbook is a
* http
s
://code.activestate.com/recipes/langs/python/: The Python Cookbook is a
sizable collection of code examples, larger modules, and useful scripts.
sizable collection of code examples, larger modules, and useful scripts.
Particularly notable contributions are collected in a book also titled Python
Particularly notable contributions are collected in a book also titled Python
Cookbook (O'Reilly & Associates, ISBN 0-596-00797-3.)
Cookbook (O'Reilly & Associates, ISBN 0-596-00797-3.)
...
@@ -51,7 +51,7 @@ More Python resources:
...
@@ -51,7 +51,7 @@ More Python resources:
* http://www.pyvideo.org collects links to Python-related videos from
* http://www.pyvideo.org collects links to Python-related videos from
conferences and user-group meetings.
conferences and user-group meetings.
* http://scipy.org: The Scientific Python project includes modules for fast
* http
s
://scipy.org: The Scientific Python project includes modules for fast
array computations and manipulations plus a host of packages for such
array computations and manipulations plus a host of packages for such
things as linear algebra, Fourier transforms, non-linear solvers,
things as linear algebra, Fourier transforms, non-linear solvers,
random number distributions, statistical analysis and the like.
random number distributions, statistical analysis and the like.
...
...
Doc/using/mac.rst
View file @
1acbf853
...
@@ -65,7 +65,7 @@ number of standard Unix command line editors, :program:`vim` and
...
@@ -65,7 +65,7 @@ number of standard Unix command line editors, :program:`vim` and
:
program
:`
emacs
`
among
them
.
If
you
want
a
more
Mac
-
like
editor
,
:
program
:`
emacs
`
among
them
.
If
you
want
a
more
Mac
-
like
editor
,
:
program
:`
BBEdit
`
or
:
program
:`
TextWrangler
`
from
Bare
Bones
Software
(
see
:
program
:`
BBEdit
`
or
:
program
:`
TextWrangler
`
from
Bare
Bones
Software
(
see
http
://
www
.
barebones
.
com
/
products
/
bbedit
/
index
.
html
)
are
good
choices
,
as
is
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
http
s
://
macromates
.
com
/).
Other
editors
include
:
program
:`
Gvim
`
(
http
://
macvim
.
org
)
and
:
program
:`
Aquamacs
`
:
program
:`
Gvim
`
(
http
://
macvim
.
org
)
and
:
program
:`
Aquamacs
`
(
http
://
aquamacs
.
org
/).
(
http
://
aquamacs
.
org
/).
...
@@ -144,9 +144,9 @@ the foundation of most modern Mac development. Information on PyObjC is
...
@@ -144,9 +144,9 @@ the foundation of most modern Mac development. Information on PyObjC is
available
from
https
://
pythonhosted
.
org
/
pyobjc
/.
available
from
https
://
pythonhosted
.
org
/
pyobjc
/.
The
standard
Python
GUI
toolkit
is
:
mod
:`
tkinter
`,
based
on
the
cross
-
platform
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
(
http
s
://
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
X
by
Apple
,
and
the
latest
version
can
be
downloaded
and
installed
from
http
://
www
.
activestate
.
com
;
it
can
also
be
built
from
source
.
http
s
://
www
.
activestate
.
com
;
it
can
also
be
built
from
source
.
*
wxPython
*
is
another
popular
cross
-
platform
GUI
toolkit
that
runs
natively
on
*
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
.
Mac
OS
X
.
Packages
and
documentation
are
available
from
http
://
www
.
wxpython
.
org
.
...
...
Doc/using/unix.rst
View file @
1acbf853
...
@@ -55,7 +55,7 @@ On FreeBSD and OpenBSD
...
@@ -55,7 +55,7 @@ On FreeBSD and OpenBSD
On OpenSolaris
On OpenSolaris
--------------
--------------
You can get Python from `OpenCSW <http://www.opencsw.org/>`_. Various versions
You can get Python from `OpenCSW <http
s
://www.opencsw.org/>`_. Various versions
of Python are available and can be installed with e.g. ``pkgutil -i python27``.
of Python are available and can be installed with e.g. ``pkgutil -i python27``.
...
@@ -139,10 +139,10 @@ Vim and Emacs are excellent editors which support Python very well. For more
...
@@ -139,10 +139,10 @@ Vim and Emacs are excellent editors which support Python very well. For more
information
on
how
to
code
in
Python
in
these
editors
,
look
at
:
information
on
how
to
code
in
Python
in
these
editors
,
look
at
:
*
http
://
www
.
vim
.
org
/
scripts
/
script
.
php
?
script_id
=
790
*
http
://
www
.
vim
.
org
/
scripts
/
script
.
php
?
script_id
=
790
*
http
://
sourceforge
.
net
/
projects
/
python
-
mode
*
http
s
://
sourceforge
.
net
/
projects
/
python
-
mode
Geany
is
an
excellent
IDE
with
support
for
a
lot
of
languages
.
For
more
Geany
is
an
excellent
IDE
with
support
for
a
lot
of
languages
.
For
more
information
,
read
:
http
://
www
.
geany
.
org
/
information
,
read
:
http
s
://
www
.
geany
.
org
/
Komodo
edit
is
another
extremely
good
IDE
.
It
also
has
support
for
a
lot
of
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
http
s
://
komodoide
.
com
/.
Doc/using/windows.rst
View file @
1acbf853
...
@@ -245,7 +245,7 @@ earlier are no longer supported (due to the lack of users or developers).
...
@@ -245,7 +245,7 @@ earlier are no longer supported (due to the lack of users or developers).
Check :pep:`11` for details on all unsupported platforms.
Check :pep:`11` for details on all unsupported platforms.
* `Windows CE <http://pythonce.sourceforge.net/>`_ is still supported.
* `Windows CE <http://pythonce.sourceforge.net/>`_ is still supported.
* The `Cygwin <http://cygwin.com/>`_ installer offers to install the Python
* The `Cygwin <http
s
://cygwin.com/>`_ installer offers to install the Python
interpreter as well (cf. `Cygwin package source
interpreter as well (cf. `Cygwin package source
<ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/
<ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/
release/python>`_, `Maintainer releases
release/python>`_, `Maintainer releases
...
@@ -364,7 +364,7 @@ System variables, you need non-restricted access to your machine
...
@@ -364,7 +364,7 @@ System variables, you need non-restricted access to your machine
https://support.microsoft.com/kb/310519
https://support.microsoft.com/kb/310519
How To Manage Environment Variables in Windows XP
How To Manage Environment Variables in Windows XP
http://www.chem.gla.ac.uk/~louis/software/faq/q1.html
http
s
://www.chem.gla.ac.uk/~louis/software/faq/q1.html
Setting Environment variables, Louis J. Farrugia
Setting Environment variables, Louis J. Farrugia
.. _windows-path-mod:
.. _windows-path-mod:
...
...
Doc/whatsnew/2.0.rst
View file @
1acbf853
...
@@ -61,7 +61,7 @@ how Python is developed: in May 2000 the Python developers began using the tools
...
@@ -61,7 +61,7 @@ how Python is developed: in May 2000 the Python developers began using the tools
made available by SourceForge for storing source code, tracking bug reports,
made available by SourceForge for storing source code, tracking bug reports,
and managing the queue of patch submissions. To report bugs or submit patches
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
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 http
s
://sourceforge.net/projects/python/.
The most important of the services now hosted at SourceForge is the Python CVS
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.
tree, the version-controlled repository containing the source code for Python.
...
...
Doc/whatsnew/2.2.rst
View file @
1acbf853
...
@@ -632,10 +632,10 @@ queen threatens another) and the Knight's Tour (a route that takes a knight to
...
@@ -632,10 +632,10 @@ queen threatens another) and the Knight's Tour (a route that takes a knight to
every square of an $NxN$ chessboard without visiting any square twice).
every square of an $NxN$ chessboard without visiting any square twice).
The idea of generators comes from other programming languages, especially Icon
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
(http
s
://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
Icon, every expression and function call behaves like a generator. One example
from "An Overview of the Icon Programming Language" at
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
http
s
://www.cs.arizona.edu/icon/docs/ipd266.htm gives an idea of what this looks
like::
like::
sentence := "Store it in the neighboring harbor"
sentence := "Store it in the neighboring harbor"
...
...
Doc/whatsnew/2.3.rst
View file @
1acbf853
...
@@ -218,10 +218,10 @@ queen threatens another) and the Knight's Tour (a route that takes a knight to
...
@@ -218,10 +218,10 @@ queen threatens another) and the Knight's Tour (a route that takes a knight to
every square of an $NxN$ chessboard without visiting any square twice).
every square of an $NxN$ chessboard without visiting any square twice).
The idea of generators comes from other programming languages, especially Icon
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
(http
s
://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
Icon, every expression and function call behaves like a generator. One example
from "
An
Overview
of
the
Icon
Programming
Language
" at
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
http
s
://www.cs.arizona.edu/icon/docs/ipd266.htm gives an idea of what this looks
like::
like::
sentence := "
Store
it
in
the
neighboring
harbor
"
sentence := "
Store
it
in
the
neighboring
harbor
"
...
...
Doc/whatsnew/2.5.rst
View file @
1acbf853
...
@@ -1528,7 +1528,7 @@ complete list of changes, or look through the SVN logs for all the details.
...
@@ -1528,7 +1528,7 @@ complete list of changes, or look through the SVN logs for all the details.
* The :mod:`socket` module now supports :const:`AF_NETLINK` sockets on Linux,
* 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
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
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 http
s
://www.linuxjournal.com/article/7356.
In Python code, netlink addresses are represented as a tuple of 2 integers,
In Python code, netlink addresses are represented as a tuple of 2 integers,
``(pid, group_mask)``.
``(pid, group_mask)``.
...
@@ -2013,7 +2013,7 @@ This example uses the iterator form::
...
@@ -2013,7 +2013,7 @@ This example uses the iterator form::
>>>
>>>
For more information about the SQL dialect supported by SQLite, see
For more information about the SQL dialect supported by SQLite, see
http://www.sqlite.org.
http
s
://www.sqlite.org.
.. seealso::
.. seealso::
...
@@ -2021,7 +2021,7 @@ http://www.sqlite.org.
...
@@ -2021,7 +2021,7 @@ http://www.sqlite.org.
http://www.pysqlite.org
http://www.pysqlite.org
The pysqlite web page.
The pysqlite web page.
http://www.sqlite.org
http
s
://www.sqlite.org
The SQLite web page; the documentation describes the syntax and the available
The SQLite web page; the documentation describes the syntax and the available
data types for the supported SQL dialect.
data types for the supported SQL dialect.
...
...
Doc/whatsnew/2.6.rst
View file @
1acbf853
...
@@ -154,9 +154,9 @@ therefore posted a call for issue trackers, asking volunteers to set
...
@@ -154,9 +154,9 @@ therefore posted a call for issue trackers, asking volunteers to set
up
different
products
and
import
some
of
the
bugs
and
patches
from
up
different
products
and
import
some
of
the
bugs
and
patches
from
SourceForge
.
Four
different
trackers
were
examined
:
`
Jira
SourceForge
.
Four
different
trackers
were
examined
:
`
Jira
<
https
://
www
.
atlassian
.
com
/
software
/
jira
/>`
__
,
<
https
://
www
.
atlassian
.
com
/
software
/
jira
/>`
__
,
`
Launchpad
<
https
://
www
.
launchpad
.
net
>`
__
,
`
Launchpad
<
https
://
launchpad
.
net
/
>`
__
,
`
Roundup
<
http
://
roundup
.
sourceforge
.
net
/>`
__
,
and
`
Roundup
<
http
://
roundup
.
sourceforge
.
net
/>`
__
,
and
`
Trac
<
http
://
trac
.
edgewall
.
org
/>`
__
.
`
Trac
<
http
s
://
trac
.
edgewall
.
org
/>`
__
.
The
committee
eventually
settled
on
Jira
The
committee
eventually
settled
on
Jira
and
Roundup
as
the
two
candidates
.
Jira
is
a
commercial
product
that
and
Roundup
as
the
two
candidates
.
Jira
is
a
commercial
product
that
offers
no
-
cost
hosted
instances
to
free
-
software
projects
;
Roundup
offers
no
-
cost
hosted
instances
to
free
-
software
projects
;
Roundup
...
@@ -1431,7 +1431,7 @@ one, :func:`math.trunc`, that's been backported to Python 2.6.
...
@@ -1431,7 +1431,7 @@ one, :func:`math.trunc`, that's been backported to Python 2.6.
:
pep
:`
3141
`
-
A
Type
Hierarchy
for
Numbers
:
pep
:`
3141
`
-
A
Type
Hierarchy
for
Numbers
PEP
written
by
Jeffrey
Yasskin
.
PEP
written
by
Jeffrey
Yasskin
.
`
Scheme
's numerical tower <http://www.gnu.org/software/guile/manual/html_node/Numerical-Tower.html#Numerical-Tower>`__, from the Guile manual.
`
Scheme
's numerical tower <http
s
://www.gnu.org/software/guile/manual/html_node/Numerical-Tower.html#Numerical-Tower>`__, from the Guile manual.
`Scheme'
s
number
datatypes
<
http
://
schemers
.
org
/
Documents
/
Standards
/
R5RS
/
HTML
/
r5rs
-
Z
-
H
-
9.
html
#%
_sec_6
.2
>`
__
from
the
R5RS
Scheme
specification
.
`Scheme'
s
number
datatypes
<
http
://
schemers
.
org
/
Documents
/
Standards
/
R5RS
/
HTML
/
r5rs
-
Z
-
H
-
9.
html
#%
_sec_6
.2
>`
__
from
the
R5RS
Scheme
specification
.
...
@@ -2889,7 +2889,7 @@ Improved SSL Support
...
@@ -2889,7 +2889,7 @@ Improved SSL Support
Bill Janssen made extensive improvements to Python 2.6'
s
support
for
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
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 <http
s
://www.openssl.org/>`__ library.
This new module provides more control over the protocol negotiated,
This new module provides more control over the protocol negotiated,
the X.509 certificates used, and has better support for writing SSL
the X.509 certificates used, and has better support for writing SSL
servers (as opposed to clients) in Python. The existing SSL support
servers (as opposed to clients) in Python. The existing SSL support
...
...
Doc/whatsnew/2.7.rst
View file @
1acbf853
...
@@ -1157,7 +1157,7 @@ changes, or look through the Subversion logs for all the details.
...
@@ -1157,7 +1157,7 @@ changes, or look through the Subversion logs for all the details.
* The :mod:`ctypes` module now always converts ``None`` to a C NULL
* The :mod:`ctypes` module now always converts ``None`` to a C NULL
pointer for arguments declared as pointers. (Changed by Thomas
pointer for arguments declared as pointers. (Changed by Thomas
Heller; :issue:`4606`.) The underlying `libffi library
Heller; :issue:`4606`.) The underlying `libffi library
<http://sourceware.org/libffi/>`__ has been updated to version
<http
s
://sourceware.org/libffi/>`__ has been updated to version
3.0.9, containing various fixes for different platforms. (Updated
3.0.9, containing various fixes for different platforms. (Updated
by Matthias Klose; :issue:`8142`.)
by Matthias Klose; :issue:`8142`.)
...
@@ -1530,7 +1530,7 @@ changes, or look through the Subversion logs for all the details.
...
@@ -1530,7 +1530,7 @@ changes, or look through the Subversion logs for all the details.
*ciphers* argument that's a string listing the encryption algorithms
*ciphers* argument that's a string listing the encryption algorithms
to be allowed; the format of the string is described
to be allowed; the format of the string is described
`in the OpenSSL documentation
`in the OpenSSL documentation
<http://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT>`__.
<http
s
://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT>`__.
(Added by Antoine Pitrou; :issue:`8322`.)
(Added by Antoine Pitrou; :issue:`8322`.)
Another change makes the extension load all of OpenSSL's ciphers and
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.
...
@@ -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
To learn more, read the :mod:`ttk` module documentation. You may also
wish to read the Tcl/Tk manual page describing the
wish to read the Tcl/Tk manual page describing the
Ttk theme engine, available at
Ttk theme engine, available at
http://www.tcl.tk/man/tcl8.5/TkCmd/ttk_intro.htm. Some
http
s
://www.tcl.tk/man/tcl8.5/TkCmd/ttk_intro.htm. Some
screenshots of the Python/Ttk code in use are at
screenshots of the Python/Ttk code in use are at
http://code.google.com/p/python-ttk/wiki/Screenshots.
http://code.google.com/p/python-ttk/wiki/Screenshots.
...
@@ -2079,7 +2079,7 @@ Changes to Python's build process and to the C API include:
...
@@ -2079,7 +2079,7 @@ Changes to Python's build process and to the C API include:
* The latest release of the GNU Debugger, GDB 7, can be `scripted
* The latest release of the GNU Debugger, GDB 7, can be `scripted
using Python
using Python
<http://sourceware.org/gdb/current/onlinedocs/gdb/Python.html>`__.
<http
s
://sourceware.org/gdb/current/onlinedocs/gdb/Python.html>`__.
When you begin debugging an executable program P, GDB will look for
When you begin debugging an executable program P, GDB will look for
a file named ``P-gdb.py`` and automatically read it. Dave Malcolm
a file named ``P-gdb.py`` and automatically read it. Dave Malcolm
contributed a :file:`python-gdb.py` that adds a number of
contributed a :file:`python-gdb.py` that adds a number of
...
@@ -2149,7 +2149,7 @@ Changes to Python's build process and to the C API include:
...
@@ -2149,7 +2149,7 @@ Changes to Python's build process and to the C API include:
with *updatepath* set to false.
with *updatepath* set to false.
Security issue reported as `CVE-2008-5983
Security issue reported as `CVE-2008-5983
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983>`_;
<http
s
://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983>`_;
discussed in :issue:`5753`, and fixed by Antoine Pitrou.
discussed in :issue:`5753`, and fixed by Antoine Pitrou.
* New macros: the Python header files now define the following macros:
* New macros: the Python header files now define the following macros:
...
...
Doc/whatsnew/3.2.rst
View file @
1acbf853
...
@@ -769,8 +769,8 @@ functools
...
@@ -769,8 +769,8 @@ functools
(Contributed by Raymond Hettinger and incorporating design ideas from Jim
(Contributed by Raymond Hettinger and incorporating design ideas from Jim
Baker, Miki Tebeka, and Nick Coghlan; see `recipe 498245
Baker, Miki Tebeka, and Nick Coghlan; see `recipe 498245
<http://code.activestate.com/recipes/498245>`_\, `recipe 577479
<http
s
://code.activestate.com/recipes/498245>`_\, `recipe 577479
<http://code.activestate.com/recipes/577479>`_\, :issue:`10586`, and
<http
s
://code.activestate.com/recipes/577479>`_\, :issue:`10586`, and
:issue:`10593`.)
:issue:`10593`.)
* The :func:`functools.wraps` decorator now adds a :attr:`__wrapped__` attribute
* The :func:`functools.wraps` decorator now adds a :attr:`__wrapped__` attribute
...
@@ -955,7 +955,7 @@ sites do not finish before midnight, the barrier times-out and the ballots are
...
@@ -955,7 +955,7 @@ sites do not finish before midnight, the barrier times-out and the ballots are
sealed and deposited in a queue for later handling.
sealed and deposited in a queue for later handling.
See `Barrier Synchronization Patterns
See `Barrier Synchronization Patterns
<http://parlab.eecs.berkeley.edu/wiki/_media/patterns/paraplop_g1_3.pdf>`_ for
<http
s
://parlab.eecs.berkeley.edu/wiki/_media/patterns/paraplop_g1_3.pdf>`_ for
more examples of how barriers can be used in parallel computing. Also, there is
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
a simple but thorough explanation of barriers in `The Little Book of Semaphores
<http://greenteapress.com/semaphores/downey08semaphores.pdf>`_, *section 3.6*.
<http://greenteapress.com/semaphores/downey08semaphores.pdf>`_, *section 3.6*.
...
@@ -1618,7 +1618,7 @@ for secure (encrypted, authenticated) internet connections:
...
@@ -1618,7 +1618,7 @@ for secure (encrypted, authenticated) internet connections:
* The :func:`ssl.wrap_socket` constructor function now takes a *ciphers*
* The :func:`ssl.wrap_socket` constructor function now takes a *ciphers*
argument. The *ciphers* string lists the allowed encryption algorithms using
argument. The *ciphers* string lists the allowed encryption algorithms using
the format described in the `OpenSSL documentation
the format described in the `OpenSSL documentation
<http://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT>`__.
<http
s
://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT>`__.
* When linked against recent versions of OpenSSL, the :mod:`ssl` module now
* When linked against recent versions of OpenSSL, the :mod:`ssl` module now
supports the Server Name Indication extension to the TLS protocol, allowing
supports the Server Name Indication extension to the TLS protocol, allowing
...
@@ -2559,7 +2559,7 @@ Also, there were a number of updates to the Mac OS X build, see
...
@@ -2559,7 +2559,7 @@ Also, there were a number of updates to the Mac OS X build, see
:source:`Mac/BuildScript/README.txt` for details. For users running a 32/64-bit
: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.
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
Accordingly, we recommend installing an updated alternative such as
`ActiveState Tcl/Tk 8.5.9 <http://www.activestate.com/activetcl/downloads>`_\.
`ActiveState Tcl/Tk 8.5.9 <http
s
://www.activestate.com/activetcl/downloads>`_\.
See https://www.python.org/download/mac/tcltk/ for additional details.
See https://www.python.org/download/mac/tcltk/ for additional details.
Porting to Python 3.2
Porting to Python 3.2
...
...
Doc/whatsnew/3.4.rst
View file @
1acbf853
...
@@ -1410,7 +1410,7 @@ sqlite3
...
@@ -1410,7 +1410,7 @@ sqlite3
A new boolean parameter to the :func:`~sqlite3.connect` function, *uri*, can be
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
used to indicate that the *database* parameter is a ``uri`` (see the `SQLite
URI documentation <http://www.sqlite.org/uri.html>`_). (Contributed by poq in
URI documentation <http
s
://www.sqlite.org/uri.html>`_). (Contributed by poq in
:issue:`13773`.)
:issue:`13773`.)
...
...
Misc/NEWS
View file @
1acbf853
...
@@ -1010,6 +1010,8 @@ IDLE
...
@@ -1010,6 +1010,8 @@ IDLE
Documentation
Documentation
-------------
-------------
-
Issue
#
26736
:
Used
HTTPS
for
external
links
in
the
documentation
if
possible
.
-
Issue
#
6953
:
Rework
the
Readline
module
documentation
to
group
related
-
Issue
#
6953
:
Rework
the
Readline
module
documentation
to
group
related
functions
together
,
and
add
more
details
such
as
what
underlying
Readline
functions
together
,
and
add
more
details
such
as
what
underlying
Readline
functions
and
variables
are
accessed
.
functions
and
variables
are
accessed
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment