Re: [Pyobjc-dev] shouldSelectRow not working as expected
Brought to you by:
ronaldoussoren
From: Just v. R. <ju...@le...> - 2003-02-28 11:51:44
|
Just van Rossum wrote: > Here's a thought: what if the bridge would convert the False bool > instance to nil? Hm, this would only work with Python 2.3 unless we > add proper bool support to 2.2 ourselves (btw. plistlib.py contains > code that does just that, but only for that module). I just tried, and this indeed works for 2.3 (except I think the #ifdef PyObjC_HAVE_PYTHON_BOOL test should be removed, as it does the opposite of what I thought it would: PyObjC_HAVE_PYTHON_BOOL is defined when Python does _not_ have builtin bool support...). Thought about this a bit more: this is not going to work in a useful way in Python 2.2. Just |