When attempting to build a debug version of pyside2 on Windows with Visual Studio 2017 and Python 2.7.15 I encounter this error:
The error occurs when this command is executed by the build process:
I tracked it down and the error was introduced by this change:
"Fix Shiboken.ObjectType._new_ for Python 2.7" b2a09c05e9cc2503f1609f720060558c0db2fe03 https://codereview.qt-project.org/#/c/252439/
If I locally revert the change then the error does not occur.