[Python-checkins] cpython: Issue #26765: Fixed parsing Py_ssize_t arguments on 32-bit Windows.

serhiy.storchaka python-checkins at python.org
Sun Jul 3 06:27:47 EDT 2016


https://hg.python.org/cpython/rev/0638047c0c36
changeset:   102246:0638047c0c36
parent:      102243:b0087e17cd5e
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Sun Jul 03 13:26:52 2016 +0300
summary:
  Issue #26765: Fixed parsing Py_ssize_t arguments on 32-bit Windows.

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


diff --git a/Objects/bytes_methods.c b/Objects/bytes_methods.c
--- a/Objects/bytes_methods.c
+++ b/Objects/bytes_methods.c
@@ -1,3 +1,4 @@
+#define PY_SSIZE_T_CLEAN
 #include "Python.h"
 #include "bytes_methods.h"
 

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


More information about the Python-checkins mailing list