cf. https://github.com/pydata/patsy/pull/92
cf. pydata/patsy#92