Get rid of PYTHONPATH mangling
Bug #829865 reported by
Tristan Seligmann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Divmod Axiom |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
A few pieces of code that launch a child process try to build a PYTHONPATH environment variable by stitching sys.path together; this produces incorrect results, depending on what happens to be on sys.path. It is also unnecessary: if the current value of PYTHONPATH resulted in the current value of sys.path, then it should have exactly the same effect in the child process without any modification.
Related branches
lp:~divmod-dev/divmod.org/829865-PYTHONPATH-handling
- Jonathan Jacobs: Approve
-
Diff: 28 lines (+1/-4)2 files modifiedAxiom/axiom/batch.py (+0/-1)
Axiom/axiom/test/test_item.py (+1/-3)
Changed in divmod-axiom: | |
status: | New → Fix Committed |
Changed in divmod-axiom: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.