We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If gdb uses python version < 3.9 the pretty printer do not work because of the missing implementation of 'removeprefix'.
This function is only available since python version 3.9.
I can reproduce this bug by using latest version of CLion 2024.3.4, because they are using python version 3.8.
try to pretty print nlohmann object. that occurs in an exception because the string obj do not have a function called removeprefix
pretty print should work if python version is < 3.9
linux, CLion 2024.3.4
latest from branch develop
develop
The text was updated successfully, but these errors were encountered:
I do have a patch for the problem or can I push the fix in a branch?
Sorry, something went wrong.
Sure, please open a PR.
Successfully merging a pull request may close this issue.
Description
If gdb uses python version < 3.9 the pretty printer do not work because of the missing implementation of 'removeprefix'.
This function is only available since python version 3.9.
I can reproduce this bug by using latest version of CLion 2024.3.4, because they are using python version 3.8.
Reproduction steps
try to pretty print nlohmann object.
that occurs in an exception because the string obj do not have a function called removeprefix
Expected vs. actual results
pretty print should work if python version is < 3.9
Minimal code example
Error messages
Compiler and operating system
linux, CLion 2024.3.4
Library version
latest from branch develop
Validation
develop
branch is used.The text was updated successfully, but these errors were encountered: