Message207946
| Author |
georg.brandl |
| Recipients |
georg.brandl |
| Date |
2014年01月12日.10:29:49 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1389522589.48.0.984332793667.issue20226@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Take for example select.epoll.__new__():
static PyObject *
pyepoll_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
{
int flags = 0, sizehint = FD_SETSIZE - 1;
static char *kwlist[] = {"sizehint", "flags", NULL};
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|ii:epoll", kwlist,
&sizehint, &flags))
return NULL;
How should that be handled? Currently I can't specify ``FD_SETSIZE - 1`` as the default value, but I don't want a magic ``-909`` either :) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年01月12日 10:29:49 | georg.brandl | set | recipients:
+ georg.brandl |
| 2014年01月12日 10:29:49 | georg.brandl | set | messageid: <1389522589.48.0.984332793667.issue20226@psf.upfronthosting.co.za> |
| 2014年01月12日 10:29:49 | georg.brandl | link | issue20226 messages |
| 2014年01月12日 10:29:49 | georg.brandl | create |
|