Re: Python 3.6 and blocking-by-default os.urandom()

2017-01-04 Thread Nick Coghlan
On 5 January 2017 at 03:42, Lukas Slebodnik wrote: >> It is not just about python3.6 but I can also see something similar with old >> kernel and python35 in latest rawhide userspace >> https://bugzilla.redhat.com/show_bug.cgi?id=1410187 > BTW the explanation is that the latest update of glibc in r

Re: Python 3.6 and blocking-by-default os.urandom()

2017-01-04 Thread Lukas Slebodnik
> It is not just about python3.6 but I can also see something similar with old > kernel and python35 in latest rawhide userspace > https://bugzilla.redhat.com/show_bug.cgi?id=1410187 BTW the explanation is that the latest update of glibc in rawhide provides functions getentropy and getrandom objd

Re: Python 3.6 and blocking-by-default os.urandom()

2017-01-04 Thread Lukas Slebodnik
> Here's a potentially related issue – apparently Python 3.6 doesn't run > on a CentOS 7 kernel (which would be an issue when running Fedora in > Docker on an EL7 host, or when we try to get py3.6 in EPEL). > > https://github.com/rpm-software-management/mock/issues/28 > > Harris, could you try

Re: Python 3.6 and blocking-by-default os.urandom()

2017-01-04 Thread Miro Hrončok
On 4.1.2017 09:20, Nick Coghlan wrote: On 3 January 2017 at 20:01, Petr Viktorin wrote: Here's a potentially related issue – apparently Python 3.6 doesn't run on a CentOS 7 kernel (which would be an issue when running Fedora in Docker on an EL7 host, or when we try to get py3.6 in EPEL). https

Re: Python 3.6 and blocking-by-default os.urandom()

2017-01-04 Thread Nick Coghlan
On 3 January 2017 at 20:01, Petr Viktorin wrote: > Here's a potentially related issue – apparently Python 3.6 doesn't run on a > CentOS 7 kernel (which would be an issue when running Fedora in Docker on an > EL7 host, or when we try to get py3.6 in EPEL). > > https://github.com/rpm-software-manage

Re: Python 3.6 and blocking-by-default os.urandom()

2017-01-03 Thread Petr Viktorin
Here's a potentially related issue – apparently Python 3.6 doesn't run on a CentOS 7 kernel (which would be an issue when running Fedora in Docker on an EL7 host, or when we try to get py3.6 in EPEL). https://github.com/rpm-software-management/mock/issues/28 Harris, could you try to reproduce

Re: Python 3.6 and blocking-by-default os.urandom()

2016-08-08 Thread Nick Coghlan
On 8 August 2016 at 20:04, Petr Viktorin wrote: > On 08/08/2016 06:09 AM, Nick Coghlan wrote: > >> Elaborating a bit further on the nature of the proposed Rawhide >> experiment, the cases we're trying to distinguish are: >> >> - it doesn't really matter, because it doesn't happen much (few or no

Re: Python 3.6 and blocking-by-default os.urandom()

2016-08-08 Thread Petr Viktorin
On 08/08/2016 06:09 AM, Nick Coghlan wrote: On 8 August 2016 at 13:10, Nick Coghlan mailto:ncogh...@gmail.com>> wrote: Accordingly, what I propose we do is as follows: 1. Raise the concern in the F26 system-wide change proposal for migrating to Python 3.6 2. Apply the patch when

Re: Python 3.6 and blocking-by-default os.urandom()

2016-08-07 Thread Nick Coghlan
On 8 August 2016 at 13:10, Nick Coghlan wrote: > Accordingly, what I propose we do is as follows: > > 1. Raise the concern in the F26 system-wide change proposal for migrating > to Python 3.6 > 2. Apply the patch when the 3.6 beta releases are added to Fedora Rawhide > 3. Decide whether or not to

Python 3.6 and blocking-by-default os.urandom()

2016-08-07 Thread Nick Coghlan
Hi folks, The long discussions upstream regarding the default behaviour of Python's os.urandom() API in Python 3.6 have come to an end, with Guido opting to make os.urandom() block implicitly waiting for the system RNG to be ready, even on Linux (where /dev/urandom doesn't do that). While I can s