From: Victor Stinner Date: Tue, 14 Jun 2016 14:33:17 +0000 (+0200) Subject: Merge 3.5 (os.urandom, issue #27278) X-Git-Tag: v3.6.0a3~147 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=370f5136d4c82778eabd9d808f6e73f6b9a8fad4;p=python Merge 3.5 (os.urandom, issue #27278) --- 370f5136d4c82778eabd9d808f6e73f6b9a8fad4 diff --cc Misc/NEWS index bf7b8f10ff,7940cdcb6b..7311a657f6 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,9 -13,10 +10,13 @@@ What's New in Python 3.6.0 alpha Library ------- + - Issue #27278: Fix os.urandom() implementation using getrandom() on Linux. + Truncate size to INT_MAX and loop until we collected enough random bytes, + instead of casting a directly Py_ssize_t to int. + +- Issue #16864: sqlite3.Cursor.lastrowid now supports REPLACE statement. + Initial patch by Alex LordThorsen. + - Issue #26386: Fixed ttk.TreeView selection operations with item id's containing spaces.