[Cython] CEP1000: Native dispatch through callables

Stefan Behnel stefan_ml at behnel.de
Sun Apr 15 08:28:42 CEST 2012


Greg Ewing, 15.04.2012 03:07:
> Dag Sverre Seljebotn wrote:
> 
>> if (obj has signature "id)i") {
> 
> This is an aside, but is it really necessary to define the
> signature syntax in a way that involves unmatched parens?
> Some editors (such as the one I like to use) get confused
> by this, even when they're inside quotes.
> 
> The answer "get a better editor" would be entirely
> appropriate if there were some advantage to this syntax,
> over a non-unbalanced one, but I can't see any.

It wasn't really a proposed syntax, I guess, more of a way to write down an
example. It should be easy to do without any special separator by moving
the return type first, for example. Also, it's not clear yet if we will
actually use such a character syntax at all.

Stefan


More information about the cython-devel mailing list