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

Improve the Python to C++ conversion tool

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • 6.4
    • 6.2.4
    • Tooling
    • None
    • All
    • 29a40c45c7 (pyside/pyside-setup/dev) 29a40c45c7 (pyside/tqtc-pyside-setup/dev)

    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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kleint Friedemann Kleint
              kleint Friedemann Kleint
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes