[core-workflow] Updated draft of PEP 512

Guido van Rossum guido at python.org
Wed Jan 20 17:34:10 EST 2016


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 <francismb at 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 at 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/core-workflow/attachments/20160120/82ebd397/attachment.html>


More information about the core-workflow mailing list