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

Extend the snake_case Feature to Signals?

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • PySide
    • None

    Description

      The PySide feature snake_case changes the representation of PySide methods, only. This could be extended to include other names like signals, or even all names stored inside a class.

      Motivation:
      In PYSIDE-1730, I suddenly became aware that there are situations where a signal name is used as a function name. The signal builds a proxy for the function, although a signal was found.

      Now consider a switch from normal to snake_case: Two objects with the same name could now become two objects with a different name, or vice-versa.

      I fear a bit that people will discover this, and I think the situation becomes a bit insane. Therefore the proposal: Treat all lower-case names the same and rename everything, instead of just method names.

      If that should be done: Do we need another feature for the transition? Or is it easier to extend the snake_case feature right away?

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            ctismer Christian Tismer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes