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

Christian Heimes christian at python.org
Tue Jul 23 17:36:34 CEST 2013


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 missed the compiler warning. How about we
turn type return and type assignment warnings into fatal errors?

Christian



More information about the Python-checkins mailing list