Ezio Melotti added the comment: > >>> a[:] = -1000000000000000000000 # This should raise ValueError, not > >>> TypeError. > >>> a[:] = 1000000000000000000000 # This should raise OverflowError, not > >>> TypeError.
FTR, these two now raise OverflowError. ---------- versions: +Python 3.3, Python 3.4 -Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8401> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com