On 13 April 2010 11:33, Dag Sverre Seljebotn
<[email protected]> wrote:
>>
> Actually, I overlooked Chris Barker's post in that count, sorry. And
> also there's getting feedback from other users in an appropriately named
> thread etc.
>

Does my complains also count as from user-side?

> Anyway, I think we can conclude already that this is controversial
> enough to demand a CEP? It's been up several times in the past with the
> same arguments reiterated IIRC.
>

Given the scarce time Stefan and me have for this, asking for a CEP is
an obvious way to maintain the status-quo ;-) ...

Come on! I really do not understand... "not None" and "or None" are
certainly not part of Python' semantics, nor are type declaration (a
subject people use and abuse here for argumentation)... So, for the
very moment I use a typed argument, I abandoned strict Python
semantics, so I should be able to decide how to manage None in a
case-by-case basis (using "Type arg not None", "Type arg or None", or
"Type arg=None", etc.) and moreover I should be able to choose the
default handling, i.e. use a COMPILER DIRECTIVE!!!

I really cannot understand the opposition to the None handling being
determined by a user-selected compiler directive... Of course, one
this is available, we could have discussions, write CEP's, fight with
swords,  whatever.... about what should the default handling be if
the directive is not used. I would probably not make any strong
argument about this; I'm not a language lawyer; just a user how makes
some contributions to core from time to time, had the experience of
wrapping medium-sized C API's, and is upset of being forced to
manually write "not None" in almost every method! Because if I forget
to write "not None", my code is likely broken!!!

PS: Even if 100% correct control flow is ever implemented and
available, I would still like to use "Type arg not None", as that
exposes errors early-on.


-- 
Lisandro Dalcin
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to