A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2016-January/142896.html below:

[Python-Dev] do people use sys._mercurial?

[Python-Dev] do people use sys._mercurial? [Python-Dev] do people use sys._mercurial?Nick Coghlan ncoghlan at gmail.com
Sun Jan 24 07:13:32 EST 2016
On 24 January 2016 at 10:29, Brett Cannon <brett at 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   |   ncoghlan at gmail.com   |   Brisbane, Australia
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4