Re: [Python-Dev] Can we use "designated initializer" widely in coremodules?

2017-01-18 Thread Brett Cannon
On Tue, 17 Jan 2017 at 18:36 Nathaniel Smith wrote: > On Tue, Jan 17, 2017 at 4:48 PM, INADA Naoki > wrote: > > On Wed, Jan 18, 2017 at 8:48 AM, Larry Hastings > wrote: > >> > >> On 01/17/2017 12:02 PM, Steve Dower wrote: > >> > >>

Re: [Python-Dev] Can we use "designated initializer" widely in coremodules?

2017-01-17 Thread Benjamin Peterson
On Tue, Jan 17, 2017, at 15:34, Paul Moore wrote: > On 17 January 2017 at 20:02, Steve Dower wrote: > > Avoiding header files would be my only request. As Brett says, the C99 > > requirement should not be enforced on all embedders or extenders, so we > > should try and

Re: [Python-Dev] Can we use "designated initializer" widely in coremodules?

2017-01-17 Thread Nathaniel Smith
On Tue, Jan 17, 2017 at 4:48 PM, INADA Naoki wrote: > On Wed, Jan 18, 2017 at 8:48 AM, Larry Hastings wrote: >> >> On 01/17/2017 12:02 PM, Steve Dower wrote: >> >> Avoiding header files would be my only request. As Brett says, the C99 >> requirement

Re: [Python-Dev] Can we use "designated initializer" widely in coremodules?

2017-01-17 Thread Larry Hastings
On 01/17/2017 04:48 PM, INADA Naoki wrote: On Wed, Jan 18, 2017 at 8:48 AM, Larry Hastings wrote: While that's a reasonable policy, unless we have a way to automatically detect that I suspect C99 stuff will creep into the header files and break the non-C99 customers.

Re: [Python-Dev] Can we use "designated initializer" widely in coremodules?

2017-01-17 Thread INADA Naoki
On Wed, Jan 18, 2017 at 8:48 AM, Larry Hastings wrote: > > On 01/17/2017 12:02 PM, Steve Dower wrote: > > Avoiding header files would be my only request. As Brett says, the C99 > requirement should not be enforced on all embedders or extenders, so we > should try and keep the

Re: [Python-Dev] Can we use "designated initializer" widely in coremodules?

2017-01-17 Thread Larry Hastings
On 01/17/2017 12:02 PM, Steve Dower wrote: Avoiding header files would be my only request. As Brett says, the C99 requirement should not be enforced on all embedders or extenders, so we should try and keep the headers they'll use as compatible as possible. While that's a reasonable policy,

Re: [Python-Dev] Can we use "designated initializer" widely in coremodules?

2017-01-17 Thread Paul Moore
On 17 January 2017 at 20:02, Steve Dower wrote: > Avoiding header files would be my only request. As Brett says, the C99 > requirement should not be enforced on all embedders or extenders, so we > should try and keep the headers they'll use as compatible as possible.

Re: [Python-Dev] Can we use "designated initializer" widely in coremodules?

2017-01-17 Thread Steve Dower
: "Brett Cannon" <br...@python.org> Sent: ‎1/‎17/‎2017 8:58 To: "INADA Naoki" <songofaca...@gmail.com>; "Python-Dev" <python-dev@python.org> Subject: Re: [Python-Dev] Can we use "designated initializer" widely in coremodules? On Mon