Dag Sverre Seljebotn, 13.04.2010 18:55:
> Stefan Behnel wrote:
>> Lisandro Dalcin, 13.04.2010 17:09:
>>
>>> I really cannot understand the opposition to the None handling being
>>> determined by a user-selected compiler directive...
>>>
>>
>> There is little use in a directive that everyone uses anyway. After finding
>> out about it, that is...
>>
> Well, a lot of my typed arguments *are* None, and has None as a
> perfectly valid value, so I wouldn't enable it.

Ah, so now we're getting to the 'why' of this discussion. lxml contains 
one(!) function with a typed argument that allows None, and that has a None 
default argument. So we see the world from completely different angles. 
Could you give code examples where typed None arguments make sense for you?

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to