[issue35077] Make TypeError message less ambiguous

coyot linden report at bugs.python.org
Fri Oct 26 14:36:56 EDT 2018


coyot linden <coyot at lindenlab.com> added the comment:

You're welcome. I filed against 3.5 because that's what I have in our env at the moment and I couldn't test and thus assert the issue in later versions. 

Happy to see the problem addressed more generally.

The abstraction of the problem is the ambiguity in English between nouns used as adjectives and their groupings: (noun phrase) versus (noun as adjective)(noun). Using "X of Y" rather than (XY) or (X)(Y) resolves the ambiguity.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35077>
_______________________________________


More information about the Python-bugs-list mailing list