mirror of
https://github.com/python/cpython.git
synced 2025-11-17 17:46:45 +00:00
Issue #23648: Document the PEP 475 in the "Porting to Python 3.5" section and
add a version changed note in modified functions.
This commit is contained in:
parent
1912b39def
commit
a766ddfa2f
3 changed files with 33 additions and 0 deletions
|
|
@ -572,6 +572,14 @@ that may require changes to your code.
|
|||
Changes in the Python API
|
||||
-------------------------
|
||||
|
||||
* :pep:`475`: the following functions are now retried when interrupted instead
|
||||
of raising :exc:`InterruptedError` if the signal handler does not raise
|
||||
an exception:
|
||||
|
||||
- :func:`os.open`, :func:`open`
|
||||
- :func:`os.read`, :func:`os.write`
|
||||
- :func:`time.sleep`
|
||||
|
||||
* Before Python 3.5, a :class:`datetime.time` object was considered to be false
|
||||
if it represented midnight in UTC. This behavior was considered obscure and
|
||||
error-prone and has been removed in Python 3.5. See :issue:`13936` for full
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue