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
2f2fffb7
Kaydet (Commit)
2f2fffb7
authored
Tem 25, 2007
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix two bad type identifiers that caused crashes on OSX (icglue and Nav).
Silence two innocuous warnings (_File and _collections).
üst
3f6dd68e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
6 deletions
+4
-6
Nav.c
Mac/Modules/Nav.c
+1
-2
_Filemodule.c
Mac/Modules/file/_Filemodule.c
+1
-1
icgluemodule.c
Mac/Modules/icgluemodule.c
+1
-2
_collectionsmodule.c
Modules/_collectionsmodule.c
+1
-1
No files found.
Mac/Modules/Nav.c
Dosyayı görüntüle @
2f2fffb7
...
@@ -403,8 +403,7 @@ static char Navrrtype__doc__[] =
...
@@ -403,8 +403,7 @@ static char Navrrtype__doc__[] =
;
;
static
PyTypeObject
Navrrtype
=
{
static
PyTypeObject
Navrrtype
=
{
PyObject_HEAD_INIT
(
&
PyType_Type
)
PyVarObject_HEAD_INIT
(
&
PyType_Type
,
0
)
0
,
/*ob_size*/
"Nav.NavReplyRecord"
,
/*tp_name*/
"Nav.NavReplyRecord"
,
/*tp_name*/
sizeof
(
navrrobject
),
/*tp_basicsize*/
sizeof
(
navrrobject
),
/*tp_basicsize*/
0
,
/*tp_itemsize*/
0
,
/*tp_itemsize*/
...
...
Mac/Modules/file/_Filemodule.c
Dosyayı görüntüle @
2f2fffb7
...
@@ -3193,7 +3193,7 @@ PyMac_GetFSRef(PyObject *v, FSRef *fsr)
...
@@ -3193,7 +3193,7 @@ PyMac_GetFSRef(PyObject *v, FSRef *fsr)
/* On OSX we now try a pathname */
/* On OSX we now try a pathname */
if
(
PyString_Check
(
v
)
||
PyUnicode_Check
(
v
))
{
if
(
PyString_Check
(
v
)
||
PyUnicode_Check
(
v
))
{
char
*
path
=
NULL
;
unsigned
char
*
path
=
NULL
;
if
(
!
PyArg_Parse
(
v
,
"et"
,
Py_FileSystemDefaultEncoding
,
&
path
))
if
(
!
PyArg_Parse
(
v
,
"et"
,
Py_FileSystemDefaultEncoding
,
&
path
))
return
0
;
return
0
;
if
(
(
err
=
FSPathMakeRef
(
path
,
fsr
,
NULL
))
)
if
(
(
err
=
FSPathMakeRef
(
path
,
fsr
,
NULL
))
)
...
...
Mac/Modules/icgluemodule.c
Dosyayı görüntüle @
2f2fffb7
...
@@ -392,8 +392,7 @@ static char Icitype__doc__[] =
...
@@ -392,8 +392,7 @@ static char Icitype__doc__[] =
;
;
static
PyTypeObject
Icitype
=
{
static
PyTypeObject
Icitype
=
{
PyObject_HEAD_INIT
(
&
PyType_Type
)
PyVarObject_HEAD_INIT
(
&
PyType_Type
,
0
)
0
,
/*ob_size*/
"icglue.ic_instance"
,
/*tp_name*/
"icglue.ic_instance"
,
/*tp_name*/
sizeof
(
iciobject
),
/*tp_basicsize*/
sizeof
(
iciobject
),
/*tp_basicsize*/
0
,
/*tp_itemsize*/
0
,
/*tp_itemsize*/
...
...
Modules/_collectionsmodule.c
Dosyayı görüntüle @
2f2fffb7
...
@@ -1103,7 +1103,7 @@ defdict_copy(defdictobject *dd)
...
@@ -1103,7 +1103,7 @@ defdict_copy(defdictobject *dd)
whose class constructor has the same signature. Subclasses that
whose class constructor has the same signature. Subclasses that
define a different constructor signature must override copy().
define a different constructor signature must override copy().
*/
*/
return
PyObject_CallFunctionObjArgs
(
Py_Type
(
dd
),
return
PyObject_CallFunctionObjArgs
(
(
PyObject
*
)
Py_Type
(
dd
),
dd
->
default_factory
,
dd
,
NULL
);
dd
->
default_factory
,
dd
,
NULL
);
}
}
...
...
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