[Cython] new idea for typedef integrals
Robert Bradshaw
robertwb at math.washington.edu
Thu Jul 9 13:02:03 CEST 2009
On Jul 8, 2009, at 5:07 PM, Lisandro Dalcin wrote:
> On Wed, Jul 8, 2009 at 6:07 PM, Dag Sverre
> Seljebotn<dagss at student.matnat.uio.no> wrote:
>> I think you mistunderstood me... I meant (1) and (2) in combination.
>
> Indeed... My fault this time...
>
>> Trying again:
>>
>> 1) We introduce "?"
>> 2) If you do not know the exact type, you HAVE to use ?. Not using ?
>> implies you know the exact type.
I think this is a bad idea. If you have an extern typedef int, how
often do you really know what it is? On all platforms? With all c
configuration options and into the future? Nearly every typedef int
would have to be unranked, which would be a pain to code with.
I'm not against the unranked/partially ordered types--it's a good
one, but think it will be burdensome (as well as hugely backwards
incompatible) to make it the default. (We should document the issues
that may arise in the users manual though.)
- Robert
More information about the Cython-dev
mailing list