[PySide] pickling enums (again)

John Ehresman jpe at wingware.com
Fri Apr 26 17:46:12 CEST 2013


On 4/26/13 11:41 AM, Hugo Parente Lima wrote:
> I still object to "cast any integer to an enum", you could argue
> that this isn't pythonic due to the strong type check, however this
> would imply into a possible segmentation fault on C++ side which I
> would say isn't pythonic either.

How would converting integers into enums after checking that they were
valid cause a segfault?

Thanks,

John




More information about the PySide mailing list