tjreedy at udel.edu
Thu Feb 5 21:50:41 CET 2004
"Chad Haynes" <haynesc at rockefeller.edu> wrote in message
news:_LKdnSsPRbRZ77_dRVn_vQ at news.rockefeller.edu...
> Michael Hudson wrote:
> > Chad Haynes <haynesc at rockefeller.edu> writes:
> >> lst = num
> >>produced this error
> >> OverflowError: unsigned short is greater than maximum
> >>The number was around 65536 so it makes sense that it would overflow a
> >>short, but why is it trying to force it into a short integer?
> > Is lst an array.array('h') or something (numarray...)?
> Nope, its just a regular list
Suggestion: open interactive window, type in minimal lines of code needed
to reproduce error, then cut and post entire window, including header that
identifies your particular binary. Also mention the source of binary (who
compiled, you or someone else).
More information about the Python-list