astropy/astropy — pull request #548 by adrn (2012-12-09 20:47:57+00:00)
Title: Add constant-like solar unit definitions

In the `units` subpackage, solar mass is defined as `solMass`, radius as `solRad`, and luminosity as `solLum`. I just added other definitions to be consistent with `constants` : `M_sun`, `L_sun`, and `R_sun`. I also snuck in a verbose spelling of `lightyear`.