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

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


http://hg.python.org/cpython/rev/374746c5dedc
changeset:   90428:374746c5dedc
branch:      2.7
parent:      90425:4ff2c0a637cf
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Tue Apr 22 01:26:35 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
@@ -289,7 +289,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 #20406: Use Python application icons for Idle window title bars.
   Patch mostly by Serhiy Storchaka.

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


More information about the Python-checkins mailing list