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
30d1c51a
Kaydet (Commit)
30d1c51a
authored
Agu 19, 2007
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove _PyObject_Del
üst
666bb419
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
7 additions
and
17 deletions
+7
-17
newtypes.rst
Doc/c-api/newtypes.rst
+1
-4
refcounts.dat
Doc/data/refcounts.dat
+0
-3
objimpl.h
Include/objimpl.h
+0
-3
NEWS
Misc/NEWS
+1
-1
_randommodule.c
Modules/_randommodule.c
+1
-1
bz2module.c
Modules/bz2module.c
+3
-3
typeobject.c
Objects/typeobject.c
+1
-1
python25.def
PC/os2emx/python25.def
+0
-1
No files found.
Doc/c-api/newtypes.rst
Dosyayı görüntüle @
30d1c51a
...
@@ -23,9 +23,6 @@ Allocating Objects on the Heap
...
@@ -23,9 +23,6 @@ Allocating Objects on the Heap
.. cfunction:: PyVarObject* _PyObject_NewVar(PyTypeObject *type, Py_ssize_t size)
.. cfunction:: PyVarObject* _PyObject_NewVar(PyTypeObject *type, Py_ssize_t size)
.. cfunction:: void _PyObject_Del(PyObject *op)
.. cfunction:: PyObject* PyObject_Init(PyObject *op, PyTypeObject *type)
.. cfunction:: PyObject* PyObject_Init(PyObject *op, PyTypeObject *type)
Initialize a newly-allocated object *op* with its type and initial reference.
Initialize a newly-allocated object *op* with its type and initial reference.
...
@@ -1331,7 +1328,7 @@ The next fields, up to and including :attr:`tp_weaklist`, only exist if the
...
@@ -1331,7 +1328,7 @@ The next fields, up to and including :attr:`tp_weaklist`, only exist if the
void tp_free(void *)
void tp_free(void *)
The only initializer that is compatible with both versions is ``
_PyObject_Del
``,
The only initializer that is compatible with both versions is ``
PyObject_Free
``,
whose definition has suitably adapted in Python 2.3.
whose definition has suitably adapted in Python 2.3.
This field is inherited by static subtypes, but not by dynamic subtypes
This field is inherited by static subtypes, but not by dynamic subtypes
...
...
Doc/data/refcounts.dat
Dosyayı görüntüle @
30d1c51a
...
@@ -1705,9 +1705,6 @@ _PyImport_FixupExtension:char*:::
...
@@ -1705,9 +1705,6 @@ _PyImport_FixupExtension:char*:::
_PyImport_Init:void:::
_PyImport_Init:void:::
_PyObject_Del:void:::
_PyObject_Del:PyObject*:op:0:
_PyObject_New:PyObject*::+1:
_PyObject_New:PyObject*::+1:
_PyObject_New:PyTypeObject*:type:0:
_PyObject_New:PyTypeObject*:type:0:
...
...
Include/objimpl.h
Dosyayı görüntüle @
30d1c51a
...
@@ -131,9 +131,6 @@ PyAPI_FUNC(void) _PyObject_DebugMallocStats(void);
...
@@ -131,9 +131,6 @@ PyAPI_FUNC(void) _PyObject_DebugMallocStats(void);
#define PyObject_Del PyObject_Free
#define PyObject_Del PyObject_Free
#define PyObject_DEL PyObject_FREE
#define PyObject_DEL PyObject_FREE
/* for source compatibility with 2.2 */
#define _PyObject_Del PyObject_Free
/*
/*
* Generic object allocator interface
* Generic object allocator interface
* ==================================
* ==================================
...
...
Misc/NEWS
Dosyayı görüntüle @
30d1c51a
...
@@ -232,7 +232,7 @@ C API
...
@@ -232,7 +232,7 @@ C API
nb_divide, nb_inplace_divide
nb_divide, nb_inplace_divide
- Removed these macros:
- Removed these macros:
staticforward, statichere, PyArg_GetInt, PyArg_NoArgs
staticforward, statichere, PyArg_GetInt, PyArg_NoArgs
, _PyObject_Del
- Removed these typedefs:
- Removed these typedefs:
intargfunc, intintargfunc, intobjargproc, intintobjargproc,
intargfunc, intintargfunc, intobjargproc, intintobjargproc,
...
...
Modules/_randommodule.c
Dosyayı görüntüle @
30d1c51a
...
@@ -557,7 +557,7 @@ static PyTypeObject Random_Type = {
...
@@ -557,7 +557,7 @@ static PyTypeObject Random_Type = {
0
,
/*tp_init*/
0
,
/*tp_init*/
0
,
/*tp_alloc*/
0
,
/*tp_alloc*/
random_new
,
/*tp_new*/
random_new
,
/*tp_new*/
_PyObject_Del
,
/*tp_free*/
PyObject_Free
,
/*tp_free*/
0
,
/*tp_is_gc*/
0
,
/*tp_is_gc*/
};
};
...
...
Modules/bz2module.c
Dosyayı görüntüle @
30d1c51a
...
@@ -1336,7 +1336,7 @@ static PyTypeObject BZ2File_Type = {
...
@@ -1336,7 +1336,7 @@ static PyTypeObject BZ2File_Type = {
(
initproc
)
BZ2File_init
,
/*tp_init*/
(
initproc
)
BZ2File_init
,
/*tp_init*/
PyType_GenericAlloc
,
/*tp_alloc*/
PyType_GenericAlloc
,
/*tp_alloc*/
PyType_GenericNew
,
/*tp_new*/
PyType_GenericNew
,
/*tp_new*/
_PyObject_Del
,
/*tp_free*/
PyObject_Free
,
/*tp_free*/
0
,
/*tp_is_gc*/
0
,
/*tp_is_gc*/
};
};
...
@@ -1612,7 +1612,7 @@ static PyTypeObject BZ2Comp_Type = {
...
@@ -1612,7 +1612,7 @@ static PyTypeObject BZ2Comp_Type = {
(
initproc
)
BZ2Comp_init
,
/*tp_init*/
(
initproc
)
BZ2Comp_init
,
/*tp_init*/
PyType_GenericAlloc
,
/*tp_alloc*/
PyType_GenericAlloc
,
/*tp_alloc*/
PyType_GenericNew
,
/*tp_new*/
PyType_GenericNew
,
/*tp_new*/
_PyObject_Del
,
/*tp_free*/
PyObject_Free
,
/*tp_free*/
0
,
/*tp_is_gc*/
0
,
/*tp_is_gc*/
};
};
...
@@ -1836,7 +1836,7 @@ static PyTypeObject BZ2Decomp_Type = {
...
@@ -1836,7 +1836,7 @@ static PyTypeObject BZ2Decomp_Type = {
(
initproc
)
BZ2Decomp_init
,
/*tp_init*/
(
initproc
)
BZ2Decomp_init
,
/*tp_init*/
PyType_GenericAlloc
,
/*tp_alloc*/
PyType_GenericAlloc
,
/*tp_alloc*/
PyType_GenericNew
,
/*tp_new*/
PyType_GenericNew
,
/*tp_new*/
_PyObject_Del
,
/*tp_free*/
PyObject_Free
,
/*tp_free*/
0
,
/*tp_is_gc*/
0
,
/*tp_is_gc*/
};
};
...
...
Objects/typeobject.c
Dosyayı görüntüle @
30d1c51a
...
@@ -3302,7 +3302,7 @@ inherit_slots(PyTypeObject *type, PyTypeObject *base)
...
@@ -3302,7 +3302,7 @@ inherit_slots(PyTypeObject *type, PyTypeObject *base)
}
}
else
if
((
type
->
tp_flags
&
Py_TPFLAGS_HAVE_GC
)
&&
else
if
((
type
->
tp_flags
&
Py_TPFLAGS_HAVE_GC
)
&&
type
->
tp_free
==
NULL
&&
type
->
tp_free
==
NULL
&&
base
->
tp_free
==
_PyObject_Del
)
{
base
->
tp_free
==
PyObject_Free
)
{
/* A bit of magic to plug in the correct default
/* A bit of magic to plug in the correct default
* tp_free function when a derived class adds gc,
* tp_free function when a derived class adds gc,
* didn't define tp_free, and the base uses the
* didn't define tp_free, and the base uses the
...
...
PC/os2emx/python25.def
Dosyayı görüntüle @
30d1c51a
...
@@ -456,7 +456,6 @@ EXPORTS
...
@@ -456,7 +456,6 @@ EXPORTS
"PyObject_InitVar"
"PyObject_InitVar"
"_PyObject_New"
"_PyObject_New"
"_PyObject_NewVar"
"_PyObject_NewVar"
"_PyObject_Del"
"_Py_ReadyTypes"
"_Py_ReadyTypes"
"_Py_SwappedOp"
"_Py_SwappedOp"
"_Py_NotImplementedStruct"
"_Py_NotImplementedStruct"
...
...
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