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
8bc5b681
Kaydet (Commit)
8bc5b681
authored
May 09, 2009
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
these builtins have to be initialized
üst
c3491d31
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
6 deletions
+25
-6
Python.h
Include/Python.h
+1
-0
bltinmodule.h
Include/bltinmodule.h
+14
-0
Makefile.pre.in
Makefile.pre.in
+1
-0
object.c
Objects/object.c
+9
-0
bltinmodule.c
Python/bltinmodule.c
+0
-6
No files found.
Include/Python.h
Dosyayı görüntüle @
8bc5b681
...
...
@@ -113,6 +113,7 @@
#include "import.h"
#include "abstract.h"
#include "bltinmodule.h"
#include "compile.h"
#include "eval.h"
...
...
Include/bltinmodule.h
0 → 100644
Dosyayı görüntüle @
8bc5b681
#ifndef Py_BLTINMODULE_H
#define Py_BLTINMODULE_H
#ifdef __cplusplus
extern
"C"
{
#endif
PyAPI_DATA
(
PyTypeObject
)
PyFilter_Type
;
PyAPI_DATA
(
PyTypeObject
)
PyMap_Type
;
PyAPI_DATA
(
PyTypeObject
)
PyZip_Type
;
#ifdef __cplusplus
}
#endif
#endif
/* !Py_BLTINMODULE_H */
Makefile.pre.in
Dosyayı görüntüle @
8bc5b681
...
...
@@ -612,6 +612,7 @@ PYTHON_HEADERS= \
Include/abstract.h
\
Include/asdl.h
\
Include/ast.h
\
Include/bltinmodule.h
\
Include/bitset.h
\
Include/boolobject.h
\
Include/bytes_methods.h
\
...
...
Objects/object.c
Dosyayı görüntüle @
8bc5b681
...
...
@@ -1595,6 +1595,15 @@ _Py_ReadyTypes(void)
if
(
PyType_Ready
(
&
PyMemberDescr_Type
)
<
0
)
Py_FatalError
(
"Can't initialize member descriptor type"
);
if
(
PyType_Ready
(
&
PyFilter_Type
)
<
0
)
Py_FatalError
(
"Can't initialize filter type"
);
if
(
PyType_Ready
(
&
PyMap_Type
)
<
0
)
Py_FatalError
(
"Can't initialize map type"
);
if
(
PyType_Ready
(
&
PyZip_Type
)
<
0
)
Py_FatalError
(
"Can't initialize zip type"
);
}
...
...
Python/bltinmodule.c
Dosyayı görüntüle @
8bc5b681
...
...
@@ -317,8 +317,6 @@ typedef struct {
PyObject
*
it
;
}
filterobject
;
PyTypeObject
PyFilter_Type
;
static
PyObject
*
filter_new
(
PyTypeObject
*
type
,
PyObject
*
args
,
PyObject
*
kwds
)
{
...
...
@@ -913,8 +911,6 @@ typedef struct {
PyObject
*
func
;
}
mapobject
;
PyTypeObject
PyMap_Type
;
static
PyObject
*
map_new
(
PyTypeObject
*
type
,
PyObject
*
args
,
PyObject
*
kwds
)
{
...
...
@@ -2031,8 +2027,6 @@ typedef struct {
PyObject
*
result
;
}
zipobject
;
PyTypeObject
PyZip_Type
;
static
PyObject
*
zip_new
(
PyTypeObject
*
type
,
PyObject
*
args
,
PyObject
*
kwds
)
{
...
...
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