Re: [Pyobjc-dev] shouldSelectRow not working as expected
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2003-02-28 12:45:49
|
On Friday, Feb 28, 2003, at 12:51 Europe/Amsterdam, Just van Rossum wrote: > 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...). Oops. I should have paid more attention... PyObjC_HAVE_PYTHON_BOOL should be defined only when python does have builtin bool support. Ronald |