8000 gh-109975: Copyedit "What's New in Python 3.13" by hugovk · Pull Request #114401 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-109975: Copyedit "What's New in Python 3.13" #114401

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jan 30, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Dots and spelling
  • Loading branch information
hugovk committed Jan 21, 2024
commit c4da21dee7a484e9f009d658130551d16b51219b
14 changes: 7 additions & 7 deletions Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ email
parameter to these two functions: use ``strict=False`` to get the old
behavior, accept malformed inputs.
``getattr(email.utils, 'supports_strict_parsing', False)`` can be use to
check if the *strict* paramater is available.
check if the *strict* parameter is available.
(Contributed by Thomas Dwyer and Victor Stinner for :gh:`102988` to improve
the CVE-2023-27043 fix.)

Expand All @@ -223,7 +223,7 @@ fractions
* Formatting for objects of type :class:`fractions.Fraction` now supports
the standard format specification mini-language rules for fill, alignment,
sign handling, minimum width and grouping. (Contributed by Mark Dickinson
in :gh:`111320`)
in :gh:`111320`.)

glob
----
Expand Down Expand Up @@ -297,17 +297,17 @@ os
the new environment variable :envvar:`PYTHON_CPU_COUNT` or the new command-line option
:option:`-X cpu_count <-X>`. This option is useful for users who need to limit
CPU resources of a container system without having to modify the container (application code).
(Contributed by Donghee Na in :gh:`109595`)
(Contributed by Donghee Na in :gh:`109595`.)

* Add support of :func:`os.lchmod` and the *follow_symlinks* argument
in :func:`os.chmod` on Windows.
Note that the default value of *follow_symlinks* in :func:`!os.lchmod` is
``False`` on Windows.
(Contributed by Serhiy Storchaka in :gh:`59616`)
(Contributed by Serhiy Storchaka in :gh:`59616`.)

* Add support of :func:`os.fchmod` and a file descriptor
in :func:`os.chmod` on Windows.
(Contributed by Serhiy Storchaka in :gh:`113191`)
(Contributed by Serhiy Storchaka in :gh:`113191`.)

* :func:`os.posix_spawn` now accepts ``env=None``, which makes the newly spawned
process use the current process environment.
Expand Down Expand Up @@ -1177,7 +1177,7 @@ Changes in the Python API
:c:func:`PySys_GetObject`, which clear all errors occurred during calling
the function, report now them using :func:`sys.unraisablehook`.
You can consider to replace these functions with other functions as
recomended in the documentation.
recommended in the documentation.
(Contributed by Serhiy Storchaka in :gh:`106672`.)

* An :exc:`OSError` is now raised by :func:`getpass.getuser` for any failure to
Expand Down Expand Up @@ -1358,7 +1358,7 @@ New Features
(Contributed by Victor Stinner in :gh:`85283`.)

* Add :c:func:`PyErr_FormatUnraisable` function: similar to
:c:func:`PyErr_WriteUnraisable`, but allow to customize the warning mesage.
:c:func:`PyErr_WriteUnraisable`, but allow to customize the warning message.
(Contributed by Serhiy Storchaka in :gh:`108082`.)

* Add :c:func:`PyList_Extend` and :c:func:`PyList_Clear` functions: similar to
Expand Down
0