Author terry.reedy
Recipients barry, maxking, r.david.murray, terry.reedy
Date 2019-07-09.16:32:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
To avoid such questions, bug reports should contain exception messages and usually at least some of the tracebacks.

>>> ''[0]
Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
IndexError: string index out of range
>>> x=None
>>> x[0]
Traceback (most recent call last):
  File "<pyshell#3>", line 1, in <module>
TypeError: 'NoneType' object is not subscriptable

IndexError should mean object was indexable.
Operations on None should give TypeError.
Date User Action Args
2019-07-09 16:32:54terry.reedysetrecipients: + terry.reedy, barry, r.david.murray, maxking
2019-07-09 16:32:54terry.reedysetmessageid: <>
2019-07-09 16:32:54terry.reedylinkissue37491 messages
2019-07-09 16:32:53terry.reedycreate