Update generic.py

Issue 57 Correctly initialize NumberObject (to make it work under pypy)
Merge pull request #74 from rjungbeck/master

Update generic.py