uqfoundation/dill — pull request #37 by matsjoyce (2014-05-11 14:33:06+00:00)
Title: Fixes small python3 compatibility issue in dill.source

Found what may be a small typo in source.py. Fixes
```pytb
Traceback (most recent call last):
File "", line 1, in
File "./dill/source.py", line 857, in importable
src = _closuredimport(obj, alias=alias, builtin=builtin)
File "./dill/source.py", line 762, in _closuredimport
src = getsource(fobj)
File "./dill/source.py", line 278, in getsource
lines, lnum = getsourcelines(object, enclosing=enclosing)
File "./dill/source.py", line 249, in getsourcelines
code, n = getblocks(object, lstrip=lstrip, enclosing=enclosing, locate=True)
File "./dill/source.py", line 175, in getblocks
lines, lnum = findsource(object)
File "./dill/source.py", line 127, in findsource
for _lnum in xrange(lnum-1,-1,-1):
NameError: global name 'xrange' is not defined
```
when using dill.source.importable with python3
It could also be fixed by
```py3
if PY3:
xrange = range
```
but that's probably more complicated.