Re: [Python-Dev] Fixing the GIL (with a BFS scheduler)

2010-05-19 Thread David Beazley
> From: "Martin v. L?wis" > To: Dj Gilcrease > Cc: python-dev@python.org > Subject: Re: [Python-Dev] Fixing the GIL (with a BFS scheduler) > Message-ID: <4bf385e3.9030...@v.loewis.de> > Content-Type: text/plain; charset=ISO-8859-1 > >> I think the new GIL should be given a year or so in the wild

Re: [Python-Dev] Summing up

2010-05-19 Thread Bill Janssen
Nick Coghlan wrote: > B. some more thought should be given to incorporating the new GIL into > 2.7. However, this requires two things: > - an update to the patch in 7753 to either retain the old GIL for > platforms not supported by the new GIL or else to make the new GIL a > configure option >

[Python-Dev] pybuildbot.identify?

2010-05-19 Thread Bill Janssen
The PPC buildbots are running pretty well, now that I've opened a few more ports, but I'd like to find this script "pybuildbot.identify" that they keep complaining about, and install it. I've poked around the Python sources, but haven't found it. Anyone know where to get it from? Thanks. Bill _

Re: [Python-Dev] Summing up

2010-05-19 Thread geremy condra
On Tue, May 18, 2010 at 4:10 PM, Antoine Pitrou wrote: > On Tue, 18 May 2010 21:43:30 +0200 > Regardless of the fact that apparently noone reported it in real-world > conditions, we *could* decide that the issue needs fixing. If we > decide so, Nir's approach is the most rigorous one: it tries

Re: [Python-Dev] pybuildbot.identify?

2010-05-19 Thread Matthias Klose
On 19.05.2010 18:09, Bill Janssen wrote: The PPC buildbots are running pretty well, now that I've opened a few more ports, but I'd like to find this script "pybuildbot.identify" that they keep complaining about, and install it. I've poked around the Python sources, but haven't found it. Anyone

Re: [Python-Dev] pybuildbot.identify?

2010-05-19 Thread Martin v. Löwis
Bill Janssen wrote: > The PPC buildbots are running pretty well, now that I've opened a few > more ports, but I'd like to find this script "pybuildbot.identify" that > they keep complaining about, and install it. I've poked around the > Python sources, but haven't found it. You don't need to both

Re: [Python-Dev] pybuildbot.identify?

2010-05-19 Thread Bill Janssen
Matthias Klose wrote: > On 19.05.2010 18:09, Bill Janssen wrote: > > The PPC buildbots are running pretty well, now that I've opened a few > > more ports, but I'd like to find this script "pybuildbot.identify" that > > they keep complaining about, and install it. I've poked around the > > Python

Re: [Python-Dev] pybuildbot.identify?

2010-05-19 Thread Martin v. Löwis
Bill Janssen wrote: > Matthias Klose wrote: > >> On 19.05.2010 18:09, Bill Janssen wrote: >>> The PPC buildbots are running pretty well, now that I've opened a few >>> more ports, but I'd like to find this script "pybuildbot.identify" that >>> they keep complaining about, and install it. I've po

Re: [Python-Dev] Fixing the GIL (with a BFS scheduler)

