[PyQt] Unable to create subclasses of QTextCodec

Barry Scott barry at barrys-emacs.org
Fri Mar 27 14:41:54 GMT 2020



> On 27 Mar 2020, at 13:45, Maurizio Berti <maurizio.berti at gmail.com> wrote:
> 
> Hello,
> I just stumbled upon this question on StackOverflow:
> 
> https://stackoverflow.com/questions/60886700/pyqt5-subclassing-qtextcodec <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?

What would be the advantage of QTextCodec over python's builtin codecs?

Barry


> 
> Thanks,
> Maurizio
> -- 
> È difficile avere una convinzione precisa quando si parla delle ragioni del cuore. - "Sostiene Pereira", Antonio Tabucchi
> http://www.jidesk.net <http://www.jidesk.net/>_______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200327/dca23596/attachment.htm>


More information about the PyQt mailing list