Author: David Schneider <[email protected]>
Branch: disable_merge_different_int_types
Changeset: r49900:e129a347ccdd
Date: 2011-11-24 14:46 +0100
http://bitbucket.org/pypy/pypy/changeset/e129a347ccdd/

Log:    (arigo, bivab) this checks does not make sense

diff --git a/pypy/rlib/rmmap.py b/pypy/rlib/rmmap.py
--- a/pypy/rlib/rmmap.py
+++ b/pypy/rlib/rmmap.py
@@ -597,8 +597,6 @@
 def _check_map_size(size):
     if size < 0:
         raise RTypeError("memory mapped size must be positive")
-    if rffi.cast(size_t, size) != size:
-        raise ROverflowError("memory mapped size is too large (limited by C 
int)")
 
 if _POSIX:
     def mmap(fileno, length, flags=MAP_SHARED,
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to