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: |
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
comment:2 Changed 8 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:3 Changed 8 years ago by
- Reviewers set to Frédéric Chapoton
- Status changed from new to needs_review
comment:4 Changed 8 years ago by
- 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
- Resolution set to fixed
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
Yes, this is very annoying indeed. Probably the new IPython ?