Hello, I'm interested in integrating PythonQt to expose wrapped objects, but I'm intrigued by the idea of using other Cython modules which expose C++ classes to Python. This got me thinking if it's possible to use PythonQt to embed Python, and also take advantage of Cython-wrapped classes at the same time. Does anyone know if it is possible to have a QObject-inherited method that returns a Cython-type and for all the type-conversions to work transparently? Would I need to write CPython extensions...
Florian, I'm seeing the same problem on 2.7.9/10, so it's not only a Python3 problem. What I do realize, though, is that I'm building PythonQt w/ 2.7.9, and it might've been picking up the binary for 2.7.10 during run-time. Could this have some impact?
Hello Florian, Are you also using Windows 7 and VS2013 to test? The other things about the environment doesn't match, but Win7 and VS2013 does, and I get the same behavior. In my callstack, the last frame of PythonQt which causes the crash is: void PythonQtImport::writeCompiledModule(PyCodeObject *co, const QString& filename, long mtime) at the call of PyMarshal_WriteLongToFile(0L, fp, Py_MARSHAL_VERSION); What I see is that it's using vc90's function to write the file, and it seems to fail at locking...
Hello Florian, Are you also using Windows 7 and VS2013 to test? The other things about the environment doesn't match, but Win7 and VS2013 does, and I get the same behavior. In my callstack, the last frame of PythonQt which causes the crash is: void PythonQtImport::writeCompiledModule(PyCodeObject *co, const QString& filename, long mtime) at the call of PyMarshal_WriteLongToFile(0L, fp, Py_MARSHAL_VERSION); What I see is that it's using vc90's function to write the file, and it seems to fail at locking...