Details
Description
The program silently crashes without error if the `dir` argument of `QFileDialog.getSaveFileName` is of type `pathlib.Path`.
The string representation of the path works fine.
I would've expected an exception for incompatible type, since silent crashes are very hard to debug.
Forgetting to convert the Path to str is something that has happened to me rather often, and it may happen to other people as well. So I believe that throwing an exception here would benefit several people.
Attachments
For Gerrit Dashboard: PYSIDE-3133 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
658314,3 | Fix crash on conversion errors when parsing keyword arguments | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
658470,2 | Fix crash on conversion errors when parsing keyword arguments | 6.9 | pyside/pyside-setup | Status: MERGED | +2 | 0 |