From: Barry Warsaw Date: Tue, 19 Jul 2011 23:23:56 +0000 (-0400) Subject: - Issue #10309: Define _GNU_SOURCE so that mremap() gets the proper X-Git-Tag: v3.3.0a1~1873 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ebada4233bdc1b25a83800a9040a43ccfe0bed4;p=thirdparty%2FPython%2Fcpython.git - Issue #10309: Define _GNU_SOURCE so that mremap() gets the proper signature. Without this, architectures where sizeof void* != sizeof int are broken. Patch given by Hallvard B Furuseth. --- 2ebada4233bdc1b25a83800a9040a43ccfe0bed4 diff --cc Misc/NEWS index c0cda4f59449,25a51a69fb0b..d7d9ef236692 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -14,10 -14,8 +14,10 @@@ Core and Builtin format string that contains positional fields. Initial patch by Julian Berman. +- Issue #10271: Allow warnings.showwarning() be any callable. + - - Issue #11627: Fix segfault when __new__ on a exception returns a non-exception - class. + - Issue #11627: Fix segfault when __new__ on a exception returns a + non-exception class. - Issue #12149: Update the method cache after a type's dictionnary gets cleared by the garbage collector. This fixes a segfault when an instance @@@ -1040,8 -713,6 +1040,12 @@@ Tools/Demo Extension Modules ----------------- ++- Issue #10309: Define _GNU_SOURCE so that mremap() gets the proper ++ signature. Without this, architectures where sizeof void* != sizeof int are ++ broken. Patch given by Hallvard B Furuseth. ++ +- Issue #12221: Replace pyexpat.__version__ with the Python version. + - Issue #12051: Fix segfault in json.dumps() while encoding highly-nested objects using the C accelerations.