[Web-SIG] Re: Form field dictionaries

Barry Warsaw barry at python.org
Fri Oct 24 12:36:52 EDT 2003


On Fri, 2003-10-24 at 12:31, David Fraser wrote:

> If the list is actually a class derived from a list, then that won't 
> catch it. That's why isinstance is used here

Right, and remember since Python 2.2, the type names (well for strings
and lists) are what used to be built-in coercion functions in earlier
Pythons.

But I'd love to see a solution that didn't require type tests.

-Barry





More information about the Web-SIG mailing list