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

Improve the Python to C++ conversion tool

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 6.2.4
    • Fix Version/s: 6.4
    • Component/s: Tooling
    • Labels:
      None
    • Platform/s:
      All

      Description

      Desirable

      • Other language constructs?
      • Preserve comments (see license fiddling in test). They are apparently not represented in the AST?

      Pending

      • Test suite

      Done

      • Unary operators (+=) (augmented ops)
      • index expressions [], slices s[1:2]
      • Default values of function arguments still broken
      • "->", "." depending whether variable is on stack (from function def)
      • Missing newlines around some expressions
      • Some smartness regarding Qt classes passed as function parameters
      • Handle type annotations
      • Context mgrs
      • Type annotations around funcs
      • Some smartness regarding Qt class construction
      • Operators
      • Return statements

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              kleint Friedemann Kleint
              Reporter:
              kleint Friedemann Kleint
              PM Owner:
              Vladimir Minenko Vladimir Minenko
              RnD Owner:
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes