Message306699
> I don't understand why things would be different when nesting?
Specifically because venv keeps "a pointer" to the Python environment it was created from. Usually that's a system Python. If a venv ("inner") is created from a virtualenv's interpreter, the pointer points back to that environment ("outer", in this case).
Also, virtualenv can re-invoke itself with a different interpreter easily - that's business as usual. However, the venv module is part of a specific Python stdlib and doesn't reinvoke itself with a different interpreter.
To find the exact mechanisms which lead to these behaviours, you would need to examine the code of virtualenv and the venv module and perhaps do some stepping through in a debugger! |
|
Date |
User |
Action |
Args |
2017-11-22 07:22:44 | vinay.sajip | set | recipients:
+ vinay.sajip, Antony.Lee |
2017-11-22 07:22:44 | vinay.sajip | set | messageid: <1511335364.88.0.213398074469.issue30811@psf.upfronthosting.co.za> |
2017-11-22 07:22:44 | vinay.sajip | link | issue30811 messages |
2017-11-22 07:22:44 | vinay.sajip | create | |
|