Kaydet (Commit) fad4b600 authored tarafından Martin Panter's avatar Martin Panter

Adjust grammar and punctuation in whatsnew/3.6.rst

üst 22fd1c26
...@@ -98,8 +98,8 @@ Improved Modules ...@@ -98,8 +98,8 @@ Improved Modules
datetime datetime
-------- --------
:meth:`datetime.strftime <datetime.datetime.strftime>` and The :meth:`datetime.strftime() <datetime.datetime.strftime>` and
:meth:`date.strftime <datetime.date.strftime>` methods now support ISO 8601 date :meth:`date.strftime() <datetime.date.strftime>` methods now support ISO 8601 date
directives ``%G``, ``%u`` and ``%V``. directives ``%G``, ``%u`` and ``%V``.
(Contributed by Ashley Anderson in :issue:`12006`.) (Contributed by Ashley Anderson in :issue:`12006`.)
...@@ -107,17 +107,17 @@ directives ``%G``, ``%u`` and ``%V``. ...@@ -107,17 +107,17 @@ directives ``%G``, ``%u`` and ``%V``.
pickle pickle
------ ------
Objects that need calling ``__new__`` with keyword arguments, can now be pickled Objects that need calling ``__new__`` with keyword arguments can now be pickled
using :ref:`pickle protocols <pickle-protocols>` older than protocol version 4. using :ref:`pickle protocols <pickle-protocols>` older than protocol version 4.
Protocol version 4 already supports this case. (Contributed by Serhiy Protocol version 4 already supports this case. (Contributed by Serhiy
Storchaka in :issue:`24164`.) Storchaka in :issue:`24164`.)
rlcomplete rlcompleter
---------- -----------
Private and special attribute names now are omitted unless the prefix starts Private and special attribute names now are omitted unless the prefix starts
with underscores. A space or a colon can be added after completed keyword. with underscores. A space or a colon is added after some completed keywords.
(Contributed by Serhiy Storchaka in :issue:`25011` and :issue:`25209`.) (Contributed by Serhiy Storchaka in :issue:`25011` and :issue:`25209`.)
Names of most attributes listed by :func:`dir` are now completed. Names of most attributes listed by :func:`dir` are now completed.
...@@ -128,7 +128,7 @@ an instance were excluded. (Contributed by Martin Panter in :issue:`25590`.) ...@@ -128,7 +128,7 @@ an instance were excluded. (Contributed by Martin Panter in :issue:`25590`.)
urllib.robotparser urllib.robotparser
------------------ ------------------
:class:`~urllib.robotparser.RobotFileParser` now supports ``Crawl-delay`` and :class:`~urllib.robotparser.RobotFileParser` now supports the ``Crawl-delay`` and
``Request-rate`` extensions. ``Request-rate`` extensions.
(Contributed by Nikolay Bogoychev in :issue:`16099`.) (Contributed by Nikolay Bogoychev in :issue:`16099`.)
...@@ -136,18 +136,18 @@ urllib.robotparser ...@@ -136,18 +136,18 @@ urllib.robotparser
Optimizations Optimizations
============= =============
* The ASCII decoder is now up to 60 times as fast for error handlers: * The ASCII decoder is now up to 60 times as fast for error handlers
``surrogateescape``, ``ignore`` and ``replace`` (Contributed ``surrogateescape``, ``ignore`` and ``replace`` (Contributed
by Victor Stinner in :issue:`24870`). by Victor Stinner in :issue:`24870`).
* The ASCII and the Latin1 encoders are now up to 3 times as fast for the * The ASCII and the Latin1 encoders are now up to 3 times as fast for the
error ``surrogateescape`` (Contributed by Victor Stinner in :issue:`25227`). error handler ``surrogateescape`` (Contributed by Victor Stinner in :issue:`25227`).
* The UTF-8 encoder is now up to 75 times as fast for error handlers: * The UTF-8 encoder is now up to 75 times as fast for error handlers
``ignore``, ``replace``, ``surrogateescape``, ``surrogatepass`` (Contributed ``ignore``, ``replace``, ``surrogateescape``, ``surrogatepass`` (Contributed
by Victor Stinner in :issue:`25267`). by Victor Stinner in :issue:`25267`).
* The UTF-8 decoder is now up to 15 times as fast for error handlers: * The UTF-8 decoder is now up to 15 times as fast for error handlers
``ignore``, ``replace`` and ``surrogateescape`` (Contributed ``ignore``, ``replace`` and ``surrogateescape`` (Contributed
by Victor Stinner in :issue:`25301`). by Victor Stinner in :issue:`25301`).
......
...@@ -191,10 +191,10 @@ Library ...@@ -191,10 +191,10 @@ Library
- Issue #25203: Failed readline.set_completer_delims() no longer left the - Issue #25203: Failed readline.set_completer_delims() no longer left the
module in inconsistent state. module in inconsistent state.
- Issue #25011: rlcomplete now omits private and special attribute names unless - Issue #25011: rlcompleter now omits private and special attribute names unless
the prefix starts with underscores. the prefix starts with underscores.
- Issue #25209: rlcomplete now can add a space or a colon after completed keyword. - Issue #25209: rlcompleter now can add a space or a colon after completed keyword.
- Issue #22241: timezone.utc name is now plain 'UTC', not 'UTC-00:00'. - Issue #22241: timezone.utc name is now plain 'UTC', not 'UTC-00:00'.
......
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