Case Insensitivity (was Language change and code breaks)

Bruce Sass bsass at freenet.edmonton.ab.ca
Thu Jul 19 18:08:32 EDT 2001


On Thu, 19 Jul 2001, Tim Hochberg wrote:
<...>
> CaseMismatchError: Case of 'has_spam' doesn't match previous usage (did you
> mean 'HAS_SPAM').

That looks case-sensitive to me.
If it was case-insensitive... hi == Hi == hI == HI
so, has_spam == HAS_SPAM

By generating an error you are recognizing case, and enforcing rules
about the allowed case of a label... clearly, not being
case-insensitive.


- Bruce





More information about the Python-list mailing list