[Python-Dev] unscriptable?

"Martin v. Löwis" martin at v.loewis.de
Sat Apr 19 02:08:07 CEST 2008


> I tend to agree with Benjamin that "unsubscriptable" is a made-up word, 
> but so is "unindexable". So, whatever.

FWIW, here is what other tools give as error message in similar cases:

gcc: subscripted value is neither array nor pointer
g++: invalid types ‘double[int]’ for array subscript
javac: array required, but X found
ruby: undefined method `[]=' for 1:Fixnum (NoMethodError)

See also

http://tinyurl.com/4nn284

Regards,
Martin


More information about the Python-Dev mailing list