#9169: cygwin: a cachefunc.py doctest hangs seemingly forever
----------------------------+----------------------------------------------
Reporter: was | Owner: tbd
Type: defect | Status: closed
Priority: major | Milestone: sage-duplicate/invalid/wontfix
Component: porting: | Resolution: worksforme
Cygwin | Merged in:
Keywords: | Reviewers: Jean-Pierre Flori
Authors: | Work issues:
Report Upstream: N/A | Commit:
Branch: | Stopgaps:
Dependencies: |
----------------------------+----------------------------------------------
Description changed by chapoton:
Old description:
> On Cygwin, the following test hangs:
> {{{
>
> sage: @cached_function
> ... def oddprime_factors(n):
> ... l = [p for p,e in factor(n) if p != 2]
> ... return len(l)
> sage: oddprime_factors.precompute(range(1,100), 4)
> }}}
>
> The above is very fast on any other platform.
>
> This results in a doctest file failure:
> {{{
> sage -t "devel/sage/sage/misc/cachefunc.py"
> *** *** Error: TIMED OUT! PROCESS KILLED! *** ***
> *** *** Error: TIMED OUT! *** ***
> [361.6 s]
> }}}
New description:
On Cygwin, the following test hangs:
{{{
sage: @cached_function
... def oddprime_factors(n):
... l = [p for p,e in factor(n) if p != 2]
... return len(l)
sage: oddprime_factors.precompute(range(1,100), 4)
}}}
The above is very fast on any other platform.
This results in a doctest file failure:
{{{
sage -t "devel/sage/sage/misc/cachefunc.py"
*** *** Error: TIMED OUT! PROCESS KILLED! *** ***
*** *** Error: TIMED OUT! *** ***
[361.6 s]
}}}
--
--
Ticket URL: <http://trac.sagemath.org/ticket/9169#comment:11>
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.