[issue23135] import searchpaths as arguments

2014-12-31 Thread c2621566
c2621566 added the comment: Thanks for the feedback. The technical arguments convinced me not to spend more time on this. I admit this patch is kind of an ugly hack. The effort needed for a technically satisfactory solution seems too much for this unimportant feature. -- resolution: -

[issue23135] import searchpaths as arguments

2014-12-31 Thread Nick Coghlan
Nick Coghlan added the comment: Issue 13475 provides some additional context for discussion of changes to the sys.path initialisation process. The status quo is that I'm currently wary of adding more complexity to an already fragile initialisation sequence for things that can be implemented by

[issue23135] import searchpaths as arguments

2014-12-31 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue23135] import searchpaths as arguments

2014-12-31 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue23135] import searchpaths as arguments

2014-12-30 Thread R. David Murray
R. David Murray added the comment: Thank you for the suggestion and patch, but we have a general policy of not adding unnecessary command line options, so I don't know that it will be accepted. -- nosy: +r.david.murray ___ Python tracker

[issue23135] import searchpaths as arguments

2014-12-30 Thread c2621566
New submission from c2621566: This patch allows specifying import searchpaths as `-p path` arguments to the interpreter, without touching environment variables. Avoiding environment variables simplifies a script of mine and is a portable way of swapping module implementation without touching t