[Python-Dev] Re: Python history: origin of the arrow annotation

2021-03-11 Thread Nick Coghlan
On Fri, 5 Mar 2021, 9:10 pm Steven D'Aprano, wrote: > I was curious how and why return annotations use the arrow `->` symbol, > so I went spelunking into the depths of the Python-Ideas and Python-Dev > mailing lists. > > Much to my surprise, I couldn't find any discussion or debate about it. > I

[Python-Dev] Re: Python history: origin of the arrow annotation

2021-03-11 Thread Shantanu Jain
Haskell and the MLs are older than I am and use "->" to mark their function types (their functions are curried, but it clearly counts). Given the overall influence functional languages have had on modern typing, their influence making itself felt here would be unsurprising. On Sat, 6 Mar 2021 at 0

[Python-Dev] Re: [Release management] schedule for renaming the default branch

2021-03-11 Thread Pablo Galindo Salgado
> I have above 200 feature branches in my local > repository. Will renaming > the master branch cause any problems? It should not be any problem at all. If you have some open PRs from some of those branches, they will be automatically retargeted to the new branch name in GitHub automatically. On

[Python-Dev] Re: [Release management] schedule for renaming the default branch

2021-03-11 Thread Victor Stinner
Hi Serhiy, On Thu, Mar 11, 2021 at 8:33 AM Serhiy Storchaka wrote: > I have above 200 feature branches in my local repository. Will renaming > the master branch cause any problems? I don't think that you need to do anything on your machine nor on your open PRs. When I use "git switch -c new_bra