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

Instantiating a QCoreApplication overwrites existing _ builtin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 6.2.2
    • Fix Version/s: None
    • Component/s: PySide
    • Labels:
      None
    • Commits:
      0a12054f64 (pyside/pyside-setup/dev) 47372eb977 (pyside/pyside-setup/6.2) 47372eb977 (pyside/tqtc-pyside-setup/6.2) 0a12054f64 (pyside/tqtc-pyside-setup/dev) 0a12054f64 (pyside/tqtc-pyside-setup/tqtc/dev) 47372eb977 (pyside/pyside-setup/6.2.4)

      Description

      If the _ builtin name exists before the class' instantiation, creating the application will overwrite that name's value with None.

      If the name doesn't exit beforehand, a new one is not created.

      After further investigation, it appears that importing Qt modules also causes this

       

        Attachments

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

          Activity

            People

            Assignee:
            crmaurei Cristian Maureira-Fredes
            Reporter:
            numerlor Michal Laboš
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes