Live data from Hacker News

Python 3.7 released

python.org

1–10 of 56 posts

Re: Python 3.7 released

#2
Does anyone know how long new versions of Python take to get into Homebrew? Will current Python 3.6 installations on Homebrew autoupdate to Python 3.7 when brew update/brew upgrade is run and the new version is packaged?

Re: Python 3.7 released

#3

Does anyone know how long new versions of Python take to get into Homebrew? Will current Python 3.6 installations on Homebrew autoupdate to Python 3.7 when brew update/brew upgrade is run and the new version is packaged?

Usually, it should be within few days.

I don't see any pull requests yet.

3.5->3.6 python was updated in the same package, so I guess python 3.7 will replace python 3.6 too. You will get it after you run brew upgrade.

Re: Python 3.7 released

#4

Does anyone know how long new versions of Python take to get into Homebrew? Will current Python 3.6 installations on Homebrew autoupdate to Python 3.7 when brew update/brew upgrade is run and the new version is packaged?

i highly recommend pyenv.

`brew install pyenv; pyenv install 3.7`

Re: Python 3.7 released

#6
post #5

Does anyone know how long new versions of Python take to get into Homebrew? Will current Python 3.6 installations on Homebrew autoupdate to Python 3.7 when brew update/brew upgrade is run and the new version is packaged?

Try using https://github.com/pypa/pipenv

Did you mean pyenv? pipenv is a package manager. You can specify in pipenv which version of Python your project needs, but to utilize it requires that that the version is already installed on your system.

Re: Python 3.7 released

#7

Does anyone know how long new versions of Python take to get into Homebrew? Will current Python 3.6 installations on Homebrew autoupdate to Python 3.7 when brew update/brew upgrade is run and the new version is packaged?

You're welcome to create a PR. Homebrew's users are the primary contributors of package updates.

Re: Python 3.7 released

#9
Data classes seem pretty neat. I haven't used attrs yet. And I rarely extend namedtuples, but it's nice to have a mechanism to do that built in.

breakpoint() is certainly more memorable than the current incantation.

Re: Python 3.7 released

#10
post #8

Notable parts of this release (IMO): * Data classes ( https://docs.python.org/3.7/library/dataclasses.html ) * New breakpoint() builtin ( https://docs.python.org/3.7/library/functions.html#breakpoin... ) * Dictionaries preserve insertion order. (Implemented in 3.6, but now is part of the official spec.)

Data classes are awesome! No more boilerplate __init__(self) methods needed.

Another notable part of this release is type annotations:

https://www.python.org/dev/peps/pep-0560/

Post reply on HN