weakref.ref does not support keyword args in python 2.7.12+ With thanks to Jan UrbaĆski in #585 for the heads up.