warning message in IPython.extensions test #1062

Closed
jstenar opened this Issue Nov 28, 2011 · 11 comments

Comments

Projects
None yet
3 participants
Member

jstenar commented Nov 28, 2011

I get a warning message printed during the IPython.extensions test.

C:\python\external> python .\ipython\IPython\scripts\iptest IPython.extensions
....ERROR: Magic function `store` not found....
----------------------------------------------------------------------
Ran 7 tests in 6.557s

OK

On python2.6, windows 7, ipython master 65ac74e

Owner

takluyver commented Nov 28, 2011

I see this as well. I think it's a dodgy doctest.

Owner

fperez commented Nov 29, 2011

I've actually been thinking, shouldn't we perhaps just turn %store back on up by default? It's a very useful extension that many people have asked for... Just a thought.

Owner

takluyver commented Nov 29, 2011

Yes, it had occurred to me. Do we have a mechanism for having extensions always enabled? Is it sufficient just to add it to the default extensions list?

I realise it doesn't have to be in an extension, but I quite like the extension system as a way to keep related functionality together. In particular, we can add functionality without explicitly telling the core how to initialise it.

We'd also need to make the autorestore behaviour configurable, and probably off by default.

Owner

fperez commented Nov 29, 2011

If you can whip out a PR on this, I'd be happy to review it.. I'm going to put out a beta and will have to bow out of ipython for a couple of days (I've fallen badly behind on work stuff), but this would be easy to review between beta and release time. Even if we don't have configuration yet, at least we'd be back to 0.10-level functionality (the loss of %store was strictly speaking a regression).

Owner

takluyver commented Dec 1, 2011

See PR #1073.

Member

jstenar commented Dec 1, 2011

The warning is gone for me now.

Owner

takluyver commented Dec 1, 2011

@jstenar: With my storemagic-plugin branch, or in master?

Member

jstenar commented Dec 2, 2011

On 2011-12-01 23:47, Thomas wrote:

@jstenar: With my storemagic-plugin branch, or in master?


Reply to this email directly or view it on GitHub:
#1062 (comment)
With the branch

/Jörgen

Owner

takluyver commented Dec 2, 2011

OK, great, thanks.

Member

jstenar commented May 31, 2012

I do not see this warning on a current master

@jstenar jstenar closed this May 31, 2012

Owner

fperez commented May 31, 2012

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment