|
RE: A bug in creating array of long int.: msg#00063python.numeric.general
On Sat, 2004-09-18 at 17:28, Shin wrote: > > So, what were you hoping would happen? An exception? Automatically setting > > type to Int64? > > Don't you think it is better to convert long integers into Int64, and > raising at least a warning if there are values too large for Int64? That sounds good to me. I was wondering if the array type should also be value dependent, as in driven by Python longs with values outside the range of Int32, but I think a simple rule would be best. Barring objections, I'll look into adding code that will force Int64 for any sequence containing Python longs and raise an exception for those longs which don't fit in Int64. Regards, Todd ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Assignment from a list is slow in Numarray: 00063, Todd Miller |
|---|---|
| Next by Date: | Re: Assignment from a list is slow in Numarray: 00063, Timo Korvola |
| Previous by Thread: | RE: A bug in creating array of long int.i: 00063, Shin |
| Next by Thread: | Assignment from a list is slow in Numarray: 00063, Timo Korvola |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |