diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-03 06:46:29 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-03 06:46:29 +0000 |
commit | 766d880a2fd0bcb4fca187db255763506e10f96b (patch) | |
tree | 1f14c2e01bf1227cc885795ec7fcda00ea2561cf | |
parent | eb8ff67fd73b8fa52b5c2d796706a0cd29ba8d71 (diff) | |
download | cpython-git-766d880a2fd0bcb4fca187db255763506e10f96b.tar.gz |
Py_ssize_t is defined regardless of HAVE_LONG_LONG. Will backport
-rw-r--r-- | Include/structmember.h | 4 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Include/structmember.h b/Include/structmember.h index ce5353d515..5b68213c65 100644 --- a/Include/structmember.h +++ b/Include/structmember.h @@ -68,9 +68,11 @@ typedef struct PyMemberDef { #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 */ @@ -12,6 +12,8 @@ What's New in Python 2.6 alpha 1? 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. |