From: Benjamin Peterson Date: Thu, 8 Sep 2016 18:58:40 +0000 (-0700) Subject: make some peps high level sections X-Git-Tag: v3.6.0b1~261 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b6e363463a4a58be273af37c6f1e7e2e60c8c00a;p=thirdparty%2FPython%2Fcpython.git make some peps high level sections --- diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index 38ff5ada9583..e53d48e7fa71 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -223,7 +223,7 @@ See :pep:`498` and the main documentation at :ref:`f-strings`. .. _pep-529: PEP 529: Change Windows filesystem encoding to UTF-8 ----------------------------------------------------- +==================================================== Representing filesystem paths is best performed with str (Unicode) rather than bytes. However, there are some situations where using bytes is sufficient and @@ -249,7 +249,7 @@ may be required. encoding may change before the final release. PEP 487: Simpler customization of class creation ------------------------------------------------- +================================================ Upon subclassing a class, the ``__init_subclass__`` classmethod (if defined) is called on the base class. This makes it straightforward to write classes that @@ -269,7 +269,7 @@ Also see :pep:`487` and the updated class customization documentation at PYTHONMALLOC environment variable ---------------------------------- +================================= The new :envvar:`PYTHONMALLOC` environment variable allows setting the Python memory allocators and/or install debug hooks. @@ -345,7 +345,7 @@ Example of fatal error on buffer overflow using .. _whatsnew-deforder: PEP 520: Preserving Class Attribute Definition Order ----------------------------------------------------- +==================================================== Attributes in a class definition body have a natural ordering: the same order in which the names appear in the source. This order is now