"Chad Haynes" <ha*****@rockefeller.edu> wrote in message
news:_L********************@news.rockefeller.edu.. .
Michael Hudson wrote:
Chad Haynes <ha*****@rockefeller.edu> writes: lst[0] = 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).
TJR