[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] SIP suggestion: warnings for /Transfer/ with
From: Kevin Watters <kevin.watters () gmail ! com>
Date: 2009-03-25 20:08:49
Message-ID: gqe30t$vkr$1 () ger ! gmane ! org
[Download RAW message or body]
I updated to a newish SIP snapshot and was playing around with using
/Supertype=sip.simplewrapper/ when possible.
The note in the docs about simplewrapper objects being unable to take
part in ownership transfer is good, but it might be even more useful for
SIP to warn or fail when you have a sip.simplewrapper type participating
in /Transfer/--since at runtime, it just silently remains owned by
Python. Most of my libraries' transfer cases were covered by one common
base class, which got /Supertype=sip.wrapper/ -- but there were a few
classes that weren't covered by this, and they were a (minor) pain to
hunt down.
Just a suggestion!
- Kevin
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic