homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:06belopolskysetrecipients: + belopolsky, rhettinger, benjamin.peterson, wrichert
2009年10月28日 01:56:06belopolskysetmessageid: <1256694966.14.0.898654340475.issue7212@psf.upfronthosting.co.za>
2009年10月28日 01:56:04belopolskylinkissue7212 messages
2009年10月28日 01:56:04belopolskycreate

AltStyle によって変換されたページ (->オリジナル) /