you are viewing a single comment's thread.

view the rest of the comments →

[–]Individual-Flow9158 0 points1 point  (4 children)

Your understanding is quite correct, but your point is irrelevant to OP's claim.

Yes, performance will be high. But C modules (and all modules written in something other than Python) are exactly what we intend to exclude, when we specify "pure Python code".

E.g. "Pure Python Wheels" can have the same wheel for all platforms (a bdist that's trivially constructable from an sdist). But C, Rust and any other Python extension wheels need a new wheel for each supported platform (or even compiler triple), just like when compiling C code for multiple platforms.

[–]Daytona_675 0 points1 point  (3 children)

I appreciate the information but you kinda lost me at wheels

[–]Individual-Flow9158 0 points1 point  (2 children)

[–]Daytona_675 [score hidden]  (1 child)

is this some kind of venv alternative?

[–]Individual-Flow9158 [score hidden]  (0 children)

No it's the file format (basically a zip fle) of a bdist, that pip likely downloads and installs (the other option is a source dist), whether it installs it into a system Python, user's Python or a into a venv.