[PyQt] objcreator.py: DeprecationWarning: 'U' mode is deprecated

Valentin VALLS valentin.valls at esrf.fr
Wed Oct 23 13:29:50 BST 2019


Hi,

I am using PyQt5 from conda installation, with Python 3.7

pyqt                      5.9.2            py37h05f1152_2
qt                        5.9.7                h5867ecd_1


I receive this warning, from the helper loadui.

/bliss/users/foo/miniconda3/envs/bar/lib/python3.7/site-packages/PyQt5/uic/objcreator.py:152: 
DeprecationWarning: 'U' mode is deprecated
   plugin = open(filename, 'rU')

Was feedback already provided for this problem? Could it be possible to 
fix that for Python 3? That's maybe already fixed on your side?

I case, I can provide to you a patch if you like.

Regards,



More information about the PyQt mailing list