Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-02-19 Thread anatoly techtonik
I've got a feeling that policy is evil and can not be applied cleanly when change falls out of scope of Python core .c sources and .py files from standard library. Right now the proposal is to add Python to %PATH% to make Python more user friendly for newbies. I can't see what can become worse tha

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-02-07 Thread Ethan Furman
Chris Withers wrote: On 06/02/2011 15:25, Brian Curtin wrote: So put the new path before the old path, or replace it? The current patch appends to the end. I believe the last path wins in Windows land, so that would be fine. Actually, first one wins, as Windows starts at the beginning and st

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-02-06 Thread Martin v. Löwis
> I'd like to see this in 3.2 release, of course. As Brian already asserted: that's not feasible. I still haven't managed to test your installer, and may not be able to for the next few weeks. It's also against the policy for release candidates to add such a change at this point. I believe the cha

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-02-06 Thread Paul Moore
On 6 February 2011 17:07, Stephen J. Turnbull wrote: > Paul Moore writes: > >  > "Before any existing Python directories, otherwise at the end" is the >  > closest to what I suspect most users want (certainly it matches my >  > preferences, and anything else would have me manually editing PATH >  

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-02-06 Thread Stephen J. Turnbull
Paul Moore writes: > "Before any existing Python directories, otherwise at the end" is the > closest to what I suspect most users want (certainly it matches my > preferences, and anything else would have me manually editing PATH > anyway, so is of no use to me in practice). Unfortunately, wha

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-02-06 Thread Paul Moore
On 6 February 2011 15:35, Nick Coghlan wrote: > On Mon, Feb 7, 2011 at 1:27 AM, Chris Withers wrote: >> On 06/02/2011 15:25, Brian Curtin wrote: >>> >>> So put the new path before the old path, or replace it? The current >>> patch appends to the end. >> >> I believe the last path wins in Windows

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-02-06 Thread Nick Coghlan
On Mon, Feb 7, 2011 at 1:27 AM, Chris Withers wrote: > On 06/02/2011 15:25, Brian Curtin wrote: >> >> So put the new path before the old path, or replace it? The current >> patch appends to the end. > > I believe the last path wins in Windows land, so that would be fine. Not that I've ever experi

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-02-06 Thread Chris Withers
On 06/02/2011 15:25, Brian Curtin wrote: So put the new path before the old path, or replace it? The current patch appends to the end. I believe the last path wins in Windows land, so that would be fine. Chris -- Simplistix - Content Management, Batch Processing & Python Consulting

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-02-06 Thread Brian Curtin
On Sun, Feb 6, 2011 at 09:22, Chris Withers wrote: > On 06/02/2011 15:20, Brian Curtin wrote: > >> There are still outstanding considerations in the various issues on the >> tracker, so it would be best to address them before requesting >> integration. Example: What should happen when there is an

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-02-06 Thread Chris Withers
On 06/02/2011 15:20, Brian Curtin wrote: There are still outstanding considerations in the various issues on the tracker, so it would be best to address them before requesting integration. Example: What should happen when there is another Python installation on the path? Same as happens with mo

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-02-06 Thread Brian Curtin
On Sun, Feb 6, 2011 at 04:14, anatoly techtonik wrote: > On Fri, Feb 4, 2011 at 7:43 PM, Chris Withers > wrote: > >> > >> I've helped quite a few "python newbies" on Windows who are also > >> surprised / frustrated on learning that "python" on the command line > >> doesn't work after installing

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-02-06 Thread anatoly techtonik
On Fri, Feb 4, 2011 at 7:43 PM, Chris Withers wrote: >> >> I've helped quite a few "python newbies" on Windows who are also >> surprised / frustrated on learning that "python" on the command line >> doesn't work after installing python. > > Yes, I've always found it a surprising disappointment tha

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-02-04 Thread Chris Withers
On 28/01/2011 19:21, Michael Foord wrote: I've helped quite a few "python newbies" on Windows who are also surprised / frustrated on learning that "python" on the command line doesn't work after installing python. Yes, I've always found it a surprising disappointment that I have to manually mu

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-02-01 Thread anatoly techtonik
On Tue, Feb 1, 2011 at 2:10 AM, "Martin v. Löwis" wrote: > Am 31.01.2011 22:13, schrieb anatoly techtonik: >> Ok. Here is the patch. I used Orca to reverse installer tables of >> Mercurial MSI and inserted similar entry for Python. > > This doesn't do uninstallation correctly. I do not know where

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-02-01 Thread anatoly techtonik
On Mon, Jan 31, 2011 at 11:49 PM, Brian Curtin wrote: > On Mon, Jan 31, 2011 at 15:43, anatoly techtonik > wrote: >> >> On Mon, Jan 31, 2011 at 11:24 PM, Brian Curtin >> wrote: >> > On Mon, Jan 31, 2011 at 15:13, anatoly techtonik >> > wrote: >> >> >> >> Ok. Here is the patch. I used Orca to re

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-01-31 Thread Martin v. Löwis
Am 31.01.2011 22:13, schrieb anatoly techtonik: > Ok. Here is the patch. I used Orca to reverse installer tables of > Mercurial MSI and inserted similar entry for Python. This doesn't do uninstallation correctly. Regards, Martin ___ Python-Dev mailing l

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-01-31 Thread Ethan Furman
Brian Curtin wrote: On Mon, Jan 31, 2011 at 15:43, anatoly techtonik > wrote: That's the easy part. It doesn't cover any of the real issues with doing this. Please be more specific. It will also help if you integrate this part while it's still hot. -- anatoly t. Th

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-01-31 Thread Brian Curtin
On Mon, Jan 31, 2011 at 15:43, anatoly techtonik wrote: > On Mon, Jan 31, 2011 at 11:24 PM, Brian Curtin > wrote: > > On Mon, Jan 31, 2011 at 15:13, anatoly techtonik > > wrote: > >> > >> Ok. Here is the patch. I used Orca to reverse installer tables of > >> Mercurial MSI and inserted similar en

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-01-31 Thread anatoly techtonik
On Mon, Jan 31, 2011 at 11:24 PM, Brian Curtin wrote: > On Mon, Jan 31, 2011 at 15:13, anatoly techtonik > wrote: >> >> Ok. Here is the patch. I used Orca to reverse installer tables of >> Mercurial MSI and inserted similar entry for Python. >> >> Also available for review at: http://codereview.a

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-01-31 Thread Brian Curtin
On Mon, Jan 31, 2011 at 15:13, anatoly techtonik wrote: > Ok. Here is the patch. I used Orca to reverse installer tables of > Mercurial MSI and inserted similar entry for Python. > > Also available for review at: http://codereview.appspot.com/4023055 > -- > anatoly t. That's the easy part. It do

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-01-31 Thread anatoly techtonik
Ok. Here is the patch. I used Orca to reverse installer tables of Mercurial MSI and inserted similar entry for Python. Also available for review at: http://codereview.appspot.com/4023055 -- anatoly t. Index: Tools/msi/msi.py === ---

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-01-31 Thread anatoly techtonik
On Fri, Jan 28, 2011 at 10:34 PM, Christian Heimes wrote: > Am 28.01.2011 20:29, schrieb Raymond Hettinger: >> At the very least, we should add some prominent instructions for getting the >> command line version up and running. > > /me pops out of Guido's time machine and says: "execute > Tools/s

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-01-28 Thread Brian Curtin
On Fri, Jan 28, 2011 at 14:34, Christian Heimes wrote: > Am 28.01.2011 20:29, schrieb Raymond Hettinger: > > At the very least, we should add some prominent instructions for getting > the command line version up and running. > > /me pops out of Guido's time machine and says: "execute > Tools/scri

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-01-28 Thread Christian Heimes
Am 28.01.2011 20:29, schrieb Raymond Hettinger: > At the very least, we should add some prominent instructions for getting the > command line version up and running. /me pops out of Guido's time machine and says: "execute Tools/scripts/win_add2path.py" I'm -1 on adding Python to %PATH%. The priv

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-01-28 Thread Raymond Hettinger
On Jan 28, 2011, at 11:21 AM, Michael Foord wrote: > On 28/01/2011 16:29, Brian Curtin wrote: >> >> Recently I've talked to two Python trainers/educators and the major gripe >> their attendees see is that you can't just sit down and type "python" and >> have something work. For multi-Python in

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-01-28 Thread Michael Foord
On 28/01/2011 16:29, Brian Curtin wrote: On Fri, Jan 28, 2011 at 10:12, anatoly techtonik > wrote: Hi, I'd like to You probably know that after installation on Windows system it is possible to call Python from Explorer's Run dialog (Win-R). It is beca

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-01-28 Thread Éric Araujo
Hello See http://bugs.python.org/issue3561 (rejected by Martin). Regards ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-01-28 Thread Tim Golden
On 28/01/2011 16:29, Brian Curtin wrote: On Fri, Jan 28, 2011 at 10:12, anatoly techtonikwrote: I've seen about 7 requests to add Python into %PATH% in installer. All closed with no result, but with some fear and uncertainty. Martin feared that MSI installers are not able to remove entry from PA

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-01-28 Thread Brian Curtin
On Fri, Jan 28, 2011 at 10:12, anatoly techtonik wrote: > Hi, I'd like to > > You probably know that after installation on Windows system it is > possible to call Python from Explorer's Run dialog (Win-R). It is > because Python path is added to App Paths registry key and Windows > Explorer shell

[Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-01-28 Thread anatoly techtonik
Hi, I'd like to You probably know that after installation on Windows system it is possible to call Python from Explorer's Run dialog (Win-R). It is because Python path is added to App Paths registry key and Windows Explorer shell checks this key when looking for executable. But Python doesn't wor