[pypy-commit] pypy less-stringly-ops: fix

rlamy noreply at buildbot.pypy.org
Tue Sep 24 05:08:54 CEST 2013


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: less-stringly-ops
Changeset: r67076:d377f21005e1
Date: 2013-09-24 02:57 +0100
http://bitbucket.org/pypy/pypy/changeset/d377f21005e1/

Log:	fix

diff --git a/rpython/flowspace/operation.py b/rpython/flowspace/operation.py
--- a/rpython/flowspace/operation.py
+++ b/rpython/flowspace/operation.py
@@ -31,6 +31,8 @@
 
 # built-ins that can always raise exceptions
 builtins_exceptions = {
+    int: [ValueError],
+    float: [ValueError],
     chr: [ValueError],
     unichr: [ValueError],
     unicode: [UnicodeDecodeError],


More information about the pypy-commit mailing list