Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Dev
Re: PEP 405 (pyvenv) and system Python upgrades
 

Index | Next | Previous | View Flat


carl at oddbird

May 6, 2012, 3:07 PM


Views: 311
Permalink
Re: PEP 405 (pyvenv) and system Python upgrades [In reply to]

On 05/05/2012 04:40 AM, Antoine Pitrou wrote:
> On Fri, 04 May 2012 14:49:03 -0600
> Carl Meyer<carl [at] oddbird> wrote:
>> 3) Symlink the interpreter rather than copying. I include this here for
>> the sake of completeness, but it's already been rejected due to
>> significant problems on older Windows' and OS X.
>
> Perhaps symlinking could be used at least on symlinks-friendly OSes?
> I expect older Windows to disappear one day :-) So the only left
> outlier would be OS X.

It certainly could - at one point the reference implementation did
exactly this. I understand though that even on newer Windows' there are
administrator-privilege issues with symlinks, and I don't know that
there's any prospect of the OS X stub executable going away, so I think
if we did this we should assume that we're accepting a more-or-less
permanent cross-platform difference in the default behavior of venvs.
Maybe that's ok; it would mean that for Linux users there'd be no need
to run any venv-upgrade script at all when Python is updated, which is
certainly a plus.

At one point it was argued that we shouldn't symlink by default because
users expect venvs to be isolated and not upgraded implicitly. I think
this discussion reveals that that's a false argument, since the stdlib
will be upgraded implicitly regardless, and that's just as likely to
break something as an interpreter update (and more likely than upgrading
them in sync). IOW, if you want real full isolation from a system
Python, you build your own Python, you don't use pyvenv.

Carl

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com

Subject User Time
PEP 405 (pyvenv) and system Python upgrades carl at oddbird May 4, 2012, 1:49 PM
    Re: PEP 405 (pyvenv) and system Python upgrades tjreedy at udel May 4, 2012, 8:48 PM
        Re: PEP 405 (pyvenv) and system Python upgrades v+python at g May 4, 2012, 8:58 PM
            Re: PEP 405 (pyvenv) and system Python upgrades tjreedy at udel May 4, 2012, 9:39 PM
                Re: PEP 405 (pyvenv) and system Python upgrades v+python at g May 4, 2012, 10:58 PM
    Re: PEP 405 (pyvenv) and system Python upgrades ncoghlan at gmail May 4, 2012, 11:41 PM
    Re: PEP 405 (pyvenv) and system Python upgrades vinay_sajip at yahoo May 5, 2012, 1:38 AM
        Re: PEP 405 (pyvenv) and system Python upgrades carl at oddbird May 6, 2012, 2:56 PM
            Re: PEP 405 (pyvenv) and system Python upgrades vinay_sajip at yahoo May 8, 2012, 3:50 AM
    Re: PEP 405 (pyvenv) and system Python upgrades rosuav at gmail May 5, 2012, 1:52 AM
    Re: PEP 405 (pyvenv) and system Python upgrades solipsis at pitrou May 5, 2012, 3:40 AM
        Re: PEP 405 (pyvenv) and system Python upgrades carl at oddbird May 6, 2012, 3:07 PM
            Re: PEP 405 (pyvenv) and system Python upgrades vinay_sajip at yahoo May 6, 2012, 5:58 PM
    Re: PEP 405 (pyvenv) and system Python upgrades carl at oddbird May 6, 2012, 3:08 PM
    Re: PEP 405 (pyvenv) and system Python upgrades martin at v May 7, 2012, 2:52 AM
        Re: PEP 405 (pyvenv) and system Python upgrades ronaldoussoren at mac May 7, 2012, 3:26 AM
            Re: PEP 405 (pyvenv) and system Python upgrades carl at oddbird May 7, 2012, 8:25 AM
            Re: PEP 405 (pyvenv) and system Python upgrades martin at v May 7, 2012, 1:51 PM
            Re: PEP 405 (pyvenv) and system Python upgrades vinay_sajip at yahoo May 7, 2012, 2:25 PM
        Re: PEP 405 (pyvenv) and system Python upgrades carl at oddbird May 7, 2012, 9:35 AM
            Re: PEP 405 (pyvenv) and system Python upgrades martin at v May 7, 2012, 1:55 PM
                Re: PEP 405 (pyvenv) and system Python upgrades p.f.moore at gmail May 7, 2012, 3:16 PM
    Re: PEP 405 (pyvenv) and system Python upgrades carl at oddbird May 8, 2012, 9:14 AM
        Re: PEP 405 (pyvenv) and system Python upgrades p.f.moore at gmail May 8, 2012, 10:34 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.