#8253: search_src (etc.) bug
-----------------------------+----------------------------------------------
Reporter: jhpalmieri | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.3
Component: misc | Keywords:
Author: John Palmieri | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
In Sage 4.3.2:
{{{
search_src('is', 'prime', 'field', ignore_case=True)
Traceback (most recent call last):
...
TypeError: search() takes at most 3 arguments (4 given)
}}}
This is because of a bug in sage.misc.sagedoc: when calling re.search,
flags like re.MULTILINE and re.IGNORECASE should be combined using bit-
wise or, not by passing them as separate entries in a list. The attached
patch fixes this.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8253>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.