PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 1151 - Can't pickle named Enums, e.g. QtCore.Qt.SolidLine
: Can't pickle named Enums, e.g. QtCore.Qt.SolidLine
Status: UNCONFIRMED
Product: PySide
Classification: Unclassified
Component: QtCore
: 1.1.0
: PC MS Windows XP/Vista/7
: P5 normal
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2012-02-24 11:53 EET by Simon Hibbs
Modified: 2012-03-08 16:57 EET (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Hibbs 2012-02-24 11:53:57 EET
In this case, I get the error : "TypeError: can't pickle PenStyle objects".

Since under the hood these are just integers, I would imagine that implementing
pickling shouldn't be too hard and would be very useful.
Comment 1 Matti Airas 2012-03-08 16:57:42 EET
PySide is now a Qt-addon and uses Qt Project's JIRA tool for tracking bugs.
Please verify that the bug is still valid and re-submit it in the address
below:

https://bugreports.qt-project.org/

Sorry for the inconvenience!