Opened 8 years ago

Closed 8 years ago

#16177 closed defect (fixed)

Copying doctests into ipython console no longer seems to work

Reported by: darij Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: interact Keywords: console, ipython, syntax, parsing
Cc: Merged in:
Authors: Reviewers: Frédéric Chapoton
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

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?

Change History (5)

comment:1 Changed 8 years ago by chapoton

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

comment:2 Changed 8 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:3 Changed 8 years ago by chapoton

  • Reviewers set to Frédéric Chapoton
  • Status changed from new to needs_review

This has been solved by #16196 and #16297

Last edited 8 years ago by chapoton (previous) (diff)

comment:4 Changed 8 years ago by tscrim

  • Milestone changed from sage-6.3 to sage-duplicate/invalid/wontfix
  • Status changed from needs_review to positive_review

comment:5 Changed 8 years ago by vbraun

  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.