Python Forum
Guido on Permanent Vacation from BDFL
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Guido on Permanent Vacation from BDFL
#1
python.org/msg05628.html" target="_blank" rel="noopener" class="mycode_url">https://www.mail-archive.com/python-comm...05628.html
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply
#2
interesting
Recommended Tutorials:
Reply
#3
Guido Wrote:But here's the catch. I'm going to try and let you all (the current committers) figure it out for yourselves.

This could get very interesting indeed.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply
#4
Wow. Interesting PEP as well.
Reply
#5
Thank you Guido Thumbs Up

I have followed/looked at some of the mails reading PEP,and it's a long grinding process.
Have to spend a lot time argument back and forth.
So steeping back from this prosess is understandably.

Python will be fine as the Bus factor is no longer problem for Python.
Reply
#6
I understand him.
Thank you for your time. :-)

I read the PEP 572. My first reaction was that this looks like assignment in Pascal.
But as I saw the examples, I was impressed.

if pid := os.fork():
    # Parent code
else:
    # Child code
So with this code, the return value of os.fork() is first assigned to the name pid, then the if-statement will be executed with pid.
Doing evaluation and branching with one line code is very handy.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply
#7
I am looking forward to seeing what you invent next!
Python has been a gift to the world, Thank You
Reply
#8
(Jul-13-2018, 03:31 PM)DeaD_EyE Wrote: I understand him.
Thank you for your time. :-)

I read the PEP 572. My first reaction was that this looks like assignment in Pascal.
But as I saw the examples, I was impressed.

if pid := os.fork():
    # Parent code
else:
    # Child code
So with this code, the return value of os.fork() is first assigned to the name pid, then the if-statement will be executed with pid.
Doing evaluation and branching with one line code is very handy.

I looked at the pep, and was surprised that GvR was in support of it. I was under the impression that the rule about assignment not possible in expressions was one of his original purposes in Python, as having too many things in one line can get convoluted quickly.
Reply
#9
(Jul-13-2018, 03:52 PM)nilamo Wrote: I looked at the pep, and was surprised that GvR was in support of it. I was under the impression that the rule about assignment not possible in expressions was one of his original purposes in Python, as having too many things in one line can get convoluted quickly.
Yeah, I was surprised too. I think having the assignment expression use a different operator from assignment statements helps, as do examples like this
if reductor := dispatch_table.get(cls):
    rv = reductor(x)
elif reductor := getattr(x, "__reduce_ex__", None):
    rv = reductor(4)
elif reductor := getattr(x, "__reduce__", None):
    rv = reductor()
else:
    raise Error("un(deep)copyable object of type %s" % cls)
Reply
#10
(Jul-13-2018, 03:52 PM)nilamo Wrote: I looked at the pep, and was surprised that GvR was in support of it. I was under the impression that the rule about assignment not possible in expressions was one of his original purposes in Python, as having too many things in one line can get convoluted quickly.

Oh yes. Opinions can change. Language design is very opinionated.
My first surprise was, as he came with Type Hinting.
But if you use them at the right place, you'll benefit.
Using Type Hints everywhere doesn't look nice.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  invisible temporary files that become linked permanent Skaperen 0 931 Feb-21-2023, 12:22 AM
Last Post: Skaperen
  Microsoft Funds a Team with Guido van Rossum to Double the Speed of Python Larz60+ 0 1,507 May-20-2021, 11:48 PM
Last Post: Larz60+
  Guido van Rossum about starting contributing to CPython buran 0 2,321 Feb-18-2020, 04:44 PM
Last Post: buran
  Guido van Rossum Retires ichabod801 1 3,141 Oct-30-2019, 05:00 PM
Last Post: Larz60+
  MIT Interview with Guido Larz60+ 3 3,325 Nov-27-2018, 10:45 PM
Last Post: Larz60+
  Guido van Rossum does not care about the opinion of the community. Kirill_Dubovitskiy 12 8,081 Sep-14-2018, 06:33 PM
Last Post: micseydel
  Guido van Rossum: BDFL Python 3 retrospective snippsat 13 6,805 Mar-02-2018, 02:38 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020