[Python-checkins] r56689 - in python/trunk: Include/structmember.h Misc/NEWS
neal.norwitz
python-checkins at python.org
Fri Aug 3 08:46:30 CEST 2007
Author: neal.norwitz
Date: Fri Aug 3 08:46:29 2007
New Revision: 56689
Modified:
python/trunk/Include/structmember.h
python/trunk/Misc/NEWS
Log:
Py_ssize_t is defined regardless of HAVE_LONG_LONG. Will backport
Modified: python/trunk/Include/structmember.h
==============================================================================
--- python/trunk/Include/structmember.h (original)
+++ python/trunk/Include/structmember.h Fri Aug 3 08:46:29 2007
@@ -68,9 +68,11 @@
#ifdef HAVE_LONG_LONG
#define T_LONGLONG 17
#define T_ULONGLONG 18
-#define T_PYSSIZET 19 /* Py_ssize_t */
#endif /* HAVE_LONG_LONG */
+#define T_PYSSIZET 19 /* Py_ssize_t */
+
+
/* Flags */
#define READONLY 1
#define RO READONLY /* Shorthand */
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Fri Aug 3 08:46:29 2007
@@ -12,6 +12,8 @@
Core and builtins
-----------------
+- Py_ssize_t fields work in structmember when HAVE_LONG_LONG is not defined.
+
- PEP 3123: Provide forward compatibility with Python 3.0, while keeping
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.
More information about the Python-checkins
mailing list