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

Instantiating a QCoreApplication overwrites existing _ builtin

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 6.2.2
    • PySide
    • None
    • 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

        1. pyside1758.py
          0.4 kB
          Michal Laboš
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            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