Greg Ewing, 11.02.2010 00:53:
> Robert Bradshaw wrote:
>> Now one thing I've realized since starting to look at this is  
>> namespaces can be more than just dotted Python identifiers, e.g. one  
>> has "std::vector<T>::iterator."
> 
> The consistent way to handle that would be using a
> cname, e.g.
> 
>    cdef extern from "..." namespace std.vector "std::vector<T>":
>      ...

I agree, but this doesn't quite fit the use case. I expect the Python name
not to be used at all in most cases, basically because it will only appear
in a .pxd file. Having to provide it in all cases will just make this less
usable.

Stefan

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

Reply via email to