Opened 11 years ago

Closed 11 years ago

Last modified 3 years ago

#3024 closed defect (fixed)

[with patch; positive review] notebook -- parses tracebacks in the output of docstrings of help command

Reported by: was Owned by: boothby
Priority: major Milestone: sage-3.0.2
Component: notebook Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by chapoton)

The Traceback thing gets all messed up by worksheet.py or cell.py below:

sage: help(VectorSpace)

Help on function VectorSpace in module sage.modules.free_module:

VectorSpace(K, dimension, sparse=False, inner_product_matrix=None)
    EXAMPLES:
    The base can be complicated, as long as it is a field. 
        sage: V = VectorSpace(FractionField(PolynomialRing(ZZ,'x')),3)
        sage: V
        Vector space of dimension 3 over Fraction Field of Univariate
Polynomial Ring in x over Integer Ring
        sage: V.basis()
        [
        (1, 0, 0),
        (0, 1, 0),
        (0, 0, 1)
        ]
    
    The base must be a field or a \code{TypeError} is raised.
        sage: VectorSpace(ZZ,5)
Traceback (click to the left for traceback)
...
        TypeError: K must be a field

Attachments (1)

sage-3024.patch (2.7 KB) - added by was 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by was

comment:1 Changed 11 years ago by was

  • Summary changed from notebook -- parses tracebacks in the output of docstrings of help command to [with patch; needs review] notebook -- parses tracebacks in the output of docstrings of help command

comment:2 Changed 11 years ago by boothby

  • Summary changed from [with patch; needs review] notebook -- parses tracebacks in the output of docstrings of help command to [with patch; positive review] notebook -- parses tracebacks in the output of docstrings of help command

works for me

comment:3 Changed 11 years ago by mabshoff

  • Resolution set to fixed
  • Status changed from new to closed

Merged in Sage 3.0.2.alpha1

comment:4 Changed 3 years ago by chapoton

  • Description modified (diff)
  • Report Upstream set to N/A
Note: See TracTickets for help on using tickets.