#9386: sage-native-execute leaves traces of sage
-------------------------------------+-------------------------------------
Reporter: nbruin | Owner: tbd
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.4
Component: packages: | Resolution:
standard | Merged in:
Keywords: | Reviewers:
Authors: Thierry Monteil | Work issues:
Report Upstream: N/A | Commit:
Branch: | 920c897ec3c439d772f7dfef1a420fb9aec0baea
u/tmonteil/sage_native_execute_leaves_traces_of_sage| Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by tmonteil):
On the Python side, i did the following short enumeration:
{{{
$ grep -R 'environ.*='
interfaces/qsieve.py~: os.environ['TMPDIR'] = X
interfaces/qsieve.py: os.environ['TMPDIR'] = X
interfaces/gp.py:os.environ["GPRC"] = os.path.join(SAGE_ETC,
'gprc.expect')
repl/notebook_ipython.py: sage: os.environ['IPYTHONDIR'] = d
repl/notebook_ipython.py: sage: os.environ['IPYTHONDIR'] =
IPYTHONDIR
repl/notebook_ipython.py: sage: os.environ['IPYTHONDIR'] = d
repl/notebook_ipython.py: sage: os.environ['IPYTHONDIR'] =
IPYTHONDIR
repl/attach.py: sage: os.environ['SAGE_LOAD_ATTACH_PATH'] =
'/veni/vidi:vici:'
repl/interpreter.py: sage: os.environ['IPYTHONDIR'] = d
repl/interpreter.py: sage: os.environ['IPYTHONDIR'] =
IPYTHONDIR
env.py: sage: os.environ['SAGE_FOO'] = 'foo'
Fichier binaire env.pyc concordant
doctest/forker.py: sage: os.environ['SAGE_PEXPECT_LOG'] = "1"
doctest/forker.py: sage: os.environ['SAGE_PEXPECT_LOG'] = "1"
geometry/polytope.py: os.environ['PATH'] = '%s:'%path +
os.environ['PATH']
dev/patch.py: os.environ['TZ'] = 'UTC'
dev/patch.py: os.environ['TZ'] = old_TZ
misc/cython.py: sage: environ_parse('$SAGE_LOCAL') == SAGE_LOCAL
misc/cython.py: sage: os.environ['DEFINE_THIS'] = 'hello'
}}}
So, this should not require much work to update, but perhaps there are
other ways to modify an environment variable in Python ?
--
Ticket URL: <http://trac.sagemath.org/ticket/9386#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.