circuitpython/locale
Jeff Epler 9d2270a979 runtime: Improve error message when setting read-only property
Formerly, if you wrote
   SPI.frequency = 0
you would get the sightly erroneous error message
   AttributeError: 'SPI' object has no attribute 'frequency'
In this case, a better message would read
   AttributeError: 'SPI' object cannot assign attribute 'frequency'

This new message will both be used in the case where the attribute doesn't
exist at all (and the object has no dynamic attributes; most instances of
built in types behave this way), or if the attribute exists but is
read-only.
2020-03-20 17:57:28 -05:00
..
ID.po runtime: Improve error message when setting read-only property 2020-03-20 17:57:28 -05:00
circuitpython.pot runtime: Improve error message when setting read-only property 2020-03-20 17:57:28 -05:00
de_DE.po runtime: Improve error message when setting read-only property 2020-03-20 17:57:28 -05:00
en_US.po runtime: Improve error message when setting read-only property 2020-03-20 17:57:28 -05:00
en_x_pirate.po runtime: Improve error message when setting read-only property 2020-03-20 17:57:28 -05:00
es.po runtime: Improve error message when setting read-only property 2020-03-20 17:57:28 -05:00
fil.po runtime: Improve error message when setting read-only property 2020-03-20 17:57:28 -05:00
fr.po runtime: Improve error message when setting read-only property 2020-03-20 17:57:28 -05:00
it_IT.po runtime: Improve error message when setting read-only property 2020-03-20 17:57:28 -05:00
ko.po runtime: Improve error message when setting read-only property 2020-03-20 17:57:28 -05:00
pl.po runtime: Improve error message when setting read-only property 2020-03-20 17:57:28 -05:00
pt_BR.po runtime: Improve error message when setting read-only property 2020-03-20 17:57:28 -05:00
zh_Latn_pinyin.po runtime: Improve error message when setting read-only property 2020-03-20 17:57:28 -05:00