#11461: make @parallel work with class/instance methods
--------------------------------------------------+-------------------------
Reporter: niles | Owner: tbd
Type: defect | Status:
positive_review
Priority: major | Milestone: sage-5.0
Component: performance | Keywords: parallel
decorator sd31
Work_issues: | Upstream: N/A
Reviewer: Karl-Dieter Crisman, Niles Johnson | Author: Mike
Hansen
Merged: | Dependencies: #11462
--------------------------------------------------+-------------------------
Old description:
> The `@parallel` decorator currently cannot be used with methods that
> implicitly prepend their arguments with a class instance, because
> `@parallel` requires that the first argument be a list (or iterable) of
> arguments to pass to the function.
>
> More details can be found at this
> [http://ask.sagemath.org/question/585/can-i-use-parallel-for-
> classinstance-methods asksage question].
>
> ----
> Apply:
>
> * Patch at #11462
>
> * [attachment:trac_11461_rebase_3.patch].
New description:
The `@parallel` decorator currently cannot be used with methods that
implicitly prepend their arguments with a class instance, because
`@parallel` requires that the first argument be a list (or iterable) of
arguments to pass to the function.
More details can be found at this
[http://ask.sagemath.org/question/585/can-i-use-parallel-for-
classinstance-methods asksage question].
----
Apply:
* Patch at #11462
* [attachment:trac_11461_rebase_3.patch].
--
Comment(by niles):
Patchbot: apply #11462 and trac_11461_rebase_3.patch
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11461#comment:16>
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.