Re: [Cython] Templated attributes in extensions classes in 0.17 Beta 2

2012-08-19 Thread Stefan Behnel
Brett Calcott, 20.08.2012 08:23: > I'm not sure if this is a bug in 0.17 beta or not. But something is not > working. > > Default-constructed attributes in an extension definition appear to > work (though I can't see where they are documented on the site…) > > So this works: > > test.h

[Cython] Templated attributes in extensions classes in 0.17 Beta 2

2012-08-19 Thread Brett Calcott
I'm not sure if this is a bug in 0.17 beta or not. But something is not working. Default-constructed attributes in an extension definition appear to work (though I can't see where they are documented on the site…) So this works: test.h #include struct Attributes { std::vector