Index: Doc/whatsnew/3.2.rst =================================================================== --- Doc/whatsnew/3.2.rst (révision 87056) +++ Doc/whatsnew/3.2.rst (copie de travail) @@ -59,7 +59,7 @@ Python interpreter internals that extension modules could use. With Python 3.2, an alternative approach becomes available: extension -modules with restrict themselves to a limited API (by defining +modules which restrict themselves to a limited API (by defining Py_LIMITED_API) cannot use many of the internals, but are constrained to a set of API functions that are promised to be stable for several releases. As a consequence, extension modules built for 3.2 in that @@ -102,7 +102,7 @@ "root": {"level": "DEBUG", "handlers": ["console", "console_priority"]}} -If that dictionary is stored in a file called "conf.json", it can loaded +If that dictionary is stored in a file called :file:`conf.json`, it can be loaded and called with code like this:: >>> import logging.config @@ -176,8 +176,8 @@ PEP written by Barry Warsaw. -PEP 3149 ABI Version Tagged .so Files -===================================== +PEP 3149: ABI Version Tagged .so Files +====================================== The PYC repository directory allows multiple bytecode cache files to be co-located. This PEP implements a similar mechanism for shared object files by @@ -425,6 +425,8 @@ (Contributed by Tarek Ziadé and Giampaolo Rodolà in :issue:`4972`, and by Georg Brandl in :issue:`8046` and :issue:`1286`.) +.. mention os.popen and subprocess.Popen auto-closing of fds + * :class:`gzip.GzipFile` now implements the :class:`io.BufferedIOBase` ABC (except for ``truncate()``), has a :meth:`~gzip.GzipFile.peek` method, and supports unseekable as well as zero-padded file objects. @@ -788,4 +790,4 @@ instead; the new type has a well-defined interface for passing typing safety information and a less complicated signature for calling a destructor. - * Remove sys.setfilesystemencoding() function: it was broken by design. +* The sys.setfilesystemencoding() function was removed: it was broken by design.