[Python-checkins] r59552 - in python/branches/release25-maint: Misc/NEWS configure configure.in

christian.heimes python-checkins at python.org
Tue Dec 18 22:14:55 CET 2007


Author: christian.heimes
Date: Tue Dec 18 22:14:54 2007
New Revision: 59552

Modified:
   python/branches/release25-maint/Misc/NEWS
   python/branches/release25-maint/configure
   python/branches/release25-maint/configure.in
Log:
Backport of #1638: %zd configure test fails on Linux

Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS	(original)
+++ python/branches/release25-maint/Misc/NEWS	Tue Dec 18 22:14:54 2007
@@ -13,6 +13,21 @@
 -----------------
 
 - Issue #1553: An errornous __length_hint__ can make list() raise a 
+
+- Issue #1638: %zd configure test fails on Linux
+
+- Issue #1620: New property decorator syntax was modifying the decorator
+  in place instead of creating a new decorator object.
+
+- Issue #1580: New free format floating point representation based on
+  "Floating-Point Printer Sample Code", by Robert G. Burger. For example
+  repr(11./5) now returns '2.2' instead of '2.2000000000000002'.
+
+- Issue #1538: Avoid copying string in split/rsplit if the split
+  char is not found.
+
+- Issue #1553: An erroneous __length_hint__ can make list() raise a
+>>>>>>> .merge-rechts.r59533
   SystemError.
 
 - Issue #1521: On 64bit platforms, using PyArgs_ParseTuple with the t# of w#

Modified: python/branches/release25-maint/configure
==============================================================================
--- python/branches/release25-maint/configure	(original)
+++ python/branches/release25-maint/configure	Tue Dec 18 22:14:54 2007
@@ -22505,9 +22505,9 @@
 #include <stddef.h>
 #include <string.h>
 
-int main()
-{
-    char buffer[256];
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
 
 #ifdef HAVE_SSIZE_T
 typedef ssize_t Py_ssize_t;
@@ -22517,6 +22517,10 @@
 typedef int Py_ssize_t;
 #endif
 
+int main()
+{
+    char buffer[256];
+
     if(sprintf(buffer, "%zd", (size_t)123) < 0)
        	return 1;
 

Modified: python/branches/release25-maint/configure.in
==============================================================================
--- python/branches/release25-maint/configure.in	(original)
+++ python/branches/release25-maint/configure.in	Tue Dec 18 22:14:54 2007
@@ -3411,9 +3411,9 @@
 #include <stddef.h>
 #include <string.h>
 
-int main()
-{
-    char buffer[256];
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
 
 #ifdef HAVE_SSIZE_T
 typedef ssize_t Py_ssize_t;
@@ -3423,6 +3423,10 @@
 typedef int Py_ssize_t;
 #endif
 
+int main()
+{
+    char buffer[256];
+
     if(sprintf(buffer, "%zd", (size_t)123) < 0)
        	return 1;
 


More information about the Python-checkins mailing list