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
e644f5a7
Kaydet (Commit)
e644f5a7
authored
Eyl 06, 2016
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge for #27872 doc changes
üst
6fa7aada
581139cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
posixmodule.c.h
Modules/clinic/posixmodule.c.h
+7
-7
posixmodule.c
Modules/posixmodule.c
+4
-4
No files found.
Modules/clinic/posixmodule.c.h
Dosyayı görüntüle @
e644f5a7
...
...
@@ -3011,13 +3011,13 @@ PyDoc_STRVAR(os_waitpid__doc__,
{"waitpid", (PyCFunction)os_waitpid, METH_VARARGS, os_waitpid__doc__},
static
PyObject
*
os_waitpid_impl
(
PyObject
*
module
,
Py_
intptr_t
pid
,
int
options
);
os_waitpid_impl
(
PyObject
*
module
,
intptr_t
pid
,
int
options
);
static
PyObject
*
os_waitpid
(
PyObject
*
module
,
PyObject
*
args
)
{
PyObject
*
return_value
=
NULL
;
Py_
intptr_t
pid
;
intptr_t
pid
;
int
options
;
if
(
!
PyArg_ParseTuple
(
args
,
""
_Py_PARSE_INTPTR
"i:waitpid"
,
...
...
@@ -5479,13 +5479,13 @@ PyDoc_STRVAR(os_get_handle_inheritable__doc__,
{"get_handle_inheritable", (PyCFunction)os_get_handle_inheritable, METH_O, os_get_handle_inheritable__doc__},
static
int
os_get_handle_inheritable_impl
(
PyObject
*
module
,
Py_
intptr_t
handle
);
os_get_handle_inheritable_impl
(
PyObject
*
module
,
intptr_t
handle
);
static
PyObject
*
os_get_handle_inheritable
(
PyObject
*
module
,
PyObject
*
arg
)
{
PyObject
*
return_value
=
NULL
;
Py_
intptr_t
handle
;
intptr_t
handle
;
int
_return_value
;
if
(
!
PyArg_Parse
(
arg
,
""
_Py_PARSE_INTPTR
":get_handle_inheritable"
,
&
handle
))
{
...
...
@@ -5515,14 +5515,14 @@ PyDoc_STRVAR(os_set_handle_inheritable__doc__,
{"set_handle_inheritable", (PyCFunction)os_set_handle_inheritable, METH_VARARGS, os_set_handle_inheritable__doc__},
static
PyObject
*
os_set_handle_inheritable_impl
(
PyObject
*
module
,
Py_
intptr_t
handle
,
os_set_handle_inheritable_impl
(
PyObject
*
module
,
intptr_t
handle
,
int
inheritable
);
static
PyObject
*
os_set_handle_inheritable
(
PyObject
*
module
,
PyObject
*
args
)
{
PyObject
*
return_value
=
NULL
;
Py_
intptr_t
handle
;
intptr_t
handle
;
int
inheritable
;
if
(
!
PyArg_ParseTuple
(
args
,
""
_Py_PARSE_INTPTR
"p:set_handle_inheritable"
,
...
...
@@ -6042,4 +6042,4 @@ exit:
#ifndef OS_SET_HANDLE_INHERITABLE_METHODDEF
#define OS_SET_HANDLE_INHERITABLE_METHODDEF
#endif
/* !defined(OS_SET_HANDLE_INHERITABLE_METHODDEF) */
/*[clinic end generated code: output=
2b85bb3703a6488a
input=a9049054013a1b77]*/
/*[clinic end generated code: output=
677ce794fb126161
input=a9049054013a1b77]*/
Modules/posixmodule.c
Dosyayı görüntüle @
e644f5a7
...
...
@@ -2520,7 +2520,7 @@ class sched_param_converter(CConverter):
impl_by_reference = True;
[python start generated code]*/
/*[python end generated code: output=da39a3ee5e6b4b0d input=
affe68316f16040
1]*/
/*[python end generated code: output=da39a3ee5e6b4b0d input=
418fce0e0114446
1]*/
/*[clinic input]
...
...
@@ -7092,7 +7092,7 @@ The options argument is ignored on Windows.
static
PyObject
*
os_waitpid_impl
(
PyObject
*
module
,
intptr_t
pid
,
int
options
)
/*[clinic end generated code: output=
15f1ce005a346b09 input=444c8f51cca5b862
]*/
/*[clinic end generated code: output=
be836b221271d538 input=40f2440c515410f8
]*/
{
int
status
;
intptr_t
res
;
...
...
@@ -11383,7 +11383,7 @@ Get the close-on-exe flag of the specified file descriptor.
static
int
os_get_handle_inheritable_impl
(
PyObject
*
module
,
intptr_t
handle
)
/*[clinic end generated code: output=
9e5389b0aa0916ce input=5f7759443aae3dc5
]*/
/*[clinic end generated code: output=
36be5afca6ea84d8 input=cfe99f9c05c70ad1
]*/
{
DWORD
flags
;
...
...
@@ -11408,7 +11408,7 @@ Set the inheritable flag of the specified handle.
static
PyObject
*
os_set_handle_inheritable_impl
(
PyObject
*
module
,
intptr_t
handle
,
int
inheritable
)
/*[clinic end generated code: output=
b1e67bfa3213d745 input=e64b2b2730469def
]*/
/*[clinic end generated code: output=
021d74fe6c96baa3 input=7a7641390d8364fc
]*/
{
DWORD
flags
=
inheritable
?
HANDLE_FLAG_INHERIT
:
0
;
if
(
!
SetHandleInformation
((
HANDLE
)
handle
,
HANDLE_FLAG_INHERIT
,
flags
))
{
...
...
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