Kaydet (Commit) a55ffbc8 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Minor regroupings.

üst bba537bc
...@@ -433,11 +433,7 @@ Some smaller changes made to the core Python language are: ...@@ -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 dictionaries it would miss the dynamic methods and make it difficult to
implement proxy objects. implement proxy objects.
To support lookups without the possibility of activating a dynamic attribute, (Discovered by Yury Selivanov and fixed by Benjamin Peterson; :issue:`9666`.)
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.)
* The :func:`str` of a float or complex number is now the same as its * 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 :func:`repr`. Previously, the :func:`str` form was shorter but that just
...@@ -962,22 +958,15 @@ cleanup of temporary directories: ...@@ -962,22 +958,15 @@ cleanup of temporary directories:
inspect inspect
------- -------
The :mod:`inspect` module has a new function :func:`getgenatorstate` to easily * The :mod:`inspect` module has a new function :func:`getgenatorstate` to easily
identify the current state of a generator as one of ``GEN_CREATED``, identify the current state of a generator as one of ``GEN_CREATED``,
``GEN_RUNNING``, ``GEN_SUSPENDED`` or ``GEN_CLOSED``. ``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`.) * To support lookups without the possibility of activating a dynamic attribute,
the :mod:`inspect` module has a new function, :func:`~inspect.getattr_static`.
.. XXX: Create a new section for all changes relating to context managers. Unlike, :func:`hasattr`, this is a true read-only search, guaranteed not to
.. XXX: Various ConfigParser changes change state while it is searching. (Contributed by Michael Foord.)
.. 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
pydoc pydoc
----- -----
...@@ -1068,6 +1057,18 @@ The :mod:`pdb` debugger module gained a number of usability improvements: ...@@ -1068,6 +1057,18 @@ The :mod:`pdb` debugger module gained a number of usability improvements:
- breakpoints can be cleared by breakpoint number - 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 Multi-threading
=============== ===============
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment