Re: [Python-Dev] draft PEP: virtual environments

2011-11-01 Thread Martin v. Löwis
Not a zip file specifically - just a binary stream which organises scripts to be installed. If each class in a hierarchy has access to a binary stream, then subclasses have access to the streams for base classes as well as their own stream, and can install selectively from base class

Re: [Python-Dev] cpython (3.2): adjust braces a bit

2011-11-01 Thread anatoly techtonik
On Fri, Oct 21, 2011 at 8:17 PM, Benjamin Peterson benja...@python.org wrote: 2011/10/21 Tres Seaver tsea...@palladion.com: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/21/2011 12:31 PM, Benjamin Peterson wrote: 2011/10/21 Eric V. Smith e...@trueblade.com: What's the logic for adding

Re: [Python-Dev] draft PEP: virtual environments

2011-11-01 Thread Vinay Sajip
Martin v. Löwis martin at v.loewis.de writes: I'm not sure how many scripts you are talking about, and how long they are. Assuming there are free, and assuming they are short, I'd not make them separate source files again, but put them into string literals instead: scripts = {

[Python-Dev] PEP 397 and idle

2011-11-01 Thread David Bailey
python-dev I am being forced to support multiple versions of python on Windows platforms. I have been using PEP 397 and the execution of *.py files works great. Thank you!! My problem is idle. The various versions of idle have the same problem as the various versions of python. We were using an

Re: [Python-Dev] PEP 397 and idle

2011-11-01 Thread Amaury Forgeot d'Arc
Hi, 2011/11/1 David Bailey daveabai...@gmail.com python-dev I am being forced to support multiple versions of python on Windows platforms. I have been using PEP 397 and the execution of *.py files works great. Thank you!! My problem is idle. The various versions of idle have the same

Re: [Python-Dev] PEP 397 and idle

2011-11-01 Thread Antoine Pitrou
On Tue, 1 Nov 2011 14:25:28 +0100 Amaury Forgeot d'Arc amaur...@gmail.com wrote: Hi, 2011/11/1 David Bailey daveabai...@gmail.com python-dev I am being forced to support multiple versions of python on Windows platforms. I have been using PEP 397 and the execution of *.py files works

Re: [Python-Dev] draft PEP: virtual environments

2011-11-01 Thread Carl Meyer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/31/2011 09:57 PM, Stephen J. Turnbull wrote: That's fine, but either make sure it works with a POSIX-conformant /bin/sh, or make the shebang explicitly bash (bash is notoriously buggy in respect of being POSIX-compatible when named sh). It

Re: [Python-Dev] draft PEP: virtual environments

2011-11-01 Thread Paul Moore
On 31 October 2011 20:10, Carl Meyer c...@oddbird.net wrote: For Windows, can you point me at the nt scripts? If they aren't too complex, I'd be willing to port to Powershell. Thanks! They are here: https://bitbucket.org/vinay.sajip/pythonv/src/6d057cfaaf53/Lib/venv/scripts/nt The attached

Re: [Python-Dev] draft PEP: virtual environments

2011-11-01 Thread Paul Moore
On 1 November 2011 16:29, Paul Moore p.f.mo...@gmail.com wrote: On 31 October 2011 20:10, Carl Meyer c...@oddbird.net wrote: For Windows, can you point me at the nt scripts? If they aren't too complex, I'd be willing to port to Powershell. Thanks! They are here:

Re: [Python-Dev] draft PEP: virtual environments

2011-11-01 Thread Paul Moore
On 1 November 2011 16:40, Paul Moore p.f.mo...@gmail.com wrote: On 1 November 2011 16:29, Paul Moore p.f.mo...@gmail.com wrote: On 31 October 2011 20:10, Carl Meyer c...@oddbird.net wrote: For Windows, can you point me at the nt scripts? If they aren't too complex, I'd be willing to port to

Re: [Python-Dev] PEP 397 and idle

2011-11-01 Thread David Bailey
Amaury, Maybe this belongs on some blog. I don't know. I was responding to PEP 397, seems to me that idle was left out. I am not being critical of what you guys are doing. I love python. As a developer, I see a problem. You are correct, I have no technical issue. I do believe it is still a

Re: [Python-Dev] Code cleanups in stable branches?

2011-11-01 Thread Barry Warsaw
On Oct 31, 2011, at 06:23 PM, Éric Araujo wrote: I thought that patches that clean up code but don’t fix actual bugs were not done in stable branches. Has this changed? I hope not. Sure, if they fix actual bugs, that's fine, but as MvL often points out, even innocent looking changes can break

Re: [Python-Dev] PEP 397 and idle

2011-11-01 Thread Terry Reedy
On 11/1/2011 2:20 PM, David Bailey wrote: population of windows users of python, make idle easier to use or fix print in 3.X or both. print is fixed in 3.x. This is not the place to argue otherwise. If you want to rant againt print as function, go to python-list. If one looks up 'print' in

Re: [Python-Dev] PEP 397 and idle

2011-11-01 Thread Nick Coghlan
On Wed, Nov 2, 2011 at 7:28 AM, Terry Reedy tjre...@udel.edu wrote: Now, it would be better if the icons were labelled by version. I thought that had been agreed on, and I intend to request it again. It has, it really just needs a patch put forward with specific installer changes in it.