[issue33244] Overflow error

2018-04-09 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

Vignesh: This issue tracker is for reporting bugs in the CPython interpreter.  
Requests for help with problems with your code should go elsewhere, such as 
pythonlist mail list or stackoverflow.com web site.

In this case, your problem is described in the error message: you input an int 
that is too large for the array of C longs.  The following is a much shortened 
example equivalent to your code.

>>> import array
>>> longs = array.array('l',[])
>>> longs.append(222)
Traceback (most recent call last):
  File "", line 1, in 
longs.append(222)
OverflowError: Python int too large to convert to C long

When a program gets input from a user, it must be prepared to catch and deal 
with exceptions.  If you have more questions, ask on a user help forum, such as 
the 2 I listed above.

--
assignee: terry.reedy -> 
components:  -IDLE
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33244] Overflow error

2018-04-09 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

Please provide your code and the description of your problem as plain text.

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33244] Overflow error

2018-04-08 Thread Vignesh

New submission from Vignesh :

Help me to recover this...

--
assignee: terry.reedy
components: IDLE
files: New Doc 2018-04-09.pdf
messages: 315107
nosy: Vignesh, terry.reedy
priority: normal
severity: normal
status: open
title: Overflow error
type: behavior
versions: Python 2.7, Python 3.4
Added file: https://bugs.python.org/file47525/New Doc 2018-04-09.pdf

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com