For backwards compatibility sys._mercurial must probably stay. Maybe it
could be None, so we could write

if sys._mercurial:
   ...
elif sys._git:
   ...
else:
   # unknown VCS ...

On Wed, Jan 20, 2016 at 12:39 PM, francismb <franci...@email.de> wrote:

> Hi Brett,
> >
> > Change sys._mercurial
> > '''''''''''''''''''''
> > Once Python is no longer kept in Mercurial, the ``sys._mercurial``
> > attribute will need to be removed. An equivalent ``sys._git``
> > attribute will be needed to take its place.
> >
>
> Would it make sense to change it to something more general like:
>
> sys._version_control_system or
> sys._vcs  with maybe a new field for the type of vcs: 'mercurial',
> 'git' or 'the next one' :-)
>
>
> Regards,
> francis
> _______________________________________________
> core-workflow mailing list
> core-workflow@python.org
> https://mail.python.org/mailman/listinfo/core-workflow
> This list is governed by the PSF Code of Conduct:
> https://www.python.org/psf/codeofconduct
>



-- 
--Guido van Rossum (python.org/~guido)
_______________________________________________
core-workflow mailing list
core-workflow@python.org
https://mail.python.org/mailman/listinfo/core-workflow
This list is governed by the PSF Code of Conduct: 
https://www.python.org/psf/codeofconduct

Reply via email to