Christian Tismer <tis...@stackless.com> added the comment:

On 11.12.19 17:37, Petr Viktorin wrote:
> 
> Petr Viktorin <encu...@gmail.com> added the comment:
> 
> The goal now should be to find a reasonably small reproducer.
> 
> I'm trying to compile PySide to see what it does, but it's a big project and 
> I'm a bit lost.
> Christian, you said in an e-mail that you have a workaround -- unsetting the 
> Py_TPFLAGS_METHOD_DESCRIPTOR. Could you point me to the commit with that 
> workaround, so I could try exploring the code in context?

Yes, it went into gerrit here:

https://codereview.qt-project.org/c/pyside/pyside-setup/+/282705

The problem is that during PySide type creation the PyType_Ready
function looks into the mro() method, which uses this new
flag. When I temporary remove that, everything works.

Cheers -- Chris

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39016>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to