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

Delta Between Two Patch Sets: Objects/weakrefobject.c

Issue 29259: Add tp_fastcall to PyTypeObject: support FASTCALL calling convention for all callable objects
Left Patch Set: Created 3 years ago
Right Patch Set: Created 3 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
1 #include "Python.h" 1 #include "Python.h"
2 #include "structmember.h" 2 #include "structmember.h"
3 3
4 4
5 #define GET_WEAKREFS_LISTPTR(o) \ 5 #define GET_WEAKREFS_LISTPTR(o) \
6 ((PyWeakReference **) PyObject_GET_WEAKREFS_LISTPTR(o)) 6 ((PyWeakReference **) PyObject_GET_WEAKREFS_LISTPTR(o))
7 7
8 8
9 Py_ssize_t 9 Py_ssize_t
10 _PyWeakref_GetWeakrefCount(PyWeakReference *head) 10 _PyWeakref_GetWeakrefCount(PyWeakReference *head)
(...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 PyObject *item = PyTuple_GET_ITEM(tuple, i * 2); 960 PyObject *item = PyTuple_GET_ITEM(tuple, i * 2);
961 handle_callback((PyWeakReference *)item, callback); 961 handle_callback((PyWeakReference *)item, callback);
962 } 962 }
963 } 963 }
964 Py_DECREF(tuple); 964 Py_DECREF(tuple);
965 } 965 }
966 assert(!PyErr_Occurred()); 966 assert(!PyErr_Occurred());
967 PyErr_Restore(err_type, err_value, err_tb); 967 PyErr_Restore(err_type, err_value, err_tb);
968 } 968 }
969 } 969 }
LEFTRIGHT

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