sufficiently pythonic code for testing type of function

Theerasak Photha hanumizzle at gmail.com
Wed Oct 11 08:11:05 CEST 2006


On 10/11/06, Ben Finney <bignose+hates-spam at benfinney.id.au> wrote:
> "Theerasak Photha" <hanumizzle at gmail.com> writes:
>
> > On 10/11/06, Ben Finney <bignose+hates-spam at benfinney.id.au> wrote:
> > > Why have you re-implemented (a less-functional version of) 'isinstance'?
> >
> > Ignorance, I think. But the issue is resolved now. Thank you.
>
> Hopefully it is also merely ignorance that leads you to such obsessive
> type-checking.

It would seem I clicked the Send button late. **Too slow!!** :)

-- Theerasak



More information about the Python-list mailing list