From: Roger B. <ro...@ro...> - 2003-12-04 08:17:54
|
> I understand that, but is conditional code that difficult in Python? Not really but given two different wxPython versions on 3 plarforms it becomes a pain. >>> pubsub.py: >>> from wx.lib.pubsub import Publication >> >> It looks like pubsub is being changed somewhat drastically. > > I dunno, I never used the old version. The old version doesn't even have a Publication class/member whatever that is. >>> Calendar.attrevenmonth=CalendarCellAttributes() >>> Calendar.attroddmonth=CalendarCellAttributes() That fix is commited. > Understandable. I assume they are something like the NSNotification > objects in MacOS X. Very nice stuff, I use them all the time. If NSNotification is limited to the same process, then they are pretty much identical. > File "/Users/n9yty/my_cvs/bitpim/bitpim/phonebook.py", line 312, in > OnMergeCategories > cats=msg.data[:] > TypeError: unhashable type I think your code is a little behind. Do another CVS update. Note that the anonymous repository is around 5 hours behind the real one. I am not going to switch over to wxPython probably until 2.5.1 is release (the .0 versions always have issues). You are welcome to maintain your own set of patches to work with 2.5 but I don't think it is a particularly good use of your time, especially since there haven't even been any beta releases yet. Something that is desperately needed on the Mac is to package everything up into a normal Mac package. The instructions at http://videogamexchange.com/sites/lg4400/ aren't really acceptable. On Windows you just run the setup.exe and on Linux you just install the RPM. Neither has any external dependencies (Python, wxPython and the other libraries are all bundled inside). I would do this on the Mac myself except I don't have one and they are way to expensive for me to acquire. If you know how to build Mac packages, your assistance will be greatly appreciated. I have collected some links on how to do it, I just need someone to do it. Roger |