Matthew Brett wrote: > Hi, > > I noticed this works: > > In [5]:a = array((1,), dtype=[('one', '<i4')]) > > In [6]:a.byteswap() > Out[6]: > array((16777216,), > dtype=[('one', '<i4')]) > > But, extending the recarray leads to a segfault on byteswapping: > > In [8]:a = array((1, 2), dtype=[('one', '<i4'),('two', '<i4')]) > > In [9]:a.byteswap() > Segmentation fault > Great catch. Fixed in SVN.
-Travis ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion