In an effort to preserve consistency, I made a change to the keyword argument order in the functions in records.py. In addition, all of the functions now take a dtype= keyword argument. This keyword argument is placed first along with other needed keyword arguments.
When the dtype keyword is given then it's argument is converted to a data-type object and used in the record array. Otherwise (and only when dtype=None) the formats, names, titles, aligned, and byteorder arguments are used to construct the data-type object. These arguments are always last in the keyword argument order. Bascially, when these are given the rec.format_parser class is run to construct a data-type object from them: Thus using these keywords in place of data-type is equivalent to dtype = format_parser(formats, names, titles, aligned, byteorder)._descr Please let me know if this causes problems. As long as you used keyword arguments, the changes should have no effect on code written for NumPy. Best, -Travis ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion