Re: [Cython] object to struct conversion

2011-08-05 Thread mark florisson
On 5 August 2011 11:05, Stefan Behnel wrote: > Robert Bradshaw, 05.08.2011 08:53: >> >> On Wed, Aug 3, 2011 at 2:09 PM, mark florisson wrote: >>> >>> my hudson sdist keeps failing with >>> >>> writing manifest file 'MANIFEST' >>> making hard links in Cython-0.14.1+... >>> hard linking COPYING.txt

Re: [Cython] object to struct conversion

2011-08-05 Thread Stefan Behnel
Robert Bradshaw, 05.08.2011 08:53: On Wed, Aug 3, 2011 at 2:09 PM, mark florisson wrote: my hudson sdist keeps failing with writing manifest file 'MANIFEST' making hard links in Cython-0.14.1+... hard linking COPYING.txt -> Cython-0.14.1+ error: File exists I'm not sure. I removed that direc

Re: [Cython] object to struct conversion

2011-08-05 Thread mark florisson
On 5 August 2011 08:53, Robert Bradshaw wrote: > On Wed, Aug 3, 2011 at 2:09 PM, mark florisson > wrote: >> On 3 August 2011 19:36, Robert Bradshaw wrote: >>> On Wed, Aug 3, 2011 at 9:20 AM, Stefan Behnel wrote: mark florisson, 03.08.2011 16:28: > > Is there any specific reason obj

Re: [Cython] object to struct conversion

2011-08-04 Thread Robert Bradshaw
On Wed, Aug 3, 2011 at 2:09 PM, mark florisson wrote: > On 3 August 2011 19:36, Robert Bradshaw wrote: >> On Wed, Aug 3, 2011 at 9:20 AM, Stefan Behnel wrote: >>> mark florisson, 03.08.2011 16:28: Is there any specific reason objects cannot coerce to structs (from e.g. dicts?). It

Re: [Cython] object to struct conversion

2011-08-03 Thread mark florisson
On 3 August 2011 19:36, Robert Bradshaw wrote: > On Wed, Aug 3, 2011 at 9:20 AM, Stefan Behnel wrote: >> mark florisson, 03.08.2011 16:28: >>> >>> Is there any specific reason objects cannot coerce to structs (from >>> e.g. dicts?). It would be convenient for memoryviews, then you could >>> assig

Re: [Cython] object to struct conversion

2011-08-03 Thread Robert Bradshaw
On Wed, Aug 3, 2011 at 9:20 AM, Stefan Behnel wrote: > mark florisson, 03.08.2011 16:28: >> >> Is there any specific reason objects cannot coerce to structs (from >> e.g. dicts?). It would be convenient for memoryviews, then you could >> assign dicts (or any mapping) to items in the memoryview fro

Re: [Cython] object to struct conversion

2011-08-03 Thread Stefan Behnel
mark florisson, 03.08.2011 16:28: Is there any specific reason objects cannot coerce to structs (from e.g. dicts?). It would be convenient for memoryviews, then you could assign dicts (or any mapping) to items in the memoryview from Python space. You could also have structs as argument to def fun

[Cython] object to struct conversion

2011-08-03 Thread mark florisson
Is there any specific reason objects cannot coerce to structs (from e.g. dicts?). It would be convenient for memoryviews, then you could assign dicts (or any mapping) to items in the memoryview from Python space. You could also have structs as argument to def functions etc. Any objection to this ad