Fix for Python 2.6 for missing functionality in the fractions stdlib module.

Conflicts:
	astropy/units/core.py