Batuhan Taskaya <[email protected]> added the comment:
We already have a specialized type for int (actually an enumeration);
typedef struct {
Py_ssize_t size;
void *elements[1];
} asdl_seq;
typedef struct {
Py_ssize_t size;
int elements[1];
} asdl_int_seq;
Why not just include these in the Python-ast.h and auto-generate them in the
asdl_c.py
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue41746>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com