Python #348
Replies: 3 comments 2 replies
-
Ohh I finally found what I think was the answer: "Python 3.7 and above cannot be built without threads." #141 (comment) "Python 3.7 and above require pthread by default, which Cosmopolitan does not currently support. So I picked Python3.6. I would like to use the newest version also, but I do not know of a way to port them yet." Makes sense. Thanks! |
Beta Was this translation helpful? Give feedback.
-
@collinanderson I looked at the source code of Python 3.9.7 today, and it is possible to build it by disabling pthread everywhere: https://github.com/ahgamut/cpython/tree/cosmo_py39 (clone the repo, get the latest build of Cosmopolitan Libc in the The above repo builds a APE Python 3.9 which works on linux. It's not as polished at APE Python 3.6, still in an experimental stage ( |
Beta Was this translation helpful? Give feedback.
-
Now that @jart has implemented pthreads in Cosmopolitan Libc, we can have Python versions with multithreading! Python 3.11.0rc1 was released on August 5. Here's an experimental port of Python 3.11.0rc1 to Cosmopolitan Libc: https://github.com/ahgamut/cpython/tree/cosmo_py311 |
Beta Was this translation helpful? Give feedback.
-
Hi All,
The cosmopolitan project is amazing. I've been following it off and on for about a year and it's incredible to watch. Thanks for all of your work on it.
As a Python web developer I'm curious: why did you use Python 3.6/3.7 as a starting point - why not something newer?
Thanks,
Collin
P.S. Any plans for an alpine-equivalent distribution? :) Or at least a package-manager + repository? :)
Beta Was this translation helpful? Give feedback.
All reactions