Martin Panter added the comment: Victor originally opened this mentioning a 256-byte limit. I guess that comes from Open BSD’s getentropy() function: <http://man.openbsd.org/OpenBSD-current/getentropy.2>. Solaris’s getrandom() function <https://docs.oracle.com/cd/E53394_01/html/E54765/getrandom-2.html> has a similar limit, but of 1024 bytes. But Python already works around these limits by doing multiple calls.
So if it really is valid to get 2500 bytes with as much entropy as possible, maybe there is no problem and we leave things as they are. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27272> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com