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
8398713c
Kaydet (Commit)
8398713c
authored
Haz 10, 2018
tarafından
Christian Tismer
Kaydeden (comit)
Ned Deily
Haz 10, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-33738: Address review comments in GH #7477 (GH-7585)
üst
877b2320
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
4 deletions
+8
-4
abstract.h
Include/abstract.h
+1
-1
pyerrors.h
Include/pyerrors.h
+2
-2
2018-06-07-18-34-19.bpo-33738.ODZS7a.rst
...ore and Builtins/2018-06-07-18-34-19.bpo-33738.ODZS7a.rst
+2
-1
abstract.c
Objects/abstract.c
+2
-0
exceptions.c
Objects/exceptions.c
+1
-0
No files found.
Include/abstract.h
Dosyayı görüntüle @
8398713c
...
...
@@ -598,7 +598,7 @@ PyAPI_FUNC(PyObject *) PyObject_GetIter(PyObject *);
((obj)->ob_type->tp_iternext != NULL && \
(obj)->ob_type->tp_iternext != &_PyObject_NextNotImplemented)
#else
PyAPI_FUNC
(
int
)
PyIter_Check
(
PyObject
*
);
PyAPI_FUNC
(
int
)
PyIter_Check
(
PyObject
*
);
#endif
/* Takes an iterator object and calls its tp_iternext slot,
...
...
Include/pyerrors.h
Dosyayı görüntüle @
8398713c
...
...
@@ -142,9 +142,9 @@ PyAPI_FUNC(void) _PyErr_ChainExceptions(PyObject *, PyObject *, PyObject *);
#ifndef Py_LIMITED_API
#define PyExceptionClass_Name(x) \
((char *)(((PyTypeObject*)(x))->tp_name))
((char *)(((PyTypeObject
*)(x))->tp_name))
#else
PyAPI_FUNC
(
c
har
*
)
PyExceptionClass_Name
(
PyObject
*
);
PyAPI_FUNC
(
c
onst
char
*
)
PyExceptionClass_Name
(
PyObject
*
);
#endif
#define PyExceptionInstance_Class(x) ((PyObject*)((x)->ob_type))
...
...
Misc/NEWS.d/next/Core and Builtins/2018-06-07-18-34-19.bpo-33738.ODZS7a.rst
Dosyayı görüntüle @
8398713c
Seven macro incompatibilities with the Limited API were fixed, and the
macros PyIter_Check, PyIndex_Check and PyExceptionClass_Name were added as
functions. A script for automatic macro checks was added.
functions. The return type of PyExceptionClass_Name is "const char \*".
A script for automatic macro checks was added.
Objects/abstract.c
Dosyayı görüntüle @
8398713c
...
...
@@ -1245,6 +1245,7 @@ PyNumber_Absolute(PyObject *o)
}
#undef PyIndex_Check
int
PyIndex_Check
(
PyObject
*
obj
)
{
...
...
@@ -2544,6 +2545,7 @@ PyObject_GetIter(PyObject *o)
}
#undef PyIter_Check
int
PyIter_Check
(
PyObject
*
obj
)
{
return
obj
->
ob_type
->
tp_iternext
!=
NULL
&&
...
...
Objects/exceptions.c
Dosyayı görüntüle @
8398713c
...
...
@@ -343,6 +343,7 @@ PyException_SetContext(PyObject *self, PyObject *context)
}
#undef PyExceptionClass_Name
char
*
PyExceptionClass_Name
(
PyObject
*
ob
)
{
...
...
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