[Cython] Sage 3.2.3 vs. cython 0.11-devel
Robert Bradshaw
robertwb at math.washington.edu
Fri Jan 16 01:52:07 CET 2009
On Jan 15, 2009, at 3:35 PM, Michael Abshoff wrote:
> Robert Bradshaw wrote:
>> On Jan 15, 2009, at 2:23 PM, Michael Abshoff wrote:
>
> <SNIP>
>
>>>>> Do you have your changes anywhere so I can play with them?
>>>> I pushed them to sage-devel, and an spkg is up in http://
>>>> sage.math.washington.edu/home/robertwb/cython/ too.
>>> Ok, I will take a look hopefully today.
>>
>> Excellent.
>
> Ok, adding std:: makes the code compile, but this is not the real fix.
[...]
> and again we are having a problem with min and so on. Cython seems
> to be
> at fault for all the above issues. I.e. for some reason we end up
> using symbols from Sage's library like set, min, gmax and so on
> that in
> 0.10 we did not use. For C++ we can monkey patch around them which
> is a
> bad idea and for C code we seem to be screwed for now.
>
> Thoughts? I know way to little about Cython internals to have an idea
> what is going on here :)
Thanks for looking into this--from what I understand of what you sent
it's symbols like "min" and "set" that are getting exported to the
namespace that weren't before? I'm not sure what happened between
0.10.3 and now that would call this--did anyone include any new headers?
- Robert
More information about the Cython-dev
mailing list