Misleading Python error message

Peter Hansen peter at engcorp.com
Thu Nov 20 09:14:21 EST 2003


Dennis Lee Bieber wrote:
> 
> Brian Kelley fed this fish to the penguins on Wednesday 19 November
> 2003 12:02 pm:
> 
> > Shouldn't this report something like (TypeError: can't subclass from a
> > module)  It goes to the right line, but I coudn't see where the
> > function was being called :)
> >
>         Which version?

Python 2.3, of course, as a result of the new types stuff.

-Peter




More information about the Python-list mailing list