Staging
v0.5.1
https://github.com/python/cpython
Revision 96fb828da305b18336b8d74b14f479c4f286cf7b authored by Miss Islington (bot) on 26 May 2018, 21:57:01 UTC, committed by GitHub on 26 May 2018, 21:57:01 UTC

The failure may be due to the use oF ZFS, a case we already ignore
for Solaris-based systems where ZFS is frequently used.
(cherry picked from commit 09c4a7dee2eb39b515e5f499f184257cdbe9cb42)

Co-authored-by: Ned Deily <nad@python.org>
1 parent e60f6e1
Raw File
Tip revision: 96fb828da305b18336b8d74b14f479c4f286cf7b authored by Miss Islington (bot) on 26 May 2018, 21:57:01 UTC
bpo-33655: Also ignore test_posix_fallocate failures on BSD platforms (GH-7134)
Tip revision: 96fb828
cellobject.h
/* Cell object interface */
#ifndef Py_LIMITED_API
#ifndef Py_CELLOBJECT_H
#define Py_CELLOBJECT_H
#ifdef __cplusplus
extern "C" {
#endif

typedef struct {
    PyObject_HEAD
    PyObject *ob_ref;       /* Content of the cell or NULL when empty */
} PyCellObject;

PyAPI_DATA(PyTypeObject) PyCell_Type;

#define PyCell_Check(op) (Py_TYPE(op) == &PyCell_Type)

PyAPI_FUNC(PyObject *) PyCell_New(PyObject *);
PyAPI_FUNC(PyObject *) PyCell_Get(PyObject *);
PyAPI_FUNC(int) PyCell_Set(PyObject *, PyObject *);

#define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref)
#define PyCell_SET(op, v) (((PyCellObject *)(op))->ob_ref = v)

#ifdef __cplusplus
}
#endif
#endif /* !Py_TUPLEOBJECT_H */
#endif /* Py_LIMITED_API */
back to top