Re: [Python-Dev] PEPs: ``.. code:: python`` or ``::`` (syntax highlighting)

2017-12-04 Thread Jeff Allen
The way this is expressed to docutils is slightly different from the way it would be expressed to Sphinx. I expected someone would mention this in relation to a possible move to RTD and Sphinx for PEPs and potential to have to re-work the ReST. Sorry if this was obvious, and the re-work simply

Re: [Python-Dev] PEP 563: Postponed Evaluation of Annotations (Draft 3)

2017-12-04 Thread Ivan Levkivskyi
Congratulations, Łukasz! -- Ivan ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

[Python-Dev] Zero-width matching in regexes

2017-12-04 Thread MRAB
I've finally come to a conclusion as to what the "correct" behaviour of zero-width matches should be: """always return the first match, but never a zero-width match that is joined to a previous zero-width match""". If it's about to return a zero-width match that's joined to a previous

Re: [Python-Dev] Accepting PEP 560 -- Core support for typing module and generic types

2017-12-04 Thread Ivan Levkivskyi
Thank you! It looks like we have a bunch of accepted PEPs today. It is great to see all this! Thanks everyone who participated in discussions here, on python-ideas and on typing tracker. Special thanks to Mark who started this discussion. -- Ivan ___

Re: [Python-Dev] Accepting PEP 562 -- Module __getattr__ and __dir__

2017-12-04 Thread Ivan Levkivskyi
Thank you Guido! And thanks everyone for help, discussions, and ideas (in particular Larry who started this discussion). I will submit a PR with implementation soon. -- Ivan On 4 December 2017 at 17:58, Guido van Rossum wrote: > Ivan, > > Congrats on your PEP. I believe the

Re: [Python-Dev] PEP 557 Data Classes 5th posting

2017-12-04 Thread Eric V. Smith
On 12/4/2017 5:19 PM, Ivan Levkivskyi wrote: Congratulations, Eric! This is a great PEP and I am looking forward to implement support for it in mypy ;-) Thanks for all of your help, Ivan, especially for design decisions that help interoperability with mypy. I'm looking forward to mypy

Re: [Python-Dev] PEP 557 Data Classes 5th posting

2017-12-04 Thread Ivan Levkivskyi
Congratulations, Eric! This is a great PEP and I am looking forward to implement support for it in mypy ;-) -- Ivan On 4 December 2017 at 18:17, Guido van Rossum wrote: > And with this, I'm accepting PEP 557, Data Classes. > > Eric, congrats with your efforts in proposing

Re: [Python-Dev] PEP 557 Data Classes 5th posting

2017-12-04 Thread Raymond Hettinger
> On Dec 4, 2017, at 9:17 AM, Guido van Rossum wrote: > > And with this, I'm accepting PEP 557, Data Classes. Woohoo! I think everyone was looking forward to this moment. Raymond ___ Python-Dev mailing list

Re: [Python-Dev] PEP 563: Postponed Evaluation of Annotations (Draft 3)

2017-12-04 Thread Guido van Rossum
Łukasz, I am hereby accepting your PEP. This will be a great improvement in the experience of users annotating large complex codebases. Congrats on the design and implementation and on your shepherding the PEP through the discussion phase. Also a special thanks to Serhiy for thoroughly reviewing

Re: [Python-Dev] Accepting PEP 562 -- Module __getattr__ and __dir__

2017-12-04 Thread Guido van Rossum
Thanks, I fixed it. Will be live in 15-60 minutes. On Mon, Dec 4, 2017 at 10:52 AM, Glenn Linderman wrote: > The word "a" is extraneous/confusing-in-grammar in the first line of the > abstract also. I can't fix it. > > > On 12/4/2017 9:46 AM, Victor Stinner wrote: > >

[Python-Dev] 3.7.0a3 still open

2017-12-04 Thread Ned Deily
Congratulations to the owners of the newly accepted PEPs. The code cutoff for 3.7.0 alpha 3 is scheduled for today (along with 3.6.3rc1). I know at least one of the PEPs has code ready to commit. I will hold off on tagging 3.7.0a3 for another 6 hours or so. If you feel your code is

Re: [Python-Dev] Accepting PEP 562 -- Module __getattr__ and __dir__

2017-12-04 Thread Glenn Linderman
The word "a" is extraneous/confusing-in-grammar in the first line of the abstract also. I can't fix it. On 12/4/2017 9:46 AM, Victor Stinner wrote: Link for lazy people like me: https://www.python.org/dev/peps/pep-0562/ I changed the PEP status to fix a typo in the abstract:

[Python-Dev] Accepting PEP 560 -- Core support for typing module and generic types

2017-12-04 Thread Guido van Rossum
Ivan, Congrats on your PEP. I believe the outstanding issues are now resolved and I am hereby accepting it. -- --Guido van Rossum (python.org/~guido) ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] PEP 557 Data Classes 5th posting

2017-12-04 Thread Eric V. Smith
Thanks, Guido. And indeed, thanks to everyone else who provided inspiration and feedback. I too would like to thank Hynek and the other authors of “attrs”. I’ll get the implementation committed in the next day or so. -- Eric. > On Dec 4, 2017, at 12:17 PM, Guido van Rossum

Re: [Python-Dev] Accepting PEP 562 -- Module __getattr__ and __dir__

2017-12-04 Thread Victor Stinner
Link for lazy people like me: https://www.python.org/dev/peps/pep-0562/ I changed the PEP status to fix a typo in the abstract: https://github.com/python/peps/commit/a87417b22bf15bc4382daeaef6d32886c687ad19 Victor 2017-12-04 17:58 GMT+01:00 Guido van Rossum : > Ivan, > >

Re: [Python-Dev] PEP 557 Data Classes 5th posting

2017-12-04 Thread Ethan Furman
On 12/04/2017 09:17 AM, Guido van Rossum wrote: And with this, I'm accepting PEP 557, Data Classes. Congratulations, Eric! Data Classes will be a handy thing to have. :) -- ~Ethan~ ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] PEP 557 Data Classes 5th posting

2017-12-04 Thread Guido van Rossum
And with this, I'm accepting PEP 557, Data Classes. Eric, congrats with your efforts in proposing and implementing this PEP and guiding it through the discussion! It's been great to see this idea come to fruition. Thanks also to the many people who reviewed drafts or implementation code,

[Python-Dev] Accepting PEP 562 -- Module __getattr__ and __dir__

2017-12-04 Thread Guido van Rossum
Ivan, Congrats on your PEP. I believe the outstanding issues are now resolved and I am hereby accepting it. PS. Sorry, Larry, PEP 549 is rejected. But that happened a while ago. -- --Guido van Rossum (python.org/~guido) ___ Python-Dev mailing list

Re: [Python-Dev] PEP 557 Data Classes 5th posting

2017-12-04 Thread Eric V. Smith
On 12/3/2017 9:07 PM, Eric V. Smith wrote: On 12/3/2017 8:31 PM, Guido van Rossum wrote: On Sun, Dec 3, 2017 at 1:28 PM, Eric V. Smith > wrote:     On 12/3/2017 3:33 PM, Antoine Pitrou wrote:     Thanks.  I have to ask: why don't