A Dimecres 17 Gener 2007 00:29, Jan Strube escrigué: > Hi Francesc, > I'm sorry, but this fix still doesn't do it for me. > It now runs without messages, but the result is different from casting to > long. > In other words running table.where(col1 == rumber) runs, but the result is > different from table.where(col1 == long(number)) > > I don't have a good testcase handy (my case is 17M), but have you > considered unsigned types as well ?
I think so. I've used the scalar.item() method for NumPy and the scalar[()] getitem for numarray in order to get the python scalar counterparts, so it should handle all the cases. > When I have some time I try and reduce the test case to something more > manageable. That would be great. Cheers, -- >0,0< Francesc Altet http://www.carabos.com/ V V Cárabos Coop. V. Enjoy Data "-" ------------------------------------------------------------------------- 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 _______________________________________________ Pytables-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pytables-users
