Issue #28532: Add what's new entry for python -VV option
authorINADA Naoki <songofacandy@gmail.com>
Thu, 24 Nov 2016 08:20:40 +0000 (17:20 +0900)
committerINADA Naoki <songofacandy@gmail.com>
Thu, 24 Nov 2016 08:20:40 +0000 (17:20 +0900)
Doc/using/cmdline.rst
Doc/whatsnew/3.6.rst

index 7ebdb95984d223aba9340287730f8ec060e92213..c0e64d66f2082139c9985c383c6b0a08bf6b5019 100644 (file)
@@ -187,6 +187,8 @@ Generic options
        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:
 
index ce59c82db67ff7ea0e789c21e37573bc68d2df60..44aab851c7cc3be39e46db1eb8daa038814a2f60 100644 (file)
@@ -1832,6 +1832,18 @@ Build and C API Changes
   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
 ==========