New submission from coyot linden <co...@lindenlab.com>:

The TypeError message:

TypeError: string indices must be integers

is ambiguously written. While some may understand the intent, others will read 
it as confusingly saying that strings must be integers since dicts among other 
things do have string indices.  Suggest changing the message to:

TypeError: indices of strings must be integers

----------
messages: 328565
nosy: coyot
priority: normal
severity: normal
status: open
title: Make TypeError message less ambiguous
type: enhancement
versions: Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35077>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

  • ... coyot linden
    • ... శ్రీనివాస్ రెడ్డి తాటిపర్తి
    • ... శ్రీనివాస్ రెడ్డి తాటిపర్తి
    • ... Serhiy Storchaka
    • ... Karthikeyan Singaravelan
    • ... coyot linden
    • ... Terry J. Reedy
    • ... Terry J. Reedy
    • ... coyot linden
    • ... Terry J. Reedy
    • ... coyot linden

Reply via email to