astropy/astropy — pull request #2461 by bluescarni (2014-05-09 09:41:10+00:00)
Title: Tentative fix for #2262.

``__new__()`` and ``__setitem__()`` in ``Latitude`` (resp. ``Longitude``) now check that
the input argument is not a ``Longitude`` (resp. ``Latitude``), in which case
a ``TypeError`` is raised.