Re: [Python-Dev] Store startup modules as C structures for 20%+ startup speed improvement?

2018-09-20 Thread Stefan Behnel
Carl Shapiro schrieb am 20.09.2018 um 20:21: > On Wed, Sep 19, 2018 at 12:32 AM, Stefan Behnel wrote: > >> Also, one thing that would be interesting to find out is whether constant >> Python data structures can actually be pre-allocated in the data segment >> (and I mean their object structs) .

Re: [Python-Dev] Store startup modules as C structures for 20%+ startup speed improvement?

2018-09-20 Thread Carl Shapiro
On Wed, Sep 19, 2018 at 12:32 AM, Stefan Behnel wrote: > Also, one thing that would be interesting to find out is whether constant > Python data structures can actually be pre-allocated in the data segment > (and I mean their object structs) . Then things like tuples of strings > (argument lists

Re: [Python-Dev] Nearly - all tests PASS for AIX

2018-09-20 Thread Michael
On 20/09/2018 15:18, Nick Coghlan wrote: > That seems like a reasonable approach to me - it will also allow folks > to give the changes a quick skim and provide suggestions for splitting > it up into more easily reviewed PRs. I already have them as individual PR's (8 Open) -

Re: [Python-Dev] SEC: Spectre variant 2: GCC: -mindirect-branch=thunk -mindirect-branch-register

2018-09-20 Thread Wes Turner
On Thursday, September 20, 2018, Stefan Ring wrote: > On Tue, Sep 18, 2018 at 8:38 AM INADA Naoki > wrote: > > > I think this topic should split to two topics: (1) Guard Python > > process from Spectre/Meltdown > > attack from other process, (2) Prohibit Python code attack other > > processes

Re: [Python-Dev] SEC: Spectre variant 2: GCC: -mindirect-branch=thunk -mindirect-branch-register

2018-09-20 Thread Stefan Ring
On Tue, Sep 18, 2018 at 8:38 AM INADA Naoki wrote: > I think this topic should split to two topics: (1) Guard Python > process from Spectre/Meltdown > attack from other process, (2) Prohibit Python code attack other > processes by using > Spectre/Meltdown. (3) Guard Python from performance

Re: [Python-Dev] debugging test_importlib.test_bad_traverse - script status is SUCCESS - but FAIL is expected.

2018-09-20 Thread Nick Coghlan
On Tue, 18 Sep 2018 at 19:52, Michael wrote: > > On 17/09/2018 09:39, Michael wrote: > > I read the discussion related to issue32374. That seems to be sure that > > other events that could > > cause the test to fail (i.e., the program executes successfully) are > > caught early, and/or ignored >

Re: [Python-Dev] Nearly - all tests PASS for AIX

2018-09-20 Thread Nick Coghlan
On Wed, 19 Sep 2018 at 00:00, Michael wrote: > On 17/09/2018 12:50, Michael wrote: > > Dear all, > > > > The last two months I have spent nearly all my free time to cleanup "a > > frustration" - from my side - the long list of failing tests for AIX > > (there were nearly 20 when I started). > >

Re: [Python-Dev] Late Python 3.7.1 changes to fix the C locale coercion (PEP 538) implementation

2018-09-20 Thread Nick Coghlan
On Thu, 20 Sep 2018 at 20:20, Nick Coghlan wrote: > > On Thu, 20 Sep 2018 at 06:48, Ned Deily wrote: > > > > On Sep 19, 2018, at 15:08, Victor Stinner wrote: > > > Le mardi 18 septembre 2018, Victor Stinner a écrit : > > > > Hi Unicode and locales lovers, > > > > > > > > tl; dr Nick, Ned,

Re: [Python-Dev] Late Python 3.7.1 changes to fix the C locale coercion (PEP 538) implementation

2018-09-20 Thread Nick Coghlan
On Thu, 20 Sep 2018 at 06:48, Ned Deily wrote: > > On Sep 19, 2018, at 15:08, Victor Stinner wrote: > > Le mardi 18 septembre 2018, Victor Stinner a écrit : > > > Hi Unicode and locales lovers, > > > > > > tl; dr Nick, Ned, INADA-san: I modified 3.7.1 to add a new "-X > > >

Re: [Python-Dev] Late Python 3.7.1 changes to fix the C locale coercion (PEP 538) implementation

2018-09-20 Thread Nick Coghlan
On Wed, 19 Sep 2018 at 22:07, Victor Stinner wrote: > > > IMHO the implementation is really a secondary concern here, the main > > question is: what is the correct behavior? > > > > Nick: > > > > * Do we agree that we need to provide a way to disable C locale > > coercion (PEP 538) even when -E