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

snake_case feature impacts loaded module (qasync)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.5.0
    • 6.3.1
    • PySide
    • None
    • Windows
    • 1bb1f9b5ce (pyside/pyside-setup/6.4), 4c1618d7e (6.4), 18ced2d4e (6.4), b7a809650 (dev), f391cd153 (dev), ea2fc5344 (6.4)

    Description

      While attempting to enable the snake_case and true_property features, I'm having an issue that it's causing incompatibilities with code in another module, in this case qasync .

      Particularly the following error:

        File "venv\lib\site-packages\qasync\__init__.py", line 259, in add_callback
          timerid = self.startTimer(int(delay * 1000))
      AttributeError: '_SimpleTimer' object has no attribute 'startTimer'. Did you mean: 'start_timer'?
      

      I've attached a test case that reproduces the problem on Windows, Python 3.10.4 with PySide6-Essentials==6.3.1 and qasync==0.23.0

      Attachments

        Issue Links

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

          Activity

            People

              ctismer Christian Tismer
              darkszero D Z
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: