Author: Philip Jenvey <[email protected]>
Branch: remove-intlong-smm
Changeset: r67964:5589ab3cae12
Date: 2013-11-11 14:26 -0800
http://bitbucket.org/pypy/pypy/changeset/5589ab3cae12/

Log:    comment

diff --git a/pypy/objspace/std/longobject.py b/pypy/objspace/std/longobject.py
--- a/pypy/objspace/std/longobject.py
+++ b/pypy/objspace/std/longobject.py
@@ -406,6 +406,8 @@
             if w_exponent.asbigint().sign < 0:
                 from pypy.objspace.std.floatobject import delegate_Long2Float
                 w_exponent = delegate_Long2Float(space, w_exponent)
+                # XXX: hack around multimethod annoyances for now (when
+                # w_modulus=None)
                 return space.pow(self.descr_float(space), w_exponent, 
space.w_None if w_modulus is None else w_modulus)
             return W_LongObject(self.num.pow(w_exponent.asbigint(), None))
         elif space.isinstance_w(w_modulus, space.w_int):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to