mirror of
https://github.com/python/cpython.git
synced 2025-11-17 01:25:57 +00:00
GH-109190: Copyedit 3.12 What's New: Deprecations (`os` fix) (#109927)
Merge the two ``os`` entries
This commit is contained in:
parent
e721f7a951
commit
0e28d0f7a1
1 changed files with 17 additions and 15 deletions
|
|
@ -1114,12 +1114,6 @@ Deprecated
|
|||
volume and maintenance burden.
|
||||
(Contributed by Raymond Hettinger in :gh:`101588`.)
|
||||
|
||||
* :mod:`os`: The ``st_ctime`` fields return by :func:`os.stat` and :func:`os.lstat` on
|
||||
Windows are deprecated. In a future release, they will contain the last
|
||||
metadata change time, consistent with other platforms. For now, they still
|
||||
contain the creation time, which is also available in the new ``st_birthtime``
|
||||
field. (Contributed by Steve Dower in :gh:`99726`.)
|
||||
|
||||
* :mod:`multiprocessing`: In Python 3.14, the default :mod:`multiprocessing`
|
||||
start method will change to a safer one on Linux, BSDs,
|
||||
and other non-macOS POSIX platforms where ``'fork'`` is currently
|
||||
|
|
@ -1140,7 +1134,15 @@ Deprecated
|
|||
proper :exc:`DeprecationWarning` in 3.12. Remove them in 3.14.
|
||||
(Contributed by Soumendra Ganguly and Gregory P. Smith in :gh:`85984`.)
|
||||
|
||||
* :mod:`os`: On POSIX platforms, :func:`os.fork` can now raise a
|
||||
* :mod:`os`:
|
||||
|
||||
* The ``st_ctime`` fields return by :func:`os.stat` and :func:`os.lstat` on
|
||||
Windows are deprecated. In a future release, they will contain the last
|
||||
metadata change time, consistent with other platforms. For now, they still
|
||||
contain the creation time, which is also available in the new ``st_birthtime``
|
||||
field. (Contributed by Steve Dower in :gh:`99726`.)
|
||||
|
||||
* On POSIX platforms, :func:`os.fork` can now raise a
|
||||
:exc:`DeprecationWarning` when it can detect being called from a
|
||||
multithreaded process. There has always been a fundamental incompatibility
|
||||
with the POSIX platform when doing so. Even if such code *appeared* to work.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue