Author: Amaury Forgeot d'Arc <[email protected]>
Branch: stdlib-2.7.9
Changeset: r75511:e5c65536a65a
Date: 2015-01-24 10:16 +0100
http://bitbucket.org/pypy/pypy/changeset/e5c65536a65a/

Log:    Try to fix 32bit translation

diff --git a/pypy/module/_ssl/interp_ssl.py b/pypy/module/_ssl/interp_ssl.py
--- a/pypy/module/_ssl/interp_ssl.py
+++ b/pypy/module/_ssl/interp_ssl.py
@@ -512,7 +512,7 @@
                                                       out_ptr, len_ptr)
                 if out_ptr[0]:
                     return space.wrap(
-                        rffi.charpsize2str(out_ptr[0], widen(len_ptr[0])))
+                        rffi.charpsize2str(out_ptr[0], intmask(len_ptr[0])))
 
 _SSLSocket.typedef = TypeDef(
     "_ssl._SSLSocket",
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to