#10004: The gap instances in a parallelised function do not always have distinct
_local_tmpfile
--------------------------+-------------------------------------------------
Reporter: SimonKing | Owner: was
Type: defect | Status: needs_review
Priority: blocker | Milestone: sage-4.6
Component: interfaces | Keywords: _local_tmpfile, parallel
Author: Simon King | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------+-------------------------------------------------
Comment(by mpatel):
Replying to [comment:3 SimonKing]:
> 1. The attribute !__local_tmpfile can be accessed from within the
method, but not from outside.
I think this is because of Python's
[http://docs.python.org/tutorial/classes.html#private-variables name-
mangling]:
{{{
#!python
sage: gap._local_tmpfile()
'/scratch/mpatel/.sage/temp/sage.math.washington.edu/28400//interface//tmp28400'
sage: gap._Expect__local_tmpfile
'/scratch/mpatel/.sage/temp/sage.math.washington.edu/28400//interface//tmp28400'
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10004#comment:6>
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.