changeset: 105349:5a29ab5a4785 branch: 3.6 parent: 105347:a3755890545c user: INADA Naoki date: Thu Nov 24 17:20:40 2016 +0900 files: Doc/using/cmdline.rst Doc/whatsnew/3.6.rst description: Issue #28532: Add what's new entry for python -VV option diff -r a3755890545c -r 5a29ab5a4785 Doc/using/cmdline.rst --- a/Doc/using/cmdline.rst Wed Nov 23 11:42:35 2016 -0800 +++ b/Doc/using/cmdline.rst Thu Nov 24 17:20:40 2016 +0900 @@ -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 -r a3755890545c -r 5a29ab5a4785 Doc/whatsnew/3.6.rst --- a/Doc/whatsnew/3.6.rst Wed Nov 23 11:42:35 2016 -0800 +++ b/Doc/whatsnew/3.6.rst Thu Nov 24 17:20:40 2016 +0900 @@ -1832,6 +1832,18 @@ functions will now accept :term:`path-like objects `. +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 ==========