#14292: Race conditions in doctester
-------------------------------------+--------------------------------------
Reporter: jdemeyer | Owner: roed
Type: defect | Status: needs_work
Priority: blocker | Milestone: sage-5.9
Component: doctest framework | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Jeroen Demeyer | Merged in:
Dependencies: | Stopgaps:
-------------------------------------+--------------------------------------
Comment (by jdemeyer):
Replying to [comment:8 vbraun]:
> But writing via a temporary file is an ugly workaround for file locking
Not always. Locking has different goals. Locks should be held as short as
possible, which cannot be guaranteed (for example when writing the GAP
workspace). My solution also solves the problem of exceptions/crashes
during the write and it doesn't need any changes to the reading of files.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14292#comment:9>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.