New submission from STINNER Victor: syscall() result type is long.
Moreover, long type might can smaller than the size type, so we may need to add: n = Py_MIN(size, LONG_MAX); ---------- messages: 267969 nosy: haypo priority: normal severity: normal status: open title: py_getrandom() uses an int for syscall() result versions: Python 3.5, Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27278> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com