Message94599
| Author |
belopolsky |
| Recipients |
belopolsky, benjamin.peterson, rhettinger, wrichert |
| Date |
2009年10月28日.01:56:04 |
| SpamBayes Score |
8.582488e-05 |
| Marked as misclassified |
No |
| Message-id |
<1256694966.14.0.898654340475.issue7212@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Any reason you don't want to call set_next from set_get?
I would say
static PyObject *
set_get(PySetObject *so)
{
register Py_ssize_t pos = 0;
register setentry *entry;
if (set_next(so, &pos, &entry)) {
Py_INCREF(entry->key);
return entry->key;
}
/* set appropriate error */
return NULL;
}
BTW, what your patch is supposed to do on set().get()?
} |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年10月28日 01:56:06 | belopolsky | set | recipients:
+ belopolsky, rhettinger, benjamin.peterson, wrichert |
| 2009年10月28日 01:56:06 | belopolsky | set | messageid: <1256694966.14.0.898654340475.issue7212@psf.upfronthosting.co.za> |
| 2009年10月28日 01:56:04 | belopolsky | link | issue7212 messages |
| 2009年10月28日 01:56:04 | belopolsky | create |
|