Author: Amaury Forgeot d'Arc <amaur...@gmail.com> Branch: Changeset: r78278:9fa66d2aa78b Date: 2015-06-24 00:01 +0200 http://bitbucket.org/pypy/pypy/changeset/9fa66d2aa78b/
Log: Attempt to fix test_tcl on 32bit platforms (there is no WideInt at all on 64bit) diff --git a/lib_pypy/_tkinter/tclobj.py b/lib_pypy/_tkinter/tclobj.py --- a/lib_pypy/_tkinter/tclobj.py +++ b/lib_pypy/_tkinter/tclobj.py @@ -108,6 +108,8 @@ return value.internalRep.doubleValue if value.typePtr == typeCache.IntType: return value.internalRep.longValue + if value.typePtr == typeCache.WideIntType: + return FromWideIntObj(app, value) if value.typePtr == typeCache.BigNumType and tklib.HAVE_LIBTOMMATH: return FromBignumObj(app, value) if value.typePtr == typeCache.ListType: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit