On 24 January 2016 at 10:29, Brett Cannon <br...@python.org> wrote:
> Some discussion happened on core-workflow@, otherwise you can look through
> the python-dev archives for when we added sys._mercurial.

We actually forgot one relevant point in those discussions: there's
already a generic API for accessing this information in the platform
module.

At the sys module level, though, the key point is that the precise
semantic interpretation is VCS dependent, so changing the variable
name conveys immediately to users both that the semantics have
changed, and which VCS is now being used to define them.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to