summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2010-12-15 18:31:57 (GMT)
committerRaymond Hettinger <python@rcn.com>2010-12-15 18:31:57 (GMT)
commita55ffbc84e02307c4520d42e7a4c729c35c3d5c5 (patch)
tree0360dd47dbd59124c69df584cc1ecd1ceada38c7
parentbba537bc961d207e774f5ae8920ecd6b545c422a (diff)
downloadcpython-a55ffbc84e02307c4520d42e7a4c729c35c3d5c5.zip
cpython-a55ffbc84e02307c4520d42e7a4c729c35c3d5c5.tar.gz
cpython-a55ffbc84e02307c4520d42e7a4c729c35c3d5c5.tar.bz2
Minor regroupings.
-rw-r--r--Doc/whatsnew/3.2.rst41
1 files changed, 21 insertions, 20 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst
index 1b5e652..b0cce99 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
===============