I opened a ticket for the underlying issue:

==============================================================================
Trac #18512: Move notebook() into Sage

Right now the `notebook()` function is a lazy import from sagenb. Hence any
access (like looking at the docstring) imports sagenb which changes the
display backend which causes various problems (see
https://groups.google.com/d/msg/sage-devel/3uaY6xHLMqQ/Zyn67xJ0LaMJ). It 
also
doesn't fit into a world where there is more than one notebook. And its
current behavior of turning the current Sage session into a notebook server
can't work with the IPython notebook or SMC.

First, we should definitely move `notebook` into the Sage library to move it
away from sagenb.

The more general question is what to do with it then. Options are
* Just let it launch SageNB, any other notebook needs to be launched via 
`sage
--notebook=...` on the commandline
* Deprecate `notebook()` altogether
* Let `notebook()` always spawn an independent process, and add an argument 
to
select which one

Status: new                             Component: notebook
Last modified: 2015-05-26 07:04:55      Created: 2015-05-26 07:04:55 UTC
Report upstream: N/A
Authors:
Reviewers:
Branch:
Keywords:
Dependencies:
------------------------------------------------------------------------------
URL: http://trac.sagemath.org/18512
==============================================================================



On Wednesday, May 6, 2015 at 10:51:27 AM UTC+2, Jean-Pierre Flori wrote:
>
> Dear all,
>
> My Sage 6.6 install quits after printing a depreciation warning message 
> when I issue:
> sage: vars()
>
> Same is true for at least globals().
> Any clue on what's going on?
>
> Best,
> JP
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to