Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclear formatting in description #702

Open
lucascolley opened this issue Sep 7, 2024 · 1 comment
Open

Unclear formatting in description #702

lucascolley opened this issue Sep 7, 2024 · 1 comment
Labels

Comments

@lucascolley
Copy link

Comment:

We provide some meta packages for convenience.
To get a CPython flavour, use
conda install cpython
To get the freethreading build (i.e. without the Global Interpreter Lock - GIL)
conda install python-freethreading
To get the default build (i.e. with the GIL)
conda install python-gil
To enable the use of the experimental JIT compiler in CPython
conda install python-jit
or set the environment variable PYTHON_JIT=1. Note that the JIT support
is available for x86_64 builds only.
looks nice in the source code, but when rendered on anaconda.org, the whitespace is confusing (see below). It looked to me to be suggesting to install python-freethreading to get the build with the GIL, which was obviously incorrect, but I didn't read the structure properly until looking at the source code. It would be nice to reformat this to make it clear which command corresponds with which build.

image
@lucascolley
Copy link
Author

This isn't a problem on https://prefix.dev/channels/conda-forge/packages/python-freethreading actually as the spacing is even, so it depends on the rendering. Still, may be a good idea to add some colons at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant