objcreator.py: DeprecationWarning: 'U' mode is deprecated

Valentin VALLS <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Organization ESRF
Message-ID <[email protected]>
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,

_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.