[PyQt] Unable to create subclasses of QTextCodec
Phil Thompson
phil at riverbankcomputing.com
Thu Apr 2 12:45:49 BST 2020
On 27/03/2020 13:45, Maurizio Berti wrote:
> Hello,
> I just stumbled upon this question on StackOverflow:
>
> https://stackoverflow.com/questions/60886700/pyqt5-subclassing-qtextcodec
>
> Apparently, it's not possible to subclass nor create a new instance of
> QTextCodec on PyQt.
>
> Is this a bug or due to the particular way QTextCodecs are dealt with?
This will be fixed in PyQt v5.14.2. However it may not work as required
but I'll look at it again when I get a corresponding test case.
Phil
More information about the PyQt
mailing list