Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Hynek Schlawack
Am 04.10.2012 um 03:38 schrieb R. David Murray : >>> Other proposed large-scale changes: >>> [...] >>> * A standard event-loop interface (PEP by Jim Fulton pending) >> >> Really? Was this discussed somewhere? I'd like to know more about it. > > I believe it was discussed at the Language Summit

Re: [Python-Dev] Using environment variables problematic for embedded python.

2012-10-03 Thread Guido van Rossum
This seems more fit for the tracker; can you file there? (Then post the issue link here.) I do think you have a legitimate use case to set the default encoding to utf-8. (Though there may be a way already.) Does Python 3.3 have te same bug? On Wednesday, October 3, 2012, Campbell Barton wrote: >

Re: [Python-Dev] Using environment variables problematic for embedded python.

2012-10-03 Thread Campbell Barton
On Thu, Oct 4, 2012 at 1:35 PM, Campbell Barton wrote: > Hi, > > We've run into an issue recently with blender3d on ms-windows where we > want to enforce the encoding is UTF-8 with the embedded python > interpreter. > (the encoding defaults to cp437). > > I naively thought setting the environment

[Python-Dev] Using environment variables problematic for embedded python.

2012-10-03 Thread Campbell Barton
Hi, We've run into an issue recently with blender3d on ms-windows where we want to enforce the encoding is UTF-8 with the embedded python interpreter. (the encoding defaults to cp437). I naively thought setting the environment variable before calling Py_Initialize() would work, but the way python

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Stephen J. Turnbull
mar...@v.loewis.de writes: > I wouldn't mind having alpha 1 in April 2013, and alpha 2 in October 2013. > I share Larry's skepticism, and actually fear that it may confuse users > (which find that they test something completely different from what gets > released). I don't really think you ne

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread R. David Murray
On Thu, 04 Oct 2012 03:14:11 +0200, =?ISO-8859-1?Q?Giampaolo_Rodol=E0?= wrote: > 2012/10/3 Larry Hastings : > > > Other proposed large-scale changes: > > [...] > > * A standard event-loop interface (PEP by Jim Fulton pending) > > Really? Was this discussed somewhere? I'd like to know more abou

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Giampaolo RodolĂ 
2012/10/3 Larry Hastings : > Other proposed large-scale changes: > [...] > * A standard event-loop interface (PEP by Jim Fulton pending) Really? Was this discussed somewhere? I'd like to know more about it. --- Giampaolo http://code.google.com/p/pyftpdlib/ http://code.google.com/p/psutil/ http:/

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread martin
Zitat von Nick Coghlan : Regardless of when the first alpha happens, I'll be promoting the hell out of it, begging for feedback on any of these changes that are available by then (which should be quite a few, given the preceding PyCon US sprints). However, I would *like* to have months rather t

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread martin
Zitat von Maciej Fijalkowski : On Wed, Oct 3, 2012 at 5:27 PM, Nick Coghlan wrote: On Wed, Oct 3, 2012 at 8:43 PM, Larry Hastings wrote: Begging for feedback doesn't mean you'll get any, I received a fair number of complaints from people that wanted to experiment with yield from, but coul

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread martin
Zitat von Eric Snow : On Wed, Oct 3, 2012 at 8:55 AM, Nick Coghlan wrote: I *can't* effectively trial those changes on PyPI (except perhaps some of the disassembly changes), and I don't have the resources to create and distribute Windows and Mac OS X installers on my own. That means, before t

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread martin
Zitat von Skip Montanaro : I've roughed out a release schedule Is there a rough list of changes for 3.4 written down somewhere, or is that only to be inferred based on PEPs whose Python-Version header reads "3.4"? How confident are you that the schedule you've proposed gives enough time

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread martin
Zitat von Larry Hastings : I welcome your feedback--without any further input I'll go ahead and post this as a PEP in a week or so. I personally feel that the release period is too long. Is it really necessary to start with the release more than 6 month before the scheduled release date? Sta

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Antoine Pitrou
On Wed, 3 Oct 2012 20:05:24 +0200 Antoine Pitrou wrote: > On Wed, 3 Oct 2012 20:25:17 +0530 > Nick Coghlan wrote: > > On Wed, Oct 3, 2012 at 5:16 PM, Larry Hastings wrote: > > > I don't agree. It's my understanding that the alphas are largely ignored, > > > and having them earlier would hardly

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Antoine Pitrou
On Wed, 3 Oct 2012 20:25:17 +0530 Nick Coghlan wrote: > On Wed, Oct 3, 2012 at 5:16 PM, Larry Hastings wrote: > > I don't agree. It's my understanding that the alphas are largely ignored, > > and having them earlier would hardly make them more relevant. > > I would appreciate it you stopped pro

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread MRAB
On 2012-10-03 16:28, Brian Curtin wrote: On Wed, Oct 3, 2012 at 10:13 AM, Larry Hastings wrote: On 10/03/2012 04:55 PM, Nick Coghlan wrote: Regardless of when the first alpha happens, I'll be promoting the hell out of it, begging for feedback on any of these changes that are available by then

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Georg Brandl
On 10/03/2012 06:26 PM, R. David Murray wrote: On Wed, 03 Oct 2012 18:02:03 +0200, Larry Hastings wrote: Changing an existing alpha to be earlier doesn't alter the workload, but I fear it makes the alpha less relevant. Evaluating alphas / betas takes an investment of time, and whether or not a

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Serhiy Storchaka
On 03.10.12 19:02, Larry Hastings wrote: But my suspicion is that most people who try the alphas are doing early integration testing with their own stuff. For those people, the earlier the alpha, the less interesting it probably is to them. Earlier means that the software will be less finished.

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Paul Moore
On 3 October 2012 17:34, R. David Murray wrote: > There *were* bug reports during the alpha phase. A number of regressions > were caught. Also, there were more alpha-phase bug reports than > I remember getting for 3.2. I remember thinking, "wow, cool, we're > actually getting regression bug rep

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Ethan Furman
Nick Coghlan wrote: On Wed, Oct 3, 2012 at 8:58 PM, Brian Curtin wrote: This doesn't answer the question of the users wanting the alphas earlier, but they're certainly more than largely ignored... The webstats in April 2012 show 5628 downloads of 3.3a1 and 4946 downloads of 3.3a2 Windows insta

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread R. David Murray
On Wed, 03 Oct 2012 11:19:57 -0500, Brian Curtin wrote: > On Wed, Oct 3, 2012 at 11:02 AM, Larry Hastings wrote: > > > > On 10/03/2012 05:28 PM, Brian Curtin wrote: > > > > The webstats in April 2012 show 5628 downloads of 3.3a1 and 4946 > > downloads of 3.3a2 Windows installers. > > > > > > I'd

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread R. David Murray
On Wed, 03 Oct 2012 18:02:03 +0200, Larry Hastings wrote: > Changing an existing alpha to be earlier doesn't alter the workload, but > I fear it makes the alpha less relevant. Evaluating alphas / betas > takes an investment of time, and whether or not a potential alpha user > makes that invest

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Stephen J. Turnbull
Nick Coghlan writes: > I proposed to Larry originally that we start the alphas 6 months > after 3.3.0, I like this idea better, even though to keep the total workload constant you'd need to more than double the interval between alphas. Still, a 10- or 12-month release schedule feels like a much

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Brian Curtin
On Wed, Oct 3, 2012 at 11:02 AM, Larry Hastings wrote: > > On 10/03/2012 05:28 PM, Brian Curtin wrote: > > The webstats in April 2012 show 5628 downloads of 3.3a1 and 4946 > downloads of 3.3a2 Windows installers. > > > I'd love to know how much feedback we got as a result of these downloads. > Do

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Larry Hastings
On 10/03/2012 05:27 PM, Nick Coghlan wrote: That's your prerogative as RM of course, but you haven't given any reason beyond the circular "I don't care about enabling feedback from people that can't or won't build from source, because people that can't or won't build from source don't provide us

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Barry Warsaw
On Oct 03, 2012, at 11:22 AM, R. David Murray wrote: >I don't have any data to back this up, but it is my impression that more >distributions are providing access to alpha releases in their "testing" >package trees. Ubuntu and Debian generally does, thanks to Matthias's great work. Python 3.3's

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Paul Moore
On 3 October 2012 16:13, Larry Hastings wrote: > On 10/03/2012 04:55 PM, Nick Coghlan wrote: > > Regardless of when the first alpha happens, I'll be promoting the hell > out of it, begging for feedback on any of these changes that are > available by then (which should be quite a few, given the pre

