[pypy-commit] pypy default: Unwrap flags before storage.
habnabit
pypy.commits at gmail.com
Sat Jun 11 02:48:19 EDT 2016
Author: Aaron Gallagher <habnabit at google.com>
Branch:
Changeset: r85086:d363051e2327
Date: 2016-06-08 16:20 -0700
http://bitbucket.org/pypy/pypy/changeset/d363051e2327/
Log: Unwrap flags before storage.
For some reason, the code wasn't failing before, but this will be
more correct as I understand it.
diff --git a/pypy/module/sys/system.py b/pypy/module/sys/system.py
--- a/pypy/module/sys/system.py
+++ b/pypy/module/sys/system.py
@@ -63,4 +63,4 @@
return space.wrap(space.sys.dlopenflags)
def setdlopenflags(space, w_flags):
- space.sys.dlopenflags = w_flags
+ space.sys.dlopenflags = space.int_w(w_flags)
More information about the pypy-commit
mailing list