Re: [Python-Dev] PEP 567 v3

2018-01-17 Thread Yury Selivanov
On Wed, Jan 17, 2018 at 8:53 PM, Yury Selivanov wrote: > On Wed, Jan 17, 2018 at 2:24 PM, Guido van Rossum > wrote: >> Perhaps you can update the PEP with a summary of the rejected ideas from >> this thread? > > The Rejected Ideas section of the PEP is now updated with the below: I've added two

Re: [Python-Dev] Positional-only parameters in Python

2018-01-17 Thread Nick Coghlan
On 18 January 2018 at 03:16, Sanyam Khurana wrote: > On Wed, Jan 17, 2018 at 8:04 PM, Victor Stinner > wrote: >> It seems like a PEP is needed. > > I followed the threads mentioned above, which led me to PEP 457: > https://www.python.org/dev/peps/pep-0457/ > > I didn't find a clear indication if

Re: [Python-Dev] PEP 567 v3

2018-01-17 Thread Yury Selivanov
On Wed, Jan 17, 2018 at 2:24 PM, Guido van Rossum wrote: > Perhaps you can update the PEP with a summary of the rejected ideas from > this thread? The Rejected Ideas section of the PEP is now updated with the below: Token.reset() instead of ContextVar.reset()

Re: [Python-Dev] PEP 567 v3

2018-01-17 Thread Victor Stinner
FYI In the PEP 540, I didn't try to elaborate on each design change, but I wrote a very short version history at the end: https://www.python.org/dev/peps/pep-0540/#version-history Maybe something like that would help for the PEP 567? Victor Le 17 janv. 2018 8:26 PM, "Guido van Rossum" a écrit :

Re: [Python-Dev] python exe installer is broken

2018-01-17 Thread Steve Dower
And please include all the Python log files from your %TEMP% directory. On 18Jan2018 0802, Brett Cannon wrote: This seems like a bug report and is best reported on bugs.python.org . On Wed, 17 Jan 2018 at 08:05 Joshua Yeow > wrote: Dear

Re: [Python-Dev] python exe installer is broken

2018-01-17 Thread Brett Cannon
This seems like a bug report and is best reported on bugs.python.org. On Wed, 17 Jan 2018 at 08:05 Joshua Yeow wrote: > Dear Python Developers > I hope to be able to use the latest version Python on my Windows 7 PC > soon. The installer is very buggy and as I have discovered that the new exe > i

Re: [Python-Dev] PEP 567 v3

2018-01-17 Thread Guido van Rossum
Perhaps you can update the PEP with a summary of the rejected ideas from this thread? On Jan 17, 2018 7:23 AM, "Yury Selivanov" wrote: > On Wed, Jan 17, 2018 at 6:03 AM, Antoine Pitrou > wrote: > > On Tue, 16 Jan 2018 17:18:06 -0800 > > Nathaniel Smith wrote: > >> On Tue, Jan 16, 2018 at 5:06

Re: [Python-Dev] Positional-only parameters in Python

2018-01-17 Thread Sanyam Khurana
Hi, On Wed, Jan 17, 2018 at 8:04 PM, Victor Stinner wrote: > Hi, > > In Februrary 2017, I proposed on python-ideas to change the Python > syntax to allow to declare positional-only parameters in Python: > > https://mail.python.org/pipermail/python-ideas/2017-February/044879.html > https://mail.py

Re: [Python-Dev] Positional-only parameters in Python

2018-01-17 Thread Guido van Rossum
Let's aim for 3.8 here. We're already cramming in a lot of stuff for the feature freeze. On Wed, Jan 17, 2018 at 8:52 AM, Barry Warsaw wrote: > On Jan 17, 2018, at 08:14, Serhiy Storchaka wrote: > > > > The main problem -- designing a syntax that does not look ugly. I think > there are too smal

Re: [Python-Dev] Positional-only parameters in Python

