On Nov 24, 2009, at 3:55 AM, Stefan Behnel wrote:

>
> Robert Bradshaw, 23.11.2009 20:33:
>> == New features ==
>>  -  Type inference with the infer_types directive
>
> Now that you mention it - why is there a directive for this? Can't  
> this be
> enabled by default?

I think this came up before--first, it's a relatively new feature, so  
it'd be nice to get it out there a tested some, but more importantly  
it's such a large, backwards incompatible change that it didn't make  
sense to do it with all the other stuff going on on 0.12. There's a  
lot of code out there (much written by me, for example, when type  
inference wasn't even on the horizon) that uses the fact that  
assignment to an untyped variable is conversion to an object.

One thing that I want to do is compile all of Sage with type inference  
on and see how much breaks. (In general, we're pretty good a typing  
variables, so I don't think it'll make a huge difference.) Have you  
tried compiling lxml with type inference enabled?

- Robert

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

Reply via email to