Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
a766ddfa
Kaydet (Commit)
a766ddfa
authored
Mar 26, 2015
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #23648: Document the PEP 475 in the "Porting to Python 3.5" section and
add a version changed note in modified functions.
üst
1912b39d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
0 deletions
+33
-0
functions.rst
Doc/library/functions.rst
+5
-0
os.rst
Doc/library/os.rst
+20
-0
3.5.rst
Doc/whatsnew/3.5.rst
+8
-0
No files found.
Doc/library/functions.rst
Dosyayı görüntüle @
a766ddfa
...
...
@@ -1065,6 +1065,11 @@ are always available. They are listed here in alphabetical order.
The ``'U'`` mode.
.. versionchanged:: 3.5
If the system call is interrupted and the signal does not raise an
exception, the function now retries the system call instead of raising an
:exc:`InterruptedError` exception (see :pep:`475` for the rationale).
.. function:: ord(c)
...
...
Doc/library/os.rst
Dosyayı görüntüle @
a766ddfa
...
...
@@ -905,6 +905,11 @@ as internal buffering of data.
.. versionadded:: 3.3
The *dir_fd* argument.
.. versionchanged:: 3.5
If the system call is interrupted and the signal does not raise an
exception, the function now retries the system call instead of raising an
:exc:`InterruptedError` exception (see :pep:`475` for the rationale).
The following constants are options for the *flags* parameter to the
:func:`~os.open` function. They can be combined using the bitwise OR operator
``|``. Some of them are not available on all platforms. For descriptions of
...
...
@@ -1082,6 +1087,11 @@ or `the MSDN <http://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Window
:func:`popen` or :func:`fdopen`, or :data:`sys.stdin`, use its
:meth:`~file.read` or :meth:`~file.readline` methods.
.. versionchanged:: 3.5
If the system call is interrupted and the signal does not raise an
exception, the function now retries the system call instead of raising an
:exc:`InterruptedError` exception (see :pep:`475` for the rationale).
.. function:: sendfile(out, in, offset, nbytes)
sendfile(out, in, offset, nbytes, headers=None, trailers=None, flags=0)
...
...
@@ -1197,6 +1207,11 @@ or `the MSDN <http://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Window
:func:`fdopen`, or :data:`sys.stdout` or :data:`sys.stderr`, use its
:meth:`~file.write` method.
.. versionchanged:: 3.5
If the system call is interrupted and the signal does not raise an
exception, the function now retries the system call instead of raising an
:exc:`InterruptedError` exception (see :pep:`475` for the rationale).
.. function:: writev(fd, buffers)
...
...
@@ -3359,6 +3374,11 @@ written in Python, such as a mail server's external command delivery program.
id is known, not necessarily a child process. The :func:`spawn\* <spawnl>`
functions called with :const:`P_NOWAIT` return suitable process handles.
.. versionchanged:: 3.5
If the system call is interrupted and the signal does not raise an
exception, the function now retries the system call instead of raising an
:exc:`InterruptedError` exception (see :pep:`475` for the rationale).
.. function:: wait3(options)
...
...
Doc/whatsnew/3.5.rst
Dosyayı görüntüle @
a766ddfa
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment