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
9d36fd2a
Kaydet (Commit)
9d36fd2a
authored
Tem 03, 2009
tarafından
Gregory P. Smith
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Adds the select.PIPE_BUF attribute to expose the system constant.
üst
9ad7bbc6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
select.rst
Doc/library/select.rst
+9
-0
selectmodule.c
Modules/selectmodule.c
+2
-0
No files found.
Doc/library/select.rst
Dosyayı görüntüle @
9d36fd2a
...
@@ -100,6 +100,15 @@ The module defines the following:
...
@@ -100,6 +100,15 @@ The module defines the following:
library, and does not handle file descriptors that don't originate from
library, and does not handle file descriptors that don't originate from
WinSock.
WinSock.
.. attribute:: select.PIPE_BUF
Files reported as ready for writing by :func:`select`, :func:`poll` or
similar interfaces in this module are guaranteed to not block on a write
of up to :const:`PIPE_BUF` bytes.
This value is guaranteed by POSIX to be at least 512.
.. versionadded:: 2.7
.. _epoll-objects:
.. _epoll-objects:
...
...
Modules/selectmodule.c
Dosyayı görüntüle @
9d36fd2a
...
@@ -1746,6 +1746,8 @@ initselect(void)
...
@@ -1746,6 +1746,8 @@ initselect(void)
Py_INCREF
(
SelectError
);
Py_INCREF
(
SelectError
);
PyModule_AddObject
(
m
,
"error"
,
SelectError
);
PyModule_AddObject
(
m
,
"error"
,
SelectError
);
PyModule_AddIntConstant
(
m
,
"PIPE_BUF"
,
PIPE_BUF
);
#if defined(HAVE_POLL)
#if defined(HAVE_POLL)
#ifdef __APPLE__
#ifdef __APPLE__
if
(
select_have_broken_poll
())
{
if
(
select_have_broken_poll
())
{
...
...
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