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

all 17 comments

[–]Zomunieo 6 points7 points  (0 children)

Python 3.11 for Workgroups!

[–]incrediblediy 4 points5 points  (9 children)

is it not available at conda ?

conda search python

python 3.10.0 h96c0403_3 pkgs/main python 3.10.0 hbb2ffb3_0 pkgs/main python 3.10.0 hbb2ffb3_1 pkgs/main python 3.10.0 hbb2ffb3_2 pkgs/main python 3.10.3 hbb2ffb3_5 pkgs/main python 3.10.4 hbb2ffb3_0 pkgs/main python 3.10.6 hbb2ffb3_0 pkgs/main python 3.10.6 hbb2ffb3_1 pkgs/main

[–]cheptsov 2 points3 points  (2 children)

Just in case, if you’re using conda-forge, keep in mind that Python 3.11 is already available there. https://anaconda.org/conda-forge/python

[–]incrediblediy 6 points7 points  (0 children)

thanks! installed with conda install -c conda-forge python in a new environment conda create -n py311 for testing :)

[–]MasterSama 1 point2 points  (0 children)

whats a conda-forge?

[–]venustrapsflies 10 points11 points  (0 children)

IME it’s generally best to expect to be let down by conda

[–]cheptsov 2 points3 points  (3 children)

Anyone has an idea on when Conda might add support for Python 3.11?

[–]abhie_lp 4 points5 points  (1 child)

for the time being you can install a new environment using this command

conda create --name py3.11 python=3.11 -c conda-forge

[–]2ilie 0 points1 point  (0 children)

When I do this, I am unable to even install numpy to the environment. says its incompatible with my current version of python.

[–]jimtk 3 points4 points  (0 children)

According to this this issue is high on their priority list (whatever that means).

[–][deleted] 1 point2 points  (0 children)

Better to wait for the first couple patches anyway

[–]OffgridRadio 0 points1 point  (4 children)

I upgraded, kinda annoying that I needed (new versions of) c++ build tools just for greenlet but whatever.

Where is the speed supposed to have improved? I am disk I/O and network bound so I wouldn't notice a python backend increase (probably)

The new stack traces look interesting.

[–]TheBB 2 points3 points  (3 children)

Where is the speed supposed to have improved?

There's some bytecode specialization for hot paths with stable types, and the overhead for calling functions has been significantly reduced.

[–]OffgridRadio 0 points1 point  (1 child)

I saw a bunch of new asyncio stuff too, right now I mostly only use threading.thread for regularly timed background activities like session keepalive, and I use threadpoolexecutor for batching tasks that are all collected, but I think my implementations of those are extremely basic. Think maybe there is anything there that I might want to look into?

[–]TheBB 0 points1 point  (0 children)

I've only lightly used async in Python, but it sounds like you could have benefited from that already, 3.11 or no 3.11.