From a55ffbc84e02307c4520d42e7a4c729c35c3d5c5 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Wed, 15 Dec 2010 18:31:57 +0000 Subject: [PATCH] Minor regroupings. --- Doc/whatsnew/3.2.rst | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 1b5e652329d..b0cce9944c5 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -433,11 +433,7 @@ Some smaller changes made to the core Python language are: dictionaries it would miss the dynamic methods and make it difficult to implement proxy objects. - To support lookups without the possibility of activating a dynamic attribute, - the :mod:`inspect` module has a new function, :func:`~inspect.getattr_static`. - - (Discovered by Yury Selivanov and fixed by Benjamin Peterson; :issue:`9666`. - The inspect function added by Michael Foord.) + (Discovered by Yury Selivanov and fixed by Benjamin Peterson; :issue:`9666`.) * The :func:`str` of a float or complex number is now the same as its :func:`repr`. Previously, the :func:`str` form was shorter but that just @@ -962,22 +958,15 @@ cleanup of temporary directories: inspect ------- -The :mod:`inspect` module has a new function :func:`getgenatorstate` to easily -identify the current state of a generator as one of ``GEN_CREATED``, -``GEN_RUNNING``, ``GEN_SUSPENDED`` or ``GEN_CLOSED``. +* The :mod:`inspect` module has a new function :func:`getgenatorstate` to easily + identify the current state of a generator as one of ``GEN_CREATED``, + ``GEN_RUNNING``, ``GEN_SUSPENDED`` or ``GEN_CLOSED``. (Contributed by Rodolpho + Eckhardt and Nick Coghlan, :issue:`10220`.) -(Contributed by Rodolpho Eckhardt and Nick Coghlan, :issue:`10220`.) - -.. XXX: Create a new section for all changes relating to context managers. -.. XXX: Various ConfigParser changes -.. XXX: Mention urllib.parse changes - Issue 9873 (Nick Coghlan): - - ASCII byte sequence support in URL parsing - - named tuple for urldefrag return value - Issue 5468 (Dan Mahn) for urlencode: - - bytes input support - - non-UTF8 percent encoding of non-ASCII characters - Issue 2987 for IPv6 (RFC2732) support in urlparse +* To support lookups without the possibility of activating a dynamic attribute, + the :mod:`inspect` module has a new function, :func:`~inspect.getattr_static`. + Unlike, :func:`hasattr`, this is a true read-only search, guaranteed not to + change state while it is searching. (Contributed by Michael Foord.) pydoc ----- @@ -1068,6 +1057,18 @@ The :mod:`pdb` debugger module gained a number of usability improvements: - breakpoints can be cleared by breakpoint number +.. XXX: Create a new section for all changes relating to context managers. +.. XXX: Various ConfigParser changes +.. XXX: Mention urllib.parse changes + Issue 9873 (Nick Coghlan): + - ASCII byte sequence support in URL parsing + - named tuple for urldefrag return value + Issue 5468 (Dan Mahn) for urlencode: + - bytes input support + - non-UTF8 percent encoding of non-ASCII characters + Issue 2987 for IPv6 (RFC2732) support in urlparse + + Multi-threading ===============