Sridhar Ratnakumar <sridh...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue8772>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to