isislovecruft/python-gnupg — pull request #10 by mmn (2013-07-24 22:21:32+00:00)
Title: xrange is called 'range' in python3, change is python2 compatible

Since _fields is statically set just before this to a small, finite list there is no problem using the 'range' (returns a list) in python 2, while in python 3 it will return an iterator object (i.e. what xrange does in python 2).