How does one use PyQt's QHttpMultiPart and QHttpPart classes? On both Arch Linux (PyQt 4.9) and Windows (4.8.1, I believe), the attached code sample segfaults the Python interpreter.
While Qt's QNetworkAccessManager::post() method is overloaded to take a pointer to a QHttpMultiPart, PyQt's QNetworkAccessManager.post() method only has overloads to take either a QByteArray or a QIODevice. Therefore, it does not appear to be possible to use a PyQt QHttpMultiPart instance the way it was intended to be used. Finally, the current PyQt Class Reference does not mention the QHttpMultiPart and QHttpPart classes. What's going on? Is this a bug in PyQt?
crash.py
Description: Binary data
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt