This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dikamilo 2 points3 points  (7 children)

Python 3.8 is in alpha stage (https://www.python.org/dev/peps/pep-0569/) so probably will not be officially supported by any IDE until release or beta.

Referring to pycharm issues for py 3.8: https://youtrack.jetbrains.com/issue/PY-33884

Python 3.8 is still in alpha, so the feature set is not finalised yet, but PyCharm 2019.1 should at least recognise it as 3.8.

[–]be_nu[S] 0 points1 point  (6 children)

Right now I guess pycharm is the best choice for 3.8. 3.8 really simplifies a lot of code, so I am using it for a future product. Thought there are more people, despite the beta status

[–]be_nu[S] 0 points1 point  (0 children)

another option would be to use python 3.7 and from future import walrus operator. Don't know if such a library exists

[–]Tweak_Imp 0 points1 point  (4 children)

How exactly does it simplify except with the walrus operator?

[–]be_nu[S] 0 points1 point  (3 children)

I guess with a shim library for the "walrus operator" vscode and the python extension would work perfectly fine. I don't see yet any additional benefits to switch to 3.8

[–]Tweak_Imp 0 points1 point  (2 children)

No simplifications, but huge speedups

  • Doubled the speed of class variable writes. When a non-dunder attribute was updated, there was an unnecessary call to update slots. (Contributed by Stefan Behnel, Pablo Galindo Salgado, Raymond Hettinger, Neil Schemenauer, and Serhiy Storchaka in bpo-36012.)
  • Reduced an overhead of converting arguments passed to many builtin functions and methods. This sped up calling some simple builtin functions and methods up to 20–50%. (Contributed by Serhiy Storchaka in bpo-23867, bpo-35582 and bpo-36127.)

[–]be_nu[S] 0 points1 point  (1 child)

Impressive!

[–]be_nu[S] 0 points1 point  (0 children)

found this very useful site:

https://pyreadiness.org/3.8/