astropy/astropy — pull request #2517 by mwcraig (2014-05-19 19:23:05+00:00)
Title: Issue warning if unit property is changed directly...

...and the current value is non-trivial.

The warning can be turned off with a configuration item.