Modules/_sqlite/cursor.c uses "y#" format.
It didn't declare PY_SSIZE_T_CLEAN, but the argument is Py_ssize_t already.
#ifndef PYSQLITE_CACHE_H
#define PYSQLITE_CACHE_H
+#define PY_SSIZE_T_CLEAN
#include "Python.h"
/* The LRU cache is implemented as a combination of a doubly-linked with a
#ifndef PYSQLITE_CONNECTION_H
#define PYSQLITE_CONNECTION_H
+#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include "pythread.h"
#include "structmember.h"
#ifndef PYSQLITE_CURSOR_H
#define PYSQLITE_CURSOR_H
+#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include "statement.h"
#ifndef PSYCOPG_MICROPROTOCOLS_H
#define PSYCOPG_MICROPROTOCOLS_H 1
+#define PY_SSIZE_T_CLEAN
#include <Python.h>
/** the names of the three mandatory methods **/
#ifndef PYSQLITE_MODULE_H
#define PYSQLITE_MODULE_H
+#define PY_SSIZE_T_CLEAN
#include "Python.h"
#define PYSQLITE_VERSION "2.6.0"
#ifndef PYSQLITE_PREPARE_PROTOCOL_H
#define PYSQLITE_PREPARE_PROTOCOL_H
+#define PY_SSIZE_T_CLEAN
#include "Python.h"
typedef struct
#ifndef PYSQLITE_ROW_H
#define PYSQLITE_ROW_H
+#define PY_SSIZE_T_CLEAN
#include "Python.h"
typedef struct _Row
#ifndef PYSQLITE_STATEMENT_H
#define PYSQLITE_STATEMENT_H
+#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include "connection.h"
#ifndef PYSQLITE_UTIL_H
#define PYSQLITE_UTIL_H
+#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include "pythread.h"
#include "sqlite3.h"