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

Typing : QDateTime accepts python datetime objects

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P4: Low
    • None
    • None
    • Type hints
    • None

    Description

      Reported from PySide6-stubs

      See example : https://github.com/python-qt-tools/PySide6-stubs/blob/main/tests/qdatetime.py

      QDateTime accepts objects of type python datetime

      QDate accepts objects of type python datetime and python date

      But current stubs does not allow  that

      Attachments

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

        Activity

          People

            cinucen Ece Cinucen
            bluebird75 Philippe Fremy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change