Restore attribute access so that the following work again:

   dir(xrange(10))
   xrange(10).__getitem__(4)
1 file changed