ipython/ipython — Issue #1136: The embedding machinery ignores user_ns
Author: g2p
Created: 2011-12-09 21:29:12+00:00
State: open

Quick demonstration:
```
from IPython import embed

user_ns = dict(cookie='monster')
embed(user_ns=user_ns, banner1='Please type: cookie')
```

Bisecting shows the last good revision was 5397fc8a3a0104b9bca4d9ac22702cf4283ba452, the following revisions don't have working embedding until 9a2ec9f78bf328cdd7f92e7ab1db7a2901b54aee, which has embedding but lost user_ns functionality.
I don't know how to write automated tests for embedding (can stdin be hijacked?).
Paging @takluyver.