alecthomas/injector — pull request #15 by jstasiak (2013-02-10 00:47:15+00:00)
Title: Fix AssistedBuilder injection memory leak

Long story short - following example code will leak memory when used together with current version of Injector because each ``AssistedBuilder(...)``-generated object will cause creation of "new" ``BindingKey`` on injection. Patch attached.

```python

class A(object): pass

injector = Injector()

while True:
injector.get(AssistedBuilder(A))
```