Message242100
Having looked at the implementation, the easiest way to do this will be to add an "applocal = true" option to pyvenv.cfg, which would behave identically to setting %PYTHONHOME% to the directory containing the config before launch.
I wanted to support relative paths for "home = " but the path handling is so far from sufficient that it wouldn't be secure. As it is, I've fixed a lot of potential buffer overruns in getpathp.c already, but I don't want to implement true relative paths, so I'd prefer to require "home = " to be absolute and add a second property that effectively means "home = .".
Any thoughts/comments/preferences? |
|
Date |
User |
Action |
Args |
2015-04-27 06:08:00 | steve.dower | set | recipients:
+ steve.dower, richard, paul.moore, ncoghlan, tim.golden, eric.araujo, takluyver, zach.ware |
2015-04-27 06:08:00 | steve.dower | set | messageid: <1430114880.2.0.681047250384.issue23955@psf.upfronthosting.co.za> |
2015-04-27 06:08:00 | steve.dower | link | issue23955 messages |
2015-04-27 06:07:59 | steve.dower | create | |
|