This repository contains a small example that causes dill to raise an error TypeError: 'NoneType' object is not iterable. The issue is reported at uqfoundation/dill#628
Run with a Python environment with dill installed:
git clone https://github.com/kelvinburke/dill-issue.git
cd dill-issue
python run.py