Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copying doctests into ipython console no longer seems to work #16177

Closed
darijgr opened this issue Apr 17, 2014 · 3 comments
Closed

Copying doctests into ipython console no longer seems to work #16177

darijgr opened this issue Apr 17, 2014 · 3 comments

Comments

@darijgr
Copy link
Contributor

darijgr commented Apr 17, 2014

sage:             sage: from sage.algebras.clifford_algebra import ExteriorAlgebraDifferential
  File "<ipython-input-4-6c4dbe5dff5e>", line 1
    sage: from sage.algebras.clifford_algebra import ExteriorAlgebraDifferential
        ^
SyntaxError: invalid syntax

sage:             sage: E.<x,y,z> = ExteriorAlgebra(QQ)
  File "<ipython-input-5-7a32afb1555a>", line 1
    sage: E.<x,y,z> = ExteriorAlgebra(QQ)
        ^
SyntaxError: invalid syntax

It would work without the space before "sage:", but that's how these things come in the doctests. I know it is not a required feature, but it's annoying not to have it! Is there an alternative for debugging doctests?

Component: interact

Keywords: console, ipython, syntax, parsing

Reviewer: Frédéric Chapoton

Issue created by migration from https://trac.sagemath.org/ticket/16177

@darijgr darijgr added this to the sage-6.2 milestone Apr 17, 2014
@fchapoton
Copy link
Contributor

comment:1

Yes, this is very annoying indeed. Probably the new IPython ?

@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@fchapoton
Copy link
Contributor

Reviewer: Frédéric Chapoton

@fchapoton
Copy link
Contributor

comment:3

This has been solved by #16196 and #16297

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

No branches or pull requests

4 participants