[PyKDE] pyc/embedded c++ efficiency wrt binary data

2004-04-11 Thread Patrick Stinson
I'm using pyuic, a tool that comes as part of pyqt, that reads images and creates a python file with the data embedded in it for easy loading. This is based on a similar tool called qembed that embeds image data in C++ header files. Well, I have found that upon loading the py (9.2MB) file, it t

Re: [PyKDE] convertSubClass() -- I introduced a bug :-(

2004-04-11 Thread dacut
Phil Thompson wrote: > Why would overlapping converters (ie. the same class is handled in more than > one converter) ever be required? It shouldn't... but the problem (can) manifest itself due to is-a relationships. As an example, let's say that base class A has subclasses B, C, and D. The SIP s

Re: [PyKDE] convertSubClass() -- I introduced a bug :-(

2004-04-11 Thread Phil Thompson
On Sunday 11 April 2004 8:34 pm, [EMAIL PROTECTED] wrote: > Phil Thompson write: > > On Wednesday 07 April 2004 9:29 pm, Dave Cuthbert wrote: > >> Now, the real bug is if class A defines a subclass converter, no other > >> class derived from A can also define a subclass converter (and expect it > >

Re: [PyKDE] convertSubClass() -- I introduced a bug :-(

2004-04-11 Thread dacut
Phil Thompson write: > On Wednesday 07 April 2004 9:29 pm, Dave Cuthbert wrote: >> Now, the real bug is if class A defines a subclass converter, no other >> class derived from A can also define a subclass converter (and expect it >> to be called consistently). A's subclass converter has to be awar

Re: [PyKDE] convertSubClass() -- I introduced a bug :-(

2004-04-11 Thread Phil Thompson
On Wednesday 07 April 2004 9:29 pm, Dave Cuthbert wrote: > A big mea culpa here... > > Phil, earlier we thought that the arguments to PyType_IsSubType() were > switched for subclass converters; I emailed you directly, and you went > ahead and made the change in the SIP tree (post 4.0rc3). > > I thi

Re: [PyKDE] Eric questions

2004-04-11 Thread Phil Thompson
On Sunday 11 April 2004 12:59 pm, jul wrote: > Hi again, > Well, concerning my v3.4 install problem, I've looked a bit further... > > I've found that the "PixmapCache.py" module calls the > "QPixmap.fromMimeSource" function from the 'qt' module. > The QPixmap class exists in my qt.py module, but do

Re: [PyKDE] Eric questions

2004-04-11 Thread jul
Hi again, Well, concerning my v3.4 install problem, I've looked a bit further... I've found that the "PixmapCache.py" module calls the "QPixmap.fromMimeSource" function from the 'qt' module. The QPixmap class exists in my qt.py module, but doesn't have the 'fromMimeSource' attribute The qt.