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

Instantiating a QCoreApplication overwrites existing _ builtin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated 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)

      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

       

        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.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes