[Python-checkins] cpython (3.6): Issue #28532: Add what's new entry for python -VV option
inada.naoki
python-checkins at python.org
Thu Nov 24 03:21:56 EST 2016
https://hg.python.org/cpython/rev/5a29ab5a4785
changeset: 105349:5a29ab5a4785
branch: 3.6
parent: 105347:a3755890545c
user: INADA Naoki <songofacandy at gmail.com>
date: Thu Nov 24 17:20:40 2016 +0900
summary:
Issue #28532: Add what's new entry for python -VV option
files:
Doc/using/cmdline.rst | 2 ++
Doc/whatsnew/3.6.rst | 12 ++++++++++++
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -187,6 +187,8 @@
Python 3.6.0b2+ (3.6:84a3c5003510+, Oct 26 2016, 02:33:55)
[GCC 6.2.0 20161005]
+ .. versionadded:: 3.6
+ The ``-VV`` option.
.. _using-on-misc-options:
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -1832,6 +1832,18 @@
functions will now accept :term:`path-like objects <path-like object>`.
+Other Improvements
+==================
+
+* When :option:`--version` (short form: :option:`-V`) is supplied twice,
+ Python prints :data:`sys.version` for detailed information.
+
+ .. code-block:: shell-session
+
+ $ ./python -VV
+ Python 3.6.0b4+ (3.6:223967b49e49+, Nov 21 2016, 20:55:04)
+ [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)]
+
Deprecated
==========
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list