I am trying to pickle a namedtuple:
namedtuple
from collections import namedtuple import cPickle class Foo: Bar = namedtuple(\'Bar\', [\'x\', \'y\'])
Using dill in place of pickle here will allow this to work