On Mon, Apr 19, 2010 at 12:48 PM, Mark Summerfield <[email protected]> wrote: > On 2010-04-19, Matti Airas wrote: >> On 19.04.2010 16:04, ext Mark Summerfield wrote: >> > OK, then: "Adopt PyQt's API 2 for PySide on Python 3" >> > >> > (D'you want me to reissue just for the title change?) >> >> Definitely not, I can modify the document according to your >> instructions. And did. >> >> > Personally, I think that the key thing that matters here is that Python >> > programmers should not have to know or care about QVariant, so they >> > should be completely insulated from it by having automatic conversions. >> > (But with some kind of back door for when it really matters what kind of >> > object you want inside the QVariant.) >> >> Wouldn't it then be simplest to provide automatic conversions whenever >> possible but still provide QVariant as-is if explicit use is equired? > > Yes. And another benefit would be that in effect this would cover both > API 1 and API 2. Code using API 1 (plus code that really needed to > specify the type) would explicitly use QVariant and code using API 2 > would just ignore QVariant and use Python types directly. So best of > both worlds:-) > >> (I'm getting a deja-vu about this mail, hopefully I didn't reply it >> already...) > > I don't think so;-) > > (Although I always get 2 copies of every mail on this list...) >
As this PSEP is related to API changes, what about things like the bug #116 [1]: "QHttp doesn't store the reference to a QFile"? [1] http://bugs.openbossa.org/show_bug.cgi?id=116 -- Lauro Moura INdT - Instituto Nokia de Tecnologia _______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
