[pypy-commit] pypy default: merge upstream
bivab
noreply at buildbot.pypy.org
Sat Dec 29 16:27:04 CET 2012
Author: David Schneider <david.schneider at picle.org>
Branch:
Changeset: r59622:975e3cf7b0a8
Date: 2012-12-29 16:23 +0100
http://bitbucket.org/pypy/pypy/changeset/975e3cf7b0a8/
Log: merge upstream
diff --git a/lib_pypy/numpypy/core/arrayprint.py b/lib_pypy/numpypy/core/arrayprint.py
--- a/lib_pypy/numpypy/core/arrayprint.py
+++ b/lib_pypy/numpypy/core/arrayprint.py
@@ -248,9 +248,9 @@
'int' : IntegerFormat(data),
'float' : FloatFormat(data, precision, suppress_small),
'longfloat' : LongFloatFormat(precision),
- #'complexfloat' : ComplexFormat(data, precision,
- # suppress_small),
- #'longcomplexfloat' : LongComplexFormat(precision),
+ 'complexfloat' : ComplexFormat(data, precision,
+ suppress_small),
+ 'longcomplexfloat' : LongComplexFormat(precision),
'datetime' : DatetimeFormat(data),
'timedelta' : TimedeltaFormat(data),
'numpystr' : repr_format,
diff --git a/pypy/rlib/rmmap.py b/pypy/rlib/rmmap.py
--- a/pypy/rlib/rmmap.py
+++ b/pypy/rlib/rmmap.py
@@ -119,8 +119,9 @@
PTR = rffi.CCHARP
if _CYGWIN:
- c_malloc, _ = external('malloc', [size_t], PTR)
- c_free, _ = external('free', [PTR], lltype.Void)
+ # XXX: macro=True hack for newer versions of Cygwin (as of 12/2012)
+ c_malloc, _ = external('malloc', [size_t], PTR, macro=True)
+ c_free, _ = external('free', [PTR], lltype.Void, macro=True)
c_memmove, _ = external('memmove', [PTR, PTR, size_t], lltype.Void)
More information about the pypy-commit
mailing list