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

Delta Between Two Patch Sets: Objects/enumobject.c

Issue 25958: Implicit ABCs have no means of "anti-registration"
Left Patch Set: Created 4 years, 1 month ago
Right Patch Set: Created 3 years, 6 months 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
« no previous file with change/comment | « Lib/test/test_unicode.py ('k') | Objects/typeobject.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* enumerate object */ 1 /* enumerate object */
2 2
3 #include "Python.h" 3 #include "Python.h"
4 4
5 typedef struct { 5 typedef struct {
6 PyObject_HEAD 6 PyObject_HEAD
7 Py_ssize_t en_index; /* current index of enumeration */ 7 Py_ssize_t en_index; /* current index of enumeration */
8 PyObject* en_sit; /* secondary iterator of enumeration */ 8 PyObject* en_sit; /* secondary iterator of enumeration */
9 PyObject* en_result; /* result tuple */ 9 PyObject* en_result; /* result tuple */
10 PyObject* en_longindex; /* index for sequences >= PY_SSIZE_T_MAX */ 10 PyObject* en_longindex; /* index for sequences >= PY_SSIZE_T_MAX */
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 0, /* tp_base */ 416 0, /* tp_base */
417 0, /* tp_dict */ 417 0, /* tp_dict */
418 0, /* tp_descr_get */ 418 0, /* tp_descr_get */
419 0, /* tp_descr_set */ 419 0, /* tp_descr_set */
420 0, /* tp_dictoffset */ 420 0, /* tp_dictoffset */
421 0, /* tp_init */ 421 0, /* tp_init */
422 PyType_GenericAlloc, /* tp_alloc */ 422 PyType_GenericAlloc, /* tp_alloc */
423 reversed_new, /* tp_new */ 423 reversed_new, /* tp_new */
424 PyObject_GC_Del, /* tp_free */ 424 PyObject_GC_Del, /* tp_free */
425 }; 425 };
LEFTRIGHT

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