Skip to content
Snippets Groups Projects
Commit 31076a2301f1 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

py-3-13: stabilize the docstring output across all supported Python versions

Python 3.13 now trims indents from docstrings at compilation time
(to save space in .pyc), so all of our helptext is affected.
The indentation has never served a user-facing purpose and was more here
because nobody cared enough to remove it: we gain some screen space this way.
Rather than undo the transformation (which isn't really possible since the
transform also deletes leading/trailing whitespace), we align the behavior
of older Python versions with that of 3.13.

Unfortunately, this means breaking some of the translations. I've only
touched the ones that need to work for some tooling tests to pass, but
I do not have the time to fix the rest of them across all languages, since
they cannot be done in an automated way. i18n updates have been basically
abandonned for a good while now, hopefully someone cares enough to bring them
back.
parent ff1872e8c0bf
No related branches found
No related tags found
2 merge requests!1041Merge default into stable,!1026py-3-13: stabilize the docstring output across all supported Python versions
Pipeline #90544 passed with warnings
Showing with 739 additions and 732 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment