Re: [Python-Dev] [ANN] Daily Windows builds of Python 3.x

2017-08-08 Thread Nick Coghlan
On 9 August 2017 at 03:59, Paul Moore wrote: > On 8 August 2017 at 17:21, Steve Dower wrote: >> For a while I've been uploading the official releases to nuget.org. These >> packages can be installed with nuget.exe (latest version always available at

Re: [Python-Dev] first post introduction and question regarding lto

2017-08-08 Thread Nick Coghlan
On 8 August 2017 at 10:12, Gregory P. Smith wrote: > I don't know whether it is beneficial or not - but having the capability to > build LTO without PGO seems reasonable. I can review any pull requests > altering configure.ac and Makefile.pre.in to make such a change. Being able

Re: [Python-Dev] Interrupt thread.join() with Ctrl-C / KeyboardInterrupt on Windows

2017-08-08 Thread Steve Dower
On 08Aug2017 1512, Nathaniel Smith wrote: On Tue, Aug 8, 2017 at 2:29 PM, Steve Dower wrote: On 08Aug2017 1151, Nathaniel Smith wrote: It looks like Thread.join ultimately ends up blocking in Python/thread_nt.h:EnterNonRecursiveMutex, which has a maze of #ifdefs

Re: [Python-Dev] [RELEASED] Python 3.5.4 is now available

2017-08-08 Thread Victor Stinner
I updated some websites and services for the 3.5.4 release: * Status of Python branches in the devguide: https://devguide.python.org/#status-of-python-branches * Python security vulnerabilities: http://python-security.readthedocs.io/vulnerabilities.html * I removed all Python 3.5 buildbots:

Re: [Python-Dev] Interrupt thread.join() with Ctrl-C / KeyboardInterrupt on Windows

2017-08-08 Thread Nathaniel Smith
On Tue, Aug 8, 2017 at 2:29 PM, Steve Dower wrote: > On 08Aug2017 1151, Nathaniel Smith wrote: >> >> It looks like Thread.join ultimately ends up blocking in >> Python/thread_nt.h:EnterNonRecursiveMutex, which has a maze of #ifdefs >> behind it -- I think there are 3

Re: [Python-Dev] Interrupt thread.join() with Ctrl-C / KeyboardInterrupt on Windows

2017-08-08 Thread Steve Dower
On 08Aug2017 1151, Nathaniel Smith wrote: It looks like Thread.join ultimately ends up blocking in Python/thread_nt.h:EnterNonRecursiveMutex, which has a maze of #ifdefs behind it -- I think there are 3 different implementation you might end up with, depending on how CPython was built? Two of

Re: [Python-Dev] Interrupt thread.join() with Ctrl-C / KeyboardInterrupt on Windows

2017-08-08 Thread Jonathan Slenders
Thank you Nathaniel for the response! Really interesting and helpful. 2017-08-08 20:51 GMT+02:00 Nathaniel Smith : > On Tue, Aug 8, 2017 at 2:54 AM, Jonathan Slenders > wrote: > > Hi all, > > > > Is it possible that thread.join() cannot be interrupted on

Re: [Python-Dev] Interrupt thread.join() with Ctrl-C / KeyboardInterrupt on Windows

2017-08-08 Thread Nathaniel Smith
On Tue, Aug 8, 2017 at 2:54 AM, Jonathan Slenders wrote: > Hi all, > > Is it possible that thread.join() cannot be interrupted on Windows, while it > can be on Linux? > Would this be a bug, or is it by design? > > > import threading, time > def wait(): > time.sleep(1000)

Re: [Python-Dev] [ANN] Daily Windows builds of Python 3.x

2017-08-08 Thread Paul Moore
On 8 August 2017 at 17:21, Steve Dower wrote: > For a while I've been uploading the official releases to nuget.org. These > packages can be installed with nuget.exe (latest version always available at > https://aka.ms/nugetclidl), which is quickly becoming a standard tool

Re: [Python-Dev] [ANN] Daily Windows builds of Python 3.x

2017-08-08 Thread Victor Stinner
Thank you! I recall that we discussed that, but I understood that you was too busy to implement the idea. No, you didn't forget and you made it! ;-) Victor 2017-08-08 18:21 GMT+02:00 Steve Dower : > Hi all > > As part of a deal with Zach Ware at PyCon, I agreed that if

[Python-Dev] [ANN] Daily Windows builds of Python 3.x

2017-08-08 Thread Steve Dower
Hi all As part of a deal with Zach Ware at PyCon, I agreed that if he removed the Subversion dependency from our builds, I would set up daily Windows builds of Python. Zach did an excellent job, and so I am now following through on my half of the deal :) For a while I've been uploading the

Re: [Python-Dev] PyThreadState_GET() returns NULL from within PyImport_GetModuleDict()

2017-08-08 Thread Steve Dower
On 07Aug2017 2231, Patrick Rutkowski wrote: So, it seems to be the case that picking a mismatched python binary causes the crash, __but only with python3, not with python36__. This makes me wonder what the differences is between the two in the first place. I was getting the crash to begin with

[Python-Dev] Interrupt thread.join() with Ctrl-C / KeyboardInterrupt on Windows

2017-08-08 Thread Jonathan Slenders
Hi all, Is it possible that thread.join() cannot be interrupted on Windows, while it can be on Linux? Would this be a bug, or is it by design? import threading, time def wait(): time.sleep(1000) t = threading.Thread(target=wait) t.start() t.join() # Press Control-C now. It stops on Linux,

[Python-Dev] Python 3.5 has now transitioned to "security fixes only" mode

2017-08-08 Thread Larry Hastings
The Python 3.5 branch has now entered "security fixes only" mode. No more bugfixes will be accepted into the 3.5 branch. In keeping with our modern workflow, I have changed the permissions on the 3.5 branch on Github so that only release managers can accept PRs into the branch. Please add

[Python-Dev] [RELEASED] Python 3.5.4 is now available

2017-08-08 Thread Larry Hastings
On behalf of the Python development community and the Python 3.5 release team, I'm pleased to announce the availability of Python 3.5.4. Python 3.5.4 is the final 3.5 release in "bug fix" mode. The Python 3.5 branch has now transitioned into "security fixes mode"; all future improvements