Re: [dabo-users] properties of type list

2010-10-16 Thread Ed Leafe
On Oct 15, 2010, at 10:16 AM, Henning Hraban Ramm wrote: Since I struggled too long while trying to append items to dDropdownList.Choices: Would you care to add a hint to the docstrings of dControlItemMixin that list properties aren't usable like normal Python lists? Just

[dabo-users] properties of type list

2010-10-15 Thread Henning Hraban Ramm
Since I struggled too long while trying to append items to dDropdownList.Choices: Would you care to add a hint to the docstrings of dControlItemMixin that list properties aren't usable like normal Python lists? Greetlings from Lake Constance! Hraban --- http://www.fiee.net

Re: [dabo-users] properties of type list

2010-10-15 Thread Henning Hraban Ramm
Am 2010-10-15 um 16:32 schrieb Paul McNett: On 10/15/10 7:16 AM, Henning Hraban Ramm wrote: Since I struggled too long while trying to append items to dDropdownList.Choices: Would you care to add a hint to the docstrings of dControlItemMixin that list properties aren't usable like normal

Re: [dabo-users] properties of type list

2010-10-15 Thread Ed Leafe
On Oct 15, 2010, at 10:32 AM, Paul McNett wrote: Do you mean that you can't do: lst.Choices = [a, b, c] lst.Choices.append(d) but that you instead have to: lst = lst.Choices = [a, b, c] lst.Choices.append(d) lst.Choices = lst.Choices This has struck me as kind of awkward, too. I

Re: [dabo-users] properties of type list

2010-10-15 Thread Henning Hraban Ramm
Am 2010-10-15 um 17:18 schrieb Ed Leafe: Funny that this point is raised now. I was working on a class that will eliminate this problem, but so far only have append() working. I should have time to finish it this weekend. Nothing happens by chance ;-) Great if it works. Greetlings