From caa0957b0745d8e0bbc6c44966af74b3961368a8 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Wed, 31 Jul 2019 00:34:31 -0400 Subject: [PATCH 1/2] bpo-33822: Add IDLE section of What's New 3.8 --- Doc/whatsnew/3.8.rst | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index 3f84e092827bd8..dbf43c3a03e22f 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -468,6 +468,32 @@ gettext Added :func:`~gettext.pgettext` and its variants. (Contributed by Franz Glasner, Éric Araujo, and Cheryl Sabella in :issue:`2504`.) + +idlelib and IDLE +---------------- + +Output over N lines (50 by default) is squeezed down to a button. +N can be changed in the PyShell section of the General page of the +Settings dialog. Fewer, but possibly extra long, lines can be squeezed by +right clicking on the output. Squeezed output can be expanded in place +by double-clicking the button or into the clipboard or a separate window +by right-clicking the button. (Contributed by Tal Einat in :issue:`1529353`.) + +Add "Run Customized" to the Run menu to run a module with customized +settings. Any command line arguments entered are added to sys.argv. +They also re-appear in the box for the next customized run. One can also +suppress the normal Shell main module restart. (Contributed by Cheryl +Sabella, Terry Jan Reedy, and others in :issues:`5680` and `37627` .) + +Add optional line numbers for IDLE editor windows. Windows +open without line numbers unless set otherwise in the General +tab of the configuration dialog. Line numbers for an existing +window are shown and hidden in the Options menu. +(Contributed by Tal Einat and Saimadhav Heblikar in :issue:`17535`.) + +The changes above have been backported to 3.7 maintenance releases. + + inspect ------- @@ -483,6 +509,7 @@ for :func:`property`, :func:`classmethod`, and :func:`staticmethod`:: self.bit_rate = round(bit_rate / 1000.0, 1) self.duration = ceil(duration) + io -- From 1653bedefb497c2898b145aaafee579ea80ae0bc Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Wed, 31 Jul 2019 00:57:42 -0400 Subject: [PATCH 2/2] Fix role. --- Doc/whatsnew/3.8.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index dbf43c3a03e22f..fe58efce1dfe19 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -483,7 +483,7 @@ Add "Run Customized" to the Run menu to run a module with customized settings. Any command line arguments entered are added to sys.argv. They also re-appear in the box for the next customized run. One can also suppress the normal Shell main module restart. (Contributed by Cheryl -Sabella, Terry Jan Reedy, and others in :issues:`5680` and `37627` .) +Sabella, Terry Jan Reedy, and others in :issue:`5680` and :issue:`37627`.) Add optional line numbers for IDLE editor windows. Windows open without line numbers unless set otherwise in the General