On Sun, Jun 13, 2010 at 6:08 PM, Minh Nguyen <nguye...@gmail.com> wrote:
> Hi folks,
>
> Ticket #3565 [1] aims to bring the doctest coverage of the module
> server/notebook/worksheet.py up to 100%. As I understand it, this
> module is no longer maintained nor being worked on because Sage
> notebook development is now done in the SageNB repository. For any
> Sage notebook experts out there: Can we remove the module
>
> server/notebook/worksheet.py
>
> from the Sage library?
>
> [1] http://trac.sagemath.org/sage_trac/ticket/3565
>
> --
> Regards
> Minh Van Nguyen
>
--
Tim Joseph Dumol <tim (at) timdumol (dot) com>
http://timdumol.com
big +1
> On Sun, Jun 13, 2010 at 6:08 PM, Minh Nguyen <nguye...@gmail.com> wrote:
>> Hi folks,
>>
>> Ticket #3565 [1] aims to bring the doctest coverage of the module
>> server/notebook/worksheet.py up to 100%. As I understand it, this
>> module is no longer maintained nor being worked on because Sage
>> notebook development is now done in the SageNB repository. For any
>> Sage notebook experts out there: Can we remove the module
>>
>> server/notebook/worksheet.py
>>
>> from the Sage library?
>>
>> [1] http://trac.sagemath.org/sage_trac/ticket/3565
>>
>> --
>> Regards
>> Minh Van Nguyen
>>
>
>
>
> --
> Tim Joseph Dumol <tim (at) timdumol (dot) com>
> http://timdumol.com
>
--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org
Unfortunately, the new classes are not compatible with the old ones.
Or at a minimum, we definitely don't want to require that they be
required to be compatible. I put a lot of work into the new storage
format (which makes no reference to python code) in order to obtain
this freedom.
> Also, Sage has a function explain_pickle that's sometimes useful when
> trying to understand old pickles; it "decompiles" a pickle into
> executable Python code, so you can see exactly what is in a pickle
> even if you don't have the original classes around.
Regarding the notebook, I noticed to my surprise that misc/cython.pyx
has these lines in it (which should be fixed, of course):
------------
import sage.server.support
d = {}
sage.server.support.cython_import_all(tmpfile, d,
verbose=verbose,
compile_message=compile_message,
use_cache=use_cache,
create_local_c_file=False)
------------
I've made fixing the above: http://trac.sagemath.org/sage_trac/ticket/9552
Also, regarding the notebook, I think the best plan is to deprecate
the old notebook server format at some point. I.e., to print a
message such as: "you have a very old sage notebook install. To fix
this, you *must* install sage version between 4.1 and 5.0 and run the
notebook() command." Since the notebook server format was changed in
around October 2009, we definitely shouldn't deprecate loading old
notebook servers until at least that date. I could see deprecating in
2011 (i.e., after about 18 months from the format change).
Note that old *worksheets* will still work, and should continue to do
so indefinitely. They are easy to support. What is hard is a whole
server install.