Re: [Python-Dev] cpython: replace custom validation logic in the parse module with a simple DFA validator

2016-06-05 Thread Benjamin Peterson
On Sat, Jun 4, 2016, at 17:26, Christian Heimes wrote: > On 2016-06-02 11:32, benjamin.peterson wrote: > > https://hg.python.org/cpython/rev/4a9159ea2536 > > changeset: 101601:4a9159ea2536 > > user:Benjamin Peterson > > date:Thu Jun 02 11:30:18 2016 -0700 > > summary: > > rep

Re: [Python-Dev] C99

2016-06-05 Thread Guido van Rossum
I'm not sure I meant that. But if I have a 3rd party extension that compiles with 3.5 headers using C89, then it should still compile with 3.6 headers using C99. Also if I compile it for 3.5 and it only uses the ABI it should still be linkable with 3.6. On Sun, Jun 5, 2016 at 7:42 PM, Sturla Molde

Re: [Python-Dev] C99

2016-06-05 Thread Émanuel Barry
> From: Python-Dev [mailto:python-dev- > bounces+vgr255=live...@python.org] On Behalf Of tritium- > l...@sdamon.com > Sent: Sunday, June 05, 2016 10:35 PM > To: 'Sturla Molden'; python-dev@python.org > Subject: Re: [Python-Dev] C99 > > > -Original Message- > > From: Python-Dev [mailto:pyth

Re: [Python-Dev] C99

2016-06-05 Thread Sturla Molden
wrote: > I share Guido's priority there - source compatibility is more important than > smoothing a few of C's rough edges. Maybe the next breaking change release > this should be considered (python 4000... python 5000?) I was simply pointing out that Guido's priority removes a lot of the usefu

Re: [Python-Dev] C99

2016-06-05 Thread tritium-list
> -Original Message- > From: Python-Dev [mailto:python-dev-bounces+tritium- > list=sdamon@python.org] On Behalf Of Sturla Molden > Sent: Sunday, June 5, 2016 10:29 PM > To: python-dev@python.org > Subject: Re: [Python-Dev] C99 > > Guido van Rossum wrote: > > > I'm talking about 3rd p

Re: [Python-Dev] C99

2016-06-05 Thread Sturla Molden
Guido van Rossum wrote: > I'm talking about 3rd party extensions. Those may require source > compatibility with older Python versions. All I'm asking for is to not > require source-level use of C99 features. This of course removes a lot of its usefulness. E.g. macros cannot be replaced by inlin

Re: [Python-Dev] Improving the bytecode

2016-06-05 Thread Serhiy Storchaka
On 05.06.16 21:24, Raymond Hettinger wrote: On Jun 4, 2016, at 1:08 AM, Serhiy Storchaka wrote: 1. http://bugs.python.org/issue27129 Make the bytecode more 16-bit oriented. I don' think this should be done. Adding the /2 and *2 just complicates the code and messes with my ability to reason a

Re: [Python-Dev] Improving the bytecode

2016-06-05 Thread Raymond Hettinger
> On Jun 4, 2016, at 1:08 AM, Serhiy Storchaka wrote: > > Following the converting 8-bit bytecode to 16-bit bytecode (wordcode), there > are other issues for improving the bytecode. > > 1. http://bugs.python.org/issue27129 > Make the bytecode more 16-bit oriented. I don' think this should be