diff options
Diffstat (limited to 'dev-python/shiboken6/files/shiboken6-6.4.1-bug2127.patch')
-rw-r--r-- | dev-python/shiboken6/files/shiboken6-6.4.1-bug2127.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-python/shiboken6/files/shiboken6-6.4.1-bug2127.patch b/dev-python/shiboken6/files/shiboken6-6.4.1-bug2127.patch new file mode 100644 index 000000000000..80007f621604 --- /dev/null +++ b/dev-python/shiboken6/files/shiboken6-6.4.1-bug2127.patch @@ -0,0 +1,15 @@ +diff --git a/shibokenmodule/files.dir/shibokensupport/signature/parser.py b/shibokenmodule/files.dir/shibokensupport/signature/parser.py +index be82a4f92..66d79ad27 100644 +--- a/shibokenmodule/files.dir/shibokensupport/signature/parser.py ++++ b/shibokenmodule/files.dir/shibokensupport/signature/parser.py +@@ -69,7 +69,7 @@ def _get_flag_enum_option(): + flag = getattr(sys, sysname) + if not isinstance(flag, int): + flag = True +- p = f"\n *** Python is at version {'.'.join(map(str, pyminver))} now." ++ p = f"\n *** Python is at version {'.'.join(map(str, pyminver or (0,)))} now." + # PYSIDE-1797: Emit a warning when we may remove pep384_issue33738.cpp + if pyminver and pyminver >= (3, 8): + warnings.warn(f"{p} The file pep384_issue33738.cpp should be removed ASAP! ***") +-- +cgit v1.2.1 |