This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steve.dower
Recipients eric.araujo, ncoghlan, paul.moore, richard, steve.dower, takluyver, tim.golden, zach.ware
Date 2015-04-27.06:07:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430114880.2.0.681047250384.issue23955@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2015-04-27 06:08:00steve.dowersetrecipients: + steve.dower, richard, paul.moore, ncoghlan, tim.golden, eric.araujo, takluyver, zach.ware
2015-04-27 06:08:00steve.dowersetmessageid: <1430114880.2.0.681047250384.issue23955@psf.upfronthosting.co.za>
2015-04-27 06:08:00steve.dowerlinkissue23955 messages
2015-04-27 06:07:59steve.dowercreate