[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#940565: Update



Control: severity -1 normal

In the mean time I realized the metioned behaviour is triggered by the presence of a file named enum.py. Hence, the way to reproduce the bug in a hitherto empty directory is:

  touch enum.py && echo "import PySide2.QtCore as core" | python3

My guess is that Pyside2 internally uses the Python 3.4+ standard library module "enum" and gets confused when a local file tries to provide an equally named module. I don't think Pyside2 should look for its own dependencies in the currently directory at all. In case that _is_ the intended behaviour for Python module dependency resolution (not sure), it still should not segfault.

I lowered the severity to normal. (At least I attempted to.)


Reply to: