#15178: the pexpect in sage has a major bug in it -- the which command is broken
(easy to fix)
--------------------------------------+------------------------
       Reporter:  was, certik         |        Owner:
           Type:  defect              |       Status:  new
       Priority:  critical            |    Milestone:  sage-6.2
      Component:  packages: standard  |   Resolution:
       Keywords:                      |    Merged in:
        Authors:                      |    Reviewers:
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:                      |     Stopgaps:
--------------------------------------+------------------------
Description changed by was:

Old description:

> It's pretty obvious that there is a problem.  This was reported in the
> thread:
>
>    https://groups.google.com/forum/#!topic/sage-cloud/8NgkWfTbU78
>
> There is an easy 1-line fix, which is to put
> {{{
>    f = filename
> }}}
> at the beginning of the "which" function.

New description:

 It's pretty obvious that there is a problem.  This was reported in the
 thread:

    https://groups.google.com/forum/#!topic/sage-cloud/8NgkWfTbU78

 There is an easy 1-line fix, which is to replace the line
 {{{
 if os.access (filename, os.X_OK) and not os.path.isdir(f):
 }}}
 with
 {{{
 if os.access (filename, os.X_OK) and not os.path.isdir(filename):
 }}}

 at the beginning of the "which" function.

--

--
Ticket URL: <http://trac.sagemath.org/ticket/15178#comment:2>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to