summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-07-09 14:02:19 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-07-09 14:02:19 (GMT)
commit462d1b39a48ed3a18a0e3f3ae9edf643af19a981 (patch)
treec6b49789925d0be1bd3b3cc7cb07f83c7cb1e287 /Doc/library
parenta83cdaae89b9565bd3c6f78c14a23befcac24e76 (diff)
downloadcpython-462d1b39a48ed3a18a0e3f3ae9edf643af19a981.zip
cpython-462d1b39a48ed3a18a0e3f3ae9edf643af19a981.tar.gz
cpython-462d1b39a48ed3a18a0e3f3ae9edf643af19a981.tar.bz2
Move sys.subversion at the right place in alphabetical order, and informally deprecate it.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/sys.rst30
1 files changed, 18 insertions, 12 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 95dc662..7d631f4 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -36,18 +36,6 @@ always available.
little-endian (least-significant byte first) platforms.
-.. data:: subversion
-
- A triple (repo, branch, version) representing the Subversion information of the
- Python interpreter. *repo* is the name of the repository, ``'CPython'``.
- *branch* is a string of one of the forms ``'trunk'``, ``'branches/name'`` or
- ``'tags/name'``. *version* is the output of ``svnversion``, if the interpreter
- was built from a Subversion checkout; it contains the revision number (range)
- and possibly a trailing 'M' if there were local modifications. If the tree was
- exported (or svnversion was not available), it is the revision of
- ``Include/patchlevel.h`` if the branch is a tag. Otherwise, it is ``None``.
-
-
.. data:: builtin_module_names
A tuple of strings giving the names of all modules that are compiled into this
@@ -982,6 +970,24 @@ always available.
to a console and Python apps started with :program:`pythonw`.
+.. data:: subversion
+
+ A triple (repo, branch, version) representing the Subversion information of the
+ Python interpreter. *repo* is the name of the repository, ``'CPython'``.
+ *branch* is a string of one of the forms ``'trunk'``, ``'branches/name'`` or
+ ``'tags/name'``. *version* is the output of ``svnversion``, if the interpreter
+ was built from a Subversion checkout; it contains the revision number (range)
+ and possibly a trailing 'M' if there were local modifications. If the tree was
+ exported (or svnversion was not available), it is the revision of
+ ``Include/patchlevel.h`` if the branch is a tag. Otherwise, it is ``None``.
+
+ .. deprecated:: 3.2.1
+ Python is now `developed <http://docs.python.org/devguide/>`_ using
+ Mercurial. In recent Python 3.2 bugfix releases, :data:`subversion`
+ therefore contains placeholder information. It is removed in Python
+ 3.3.
+
+
.. data:: tracebacklimit
When this variable is set to an integer value, it determines the maximum number