[IPython-dev] RFC: IPython.ipapi for "public" ipython API.
Fernando.Perez at colorado.edu
Wed Jan 18 01:38:29 EST 2006
Ville Vainio wrote:
> On 1/13/06, Fernando Perez <Fernando.Perez at colorado.edu> wrote:
>>There are a few things to note though:
>>- I don't think this can be done as a module: what ipython would those
>>functions talk to? Remember, in an embedded ipython situation, there can be
> The answer is "it doesn't matter for now". Therefore I suggested
> import IPython.ipapi as ip
Good enough for now: I see you're hacking into the __IP global, which is fine
for the stable branch. That's something that WILL change, and the module
approach may need to go, but we'll cross that bridge when we get to it. For
now, this offers already a cleaner interface, which is a net win for the users
of the stable branch.
More information about the IPython-dev