Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.4k
gh-109054: Document configure variables#109224
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
9b3fc31 to3485011Comparevstinner commentedSep 10, 2023
I'm not sure if adding a new dedicated I chose to use I used Initially, I just wrote this PR to document |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
vstinner commentedSep 10, 2023
I reorganized the doc. I'm not sure between cc@hugovk |
vstinner commentedSep 10, 2023
@erlend-aasland: it seems like the whole "3.3.4. Libraries Options" section is new in Python 3.11, all xxx_CFLAGS and xxx_LIBS, no? |
vstinner commentedSep 10, 2023
PROFILE_TASK was added in Python 3.8. |
Uh oh!
There was an error while loading.Please reload this page.
erlend-aasland commentedSep 11, 2023
Yes, it came with the setup.py migration we did. |
Doc/using/configure.rst Outdated
| Name for machine-dependent library files. | ||
| Libraries Options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
How aboutThird-party dependencies orOptions for third-party dependencies?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Go for "Options for third-party dependencies".
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
vstinner commentedSep 11, 2023
@erlend-aasland: I updated my PR, would you mind to review it again? |
Doc/using/configure.rst Outdated
| ..cmdoption::LIBATOMIC | ||
| Linker flags when ``cpython/pyatomic.h`` header file is used. | ||
| Default: ``LIBATOMIC='-latomic'`` if ``libatomic`` is needed, or | ||
| ``LIBATOMIC=''`` otherwise (also the default when Python is cross-compiled). | ||
| ..versionadded::3.13 | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This is going away with#109344:
| ..cmdoption::LIBATOMIC | |
| Linker flags when ``cpython/pyatomic.h`` header file is used. | |
| Default: ``LIBATOMIC='-latomic'`` if ``libatomic`` is needed, or | |
| ``LIBATOMIC=''`` otherwise (also the default when Python is cross-compiled). | |
| ..versionadded::3.13 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I understand that you want me to remove this variable in the doc, so I removed it.
29756c5 todc0ebcdComparevstinner commentedSep 13, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Oh sorry for the noise, I tried a Git tool which messed up with my PR. I fixed my PR. |
f0ce11d to2796022Comparevstinner commentedSep 19, 2023
PR rebased on the main branch. |
ezio-melotti left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I would keep the PR focused and handle capitalization issues in a separate PR.
New titles should follow the existing conventions, even if it doesn't match the preferred capitalization specified by the devguide. A follow-up PR can fix it.
Uh oh!
There was an error while loading.Please reload this page.
b5eda29 to9780c71Comparevstinner commentedSep 19, 2023
Hum, ok, I reverted these changes. I didn't expect that changing a few titles would be so controversial :-) |
9780c71 to4993499Compare4993499 to8ce10b5CompareUh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
vstinner commentedSep 19, 2023
@erlend-aasland@hugovk@ezio-melotti: I rebased my PR on the main branch, squashed commits, I reverted title casing change (don't use Titlecase Anymore). Please review the updated PR. @ezio-melotti: I applied your sugsestions to use |
hugovk commentedSep 19, 2023
Looks good, although I'll leave approval for someone who knows about these flags 👍 |
AA-Turner left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Looks good Sphinx-wise. (But same caveat as Hugo wrt the flags)
A
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
vstinner commentedSep 20, 2023
Thanks for the reviews. If someone has more remarks, feel free to propose a PR :-) |
erlend-aasland commentedSep 21, 2023
LGTM! Thanks for documenting these things. |
Uh oh!
There was an error while loading.Please reload this page.
📚 Documentation preview 📚:https://cpython-previews--109224.org.readthedocs.build/