Opened 14 years ago
Closed 13 years ago
#6620 closed enhancement (fixed)
[with patch, positive review] add a method to the Gap class to access elements of records
Reported by: | saliola | Owned by: | was |
---|---|---|---|
Priority: | major | Milestone: | sage-4.1.2 |
Component: | interfaces | Keywords: | |
Cc: | nborie, wdj | Merged in: | Sage 4.1.2.alpha0 |
Authors: | Franco Saliola | Reviewers: | David Joyner, Minh Van Nguyen |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
Accessing elements of GAP records should be easier.
sage: rec = gap('rec( a := 1, b := "2" )') sage: gap.get_record_element(rec, 'a') 1 sage: gap.get_record_element(rec, 'b') 2
Attachments (2)
Change History (6)
Changed 14 years ago by
Attachment: | trac_6620.patch added |
---|
comment:1 Changed 14 years ago by
Authors: | → Franco Saliola |
---|---|
Cc: | wdj added |
Summary: | add a method to the Gap class to access elements of records → [with patch; needs review] add a method to the Gap class to access elements of records |
comment:2 Changed 14 years ago by
Summary: | [with patch; needs review] add a method to the Gap class to access elements of records → [with patch; positive review] add a method to the Gap class to access elements of records |
---|
Changed 13 years ago by
Attachment: | trac_6620-reviewer.patch added |
---|
reviewer patch; fix typos in ReST format
comment:3 Changed 13 years ago by
Summary: | [with patch; positive review] add a method to the Gap class to access elements of records → [with patch, positive review] add a method to the Gap class to access elements of records |
---|
The patch trac_6620-reviewer.patch
fixes some typos in ReST formatting introduced by trac_6620.patch
. Such typos would result in warnings when (re)building the reference manual.
comment:4 Changed 13 years ago by
Merged in: | → Sage 4.1.2.alpha0 |
---|---|
Resolution: | → fixed |
Reviewers: | → David Joyner, Minh Van Nguyen |
Status: | new → closed |
Merged patches in this order:
trac_6620.patch
trac_6620-reviewer.patch
Note: See
TracTickets for help on using
tickets.
Applies fine to 4.1.1.a0, and passes sage -testall. I also played with it a bit and could not find any bugs and the docstrings seem fine.