No ValueError for large exponents?

Georg Brandl g.brandl-nospam at gmx.net
Thu Sep 7 05:01:47 EDT 2006


enigmadude wrote:
> As many have heard, IronPython 1.0 was released. When I was looking
> through the listed differences between CPython and IronPython, the
> document mentioned that using large exponents such as 10 **
> 735293857239475 will cause CPython to hang, whereas IronPython will
> raise a ValueError.

What message does that value error have?

If it's a memory issue, the operation should raise MemoryError (at
least in CPython).

Georg



More information about the Python-list mailing list