Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(160807)

Side by Side Diff: Include/object.h

Issue 11610: Improving property to accept abstract methods
Patch Set: Created 8 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Doc/whatsnew/3.3.rst ('k') | Lib/abc.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef Py_OBJECT_H 1 #ifndef Py_OBJECT_H
2 #define Py_OBJECT_H 2 #define Py_OBJECT_H
3 #ifdef __cplusplus 3 #ifdef __cplusplus
4 extern "C" { 4 extern "C" {
5 #endif 5 #endif
6 6
7 7
8 /* Object and type object interface */ 8 /* Object and type object interface */
9 9
10 /* 10 /*
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 PyAPI_FUNC(PyObject *) PyObject_ASCII(PyObject *); 466 PyAPI_FUNC(PyObject *) PyObject_ASCII(PyObject *);
467 PyAPI_FUNC(PyObject *) PyObject_Bytes(PyObject *); 467 PyAPI_FUNC(PyObject *) PyObject_Bytes(PyObject *);
468 PyAPI_FUNC(PyObject *) PyObject_RichCompare(PyObject *, PyObject *, int); 468 PyAPI_FUNC(PyObject *) PyObject_RichCompare(PyObject *, PyObject *, int);
469 PyAPI_FUNC(int) PyObject_RichCompareBool(PyObject *, PyObject *, int); 469 PyAPI_FUNC(int) PyObject_RichCompareBool(PyObject *, PyObject *, int);
470 PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *); 470 PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *);
471 PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *); 471 PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *);
472 PyAPI_FUNC(int) PyObject_HasAttrString(PyObject *, const char *); 472 PyAPI_FUNC(int) PyObject_HasAttrString(PyObject *, const char *);
473 PyAPI_FUNC(PyObject *) PyObject_GetAttr(PyObject *, PyObject *); 473 PyAPI_FUNC(PyObject *) PyObject_GetAttr(PyObject *, PyObject *);
474 PyAPI_FUNC(int) PyObject_SetAttr(PyObject *, PyObject *, PyObject *); 474 PyAPI_FUNC(int) PyObject_SetAttr(PyObject *, PyObject *, PyObject *);
475 PyAPI_FUNC(int) PyObject_HasAttr(PyObject *, PyObject *); 475 PyAPI_FUNC(int) PyObject_HasAttr(PyObject *, PyObject *);
476 PyAPI_FUNC(int) _PyObject_IsAbstract(PyObject *);
476 PyAPI_FUNC(PyObject *) _PyObject_GetAttrId(PyObject *, struct _Py_Identifier *); 477 PyAPI_FUNC(PyObject *) _PyObject_GetAttrId(PyObject *, struct _Py_Identifier *);
477 PyAPI_FUNC(int) _PyObject_SetAttrId(PyObject *, struct _Py_Identifier *, PyObjec t *); 478 PyAPI_FUNC(int) _PyObject_SetAttrId(PyObject *, struct _Py_Identifier *, PyObjec t *);
478 PyAPI_FUNC(int) _PyObject_HasAttrId(PyObject *, struct _Py_Identifier *); 479 PyAPI_FUNC(int) _PyObject_HasAttrId(PyObject *, struct _Py_Identifier *);
479 #ifndef Py_LIMITED_API 480 #ifndef Py_LIMITED_API
480 PyAPI_FUNC(PyObject **) _PyObject_GetDictPtr(PyObject *); 481 PyAPI_FUNC(PyObject **) _PyObject_GetDictPtr(PyObject *);
481 #endif 482 #endif
482 PyAPI_FUNC(PyObject *) PyObject_SelfIter(PyObject *); 483 PyAPI_FUNC(PyObject *) PyObject_SelfIter(PyObject *);
483 #ifndef Py_LIMITED_API 484 #ifndef Py_LIMITED_API
484 PyAPI_FUNC(PyObject *) _PyObject_NextNotImplemented(PyObject *); 485 PyAPI_FUNC(PyObject *) _PyObject_NextNotImplemented(PyObject *);
485 #endif 486 #endif
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
926 if (_PyTrash_delete_later && _PyTrash_delete_nesting <= 0) \ 927 if (_PyTrash_delete_later && _PyTrash_delete_nesting <= 0) \
927 _PyTrash_destroy_chain(); \ 928 _PyTrash_destroy_chain(); \
928 } \ 929 } \
929 else \ 930 else \
930 _PyTrash_deposit_object((PyObject*)op); 931 _PyTrash_deposit_object((PyObject*)op);
931 932
932 #ifdef __cplusplus 933 #ifdef __cplusplus
933 } 934 }
934 #endif 935 #endif
935 #endif /* !Py_OBJECT_H */ 936 #endif /* !Py_OBJECT_H */
OLDNEW
« no previous file with comments | « Doc/whatsnew/3.3.rst ('k') | Lib/abc.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+