Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment: Wouldn't it be better to raise OverflowError or somesuch? ---------- nosy: +rhettinger __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue2723> __________________________________