2018-01-17 Thread Barry Warsaw
On Jan 17, 2018, at 08:14, Serhiy Storchaka wrote: > > The main problem -- designing a syntax that does not look ugly. I think there > are too small time is left before features freezing for experimenting with > it. It would be better to make such changes at the early stage of development. A P

Re: [Python-Dev] Positional-only parameters in Python

2018-01-17 Thread Oleg Broytman
On Wed, Jan 17, 2018 at 08:29:16AM -0800, Ethan Furman wrote: >def some_func(a, b, /, this, that, *, the_other): ># some stuff > > Everything before the slash is positional-only, between the slash and star > is positional-or-keyword, and after the star is keyword-only. Is there s

Re: [Python-Dev] Positional-only parameters in Python

2018-01-17 Thread Ethan Furman
On 01/17/2018 08:14 AM, Serhiy Storchaka wrote: 17.01.18 16:34, Victor Stinner пише: In Februrary 2017, I proposed on python-ideas to change the Python syntax to allow to declare positional-only parameters in Python: https://mail.python.org/pipermail/python-ideas/2017-February/044879.html https

Re: [Python-Dev] Positional-only parameters in Python

2018-01-17 Thread Serhiy Storchaka
17.01.18 16:34, Victor Stinner пише: In Februrary 2017, I proposed on python-ideas to change the Python syntax to allow to declare positional-only parameters in Python: https://mail.python.org/pipermail/python-ideas/2017-February/044879.html https://mail.python.org/pipermail/python-ideas/2017-Ma

[Python-Dev] python exe installer is broken

2018-01-17 Thread Joshua Yeow
Dear Python Developers I hope to be able to use the latest version Python on my Windows 7 PC soon. The installer is very buggy and as I have discovered that the new exe installer since version 3.5.0 introduces more and more bugs that are yet to be resolved. Python erases all it's files, except the

Re: [Python-Dev] Positional-only parameters in Python

2018-01-17 Thread Mario Corchero
Hi Victor, I'd like to work on it if you accept "a random person" to work on it (saying it in case the mail was directed to core developers). Regards, Mario On 17 January 2018 at 14:34, Victor Stinner wrote: > Hi, > > In Februrary 2017, I proposed on python-ideas to change the Python > syntax

Re: [Python-Dev] PEP 567 v3

2018-01-17 Thread Yury Selivanov
On Wed, Jan 17, 2018 at 6:03 AM, Antoine Pitrou wrote: > On Tue, 16 Jan 2018 17:18:06 -0800 > Nathaniel Smith wrote: >> On Tue, Jan 16, 2018 at 5:06 PM, Yury Selivanov >> wrote: >> > >> > I think it would be a very fragile thing In practice: if you have even >> > one variable in the context tha

[Python-Dev] Positional-only parameters in Python

2018-01-17 Thread Victor Stinner
Hi, In Februrary 2017, I proposed on python-ideas to change the Python syntax to allow to declare positional-only parameters in Python: https://mail.python.org/pipermail/python-ideas/2017-February/044879.html https://mail.python.org/pipermail/python-ideas/2017-March/044956.html There are already

Re: [Python-Dev] PEP 567 v3

2018-01-17 Thread Antoine Pitrou
On Tue, 16 Jan 2018 17:18:06 -0800 Nathaniel Smith wrote: > On Tue, Jan 16, 2018 at 5:06 PM, Yury Selivanov > wrote: > > > > I think it would be a very fragile thing In practice: if you have even > > one variable in the context that isn't pickleable, your code that uses > > a ProcessPool would s

Re: [Python-Dev] Python 3.7: Require OpenSSL >=1.0.2 / LibreSSL>=2.5.3

2018-01-17 Thread Christian Heimes
On 2018-01-16 22:47, Steve Dower wrote: > I think you mean out-of-band updates, and by “you” I'm going to pretend > you mean PyCA ;) Err, yes :) ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubs