[albatross-users] Bug with persistentlists and such (1.10)
Michael C. Neel
neel at mediapulse.com
Tue Nov 11 10:43:23 EST 2003
Doesn't map imply a function call for every element of the list? A bit
high on the overhead don't you think for a type check? I'm not sure how
it checks now, but a test of "isinstance(val, list)" will catch lists
and classes built from list.
Mike
>
> (please Cc me, I'm not on the list)
>
> It seems like checkbox_to_html in 1.10 has a bug if you try to give it
> something which isn't a python list (but looks, walks and talks like
> one). IMHO, a better way to test for whether this is a list is just
> to try to use map, and if that fails, use str on the value itself; see
> below.
>
More information about the Albatross-users
mailing list