pymc-devs/pymc — pull request #86 by twiecki (2012-01-23 16:33:45+00:00)
Title: FIX: Transform pymc distributions to value before calling scipy.distribution.rv_continuous functions.

Function calls made through scipy.distribution.rv_continuous wrappers sanitize the input arguments by transformation before calling the user-defined function. This causes PyMC lambda functions to be generated each time the function is called leading to excessive memory consumption (which doesn't get collected) when called repeatedly.

Not sure if this also has to be done for self.kwds.