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

typing: QLineEdit.setText() accepts None

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.10.0
    • None
    • Type hints
    • None
    • a6736dd2e (dev)

    Description

      QLineEdit.setText() accepts None as an equivalent to empty string.Not sure that you may want to fix that one, But in practice, QLineEdit.setText() accepts None, probably because it accepts a "char *" string. And some people actually use this facility, and even report bugs on PySide6-stubs to have it included...
       

      Attachments

        Issue Links

          For Gerrit Dashboard: PYSIDE-3041
          # Subject Branch Project Status CR V

          Activity

            People

              ctismer Christian Tismer
              bluebird75 Philippe Fremy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change