Am 2014-11-02 um 04:13 schrieb kcrisman:
> sage -n option=choice 
> 
> should in principle work with all options that work with
> 
> sage: notebook(option=choice)
> 
> and if they don't that is a bug.

It seems that quote signs are now required for strings and were disallowed 
before:

$ /local/sage/sage-6.3/sage -notebook directory=sage.sagenb
$ /local/sage/sage-6.4.rc0/sage -n sagenb "directory='sage.sagenb'"

both work, however, neither does

$ /local/sage/sage-6.3/sage -n "directory='sage.sagenb'"
Traceback (most recent call last):
...
  File "<string>", line 1
    notebook(directory=r''''sage.sagenb'''')
                                           ^
SyntaxError: EOL while scanning string literal

nor

$ /local/sage/sage-6.4.rc0/sage -n sagenb directory=sage.sagenb
Traceback (most recent call last):
...
ValueError: malformed string

So there are two incompatible changes:

* -n requires "sagenb" or "default" unless it is alone on the command line.
* string handling has been changed.

Regards, CH

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

Reply via email to