Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2670

Calling QOperatingSystemVersion.name() crashes PySide6 with no explanation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P4: Low
    • None
    • 6.6.3.1
    • PySide
    • None
    • Windows

    Description

      So, I was playing around in the Windows Terminal and launched Python 3.12 on Windows 11...

      C:\Users\PedanticHacker> python
      

      Then I wanted to get the name of my operating system, just for kicks...

      >>> from PySide6.QtCore import QOperatingSystemVersion
      >>> QOperatingSystemVersion.name()
      

      I was immediately thrown out of Python's CLI without any exception being raised or any indication that something went wrong...

      C:\Users\PedanticHacker>
      

      Attachments

        1. pyside2670_stack.txt
          3 kB
        2. pyside2670.py
          0.2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            pedantichacker Boštjan Mejak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes