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
06f3b3b9
Commit
06f3b3b9
authored
Oct 29, 2014
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use https:// URLs when referring to python.org hosts.
parent
42bf4863
Changes
49
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
49 changed files
with
140 additions
and
140 deletions
+140
-140
Doc/bugs.rst
Doc/bugs.rst
+2
-2
Doc/conf.py
Doc/conf.py
+1
-1
Doc/distutils/apiref.rst
Doc/distutils/apiref.rst
+1
-1
Doc/distutils/examples.rst
Doc/distutils/examples.rst
+1
-1
Doc/distutils/setupscript.rst
Doc/distutils/setupscript.rst
+2
-2
Doc/extending/building.rst
Doc/extending/building.rst
+1
-1
Doc/extending/newtypes.rst
Doc/extending/newtypes.rst
+1
-1
Doc/faq/design.rst
Doc/faq/design.rst
+2
-2
Doc/faq/general.rst
Doc/faq/general.rst
+29
-29
Doc/faq/installed.rst
Doc/faq/installed.rst
+1
-1
Doc/faq/library.rst
Doc/faq/library.rst
+5
-5
Doc/faq/programming.rst
Doc/faq/programming.rst
+4
-4
Doc/glossary.rst
Doc/glossary.rst
+3
-3
Doc/howto/descriptor.rst
Doc/howto/descriptor.rst
+1
-1
Doc/howto/functional.rst
Doc/howto/functional.rst
+1
-1
Doc/howto/logging-cookbook.rst
Doc/howto/logging-cookbook.rst
+1
-1
Doc/howto/pyporting.rst
Doc/howto/pyporting.rst
+10
-10
Doc/howto/unicode.rst
Doc/howto/unicode.rst
+3
-3
Doc/howto/urllib2.rst
Doc/howto/urllib2.rst
+1
-1
Doc/howto/webservers.rst
Doc/howto/webservers.rst
+9
-9
Doc/includes/email-alternative.py
Doc/includes/email-alternative.py
+2
-2
Doc/library/bz2.rst
Doc/library/bz2.rst
+1
-1
Doc/library/datetime.rst
Doc/library/datetime.rst
+1
-1
Doc/library/functions.rst
Doc/library/functions.rst
+1
-1
Doc/library/index.rst
Doc/library/index.rst
+1
-1
Doc/library/othergui.rst
Doc/library/othergui.rst
+1
-1
Doc/library/popen2.rst
Doc/library/popen2.rst
+1
-1
Doc/library/pydoc.rst
Doc/library/pydoc.rst
+1
-1
Doc/library/sys.rst
Doc/library/sys.rst
+1
-1
Doc/library/unittest.rst
Doc/library/unittest.rst
+2
-2
Doc/library/xml.dom.rst
Doc/library/xml.dom.rst
+1
-1
Doc/library/xmllib.rst
Doc/library/xmllib.rst
+2
-2
Doc/license.rst
Doc/license.rst
+1
-1
Doc/reference/datamodel.rst
Doc/reference/datamodel.rst
+2
-2
Doc/tools/static/version_switch.js
Doc/tools/static/version_switch.js
+1
-1
Doc/tutorial/classes.rst
Doc/tutorial/classes.rst
+1
-1
Doc/tutorial/index.rst
Doc/tutorial/index.rst
+1
-1
Doc/tutorial/whatnow.rst
Doc/tutorial/whatnow.rst
+4
-4
Doc/using/mac.rst
Doc/using/mac.rst
+3
-3
Doc/using/unix.rst
Doc/using/unix.rst
+2
-2
Doc/using/windows.rst
Doc/using/windows.rst
+5
-5
Doc/whatsnew/2.0.rst
Doc/whatsnew/2.0.rst
+3
-3
Doc/whatsnew/2.1.rst
Doc/whatsnew/2.1.rst
+2
-2
Doc/whatsnew/2.2.rst
Doc/whatsnew/2.2.rst
+3
-3
Doc/whatsnew/2.3.rst
Doc/whatsnew/2.3.rst
+5
-5
Doc/whatsnew/2.4.rst
Doc/whatsnew/2.4.rst
+1
-1
Doc/whatsnew/2.5.rst
Doc/whatsnew/2.5.rst
+3
-3
Doc/whatsnew/2.6.rst
Doc/whatsnew/2.6.rst
+5
-5
Doc/whatsnew/2.7.rst
Doc/whatsnew/2.7.rst
+4
-4
No files found.
Doc/bugs.rst
View file @
06f3b3b9
...
@@ -82,6 +82,6 @@ patching Python in the `Python Developer's Guide`_. If you have questions,
...
@@ -82,6 +82,6 @@ patching Python in the `Python Developer's Guide`_. If you have questions,
the `core-mentorship mailing list`_ is a friendly place to get answers to
the `core-mentorship mailing list`_ is a friendly place to get answers to
any and all questions pertaining to the process of fixing issues in Python.
any and all questions pertaining to the process of fixing issues in Python.
.. _Documentation bugs: http://bugs.python.org/issue?@filter=status&@filter=components&components=4&status=1&@columns=id,activity,title,status&@sort=-activity
.. _Documentation bugs: http
s
://bugs.python.org/issue?@filter=status&@filter=components&components=4&status=1&@columns=id,activity,title,status&@sort=-activity
.. _Python Developer's Guide: http://docs.python.org/devguide/
.. _Python Developer's Guide: http
s
://docs.python.org/devguide/
.. _core-mentorship mailing list: https://mail.python.org/mailman/listinfo/core-mentorship/
.. _core-mentorship mailing list: https://mail.python.org/mailman/listinfo/core-mentorship/
Doc/conf.py
View file @
06f3b3b9
...
@@ -67,7 +67,7 @@ html_additional_pages = {
...
@@ -67,7 +67,7 @@ html_additional_pages = {
}
}
# Output an OpenSearch description file.
# Output an OpenSearch description file.
html_use_opensearch
=
'http://docs.python.org/'
html_use_opensearch
=
'http
s
://docs.python.org/'
# Additional static files.
# Additional static files.
html_static_path
=
[
'tools/static'
]
html_static_path
=
[
'tools/static'
]
...
...
Doc/distutils/apiref.rst
View file @
06f3b3b9
...
@@ -78,7 +78,7 @@ setup script). Indirectly provides the :class:`distutils.dist.Distribution` and
...
@@ -78,7 +78,7 @@ setup script). Indirectly provides the :class:`distutils.dist.Distribution` and
| | be built | :class:`distutils.core.Extension` |
| | be built | :class:`distutils.core.Extension` |
+--------------------+--------------------------------+-------------------------------------------------------------+
+--------------------+--------------------------------+-------------------------------------------------------------+
| *classifiers* | A list of categories for the | a list of strings; valid classifiers are listed on `PyPI |
| *classifiers* | A list of categories for the | a list of strings; valid classifiers are listed on `PyPI |
| | package | <http
://pypi.python.org/pypi?:action=list_classifiers>`_.
|
| | package | <http
s://pypi.python.org/pypi?:action=list_classifiers>`_.
|
+--------------------+--------------------------------+-------------------------------------------------------------+
+--------------------+--------------------------------+-------------------------------------------------------------+
| *distclass* | the :class:`Distribution` | a subclass of |
| *distclass* | the :class:`Distribution` | a subclass of |
| | class to use | :class:`distutils.core.Distribution` |
| | class to use | :class:`distutils.core.Distribution` |
...
...
Doc/distutils/examples.rst
View file @
06f3b3b9
...
@@ -11,7 +11,7 @@ Distutils Cookbook.
...
@@ -11,7 +11,7 @@ Distutils Cookbook.
..
seealso
::
..
seealso
::
`
Distutils
Cookbook
<
http
://
wiki
.
python
.
org
/
moin
/
Distutils
/
Cookbook
>`
_
`
Distutils
Cookbook
<
http
s
://
wiki
.
python
.
org
/
moin
/
Distutils
/
Cookbook
>`
_
Collection
of
recipes
showing
how
to
achieve
more
control
over
distutils
.
Collection
of
recipes
showing
how
to
achieve
more
control
over
distutils
.
...
...
Doc/distutils/setupscript.rst
View file @
06f3b3b9
...
@@ -28,7 +28,7 @@ the package into Python 1.5.2.) ::
...
@@ -28,7 +28,7 @@ the package into Python 1.5.2.) ::
description
=
'Python Distribution Utilities'
,
description
=
'Python Distribution Utilities'
,
author
=
'Greg Ward'
,
author
=
'Greg Ward'
,
author_email
=
'gward@python.net'
,
author_email
=
'gward@python.net'
,
url
=
'http://www.python.org/sigs/distutils-sig/'
,
url
=
'http
s
://www.python.org/sigs/distutils-sig/'
,
packages
=[
'distutils'
,
'distutils.command'
],
packages
=[
'distutils'
,
'distutils.command'
],
)
)
...
@@ -606,7 +606,7 @@ Notes:
...
@@ -606,7 +606,7 @@ Notes:
(
4
)
(
4
)
These
fields
should
not
be
used
if
your
package
is
to
be
compatible
with
Python
These
fields
should
not
be
used
if
your
package
is
to
be
compatible
with
Python
versions
prior
to
2.2.3
or
2.3
.
The
list
is
available
from
the
`
PyPI
website
versions
prior
to
2.2.3
or
2.3
.
The
list
is
available
from
the
`
PyPI
website
<
http
://
pypi
.
python
.
org
/
pypi
>`
_
.
<
http
s
://
pypi
.
python
.
org
/
pypi
>`
_
.
(
5
)
(
5
)
The
``
long_description
``
field
is
used
by
PyPI
when
you
are
The
``
long_description
``
field
is
used
by
PyPI
when
you
are
...
...
Doc/extending/building.rst
View file @
06f3b3b9
...
@@ -81,7 +81,7 @@ example below. ::
...
@@ -81,7 +81,7 @@ example below. ::
description = 'This is a demo package',
description = 'This is a demo package',
author = 'Martin v. Loewis',
author = 'Martin v. Loewis',
author_email = 'martin@v.loewis.de',
author_email = 'martin@v.loewis.de',
url = 'http://docs.python.org/extending/building',
url = 'http
s
://docs.python.org/extending/building',
long_description = '''
long_description = '''
This is really just a demo package.
This is really just a demo package.
''',
''',
...
...
Doc/extending/newtypes.rst
View file @
06f3b3b9
...
@@ -25,7 +25,7 @@ are some details that you need to understand before you can get started.
...
@@ -25,7 +25,7 @@ are some details that you need to understand before you can get started.
Python 2.2. This document documents how to define new types for Python 2.2 and
Python 2.2. This document documents how to define new types for Python 2.2 and
later. If you need to support older versions of Python, you will need to refer
later. If you need to support older versions of Python, you will need to refer
to `older versions of this documentation
to `older versions of this documentation
<http://www.python.org/doc/versions/>`_.
<http
s
://www.python.org/doc/versions/>`_.
.. _dnt-basics:
.. _dnt-basics:
...
...
Doc/faq/design.rst
View file @
06f3b3b9
...
@@ -398,13 +398,13 @@ calls into the Python run-time system, even for seemingly simple operations like
...
@@ -398,13 +398,13 @@ calls into the Python run-time system, even for seemingly simple operations like
``x+1``.
``x+1``.
Several projects described in the Python newsgroup or at past `Python
Several projects described in the Python newsgroup or at past `Python
conferences <http
://
python.org/community/workshops/>`_ have shown that this
conferences <http
s://www.
python.org/community/workshops/>`_ have shown that this
approach is feasible, although the speedups reached so far are only modest
approach is feasible, although the speedups reached so far are only modest
(e.g. 2x). Jython uses the same strategy for compiling to Java bytecode. (Jim
(e.g. 2x). Jython uses the same strategy for compiling to Java bytecode. (Jim
Hugunin has demonstrated that in combination with whole-program analysis,
Hugunin has demonstrated that in combination with whole-program analysis,
speedups of 1000x are feasible for small demo programs. See the proceedings
speedups of 1000x are feasible for small demo programs. See the proceedings
from the `1997 Python conference
from the `1997 Python conference
<http
://
python.org/workshops/1997-10/proceedings/>`_ for more information.)
<http
s://www.
python.org/workshops/1997-10/proceedings/>`_ for more information.)
Internally, Python source code is always translated into a bytecode
Internally, Python source code is always translated into a bytecode
representation, and this bytecode is then executed by the Python virtual
representation, and this bytecode is then executed by the Python virtual
...
...
Doc/faq/general.rst
View file @
06f3b3b9
This diff is collapsed.
Click to expand it.
Doc/faq/installed.rst
View file @
06f3b3b9
...
@@ -11,7 +11,7 @@ language because Python is easy to learn, but it's also used by professional
...
@@ -11,7 +11,7 @@ language because Python is easy to learn, but it's also used by professional
software developers at places such as Google, NASA, and Lucasfilm Ltd.
software developers at places such as Google, NASA, and Lucasfilm Ltd.
If you wish to learn more about Python, start with the `Beginner's Guide to
If you wish to learn more about Python, start with the `Beginner's Guide to
Python <http://wiki.python.org/moin/BeginnersGuide>`_.
Python <http
s
://wiki.python.org/moin/BeginnersGuide>`_.
Why is Python installed on my machine?
Why is Python installed on my machine?
...
...
Doc/faq/library.rst
View file @
06f3b3b9
...
@@ -19,7 +19,7 @@ standard library module. (Eventually you'll learn what's in the standard
...
@@ -19,7 +19,7 @@ standard library module. (Eventually you'll learn what's in the standard
library and will be able to skip this step.)
library and will be able to skip this step.)
For third-party packages, search the `Python Package Index
For third-party packages, search the `Python Package Index
<http
://pypi.python.org/pypi>`_ or try `Google <http
://www.google.com>`_ or
<http
s://pypi.python.org/pypi>`_ or try `Google <https
://www.google.com>`_ or
another Web search engine. Searching for "Python" plus a keyword or two for
another Web search engine. Searching for "Python" plus a keyword or two for
your topic of interest will usually find something helpful.
your topic of interest will usually find something helpful.
...
@@ -585,7 +585,7 @@ substituted for standard input and output. You will have to use pseudo ttys
...
@@ -585,7 +585,7 @@ substituted for standard input and output. You will have to use pseudo ttys
("ptys") instead of pipes. Or you can use a Python interface to Don Libes'
("ptys") instead of pipes. Or you can use a Python interface to Don Libes'
"expect" library. A Python extension that interfaces to expect is called "expy"
"expect" library. A Python extension that interfaces to expect is called "expy"
and available from http://expectpy.sourceforge.net. A pure Python solution that
and available from http://expectpy.sourceforge.net. A pure Python solution that
works like expect is `pexpect <http://pypi.python.org/pypi/pexpect/>`_.
works like expect is `pexpect <http
s
://pypi.python.org/pypi/pexpect/>`_.
How do I access the serial (RS232) port?
How do I access the serial (RS232) port?
...
@@ -640,7 +640,7 @@ and client-side web systems.
...
@@ -640,7 +640,7 @@ and client-side web systems.
.. XXX check if wiki page is still up to date
.. XXX check if wiki page is still up to date
A summary of available frameworks is maintained by Paul Boddie at
A summary of available frameworks is maintained by Paul Boddie at
http://wiki.python.org/moin/WebProgramming\ .
http
s
://wiki.python.org/moin/WebProgramming\ .
Cameron Laird maintains a useful set of pages about Python web technologies at
Cameron Laird maintains a useful set of pages about Python web technologies at
http://phaseit.net/claird/comp.lang.python/web_python.
http://phaseit.net/claird/comp.lang.python/web_python.
...
@@ -691,7 +691,7 @@ What module should I use to help with generating HTML?
...
@@ -691,7 +691,7 @@ What module should I use to help with generating HTML?
.. XXX add modern template languages
.. XXX add modern template languages
You can find a collection of useful links on the `Web Programming wiki page
You can find a collection of useful links on the `Web Programming wiki page
<http://wiki.python.org/moin/WebProgramming>`_.
<http
s
://wiki.python.org/moin/WebProgramming>`_.
How do I send mail from a Python script?
How do I send mail from a Python script?
...
@@ -771,7 +771,7 @@ and :mod:`GDBM <gdbm>` are also included with standard Python.
...
@@ -771,7 +771,7 @@ and :mod:`GDBM <gdbm>` are also included with standard Python.
Support for most relational databases is available. See the
Support for most relational databases is available. See the
`DatabaseProgramming wiki page
`DatabaseProgramming wiki page
<http://wiki.python.org/moin/DatabaseProgramming>`_ for details.
<http
s
://wiki.python.org/moin/DatabaseProgramming>`_ for details.
How do you implement persistent objects in Python?
How do you implement persistent objects in Python?
...
...
Doc/faq/programming.rst
View file @
06f3b3b9
...
@@ -24,7 +24,7 @@ for pdb as an example.
...
@@ -24,7 +24,7 @@ for pdb as an example.
The IDLE interactive development environment, which is part of the standard
The IDLE interactive development environment, which is part of the standard
Python distribution (normally available as Tools/scripts/idle), includes a
Python distribution (normally available as Tools/scripts/idle), includes a
graphical debugger. There is documentation for the IDLE debugger at
graphical debugger. There is documentation for the IDLE debugger at
http://www.python.org/idle/doc/idle2.html#Debugger.
http
s
://www.python.org/idle/doc/idle2.html#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
...
@@ -146,10 +146,10 @@ development time, greater likelihood of bugs) unless the resulting performance
...
@@ -146,10 +146,10 @@ development time, greater likelihood of bugs) unless the resulting performance
benefit is worth it.
benefit is worth it.
There is a page on the wiki devoted to `performance tips
There is a page on the wiki devoted to `performance tips
<http://wiki.python.org/moin/PythonSpeed/PerformanceTips>`_.
<http
s
://wiki.python.org/moin/PythonSpeed/PerformanceTips>`_.
Guido van Rossum has written up an anecdote related to optimization at
Guido van Rossum has written up an anecdote related to optimization at
http://www.python.org/doc/essays/list2str.
http
s
://www.python.org/doc/essays/list2str.
One thing to notice is that function and (especially) method calls are rather
One thing to notice is that function and (especially) method calls are rather
expensive; if you have designed a purely OO interface with lots of tiny
expensive; if you have designed a purely OO interface with lots of tiny
...
@@ -207,7 +207,7 @@ not dealing with constant string patterns. You may still use :ref:`the old %
...
@@ -207,7 +207,7 @@ not dealing with constant string patterns. You may still use :ref:`the old %
operations <string-formatting>` ``string % tuple`` and ``string % dictionary``.
operations <string-formatting>` ``string % tuple`` and ``string % dictionary``.
Be sure to use the :meth:`list.sort` built-in method to do sorting, and see the
Be sure to use the :meth:`list.sort` built-in method to do sorting, and see the
`sorting mini-HOWTO <http://wiki.python.org/moin/HowTo/Sorting>`_ for examples
`sorting mini-HOWTO <http
s
://wiki.python.org/moin/HowTo/Sorting>`_ for examples
of moderately advanced usage. :meth:`list.sort` beats other techniques for
of moderately advanced usage. :meth:`list.sort` beats other techniques for
sorting in all but the most extreme circumstances.
sorting in all but the most extreme circumstances.
...
...
Doc/glossary.rst
View file @
06f3b3b9
...
@@ -75,7 +75,7 @@ Glossary
...
@@ -75,7 +75,7 @@ Glossary
BDFL
BDFL
Benevolent Dictator For Life, a.k.a. `Guido van Rossum
Benevolent Dictator For Life, a.k.a. `Guido van Rossum
<http://www.python.org/~guido/>`_, Python'
s
creator
.
<http
s
://www.python.org/~guido/>`_, Python'
s
creator
.
bytes
-
like
object
bytes
-
like
object
An
object
that
supports
the
:
ref
:`
buffer
protocol
<
bufferobjects
>`,
An
object
that
supports
the
:
ref
:`
buffer
protocol
<
bufferobjects
>`,
...
@@ -140,7 +140,7 @@ Glossary
...
@@ -140,7 +140,7 @@ Glossary
CPython
CPython
The
canonical
implementation
of
the
Python
programming
language
,
as
The
canonical
implementation
of
the
Python
programming
language
,
as
distributed
on
`
python
.
org
<
http
://
python
.
org
>`
_
.
The
term
"CPython"
distributed
on
`
python
.
org
<
http
s
://
www
.
python
.
org
>`
_
.
The
term
"CPython"
is
used
when
necessary
to
distinguish
this
implementation
from
others
is
used
when
necessary
to
distinguish
this
implementation
from
others
such
as
Jython
or
IronPython
.
such
as
Jython
or
IronPython
.
...
@@ -511,7 +511,7 @@ Glossary
...
@@ -511,7 +511,7 @@ Glossary
method
resolution
order
method
resolution
order
Method
Resolution
Order
is
the
order
in
which
base
classes
are
searched
Method
Resolution
Order
is
the
order
in
which
base
classes
are
searched
for
a
member
during
lookup
.
See
`
The
Python
2.3
Method
Resolution
Order
for
a
member
during
lookup
.
See
`
The
Python
2.3
Method
Resolution
Order
<
http
://
www
.
python
.
org
/
download
/
releases
/
2.3
/
mro
/>`
_
.
<
http
s
://
www
.
python
.
org
/
download
/
releases
/
2.3
/
mro
/>`
_
.
module
module
An
object
that
serves
as
an
organizational
unit
of
Python
code
.
Modules
An
object
that
serves
as
an
organizational
unit
of
Python
code
.
Modules
...
...
Doc/howto/descriptor.rst
View file @
06f3b3b9
...
@@ -133,7 +133,7 @@ Note, in Python 2.2, ``super(B, obj).m()`` would only invoke :meth:`__get__` if
...
@@ -133,7 +133,7 @@ Note, in Python 2.2, ``super(B, obj).m()`` would only invoke :meth:`__get__` if
invoked unless an old-style class is involved. The implementation details are
invoked unless an old-style class is involved. The implementation details are
in :c:func:`super_getattro()` in :source:`Objects/typeobject.c`.
in :c:func:`super_getattro()` in :source:`Objects/typeobject.c`.
.. _`Guido's Tutorial`: http://www.python.org/2.2.3/descrintro.html#cooperation
.. _`Guido's Tutorial`: http
s
://www.python.org/2.2.3/descrintro.html#cooperation
The details above show that the mechanism for descriptors is embedded in the
The details above show that the mechanism for descriptors is embedded in the
:meth:`__getattribute__()` methods for :class:`object`, :class:`type`, and
:meth:`__getattribute__()` methods for :class:`object`, :class:`type`, and
...
...
Doc/howto/functional.rst
View file @
06f3b3b9
...
@@ -741,7 +741,7 @@ the constructed list's ``.sort()`` method. ::
...
@@ -741,7 +741,7 @@ the constructed list's ``.sort()`` method. ::
[9878, 9828, 8442, 7953, 6431, 6213, 2207, 769]
[9878, 9828, 8442, 7953, 6431, 6213, 2207, 769]
(For a more detailed discussion of sorting, see the Sorting mini-HOWTO in the
(For a more detailed discussion of sorting, see the Sorting mini-HOWTO in the
Python wiki at http://wiki.python.org/moin/HowTo/Sorting.)
Python wiki at http
s
://wiki.python.org/moin/HowTo/Sorting.)
The ``any(iter)`` and ``all(iter)`` built-ins look at the truth values of an
The ``any(iter)`` and ``all(iter)`` built-ins look at the truth values of an
iterable's contents. :func:`any` returns ``True`` if any element in the iterable is
iterable's contents. :func:`any` returns ``True`` if any element in the iterable is
...
...
Doc/howto/logging-cookbook.rst
View file @
06f3b3b9
...
@@ -587,7 +587,7 @@ file from your processes. The existing :class:`FileHandler` and subclasses do
...
@@ -587,7 +587,7 @@ file from your processes. The existing :class:`FileHandler` and subclasses do
not make use of :mod:`multiprocessing` at present, though they may do so in the
not make use of :mod:`multiprocessing` at present, though they may do so in the
future. Note that at present, the :mod:`multiprocessing` module does not provide
future. Note that at present, the :mod:`multiprocessing` module does not provide
working lock functionality on all platforms (see
working lock functionality on all platforms (see
http://bugs.python.org/issue3770).
http
s
://bugs.python.org/issue3770).
Using file rotation
Using file rotation
...
...
Doc/howto/pyporting.rst
View file @
06f3b3b9
...
@@ -588,7 +588,7 @@ thanks for making public their tips for porting Python 2 code to Python 3 (and
...
@@ -588,7 +588,7 @@ thanks for making public their tips for porting Python 2 code to Python 3 (and
thus helping provide information for this document and its various revisions
thus helping provide information for this document and its various revisions
over the years):
over the years):
* http://wiki.python.org/moin/PortingPythonToPy3k
* http
s
://wiki.python.org/moin/PortingPythonToPy3k
* http://python3porting.com/
* http://python3porting.com/
* http://docs.pythonsprints.com/python3_porting/py-porting.html
* http://docs.pythonsprints.com/python3_porting/py-porting.html
* http://techspot.zzzeek.org/2011/01/24/zzzeek-s-guide-to-python-3-porting/
* http://techspot.zzzeek.org/2011/01/24/zzzeek-s-guide-to-python-3-porting/
...
@@ -602,23 +602,23 @@ please email the python-porting_ mailing list.
...
@@ -602,23 +602,23 @@ please email the python-porting_ mailing list.
.. _2to3: http://docs.python.org/2/library/2to3.html
.. _2to3: http
s
://docs.python.org/2/library/2to3.html
.. _3to2: https://pypi.python.org/pypi/3to2
.. _3to2: https://pypi.python.org/pypi/3to2
.. _Cheeseshop: PyPI_
.. _Cheeseshop: PyPI_
.. _coverage: https://pypi.python.org/pypi/coverage
.. _coverage: https://pypi.python.org/pypi/coverage
.. _future: http://python-future.org/
.. _future: http://python-future.org/
.. _modernize: https://github.com/mitsuhiko/python-modernize
.. _modernize: https://github.com/mitsuhiko/python-modernize
.. _Porting to Python 3: http://python3porting.com/
.. _Porting to Python 3: http://python3porting.com/
.. _PyPI: http://pypi.python.org/
.. _PyPI: http
s
://pypi.python.org/
.. _Python 2.2: http://www.python.org/2.2.x
.. _Python 2.2: http
s
://www.python.org/2.2.x
.. _Python 2.5: http://www.python.org/2.5.x
.. _Python 2.5: http
s
://www.python.org/2.5.x
.. _Python 2.6: http://www.python.org/2.6.x
.. _Python 2.6: http
s
://www.python.org/2.6.x
.. _Python 2.7: http://www.python.org/2.7.x
.. _Python 2.7: http
s
://www.python.org/2.7.x
.. _Python 2.5: http://www.python.org/2.5.x
.. _Python 2.5: http
s
://www.python.org/2.5.x
.. _Python 3.3: http://www.python.org/3.3.x
.. _Python 3.3: http
s
://www.python.org/3.3.x
.. _Python 3 Packages: https://pypi.python.org/pypi?:action=browse&c=533&show=all
.. _Python 3 Packages: https://pypi.python.org/pypi?:action=browse&c=533&show=all
.. _Python 3 Q & A: http://ncoghlan-devs-python-notes.readthedocs.org/en/latest/python3/questions_and_answers.html
.. _Python 3 Q & A: http://ncoghlan-devs-python-notes.readthedocs.org/en/latest/python3/questions_and_answers.html
.. _python-porting: http://mail.python.org/mailman/listinfo/python-porting
.. _python-porting: http
s
://mail.python.org/mailman/listinfo/python-porting
.. _six: https://pypi.python.org/pypi/six
.. _six: https://pypi.python.org/pypi/six
.. _tox: https://pypi.python.org/pypi/tox
.. _tox: https://pypi.python.org/pypi/tox
.. _trove classifiers: https://pypi.python.org/pypi?%3Aaction=list_classifiers
.. _trove classifiers: https://pypi.python.org/pypi?%3Aaction=list_classifiers
...
...
Doc/howto/unicode.rst
View file @
06f3b3b9
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
This HOWTO discusses Python 2.x's support for Unicode, and explains
This HOWTO discusses Python 2.x's support for Unicode, and explains
various problems that people commonly encounter when trying to work
various problems that people commonly encounter when trying to work
with Unicode. For the Python 3 version, see
with Unicode. For the Python 3 version, see
<http
://docs.python.org/py3k
/howto/unicode.html>.
<http
s://docs.python.org/3
/howto/unicode.html>.
Introduction to Unicode
Introduction to Unicode
=======================
=======================
...
@@ -435,7 +435,7 @@ When you run it with Python 2.4, it will output the following warning::
...
@@ -435,7 +435,7 @@ When you run it with Python 2.4, it will output the following warning::
amk:~$ python2.4 p263.py
amk:~$ python2.4 p263.py
sys:1: DeprecationWarning: Non-ASCII character '\xe9'
sys:1: DeprecationWarning: Non-ASCII character '\xe9'
in file p263.py on line 2, but no encoding declared;
in file p263.py on line 2, but no encoding declared;
see http://www.python.org/peps/pep-0263.html for details
see http
s
://www.python.org/peps/pep-0263.html for details
Python 2.5 and higher are stricter and will produce a syntax error::
Python 2.5 and higher are stricter and will produce a syntax error::
...
@@ -443,7 +443,7 @@ Python 2.5 and higher are stricter and will produce a syntax error::
...
@@ -443,7 +443,7 @@ Python 2.5 and higher are stricter and will produce a syntax error::
File "/tmp/p263.py", line 2
File "/tmp/p263.py", line 2
SyntaxError: Non-ASCII character '\xc3' in file /tmp/p263.py
SyntaxError: Non-ASCII character '\xc3' in file /tmp/p263.py
on line 2, but no encoding declared; see
on line 2, but no encoding declared; see
http://www.python.org/peps/pep-0263.html for details
http
s
://www.python.org/peps/pep-0263.html for details
Unicode Properties
Unicode Properties
...
...
Doc/howto/urllib2.rst
View file @
06f3b3b9
...
@@ -24,7 +24,7 @@ Introduction
...
@@ -24,7 +24,7 @@ Introduction
A tutorial on *Basic Authentication*, with examples in Python.
A tutorial on *Basic Authentication*, with examples in Python.
**urllib2** is a
`Python <http://www.python.org>`_
module for fetching URLs
**urllib2** is a
Python
module for fetching URLs
(Uniform Resource Locators). It offers a very simple interface, in the form of
(Uniform Resource Locators). It offers a very simple interface, in the form of
the *urlopen* function. This is capable of fetching URLs using a variety of
the *urlopen* function. This is capable of fetching URLs using a variety of
different protocols. It also offers a slightly more complex interface for
different protocols. It also offers a slightly more complex interface for
...
...
Doc/howto/webservers.rst
View file @
06f3b3b9
...
@@ -26,7 +26,7 @@ of the most popular libraries is provided.
...
@@ -26,7 +26,7 @@ of the most popular libraries is provided.
While this HOWTO tries to give an overview of Python in the web, it cannot
While this HOWTO tries to give an overview of Python in the web, it cannot
always be as up to date as desired. Web development in Python is rapidly
always be as up to date as desired. Web development in Python is rapidly
moving forward, so the wiki page on `Web Programming
moving forward, so the wiki page on `Web Programming
<http:
//
wiki
.
python
.
org
/
moin
/
WebProgramming
>
`_ may be more in sync with
<http
s
:
//
wiki
.
python
.
org
/
moin
/
WebProgramming
>
`_ may be more in sync with
recent development.
recent development.
...
@@ -86,7 +86,7 @@ available.
...
@@ -86,7 +86,7 @@ available.
applications, instead of presenting a "500 Internal Server Error" message
applications, instead of presenting a "500 Internal Server Error" message
The Python wiki features a page on `CGI scripts
The Python wiki features a page on `CGI scripts
<http:
//
wiki
.
python
.
org
/
moin
/
CgiScripts
>
`_ with some additional information
<http
s
:
//
wiki
.
python
.
org
/
moin
/
CgiScripts
>
`_ with some additional information
about CGI in Python.
about CGI in Python.
...
@@ -308,7 +308,7 @@ following WSGI-application::
...
@@ -308,7 +308,7 @@ following WSGI-application::
WSGIServer(app).run()
WSGIServer(app).run()
This is a simple WSGI application, but you need to install `flup
This is a simple WSGI application, but you need to install `flup
<http:
//
pypi
.
python
.
org
/
pypi
/
flup
/
1
.
0
>
`_ first, as flup handles the low level
<http
s
:
//
pypi
.
python
.
org
/
pypi
/
flup
/
1
.
0
>
`_ first, as flup handles the low level
FastCGI access.
FastCGI access.
.. seealso::
.. seealso::
...
@@ -485,7 +485,7 @@ developing a web site.
...
@@ -485,7 +485,7 @@ developing a web site.
There are far more components than can be presented here. The Python wiki
There are far more components than can be presented here. The Python wiki
has a page about these components, called
has a page about these components, called
`Web Components
<http:
//
wiki
.
python
.
org
/
moin
/
WebComponents
>
`_.
`Web Components
<http
s
:
//
wiki
.
python
.
org
/
moin
/
WebComponents
>
`_.
Templates
Templates
...
@@ -532,7 +532,7 @@ Popular template engines include:
...
@@ -532,7 +532,7 @@ Popular template engines include:
There are many template engines competing for attention, because it is
There are many template engines competing for attention, because it is
pretty easy to create them in Python. The page `Templating
pretty easy to create them in Python. The page `Templating
<http:
//
wiki
.
python
.
org
/
moin
/
Templating
>
`_ in the wiki lists a big,
<http
s
:
//
wiki
.
python
.
org
/
moin
/
Templating
>
`_ in the wiki lists a big,
ever-growing number of these. The three listed above are considered "second
ever-growing number of these. The three listed above are considered "second
generation" template engines and are a good place to start.
generation" template engines and are a good place to start.
...
@@ -582,11 +582,11 @@ alternate storage mechanism.
...
@@ -582,11 +582,11 @@ alternate storage mechanism.
.. seealso::
.. seealso::
* `Persistence Tools
<http:
//
wiki
.
python
.
org
/
moin
/
PersistenceTools
>
`_ lists
* `Persistence Tools
<http
s
:
//
wiki
.
python
.
org
/
moin
/
PersistenceTools
>
`_ lists
possibilities on how to save data in the file system. Some of these
possibilities on how to save data in the file system. Some of these
modules are part of the standard library
modules are part of the standard library
* `Database Programming
<http:
//
wiki
.
python
.
org
/
moin
/
DatabaseProgramming
>
`_
* `Database Programming
<http
s
:
//
wiki
.
python
.
org
/
moin
/
DatabaseProgramming
>
`_
helps with choosing a method for saving data
helps with choosing a method for saving data
* `SQLAlchemy
<http:
//
www
.
sqlalchemy
.
org
/>
`_, the most powerful OR-Mapper
* `SQLAlchemy
<http:
//
www
.
sqlalchemy
.
org
/>
`_, the most powerful OR-Mapper
...
@@ -736,9 +736,9 @@ found in the Python wiki.
...
@@ -736,9 +736,9 @@ found in the Python wiki.
.. seealso::
.. seealso::
The Python wiki contains an extensive list of `web frameworks
The Python wiki contains an extensive list of `web frameworks
<http:
//
wiki
.
python
.
org
/
moin
/
WebFrameworks
>
`_.
<http
s
:
//
wiki
.
python
.
org
/
moin
/
WebFrameworks
>
`_.
Most frameworks also have their own mailing lists and IRC channels, look out
Most frameworks also have their own mailing lists and IRC channels, look out
for these on the projects' web sites. There is also a general "Python in the
for these on the projects' web sites. There is also a general "Python in the
Web" IRC channel on freenode called `#python.web
Web" IRC channel on freenode called `#python.web
<http:
//
wiki
.
python
.
org
/
moin
/
PoundPythonWeb
>
`_.
<http
s
:
//
wiki
.
python
.
org
/
moin
/
PoundPythonWeb
>
`_.
Doc/includes/email-alternative.py
100644 → 100755
View file @
06f3b3b9
...
@@ -17,14 +17,14 @@ msg['From'] = me
...
@@ -17,14 +17,14 @@ msg['From'] = me
msg
[
'To'
]
=
you
msg
[
'To'
]
=
you
# Create the body of the message (a plain-text and an HTML version).
# Create the body of the message (a plain-text and an HTML version).
text
=
"Hi!
\
n
How are you?
\
n
Here is the link you wanted:
\
n
http://www.python.org"
text
=
"Hi!
\
n
How are you?
\
n
Here is the link you wanted:
\
n
http
s
://www.python.org"
html
=
"""
\
html
=
"""
\
<html>
<html>
<head></head>
<head></head>
<body>
<body>
<p>Hi!<br>
<p>Hi!<br>
How are you?<br>
How are you?<br>
Here is the <a href="http://www.python.org">link</a> you wanted.
Here is the <a href="http
s
://www.python.org">link</a> you wanted.
</p>
</p>
</body>
</body>
</html>
</html>
...
...
Doc/library/bz2.rst
View file @
06f3b3b9
...
@@ -74,7 +74,7 @@ Handling of compressed files is offered by the :class:`BZ2File` class.
...
@@ -74,7 +74,7 @@ Handling of compressed files is offered by the :class:`BZ2File` class.
input file, only the first stream will be accessible. If you require
input file, only the first stream will be accessible. If you require
support for multi-stream files, consider using the third-party
support for multi-stream files, consider using the third-party
:mod:`bz2file` module (available from
:mod:`bz2file` module (available from
`PyPI <http://pypi.python.org/pypi/bz2file>`_). This module provides a
`PyPI <http
s
://pypi.python.org/pypi/bz2file>`_). This module provides a
backport of Python 3.3's :class:`BZ2File` class, which does support
backport of Python 3.3's :class:`BZ2File` class, which does support
multi-stream files.
multi-stream files.
...
...
Doc/library/datetime.rst
View file @
06f3b3b9
...
@@ -1563,7 +1563,7 @@ EST (fixed offset -5 hours), or only EDT (fixed offset -4 hours)).
...
@@ -1563,7 +1563,7 @@ EST (fixed offset -5 hours), or only EDT (fixed offset -4 hours)).
.. seealso::
.. seealso::
`pytz <http://pypi.python.org/pypi/pytz/>`_
`pytz <http
s
://pypi.python.org/pypi/pytz/>`_
The standard library has no :class:`tzinfo` instances, but
The standard library has no :class:`tzinfo` instances, but
there exists a third-party library which brings the *IANA timezone
there exists a third-party library which brings the *IANA timezone
database* (also known as the Olson database) to Python: *pytz*.
database* (also known as the Olson database) to Python: *pytz*.
...
...
Doc/library/functions.rst
View file @
06f3b3b9
...
@@ -1324,7 +1324,7 @@ available. They are listed here in alphabetical order.
...
@@ -1324,7 +1324,7 @@ available. They are listed here in alphabetical order.
example, sort by department, then by salary grade).
example, sort by department, then by salary grade).
For sorting examples and a brief sorting tutorial, see `Sorting HowTo
For sorting examples and a brief sorting tutorial, see `Sorting HowTo
<http://wiki.python.org/moin/HowTo/Sorting/>`_\.
<http
s
://wiki.python.org/moin/HowTo/Sorting/>`_\.
.. versionadded:: 2.4
.. versionadded:: 2.4
...
...
Doc/library/index.rst
View file @
06f3b3b9
...
@@ -30,7 +30,7 @@ optional components.
...
@@ -30,7 +30,7 @@ optional components.
In addition to the standard library, there is a growing collection of
In addition to the standard library, there is a growing collection of
several thousand components (from individual programs and modules to
several thousand components (from individual programs and modules to
packages and entire application development frameworks), available from
packages and entire application development frameworks), available from
the `Python Package Index <http://pypi.python.org/pypi>`_.
the `Python Package Index <http
s
://pypi.python.org/pypi>`_.
.. toctree::
.. toctree::
...
...
Doc/library/othergui.rst
View file @
06f3b3b9
...
@@ -45,7 +45,7 @@ available for Python:
...
@@ -45,7 +45,7 @@ available for Python:
PyGTK, PyQt, and wxPython, all have a modern look and feel and more
PyGTK, PyQt, and wxPython, all have a modern look and feel and more
widgets than Tkinter. In addition, there are many other GUI toolkits for
widgets than Tkinter. In addition, there are many other GUI toolkits for
Python, both cross-platform, and platform-specific. See the `GUI Programming
Python, both cross-platform, and platform-specific. See the `GUI Programming
<http://wiki.python.org/moin/GuiProgramming>`_ page in the Python Wiki for a
<http
s
://wiki.python.org/moin/GuiProgramming>`_ page in the Python Wiki for a
much more complete list, and also for links to documents where the
much more complete list, and also for links to documents where the
different GUI toolkits are compared.
different GUI toolkits are compared.
Doc/library/popen2.rst
View file @
06f3b3b9
...
@@ -153,7 +153,7 @@ is reading from the first process, also in a blocking fashion.
...
@@ -153,7 +153,7 @@ is reading from the first process, also in a blocking fashion.
.. Example explanation and suggested work-arounds substantially stolen
.. Example explanation and suggested work-arounds substantially stolen
from Martin von Löwis:
from Martin von Löwis:
http://mail.python.org/pipermail/python-dev/2000-September/009460.html
http
s
://mail.python.org/pipermail/python-dev/2000-September/009460.html
There are several ways to deal with this situation.
There are several ways to deal with this situation.
...
...
Doc/library/pydoc.rst
View file @
06f3b3b9
...
@@ -69,7 +69,7 @@ documents precisely the version of the module you would get if you started the
...
@@ -69,7 +69,7 @@ documents precisely the version of the module you would get if you started the
Python interpreter and typed ``import spam``.
Python interpreter and typed ``import spam``.
Module docs for core modules are assumed to reside in
Module docs for core modules are assumed to reside in
http://docs.python.org/library/. This can be overridden by setting the
http
s
://docs.python.org/library/. This can be overridden by setting the
:envvar:`PYTHONDOCS` environment variable to a different URL or to a local
:envvar:`PYTHONDOCS` environment variable to a different URL or to a local
directory containing the Library Reference Manual pages.
directory containing the Library Reference Manual pages.
Doc/library/sys.rst
View file @
06f3b3b9
...
@@ -1014,7 +1014,7 @@ always available.
...
@@ -1014,7 +1014,7 @@ always available.
.. versionadded:: 2.5
.. versionadded:: 2.5
.. note::
.. note::
Python is now `developed <http://docs.python.org/devguide/>`_ using
Python is now `developed <http
s
://docs.python.org/devguide/>`_ using
Mercurial. In recent Python 2.7 bugfix releases, :data:`subversion`
Mercurial. In recent Python 2.7 bugfix releases, :data:`subversion`
therefore contains placeholder information. It is removed in Python
therefore contains placeholder information. It is removed in Python
3.3.
3.3.
...
...
Doc/library/unittest.rst
View file @
06f3b3b9
...
@@ -78,7 +78,7 @@ need to derive from a specific class.
...
@@ -78,7 +78,7 @@ need to derive from a specific class.
Module :mod:`doctest`
Module :mod:`doctest`
Another test-support module with a very different flavor.
Another test-support module with a very different flavor.
`unittest2: A backport of new unittest features for Python 2.4-2.6 <http://pypi.python.org/pypi/unittest2>`_
`unittest2: A backport of new unittest features for Python 2.4-2.6 <http
s
://pypi.python.org/pypi/unittest2>`_
Many new features were added to unittest in Python 2.7, including test
Many new features were added to unittest in Python 2.7, including test
discovery. unittest2 allows you to use these features with earlier
discovery. unittest2 allows you to use these features with earlier
versions of Python.
versions of Python.
...
@@ -91,7 +91,7 @@ need to derive from a specific class.
...
@@ -91,7 +91,7 @@ need to derive from a specific class.
Third-party unittest frameworks with a lighter-weight syntax for writing
Third-party unittest frameworks with a lighter-weight syntax for writing
tests. For example, ``assert func(10) == 42``.
tests. For example, ``assert func(10) == 42``.
`The Python Testing Tools Taxonomy <http://wiki.python.org/moin/PythonTestingToolsTaxonomy>`_
`The Python Testing Tools Taxonomy <http
s
://wiki.python.org/moin/PythonTestingToolsTaxonomy>`_
An extensive list of Python testing tools including functional testing
An extensive list of Python testing tools including functional testing
frameworks and mock object libraries.
frameworks and mock object libraries.
...
...
Doc/library/xml.dom.rst
View file @
06f3b3b9
...
@@ -36,7 +36,7 @@ DOM Level 2 recommendation.
...
@@ -36,7 +36,7 @@ DOM Level 2 recommendation.
.. XXX PyXML is dead...
.. XXX PyXML is dead...
.. The mapping of the Level 3 specification, currently
.. The mapping of the Level 3 specification, currently
only available in draft form, is being developed by the `Python XML Special
only available in draft form, is being developed by the `Python XML Special
Interest Group <http://www.python.org/sigs/xml-sig/>`_ as part of the `PyXML
Interest Group <http
s
://www.python.org/sigs/xml-sig/>`_ as part of the `PyXML
package <http://pyxml.sourceforge.net/>`_. Refer to the documentation bundled
package <http://pyxml.sourceforge.net/>`_. Refer to the documentation bundled
with that package for information on the current state of DOM Level 3 support.
with that package for information on the current state of DOM Level 3 support.
...
...
Doc/library/xmllib.rst
View file @
06f3b3b9
...
@@ -255,11 +255,11 @@ parsing text files formatted in XML (Extensible Markup Language).
...
@@ -255,11 +255,11 @@ parsing text files formatted in XML (Extensible Markup Language).
material on XML, including translations of the specification, are available at
material on XML, including translations of the specification, are available at
http://www.w3.org/XML/.
http://www.w3.org/XML/.
`Python and XML Processing
<http:
//
www
.
python
.
org
/
topics
/
xml
/>
`_
`Python and XML Processing
<http
s
:
//
www
.
python
.
org
/
topics
/
xml
/>
`_
The Python XML Topic Guide provides a great deal of information on using XML
The Python XML Topic Guide provides a great deal of information on using XML
from Python and links to other sources of information on XML.
from Python and links to other sources of information on XML.
`SIG for XML Processing in Python
<http:
//
www
.
python
.
org
/
sigs
/
xml-sig
/>
`_
`SIG for XML Processing in Python
<http
s
:
//
www
.
python
.
org
/
sigs
/
xml-sig
/>
`_
The Python XML Special Interest Group is developing substantial support for
The Python XML Special Interest Group is developing substantial support for
processing XML from Python.
processing XML from Python.
...
...
Doc/license.rst
View file @
06f3b3b9
...
@@ -23,7 +23,7 @@ In May 2000, Guido and the Python core development team moved to BeOpen.com to
...
@@ -23,7 +23,7 @@ In May 2000, Guido and the Python core development team moved to BeOpen.com to
form the BeOpen PythonLabs team. In October of the same year, the PythonLabs
form the BeOpen PythonLabs team. In October of the same year, the PythonLabs
team moved to Digital Creations (now Zope Corporation; see
team moved to Digital Creations (now Zope Corporation; see
http://www.zope.com/). In 2001, the Python Software Foundation (PSF, see
http://www.zope.com/). In 2001, the Python Software Foundation (PSF, see
http://www.python.org/psf/) was formed, a non-profit organization created
http
s
://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.
...
...
Doc/reference/datamodel.rst
View file @
06f3b3b9
...
@@ -783,7 +783,7 @@ Classes
...
@@ -783,7 +783,7 @@ Classes
inheritance structures where there are multiple inheritance paths
inheritance structures where there are multiple inheritance paths
leading back to a common ancestor. Additional details on the C3 MRO used by
leading back to a common ancestor. Additional details on the C3 MRO used by
new-style classes can be found in the documentation accompanying the
new-style classes can be found in the documentation accompanying the
2.3 release at http://www.python.org/download/releases/2.3/mro/.
2.3 release at http
s
://www.python.org/download/releases/2.3/mro/.
.. XXX: Could we add that MRO doc as an appendix to the language ref?
.. XXX: Could we add that MRO doc as an appendix to the language ref?
...
@@ -1148,7 +1148,7 @@ in case of multiple inheritance.
...
@@ -1148,7 +1148,7 @@ in case of multiple inheritance.
While this manual aims to provide comprehensive coverage of Python's class
While this manual aims to provide comprehensive coverage of Python's class
mechanics, it may still be lacking in some areas when it comes to its coverage
mechanics, it may still be lacking in some areas when it comes to its coverage
of new-style classes. Please see http://www.python.org/doc/newstyle/ for
of new-style classes. Please see http
s
://www.python.org/doc/newstyle/ for
sources of additional information.
sources of additional information.
.. index::
.. index::
...
...
Doc/tools/static/version_switch.js
View file @
06f3b3b9
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
window
.
location
.
href
=
new_url
;
window
.
location
.
href
=
new_url
;
},
},
error
:
function
()
{
error
:
function
()
{
window
.
location
.
href
=
'
http://docs.python.org/
'
+
selected
;
window
.
location
.
href
=
'
http
s
://docs.python.org/
'
+
selected
;
}
}
});
});
}
}
...
...
Doc/tutorial/classes.rst
View file @
06f3b3b9
...
@@ -600,7 +600,7 @@ parent only once, and that is monotonic (meaning that a class can be subclassed
...
@@ -600,7 +600,7 @@ parent only once, and that is monotonic (meaning that a class can be subclassed
without affecting the precedence order of its parents). Taken together, these
without affecting the precedence order of its parents). Taken together, these
properties make it possible to design reliable and extensible classes with
properties make it possible to design reliable and extensible classes with
multiple inheritance. For more detail, see
multiple inheritance. For more detail, see
http://www.python.org/download/releases/2.3/mro/.
http
s
://www.python.org/download/releases/2.3/mro/.
.. _tut-private:
.. _tut-private:
...
...
Doc/tutorial/index.rst
View file @
06f3b3b9
...
@@ -12,7 +12,7 @@ and rapid application development in many areas on most platforms.
...
@@ -12,7 +12,7 @@ and rapid application development in many areas on most platforms.
The Python interpreter and the extensive standard library are freely available
The Python interpreter and the extensive standard library are freely available
in source or binary form for all major platforms from the Python Web site,
in source or binary form for all major platforms from the Python Web site,
http://www.python.org/, and may be freely distributed. The same site also
http
s
://www.python.org/, and may be freely distributed. The same site also
contains distributions of and pointers to many free third party Python modules,
contains distributions of and pointers to many free third party Python modules,
programs and tools, and additional documentation.
programs and tools, and additional documentation.
...
...
Doc/tutorial/whatnow.rst
View file @
06f3b3b9
...
@@ -30,15 +30,15 @@ the set are:
...
@@ -30,15 +30,15 @@ the set are:
More Python resources:
More Python resources:
* http://www.python.org: The major Python Web site. It contains code,
* http
s
://www.python.org: The major Python Web site. It contains code,
documentation, and pointers to Python-related pages around the Web. This Web
documentation, and pointers to Python-related pages around the Web. This Web
site is mirrored in various places around the world, such as Europe, Japan, and
site is mirrored in various places around the world, such as Europe, Japan, and
Australia; a mirror may be faster than the main site, depending on your
Australia; a mirror may be faster than the main site, depending on your
geographical location.
geographical location.
* http://docs.python.org: Fast access to Python's documentation.
* http
s
://docs.python.org: Fast access to Python's documentation.
* http://pypi.python.org: The Python Package Index, previously also nicknamed
* http
s
://pypi.python.org: The Python Package Index, previously also nicknamed
the Cheese Shop, is an index of user-created Python modules that are available
the Cheese Shop, is an index of user-created Python modules that are available
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.
...
@@ -56,7 +56,7 @@ around 120 postings a day (with peaks up to several hundred), asking (and
...
@@ -56,7 +56,7 @@ around 120 postings a day (with peaks up to several hundred), asking (and
answering) questions, suggesting new features, and announcing new modules.
answering) questions, suggesting new features, and announcing new modules.
Before posting, be sure to check the list of :ref:`Frequently Asked Questions
Before posting, be sure to check the list of :ref:`Frequently Asked Questions
<faq-index>` (also called the FAQ). Mailing list
<faq-index>` (also called the FAQ). Mailing list
archives are available at http://mail.python.org/pipermail/. The FAQ answers
archives are available at http
s
://mail.python.org/pipermail/. The FAQ answers
many of the questions that come up again and again, and may already contain the
many of the questions that come up again and again, and may already contain the
solution for your problem.
solution for your problem.
...
...
Doc/using/mac.rst
View file @
06f3b3b9
...
@@ -27,7 +27,7 @@ Getting and Installing MacPython
...
@@ -27,7 +27,7 @@ Getting and Installing MacPython
Mac
OS
X
10.8
comes
with
Python
2.7
pre
-
installed
by
Apple
.
If
you
wish
,
you
Mac
OS
X
10.8
comes
with
Python
2.7
pre
-
installed
by
Apple
.
If
you
wish
,
you
are
invited
to
install
the
most
recent
version
of
Python
from
the
Python
website
are
invited
to
install
the
most
recent
version
of
Python
from
the
Python
website
(
http
://
www
.
python
.
org
).
A
current
"universal binary"
build
of
Python
,
which
(
http
s
://
www
.
python
.
org
).
A
current
"universal binary"
build
of
Python
,
which
runs
natively
on
the
Mac
's new Intel and legacy PPC CPU'
s
,
is
available
there
.
runs
natively
on
the
Mac
's new Intel and legacy PPC CPU'
s
,
is
available
there
.
What
you
get
after
installing
is
a
number
of
things
:
What
you
get
after
installing
is
a
number
of
things
:
...
@@ -181,9 +181,9 @@ Other Resources
...
@@ -181,9 +181,9 @@ Other Resources
The
MacPython
mailing
list
is
an
excellent
support
resource
for
Python
users
and
The
MacPython
mailing
list
is
an
excellent
support
resource
for
Python
users
and
developers
on
the
Mac
:
developers
on
the
Mac
:
http
://
www
.
python
.
org
/
community
/
sigs
/
current
/
pythonmac
-
sig
/
http
s
://
www
.
python
.
org
/
community
/
sigs
/
current
/
pythonmac
-
sig
/
Another
useful
resource
is
the
MacPython
wiki
:
Another
useful
resource
is
the
MacPython
wiki
:
http
://
wiki
.
python
.
org
/
moin
/
MacPython
http
s
://
wiki
.
python
.
org
/
moin
/
MacPython
Doc/using/unix.rst
View file @
06f3b3b9
...
@@ -63,9 +63,9 @@ Building Python
...
@@ -63,9 +63,9 @@ Building Python
===============
===============
If you want to compile CPython yourself, first thing you should do is get the
If you want to compile CPython yourself, first thing you should do is get the
`source <http
://
python.org/download/source/>`_. You can download either the
`source <http
s://www.
python.org/download/source/>`_. You can download either the
latest release'
s
source
or
just
grab
a
fresh
`
clone
latest release'
s
source
or
just
grab
a
fresh
`
clone
<
http
://
docs
.
python
.
org
/
devguide
/
setup
#
getting
-
the
-
source
-
code
>`
_
.
(
If
you
want
<
http
s
://
docs
.
python
.
org
/
devguide
/
setup
#
getting
-
the
-
source
-
code
>`
_
.
(
If
you
want
to
contribute
patches
,
you
will
need
a
clone
.)
to
contribute
patches
,
you
will
need
a
clone
.)
The
build
process
consists
in
the
usual
::
The
build
process
consists
in
the
usual
::
...
...
Doc/using/windows.rst
View file @
06f3b3b9
...
@@ -18,7 +18,7 @@ Installing Python
...
@@ -18,7 +18,7 @@ Installing Python
Unlike most Unix systems and services, Windows does not require Python natively
Unlike most Unix systems and services, Windows does not require Python natively
and thus does not pre-install a version of Python. However, the CPython team
and thus does not pre-install a version of Python. However, the CPython team
has compiled Windows installers (MSI packages) with every `release
has compiled Windows installers (MSI packages) with every `release
<http://www.python.org/download/releases/>`_ for many years.
<http
s
://www.python.org/download/releases/>`_ for many years.
With ongoing development of Python, some platforms that used to be supported
With ongoing development of Python, some platforms that used to be supported
earlier are no longer supported (due to the lack of users or developers).
earlier are no longer supported (due to the lack of users or developers).
...
@@ -38,7 +38,7 @@ Check :pep:`11` for details on all unsupported platforms.
...
@@ -38,7 +38,7 @@ Check :pep:`11` for details on all unsupported platforms.
release/python>`_, `Maintainer releases
release/python>`_, `Maintainer releases
<http://www.tishler.net/jason/software/python/>`_)
<http://www.tishler.net/jason/software/python/>`_)
See `Python for Windows (and DOS) <http://www.python.org/download/windows/>`_
See `Python for Windows (and DOS) <http
s
://www.python.org/download/windows/>`_
for detailed information about platforms with precompiled installers.
for detailed information about platforms with precompiled installers.
.. seealso::
.. seealso::
...
@@ -255,7 +255,7 @@ utilities for:
...
@@ -255,7 +255,7 @@ utilities for:
user interfaces
user interfaces
`PythonWin <http://web.archive.org/web/20060524042422/
`PythonWin <http://web.archive.org/web/20060524042422/
http://www.python.org/windows/pythonwin/>`_ is a sample MFC application
http
s
://www.python.org/windows/pythonwin/>`_ is a sample MFC application
shipped with PyWin32. It is an embeddable IDE with a built-in debugger.
shipped with PyWin32. It is an embeddable IDE with a built-in debugger.
.. seealso::
.. seealso::
...
@@ -292,9 +292,9 @@ Compiling Python on Windows
...
@@ -292,9 +292,9 @@ Compiling Python on Windows
===========================
===========================
If you want to compile CPython yourself, first thing you should do is get the
If you want to compile CPython yourself, first thing you should do is get the
`source <http
://
python.org/download/source/>`_. You can download either the
`source <http
s://www.
python.org/download/source/>`_. You can download either the
latest release's source or just grab a fresh `checkout
latest release's source or just grab a fresh `checkout
<http://docs.python.org/devguide/setup#checking-out-the-code>`_.
<http
s
://docs.python.org/devguide/setup#checking-out-the-code>`_.
For Microsoft Visual C++, which is the compiler with which official Python
For Microsoft Visual C++, which is the compiler with which official Python
releases are built, the source tree contains solutions/project files. View the
releases are built, the source tree contains solutions/project files. View the
...
...
Doc/whatsnew/2.0.rst
View file @
06f3b3b9
...
@@ -130,7 +130,7 @@ Guidelines":
...
@@ -130,7 +130,7 @@ Guidelines":
Read the rest of PEP 1 for the details of the PEP editorial process, style, and
Read the rest of PEP 1 for the details of the PEP editorial process, style, and
format. PEPs are kept in the Python CVS tree on SourceForge, though they're not
format. PEPs are kept in the Python CVS tree on SourceForge, though they're not
part of the Python 2.0 distribution, and are also available in HTML form from
part of the Python 2.0 distribution, and are also available in HTML form from
http://www.python.org/peps/. As of September 2000, there are 25 PEPS, ranging
http
s
://www.python.org/peps/. As of September 2000, there are 25 PEPS, ranging
from PEP 201, "Lockstep Iteration", to PEP 225, "Elementwise/Objectwise
from PEP 201, "Lockstep Iteration", to PEP 225, "Elementwise/Objectwise
Operators".
Operators".
...
@@ -566,7 +566,7 @@ such as ``cmp(a,b)`` would always produce an answer, even if a user-defined
...
@@ -566,7 +566,7 @@ such as ``cmp(a,b)`` would always produce an answer, even if a user-defined
simply be silently swallowed.
simply be silently swallowed.
.. Starting URL:
.. Starting URL:
.. http://www.python.org/pipermail/python-dev/2000-April/004834.html
.. http
s
://www.python.org/pipermail/python-dev/2000-April/004834.html
Work has been done on porting Python to 64-bit Windows on the Itanium processor,
Work has been done on porting Python to 64-bit Windows on the Itanium processor,
mostly by Trent Mick of ActiveState. (Confusingly, ``sys.platform`` is still
mostly by Trent Mick of ActiveState. (Confusingly, ``sys.platform`` is still
...
@@ -1003,7 +1003,7 @@ Relationship to PyXML
...
@@ -1003,7 +1003,7 @@ Relationship to PyXML
The XML Special Interest Group has been working on XML-related Python code for a
The XML Special Interest Group has been working on XML-related Python code for a
while. Its code distribution, called PyXML, is available from the SIG's Web
while. Its code distribution, called PyXML, is available from the SIG's Web
pages at http://www.python.org/sigs/xml-sig/. The PyXML distribution also used
pages at http
s
://www.python.org/sigs/xml-sig/. The PyXML distribution also used
the package name ``xml``. If you've written programs that used PyXML, you're
the package name ``xml``. If you've written programs that used PyXML, you're
probably wondering about its compatibility with the 2.0 :mod:`xml` package.
probably wondering about its compatibility with the 2.0 :mod:`xml` package.
...
...
Doc/whatsnew/2.1.rst
View file @
06f3b3b9
...
@@ -562,7 +562,7 @@ You can start creating packages containing :file:`PKG-INFO` even if you're not
...
@@ -562,7 +562,7 @@ You can start creating packages containing :file:`PKG-INFO` even if you're not
using
Python
2.1
,
since
a
new
release
of
the
Distutils
will
be
made
for
users
of
using
Python
2.1
,
since
a
new
release
of
the
Distutils
will
be
made
for
users
of
earlier
Python
versions
.
Version
1.0.2
of
the
Distutils
includes
the
changes
earlier
Python
versions
.
Version
1.0.2
of
the
Distutils
includes
the
changes
described
in
PEP
241
,
as
well
as
various
bugfixes
and
enhancements
.
It
will
be
described
in
PEP
241
,
as
well
as
various
bugfixes
and
enhancements
.
It
will
be
available
from
the
Distutils
SIG
at
http
://
www
.
python
.
org
/
sigs
/
distutils
-
sig
/.
available
from
the
Distutils
SIG
at
http
s
://
www
.
python
.
org
/
sigs
/
distutils
-
sig
/.
..
seealso
::
..
seealso
::
...
@@ -731,7 +731,7 @@ of the more notable changes are:
...
@@ -731,7 +731,7 @@ of the more notable changes are:
...
...
For
a
fuller
discussion
of
the
line
I
/
O
changes
,
see
the
python
-
dev
summary
for
For
a
fuller
discussion
of
the
line
I
/
O
changes
,
see
the
python
-
dev
summary
for
January
1
-
15
,
2001
at
http
://
www
.
python
.
org
/
dev
/
summary
/
2001
-
01
-
1
/.
January
1
-
15
,
2001
at
http
s
://
www
.
python
.
org
/
dev
/
summary
/
2001
-
01
-
1
/.
*
A
new
method
,
:
meth
:`
popitem
`,
was
added
to
dictionaries
to
enable
*
A
new
method
,
:
meth
:`
popitem
`,
was
added
to
dictionaries
to
enable
destructively
iterating
through
the
contents
of
a
dictionary
;
this
can
be
faster
destructively
iterating
through
the
contents
of
a
dictionary
;
this
can
be
faster
...
...
Doc/whatsnew/2.2.rst
View file @
06f3b3b9
...
@@ -24,8 +24,8 @@ up irregularities and dark corners of the language design.
...
@@ -24,8 +24,8 @@ up irregularities and dark corners of the language design.
This article doesn't attempt to provide a complete specification of the new
This article doesn't attempt to provide a complete specification of the new
features, but instead provides a convenient overview. For full details, you
features, but instead provides a convenient overview. For full details, you
should refer to the documentation for Python 2.2, such as the `Python Library
should refer to the documentation for Python 2.2, such as the `Python Library
Reference <http://www.python.org/doc/2.2/lib/lib.html>`_ and the `Python
Reference <http
s
://www.python.org/doc/2.2/lib/lib.html>`_ and the `Python
Reference Manual <http://www.python.org/doc/2.2/ref/ref.html>`_. If you want to
Reference Manual <http
s
://www.python.org/doc/2.2/ref/ref.html>`_. If you want to
understand the complete implementation and design rationale for a change, refer
understand the complete implementation and design rationale for a change, refer
to the PEP for a particular new feature.
to the PEP for a particular new feature.
...
@@ -395,7 +395,7 @@ This section has just been a quick overview of the new features, giving enough
...
@@ -395,7 +395,7 @@ This section has just been a quick overview of the new features, giving enough
of an explanation to start you programming, but many details have been
of an explanation to start you programming, but many details have been
simplified or ignored. Where should you go to get a more complete picture?
simplified or ignored. Where should you go to get a more complete picture?
http://www.python.org/2.2/descrintro.html is a lengthy tutorial introduction to
http
s
://www.python.org/2.2/descrintro.html is a lengthy tutorial introduction to
the descriptor features, written by Guido van Rossum. If my description has
the descriptor features, written by Guido van Rossum. If my description has
whetted your appetite, go read this tutorial next, because it goes into much
whetted your appetite, go read this tutorial next, because it goes into much
more detail about the new features while still remaining quite easy to read.
more detail about the new features while still remaining quite easy to read.
...
...
Doc/whatsnew/2.3.rst
View file @
06f3b3b9
...
@@ -657,7 +657,7 @@ The heart of the catalog is the new Distutils :command:`register` command.
...
@@ -657,7 +657,7 @@ The heart of the catalog is the new Distutils :command:`register` command.
Running ``python setup.py register`` will collect the metadata describing a
Running ``python setup.py register`` will collect the metadata describing a
package, such as its name, version, maintainer, description, &c., and send it to
package, such as its name, version, maintainer, description, &c., and send it to
a central catalog server. The resulting catalog is available from
a central catalog server. The resulting catalog is available from
http
://www
.python.org/pypi.
http
s://pypi
.python.org/pypi.
To make the catalog a bit more useful, a new optional *classifiers* keyword
To make the catalog a bit more useful, a new optional *classifiers* keyword
argument has been added to the Distutils :func:`setup` function. A list of
argument has been added to the Distutils :func:`setup` function. A list of
...
@@ -1082,9 +1082,9 @@ Here are all of the changes that Python 2.3 makes to the core Python language.
...
@@ -1082,9 +1082,9 @@ Here are all of the changes that Python 2.3 makes to the core Python language.
C3 algorithm as described in the paper `"
A
Monotonic
Superclass
Linearization
C3 algorithm as described in the paper `"
A
Monotonic
Superclass
Linearization
for
Dylan
" <http://www.webcom.com/haahr/dylan/linearization-oopsla96.html>`_. To
for
Dylan
" <http://www.webcom.com/haahr/dylan/linearization-oopsla96.html>`_. To
understand the motivation for this change, read Michele Simionato's article
understand the motivation for this change, read Michele Simionato's article
`"
Python
2.3
Method
Resolution
Order
" <http://www.python.org/2.3/mro.html>`_, or
`"
Python
2.3
Method
Resolution
Order
" <http
s
://www.python.org/2.3/mro.html>`_, or
read the thread on python-dev starting with the message at
read the thread on python-dev starting with the message at
http://mail.python.org/pipermail/python-dev/2002-October/029035.html. Samuele
http
s
://mail.python.org/pipermail/python-dev/2002-October/029035.html. Samuele
Pedroni first pointed out the problem and also implemented the fix by coding the
Pedroni first pointed out the problem and also implemented the fix by coding the
C3 algorithm.
C3 algorithm.
...
@@ -1564,7 +1564,7 @@ complete list of changes, or look through the CVS logs for all the details.
...
@@ -1564,7 +1564,7 @@ complete list of changes, or look through the CVS logs for all the details.
to the correct thread, and waiting for the results. Other interfaces can't be
to the correct thread, and waiting for the results. Other interfaces can't be
handled automatically but :mod:`Tkinter` will now raise an exception on such an
handled automatically but :mod:`Tkinter` will now raise an exception on such an
access so that you can at least find out about the problem. See
access so that you can at least find out about the problem. See
http://mail.python.org/pipermail/python-dev/2002-December/031107.html for a more
http
s
://mail.python.org/pipermail/python-dev/2002-December/031107.html for a more
detailed explanation of this change. (Implemented by Martin von Löwis.)
detailed explanation of this change. (Implemented by Martin von Löwis.)
* Calling Tcl methods through :mod:`_tkinter` no longer returns only strings.
* Calling Tcl methods through :mod:`_tkinter` no longer returns only strings.
...
@@ -1858,7 +1858,7 @@ and bundle it with the source of your extension.
...
@@ -1858,7 +1858,7 @@ and bundle it with the source of your extension.
.. seealso::
.. seealso::
http://svn.python.org/view/python/trunk/Objects/obmalloc.c
http
s
://svn.python.org/view/python/trunk/Objects/obmalloc.c
For the full details of the pymalloc implementation, see the comments at
For the full details of the pymalloc implementation, see the comments at
the top of the file :file:`Objects/obmalloc.c` in the Python source code.
the top of the file :file:`Objects/obmalloc.c` in the Python source code.
The above link points to the file within the python.org SVN browser.
The above link points to the file within the python.org SVN browser.
...
...
Doc/whatsnew/2.4.rst
View file @
06f3b3b9
...
@@ -337,7 +337,7 @@ returned.
...
@@ -337,7 +337,7 @@ returned.
wrote patches implementing function decorators, but the one that was actually
wrote patches implementing function decorators, but the one that was actually
checked in was patch #979728, written by Mark Russell.
checked in was patch #979728, written by Mark Russell.
http://www.python.org/moin/PythonDecoratorLibrary
http
s
://www.python.org/moin/PythonDecoratorLibrary
This Wiki page contains several examples of decorators.
This Wiki page contains several examples of decorators.
.. ======================================================================
.. ======================================================================
...
...
Doc/whatsnew/2.5.rst
View file @
06f3b3b9
...
@@ -39,7 +39,7 @@ finds there were 353 patches applied and 458 bugs fixed between Python 2.4 and
...
@@ -39,7 +39,7 @@ finds there were 353 patches applied and 458 bugs fixed between Python 2.4 and
This article doesn't try to be a complete specification of the new features;
This article doesn't try to be a complete specification of the new features;
instead changes are briefly introduced using helpful examples. For full
instead changes are briefly introduced using helpful examples. For full
details, you should always refer to the documentation for Python 2.5 at
details, you should always refer to the documentation for Python 2.5 at
http://docs.python.org. If you want to understand the complete implementation
http
s
://docs.python.org. If you want to understand the complete implementation
and design rationale, refer to the PEP for a particular new feature.
and design rationale, refer to the PEP for a particular new feature.
Comments, suggestions, and error reports for this document are welcome; please
Comments, suggestions, and error reports for this document are welcome; please
...
@@ -229,7 +229,7 @@ required packages. ::
...
@@ -229,7 +229,7 @@ required packages. ::
)
)
Another new enhancement to the Python package index at
Another new enhancement to the Python package index at
http
://cheeseshop
.python.org is storing source and binary archives for a
http
s://pypi
.python.org is storing source and binary archives for a
package. The new :command:`upload` Distutils command will upload a package to
package. The new :command:`upload` Distutils command will upload a package to
the repository.
the repository.
...
@@ -2130,7 +2130,7 @@ Changes to Python's build process and to the C API include:
...
@@ -2130,7 +2130,7 @@ Changes to Python's build process and to the C API include:
such as PyCon.
such as PyCon.
.. List of names taken from Jeremy's python-dev post at
.. List of names taken from Jeremy's python-dev post at
.. http://mail.python.org/pipermail/python-dev/2005-October/057500.html
.. http
s
://mail.python.org/pipermail/python-dev/2005-October/057500.html
* Evan Jones's patch to obmalloc, first described in a talk at PyCon DC 2005,
* Evan Jones's patch to obmalloc, first described in a talk at PyCon DC 2005,
was applied. Python 2.4 allocated small objects in 256K-sized arenas, but never
was applied. Python 2.4 allocated small objects in 256K-sized arenas, but never
...
...
Doc/whatsnew/2.6.rst
View file @
06f3b3b9
...
@@ -162,7 +162,7 @@ is an open-source project that requires volunteers
...
@@ -162,7 +162,7 @@ is an open-source project that requires volunteers
to
administer
it
and
a
server
to
host
it
.
to
administer
it
and
a
server
to
host
it
.
After
posting
a
call
for
volunteers
,
a
new
Roundup
installation
was
After
posting
a
call
for
volunteers
,
a
new
Roundup
installation
was
set
up
at
http
://
bugs
.
python
.
org
.
One
installation
of
Roundup
can
set
up
at
http
s
://
bugs
.
python
.
org
.
One
installation
of
Roundup
can
host
multiple
trackers
,
and
this
server
now
also
hosts
issue
trackers
host
multiple
trackers
,
and
this
server
now
also
hosts
issue
trackers
for
Jython
and
for
the
Python
web
site
.
It
will
surely
find
for
Jython
and
for
the
Python
web
site
.
It
will
surely
find
other
uses
in
the
future
.
Where
possible
,
other
uses
in
the
future
.
Where
possible
,
...
@@ -179,7 +179,7 @@ other projects wishing to move from SourceForge to Roundup.
...
@@ -179,7 +179,7 @@ other projects wishing to move from SourceForge to Roundup.
..
seealso
::
..
seealso
::
http
://
bugs
.
python
.
org
http
s
://
bugs
.
python
.
org
The
Python
bug
tracker
.
The
Python
bug
tracker
.
http
://
bugs
.
jython
.
org
:
http
://
bugs
.
jython
.
org
:
...
@@ -225,15 +225,15 @@ the Python community.
...
@@ -225,15 +225,15 @@ the Python community.
Sphinx is a standalone package that can be used for writing, and
Sphinx is a standalone package that can be used for writing, and
almost two dozen other projects
almost two dozen other projects
(`listed on the Sphinx web site <http://sphinx
.pocoo
.org/examples.html>`__)
(`listed on the Sphinx web site <http://sphinx
-doc
.org/examples.html>`__)
have adopted Sphinx as their documentation tool.
have adopted Sphinx as their documentation tool.
.. seealso::
.. seealso::
`Documenting Python <http://docs.python.org/devguide/documenting.html>`__
`Documenting Python <http
s
://docs.python.org/devguide/documenting.html>`__
Describes how to write for Python'
s
documentation
.
Describes how to write for Python'
s
documentation
.
`
Sphinx
<
http
://
sphinx
.
pocoo
.
org
/>`
__
`
Sphinx
<
http
://
sphinx
-
doc
.
org
/>`
__
Documentation
and
code
for
the
Sphinx
toolchain
.
Documentation
and
code
for
the
Sphinx
toolchain
.
`
Docutils
<
http
://
docutils
.
sf
.
net
>`
__
`
Docutils
<
http
://
docutils
.
sf
.
net
>`
__
...
...
Doc/whatsnew/2.7.rst
View file @
06f3b3b9
...
@@ -68,9 +68,9 @@ included in 2.7.
...
@@ -68,9 +68,9 @@ included in 2.7.
This article doesn't attempt to provide a complete specification of
This article doesn't attempt to provide a complete specification of
the new features, but instead provides a convenient overview. For
the new features, but instead provides a convenient overview. For
full details, you should refer to the documentation for Python 2.7 at
full details, you should refer to the documentation for Python 2.7 at
http://docs.python.org. If you want to understand the rationale for
http
s
://docs.python.org. If you want to understand the rationale for
the design and implementation, refer to the PEP for a particular new
the design and implementation, refer to the PEP for a particular new
feature or the issue on http://bugs.python.org in which a change was
feature or the issue on http
s
://bugs.python.org in which a change was
discussed. Whenever possible, "What's New in Python" links to the
discussed. Whenever possible, "What's New in Python" links to the
bug/patch item for each change.
bug/patch item for each change.
...
@@ -1767,7 +1767,7 @@ a complete list of functions.
...
@@ -1767,7 +1767,7 @@ a complete list of functions.
The Distutils package and :mod:`sysconfig` are now maintained by Tarek
The Distutils package and :mod:`sysconfig` are now maintained by Tarek
Ziadé, who has also started a Distutils2 package (source repository at
Ziadé, who has also started a Distutils2 package (source repository at
http://hg.python.org/distutils2/) for developing a next-generation
http
s
://hg.python.org/distutils2/) for developing a next-generation
version of Distutils.
version of Distutils.
...
@@ -1804,7 +1804,7 @@ new features were added. Most of these features were implemented
...
@@ -1804,7 +1804,7 @@ new features were added. Most of these features were implemented
by Michael Foord, unless otherwise noted. The enhanced version of
by Michael Foord, unless otherwise noted. The enhanced version of
the module is downloadable separately for use with Python versions 2.4 to 2.6,
the module is downloadable separately for use with Python versions 2.4 to 2.6,
packaged as the :mod:`unittest2` package, from
packaged as the :mod:`unittest2` package, from
http://pypi.python.org/pypi/unittest2.
http
s
://pypi.python.org/pypi/unittest2.
When used from the command line, the module can automatically discover
When used from the command line, the module can automatically discover
tests. It's not as fancy as `py.test <http://pytest.org>`__ or
tests. It's not as fancy as `py.test <http://pytest.org>`__ or
...
...
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