Re: [Python-Dev] Should vars() return modifiable dict?

2012-10-03 Thread Steven D'Aprano
On 03/10/12 18:54, Serhiy Storchaka wrote: For locals vars() returns... hmm, partially modifiable dict: >> def f(): ... x = 42 ... print(vars()) ... vars()['x'] = 43 ... vars()['y'] = 44 ... print(x, vars()) ... >> f() {'x': 42} 42 {'y': 44, 'x': 42} Should behavior of vars() be corrected

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Eric Snow
On Wed, Oct 3, 2012 at 8:55 AM, Nick Coghlan wrote: > I *can't* effectively trial > those changes on PyPI (except perhaps some of the disassembly > changes), and I don't have the resources to create and distribute > Windows and Mac OS X installers on my own. That means, before the > release of 3.4

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Nick Coghlan
On Wed, Oct 3, 2012 at 8:59 PM, Maciej Fijalkowski wrote: > On Wed, Oct 3, 2012 at 5:27 PM, Nick Coghlan wrote: >> On Wed, Oct 3, 2012 at 8:43 PM, Larry Hastings wrote: >>> Begging for feedback doesn't mean you'll get any, >> >> I received a fair number of complaints from people that wanted to >

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Nick Coghlan
On Wed, Oct 3, 2012 at 8:58 PM, Brian Curtin wrote: > This doesn't answer the question of the users wanting the alphas > earlier, but they're certainly more than largely ignored... > > The webstats in April 2012 show 5628 downloads of 3.3a1 and 4946 > downloads of 3.3a2 Windows installers. So, th

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Brian Curtin
On Wed, Oct 3, 2012 at 10:13 AM, Larry Hastings wrote: > On 10/03/2012 04:55 PM, Nick Coghlan wrote: > > Regardless of when the first alpha happens, I'll be promoting the hell > out of it, begging for feedback on any of these changes that are > available by then (which should be quite a few, given

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Maciej Fijalkowski
On Wed, Oct 3, 2012 at 5:27 PM, Nick Coghlan wrote: > On Wed, Oct 3, 2012 at 8:43 PM, Larry Hastings wrote: >> Begging for feedback doesn't mean you'll get any, > > I received a fair number of complaints from people that wanted to > experiment with yield from, but couldn't, because the first alph

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Nick Coghlan
On Wed, Oct 3, 2012 at 8:43 PM, Larry Hastings wrote: > Begging for feedback doesn't mean you'll get any, I received a fair number of complaints from people that wanted to experiment with yield from, but couldn't, because the first alpha wasn't out yet and they weren't sufficiently interested to

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread R. David Murray
On Wed, 03 Oct 2012 20:25:17 +0530, Nick Coghlan wrote: > On Wed, Oct 3, 2012 at 5:16 PM, Larry Hastings wrote: > > I don't agree. It's my understanding that the alphas are largely ignored, > > and having them earlier would hardly make them more relevant. > > I would appreciate it you stopped p

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Skip Montanaro
> If you can show me people who use the alphas who want them earlier, I'll > consider it. So far the only person who's said they want them is you, and > IIUC you won't be a consumer of the alpha per se. > > Begging for feedback doesn't mean you'll get any, I haven't done any Python core developme

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Larry Hastings
On 10/03/2012 04:55 PM, Nick Coghlan wrote: Regardless of when the first alpha happens, I'll be promoting the hell out of it, begging for feedback on any of these changes that are available by then (which should be quite a few, given the preceding PyCon US sprints). If you can show me people wh

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Nick Coghlan
On Wed, Oct 3, 2012 at 5:16 PM, Larry Hastings wrote: > I don't agree. It's my understanding that the alphas are largely ignored, > and having them earlier would hardly make them more relevant. I would appreciate it you stopped promoting this myth. Each step in the release process widens the poo

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Barry Warsaw
On Oct 03, 2012, at 06:45 AM, Skip Montanaro wrote: >Is there a rough list of changes for 3.4 written down somewhere Let the wild rumpus begin! -Barry ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Georg Brandl
On 10/03/2012 01:54 PM, Larry Hastings wrote: On 10/03/2012 01:45 PM, Skip Montanaro wrote: Is there a rough list of changes for 3.4 written down somewhere, or is that only to be inferred based on PEPs whose Python-Version header reads "3.4"? How confident are you that the schedule you've propo

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Larry Hastings
On 10/03/2012 01:45 PM, Skip Montanaro wrote: Is there a rough list of changes for 3.4 written down somewhere, or is that only to be inferred based on PEPs whose Python-Version header reads "3.4"? How confident are you that the schedule you've proposed gives enough time for proposed changes to

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Larry Hastings
On 10/03/2012 01:40 PM, Nick Coghlan wrote: On Wed, Oct 3, 2012 at 4:57 PM, Larry Hastings wrote: - 3.4.0 alpha 1: August 3, 2013 Looks pretty good to me, but I'd still like to experiment with bringing this one up a few months (say to April, a few weeks after PyCon US 2013). I'm sure we can la

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Skip Montanaro
> I've roughed out a release schedule Is there a rough list of changes for 3.4 written down somewhere, or is that only to be inferred based on PEPs whose Python-Version header reads "3.4"? How confident are you that the schedule you've proposed gives enough time for proposed changes to be imp

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Nick Coghlan
On Wed, Oct 3, 2012 at 4:57 PM, Larry Hastings wrote: > > Howdy howdy. Unless someone has a better idea, I'm the release manager for > Python 3.4. I've roughed out a release schedule, assuming a 16-month period > between 3.3 and 3.4. It works out to having 3.4 ship about seven weeks > before th

[Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread Larry Hastings
Howdy howdy. Unless someone has a better idea, I'm the release manager for Python 3.4. I've roughed out a release schedule, assuming a 16-month period between 3.3 and 3.4. It works out to having 3.4 ship about seven weeks before the PyCon 2014 core dev sprint, so even if we slip some we sh

[Python-Dev] Should vars() return modifiable dict?

2012-10-03 Thread Serhiy Storchaka
For objects with __dict__ vars() returns modifiable dict: >>> class A(): ... pass ... >>> a = A() >>> a.x = 42 >>> vars(a) {'x': 42} >>> vars(a)['x'] = 43 >>> vars(a)['y'] = 44 >>> a.x, a.y, vars(a) (43, 44, {'y': 44, 'x': 43}) For globals vars() returns modifiable dict: >>> x = 42 >>> vars