On 16.05.2011 05:36, ext Gerald Storer wrote:
On 15/05/2011 10:26 PM, Николай wrote:
Why not use Python Warning. Warnings can be easily turned to
exceptions while developing new code.
Niki
I like this idea too. I only really come across the warnings when
developing new code and the ability to get tracebacks from Qt warnings
would make life much easier when trying to track down their causes.
Of course an exception would work just as well for my purposes but it
could make porting PyQt code more difficult.
Yes, I agree, warnings would work really nicely. You'd get the intended
behaviour without breaking existing code, so the feature could be
enabled even in the next 1.x release.
Since this change defines new behaviour in PySide, I'd still like to see
a PSEP about it, though. Renato? :-)
ma.
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside