Re: [Python-Dev] cpython (3.3): return NULL here

2013-07-23 Thread Ronald Oussoren
On 23 Jul, 2013, at 17:36, Christian Heimes wrote: > Am 23.07.2013 17:10, schrieb Benjamin Peterson: >>> PyErr_SetFromErrno() already and always returns NULL. Or do you prefer >>> to return NULL explicitly? >> >> It might always return NULL, but the compiler sees (PyObject *)NULL >> when this f

Re: [Python-Dev] cpython (3.3): return NULL here

2013-07-23 Thread Christian Heimes
Am 23.07.2013 17:10, schrieb Benjamin Peterson: >> PyErr_SetFromErrno() already and always returns NULL. Or do you prefer >> to return NULL explicitly? > > It might always return NULL, but the compiler sees (PyObject *)NULL > when this function returns dl_funcptr. Oh, you are right. I must have m

Re: [Python-Dev] cpython (3.3): return NULL here

2013-07-23 Thread Christian Heimes
Am 23.07.2013 07:08, schrieb benjamin.peterson: > http://hg.python.org/cpython/rev/042ff9325c5e > changeset: 84804:042ff9325c5e > branch: 3.3 > parent: 84789:bb63f813a00f > user:Benjamin Peterson > date:Mon Jul 22 22:08:09 2013 -0700 > summary: > return NULL here > >