Merge niemeyer's revision 8: Fixed number conversion problem.
see http://bazaar.launchpad.net/~niemeyer/lunatic-python/trunk/revision/8