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
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
-----
- 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
===============