[Python-checkins] cpython (3.4): Issue #21138: Change default reformat paragraph width to PEP 8's 72.

terry.reedy python-checkins at python.org
Tue Apr 22 07:28:11 CEST 2014


http://hg.python.org/cpython/rev/dd24099c0cf6
changeset:   90429:dd24099c0cf6
branch:      3.4
parent:      90426:fe067339af80
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Tue Apr 22 01:26:41 2014 -0400
summary:
  Issue #21138: Change default reformat paragraph width to PEP 8's 72.

files:
  Lib/idlelib/config-main.def |  2 +-
  Misc/NEWS                   |  4 +++-
  2 files changed, 4 insertions(+), 2 deletions(-)


diff --git a/Lib/idlelib/config-main.def b/Lib/idlelib/config-main.def
--- a/Lib/idlelib/config-main.def
+++ b/Lib/idlelib/config-main.def
@@ -59,7 +59,7 @@
 encoding= none
 
 [FormatParagraph]
-paragraph=70
+paragraph=72
 
 [Indent]
 use-spaces= 1
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -186,7 +186,9 @@
 IDLE
 ----
 
-- Issue 21284: Paragraph reformat test passes after user changes reformat width.
+- Issue #21139: Change default paragraph width to 72, the PEP 8 recommendation.
+
+- Issue #21284: Paragraph reformat test passes after user changes reformat width.
 
 - Issue #17654: Ensure IDLE menus are customized properly on OS X for
   non-framework builds and for all variants of Tk.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list