[Python-checkins] cpython (merge 3.4 -> default): (Merge 3.4) Issue #8677: make the zlib module "ssize_t clean" for parsing

victor.stinner python-checkins at python.org
Tue Jul 1 16:49:04 CEST 2014


http://hg.python.org/cpython/rev/45dcdd8f3211
changeset:   91510:45dcdd8f3211
parent:      91508:afd64e660628
parent:      91509:691ca1694fe7
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Tue Jul 01 16:48:42 2014 +0200
summary:
  (Merge 3.4) Issue #8677: make the zlib module "ssize_t clean" for parsing
parameters

files:
  Modules/zlibmodule.c |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Modules/zlibmodule.c b/Modules/zlibmodule.c
--- a/Modules/zlibmodule.c
+++ b/Modules/zlibmodule.c
@@ -3,6 +3,7 @@
 
 /* Windows users:  read Python's PCbuild\readme.txt */
 
+#define PY_SSIZE_T_CLEAN
 
 #include "Python.h"
 #include "structmember.h"

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list