Py_ssize_t is defined regardless of HAVE_LONG_LONG. Will backport

This commit is contained in:
Neal Norwitz 2007-08-03 06:46:29 +00:00
parent eb8ff67fd7
commit 766d880a2f
2 changed files with 5 additions and 1 deletions

View File

@ -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 */

View File

@ -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.