Re: [Python-Dev] Add more SyntaxWarnings?

2019-01-28 Thread Stephen J. Turnbull
Chris Barker - NOAA Federal writes: > > > But as a rule, > > > there are a LOT of errors that can be pretty mysterious to newbies. > > > > Isn't that the very definition of "newbie"? That's half a joke, but I > > really don't think that programmers new to Python should be the > > standard.

Re: [Python-Dev] Add more SyntaxWarnings?

2019-01-28 Thread Chris Barker - NOAA Federal via Python-Dev
> But as a rule, >> there are a LOT of errors that can be pretty mysterious to newbies. > > Isn't that the very definition of "newbie"? That's half a joke, but I > really don't think that programmers new to Python should be the > standard. Python is broadly advocated (and used) as a first

Re: [Python-Dev] Sub-interpreters: importing numpy causes hang

2019-01-28 Thread Nick Coghlan
On Mon, 28 Jan 2019 at 19:36, Stephan Reiter wrote: > > Reading through that post, I think I have everything covered but this here: > - The third and final scenario, and the one where the extended GIL > state functions for Ensure is still required, is where code doesn't > have the GIL as yet and

Re: [Python-Dev] Anyone else seeing a lack of caching in local docs builds?

2019-01-28 Thread Antoine Pitrou
On Mon, 28 Jan 2019 18:02:16 +1000 Nick Coghlan wrote: > On Mon, 28 Jan 2019 at 05:44, Terry Reedy wrote: > > On 1/27/2019 9:01 AM, Nick Coghlan wrote: > > > For now, I'm assuming I've messed something up with my local docs > > > build setup, but figured I'd ask if anyone else was seeing this,

Re: [Python-Dev] Sub-interpreters: importing numpy causes hang

2019-01-28 Thread Stephan Reiter
Reading through that post, I think I have everything covered but this here: - The third and final scenario, and the one where the extended GIL state functions for Ensure is still required, is where code doesn't have the GIL as yet and wants to make a call into sub interpreter rather than the main

Re: [Python-Dev] Sub-interpreters: importing numpy causes hang

2019-01-28 Thread Nick Coghlan
On Mon, 28 Jan 2019 at 00:32, Stephan Reiter wrote: > > Cool. Thanks, Nick! > > I did experiments based on this idea > (https://github.com/stephanreiter/cpython/commit/3bca91c26ac81e517b4aa22302be1741b3315622) > and haven't rejected it yet. :-) After talking to Graham about this, I

Re: [Python-Dev] Anyone else seeing a lack of caching in local docs builds?

2019-01-28 Thread Nick Coghlan
On Mon, 28 Jan 2019 at 05:44, Terry Reedy wrote: > On 1/27/2019 9:01 AM, Nick Coghlan wrote: > > For now, I'm assuming I've messed something up with my local docs > > build setup, but figured I'd ask if anyone else was seeing this, in > > case it was actually broken at the build level (CI