Staging
v0.5.1
https://github.com/python/cpython
Revision d85c5670ff1611202a25c9e0967148e72c114de9 authored by Victor Stinner on 14 August 2019, 14:31:32 UTC, committed by GitHub on 14 August 2019, 14:31:32 UTC
* bpo-37531: Fix regrtest timeout for subprocesses (GH-15072)

Co-Authored-By: Joannah Nanjekye <joannah.nanjekye@ibm.com>
(cherry picked from commit b0c8369c603633f445ccbb5ca7a8742145ff9eec)

* bpo-36511: Fix failures in Windows ARM32 buildbot (GH-15181)

(cherry picked from commit ed70a344b5fbddea85726ebc1964ee0cfdef9c40)

Backport also minor fixes from master (fix typo, remove importlib import).
1 parent 9842269
Raw File
Tip revision: d85c5670ff1611202a25c9e0967148e72c114de9 authored by Victor Stinner on 14 August 2019, 14:31:32 UTC
[3.8] bpo-37531: Fix regrtest timeout for subprocesses (GH-15072) (GH-15279)
Tip revision: d85c567
iterobject.h
#ifndef Py_ITEROBJECT_H
#define Py_ITEROBJECT_H
/* Iterators (the basic kind, over a sequence) */
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_DATA(PyTypeObject) PySeqIter_Type;
PyAPI_DATA(PyTypeObject) PyCallIter_Type;
PyAPI_DATA(PyTypeObject) PyCmpWrapper_Type;

#define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type)

PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *);


#define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type)

PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *);

#ifdef __cplusplus
}
#endif
#endif /* !Py_ITEROBJECT_H */

back to top