Typing system vs. Java

Terry Reedy tjreedy at home.com
Wed Aug 1 19:27:04 EDT 2001


"Donn Cave" <donn at u.washington.edu> wrote in message
news:9ka118$mj8$1 at nntp6.u.washington.edu...
> And the run time error is a TypeError: unsubscriptable object.
> He's baffled enough by this to post to comp.lang.python instead
> of figure it out himself.

What we need here are better error messages: a more explicit 'none
object is not subscriptable' might have steered him to the problem.

Terry J. Reedy






More information about the Python-list mailing list