Steve Dower <steve.do...@python.org> added the comment:
Eh, just needs to change the local variable to Py_ssize_t. This applies to all platforms. Might be worth asserting that it is no bigger than the largest number of child tokens a node may have, but only if we have an arbitrary limit for that somewhere (I *believe* that's what it's doing here, but ast.c isn't a file that I understand well). ---------- keywords: +easy (C) _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36040> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com