2010-05-19 Thread Peter Portante
Does anybody think that by having problems with the new GIL that it might further weaken the adoption rate for 3k? -peter On 5/19/10 7:00 AM, "David Beazley" wrote: >> From: "Martin v. L?wis" >> To: Dj Gilcrease >> Cc: python-dev@python.org >> Subject: Re: [Python-Dev] Fixing the GIL (with a

Re: [Python-Dev] Fixing the GIL (with a BFS scheduler)

2010-05-19 Thread Martin v. Löwis
Peter Portante wrote: > Does anybody think that by having problems with the new GIL that it might > further weaken the adoption rate for 3k? -peter No, to the contrary. By having the new GIL being superior to the old implementation, the adoption rate for 3k will increase. Regards, Martin

Re: [Python-Dev] Fixing the GIL (with a BFS scheduler)

2010-05-19 Thread Dj Gilcrease
On Wed, May 19, 2010 at 4:17 PM, Peter Portante wrote: > Does anybody think that by having problems with the new GIL that it might > further weaken the adoption rate for 3k? -peter Nope, because the remaining issues with the new GIL affect the old GIL as well, and have yet to be proven to affect

Re: [Python-Dev] Fixing the GIL (with a BFS scheduler)

2010-05-19 Thread David Beazley
Yes, but the million dollar question is whether or not it really is superior with the I/O convoying problem in the current implementation (an effect that is substantially worse with the new GIL than with the old one by the way). Personally, I think the convoying issue is something that will hav

Re: [Python-Dev] pybuildbot.identify?

2010-05-19 Thread Bill Janssen
Martin v. Löwis wrote: > Bill Janssen wrote: > > Matthias Klose wrote: > > > >> On 19.05.2010 18:09, Bill Janssen wrote: > >>> The PPC buildbots are running pretty well, now that I've opened a few > >>> more ports, but I'd like to find this script "pybuildbot.identify" that > >>> they keep comp

Re: [Python-Dev] Fixing the GIL (with a BFS scheduler)

2010-05-19 Thread Bill Janssen
Martin v. Löwis wrote: > Peter Portante wrote: > > Does anybody think that by having problems with the new GIL that it might > > further weaken the adoption rate for 3k? -peter > > No, to the contrary. By having the new GIL being superior to the old > implementation, the adoption rate for 3k wil

[Python-Dev] Documenting [C]Python's Internals

2010-05-19 Thread Yaniv Aknin
Hi, I wanted to let python-dev know about a series of articles about CPython's internals I'm publishing under the collective title "Guido's Python"* ( http://tech.blog.aknin.name/tag/guidos-python/). Three articles already were published already, more are planned (mainly focused on CPython/py3k, b

Re: [Python-Dev] Documenting [C]Python's Internals

2010-05-19 Thread Michael Foord
On 19/05/2010 23:13, Yaniv Aknin wrote: Hi, I wanted to let python-dev know about a series of articles about CPython's internals I'm publishing under the collective title "Guido's Python"* (http://tech.blog.aknin.name/tag/guidos-python/). Three articles already were published already, more ar

Re: [Python-Dev] Documenting [C]Python's Internals

2010-05-19 Thread Giampaolo Rodolà
2010/5/20 Yaniv Aknin : > Hi, > I wanted to let python-dev know about a series of articles about CPython's > internals I'm publishing under the collective title "Guido's Python"* > (http://tech.blog.aknin.name/tag/guidos-python/). Three articles already > were published already, more are planned (m

[Python-Dev] Reasons behind misleading TypeError message when passing the wrong number of arguments to a method

2010-05-19 Thread Giampaolo Rodolà
>>> class A: ... def echo(self, x): ... return x ... >>> a = A() >>> a.echo() Traceback (most recent call last): File "", line 1, in TypeError: echo() takes exactly 2 arguments (1 given) >>> I bet my last 2 cents this has already been raised in past but I want to give it a try a

Re: [Python-Dev] Reasons behind misleading TypeError message when passing the wrong number of arguments to a method

2010-05-19 Thread Michael Foord
On 20/05/2010 00:42, Giampaolo Rodolà wrote: class A: ... def echo(self, x): ... return x ... a = A() a.echo() Traceback (most recent call last): File "", line 1, in TypeError: echo() takes exactly 2 arguments (1 given) I bet my last 2

Re: [Python-Dev] Reasons behind misleading TypeError message when passing the wrong number of arguments to a method

2010-05-19 Thread John Arbash Meinel
Giampaolo Rodolà wrote: class A: > ... def echo(self, x): > ... return x > ... a = A() a.echo() > Traceback (most recent call last): > File "", line 1, in > TypeError: echo() takes exactly 2 arguments (1 given) > > I bet my last 2 cents this has already been raise

Re: [Python-Dev] Reasons behind misleading TypeError message when passing the wrong number of arguments to a method

2010-05-19 Thread geremy condra
On Wed, May 19, 2010 at 4:42 PM, Giampaolo Rodolà wrote: class A: > ...     def echo(self, x): > ...             return x > ... a = A() a.echo() > Traceback (most recent call last): >  File "", line 1, in > TypeError: echo() takes exactly 2 arguments (1 given) > > I bet my las

Re: [Python-Dev] Reasons behind misleading TypeError message when passing the wrong number of arguments to a method

2010-05-19 Thread R. David Murray
On Thu, 20 May 2010 01:42:08 +0200, =?ISO-8859-1?Q?Giampaolo_Rodol=E0?= wrote: > >>> class A: > ... def echo(self, x): > ... return x > ... > >>> a = A() > >>> a.echo() > Traceback (most recent call last): > File "", line 1, in > TypeError: echo() takes exactly 2 arguments (1 g

[Python-Dev] Reasons behind misleading TypeError message when passing the wrong number of arguments to a method

2010-05-19 Thread Stephen J. Turnbull
Giampaolo Rodolà writes: > >>> class A: > ... def echo(self, x): > ... return x > ... > >>> a = A() > >>> a.echo() > Traceback (most recent call last): > File "", line 1, in > TypeError: echo() takes exactly 2 arguments (1 given) > >>> > > I bet my last 2 cents this

Re: [Python-Dev] Documenting [C]Python's Internals

2010-05-19 Thread Terry Reedy
On 5/19/2010 6:13 PM, Yaniv Aknin wrote: Hi, I wanted to let python-dev know about a series of articles about CPython's internals I'm publishing under the collective title "Guido's Python"* (http://tech.blog.aknin.name/tag/guidos-python/). This link has all post concatenated together in revers