[issue8772] sysconfig: _get_default_scheme can be made public?
Sridhar Ratnakumar
report at bugs.python.org
Thu May 20 18:07:54 CEST 2010
Sridhar Ratnakumar <sridharr at activestate.com> added the comment:
On 2010-05-20, at 2:45 AM, Tarek Ziadé wrote:
> So I'd rather have two APIs answering to that:
>
> - get_current_scheme() : what's the default scheme for this python installation ?
> - get_current_user_scheme() : what's the default user scheme for his python installation
+1
> Next, if you want to browse the various available schemes for the platform, we could change "get_scheme_names()" and add a new parameter, saying that we want only the scheme for the current OS:
>
> get_scheme_names(current_platform=False)
+1 as well. Perhaps `get_scheme_names(all=True)`? This seems like it can be done for 2.7, if found to be worthy of implementation.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8772>
_______________________________________
More information about the Python-bugs-list
mailing list