Re: [Python-Dev] configuring the buildbot to skip some tests?

2010-05-13 Thread Vincent Davis
Not to interrupt you you conversation but I am interested in setting up a buildbot on one of my Macs. Is there any documentations or advise that is different from that of a linux machine? Any advise would be appreciated. Thanks Vincent On Thu, May 13, 2010 at 3:44 PM, Nick Coghlan wrote: > Mar

Re: [Python-Dev] Possible patch for functools partial - Interested?

2010-05-13 Thread Daniel Urban
I wrote an e-mail yesterday, but it seems, it didn't reach python-dev. Here it is again: On Thu, May 13, 2010 at 13:30, Steven D'Aprano wrote: > I'd support an immutable dict. partial objects already impose a > significant (~ 30%) performance penalty: > from timeit import Timer min(Time

Re: [Python-Dev] configuring the buildbot to skip some tests?

2010-05-13 Thread Nick Coghlan
Martin v. Löwis wrote: >>> I've got parc-tiger-1 up and running again. It's failing on test_tk, >>> which makes sense, because it's running as a background twisted process, >>> and thus can't access the window server. I should configure that out. >>> >>> I'm looking for documentation on how to co

Re: [Python-Dev] configuring the buildbot to skip some tests?

2010-05-13 Thread Bill Janssen
Martin v. Löwis wrote: > Bill Janssen wrote: > > Martin v. Löwis wrote: > > > >> Bill Janssen wrote: > >>> I've got parc-tiger-1 up and running again. It's failing on test_tk, > >>> which makes sense, because it's running as a background twisted process, > >>> and thus can't access the window

Re: [Python-Dev] configuring the buildbot to skip some tests?

2010-05-13 Thread Bill Janssen
Martin v. Löwis wrote: > Bill Janssen wrote: > > Martin v. Löwis wrote: > > > >> Bill Janssen wrote: > >>> I've got parc-tiger-1 up and running again. It's failing on test_tk, > >>> which makes sense, because it's running as a background twisted process, > >>> and thus can't access the window

Re: [Python-Dev] configuring the buildbot to skip some tests?

2010-05-13 Thread Martin v. Löwis
> This is running /usr/bin/python in a session as a user that doesn't > have access to the GUI. The text above says that there is an > uncaught ObjC exception, caused by the lack of a connection to the > window server. Tk should have converted that to its own style of > errors but didn't. That m

Re: [Python-Dev] configuring the buildbot to skip some tests?

2010-05-13 Thread Ronald Oussoren
On 13 May, 2010, at 20:41, Martin v. Löwis wrote: > Bill Janssen wrote: >> Martin v. Löwis wrote: >> >>> Bill Janssen wrote: I've got parc-tiger-1 up and running again. It's failing on test_tk, which makes sense, because it's running as a background twisted process, and thus can

Re: [Python-Dev] configuring the buildbot to skip some tests?

2010-05-13 Thread Martin v. Löwis
Bill Janssen wrote: > Martin v. Löwis wrote: > >> Bill Janssen wrote: >>> I've got parc-tiger-1 up and running again. It's failing on test_tk, >>> which makes sense, because it's running as a background twisted process, >>> and thus can't access the window server. >> It doesn't really make sense

Re: [Python-Dev] PEP 7 updated

2010-05-13 Thread Brett Cannon
Feel free to look at Misc/Vim/python.vim and see if this works better than what is already there. On Wed, May 12, 2010 at 20:47, Trent Nelson wrote: > >> Does anyone know of a way to teach vim that C sources in a python checkout >> should have 4-space indents without changing the defaults for oth

Re: [Python-Dev] configuring the buildbot to skip some tests?

2010-05-13 Thread Bill Janssen
exar...@twistedmatrix.com wrote: > On 03:17 am, jans...@parc.com wrote: > >I've got parc-tiger-1 up and running again. It's failing on test_tk, > > which makes sense, because it's running as a background twisted > > process, > >and thus can't access the window server. I should configure that out

Re: [Python-Dev] configuring the buildbot to skip some tests?

2010-05-13 Thread Glyph Lefkowitz
On May 13, 2010, at 9:41 AM, exar...@twistedmatrix.com wrote: > On 03:17 am, jans...@parc.com wrote: >> I've got parc-tiger-1 up and running again. It's failing on test_tk, >> which makes sense, because it's running as a background twisted process, >> and thus can't access the window server. I

Re: [Python-Dev] configuring the buildbot to skip some tests?

2010-05-13 Thread Bill Janssen
Martin v. Löwis wrote: > Bill Janssen wrote: > > I've got parc-tiger-1 up and running again. It's failing on test_tk, > > which makes sense, because it's running as a background twisted process, > > and thus can't access the window server. > > It doesn't really make sense. It should skip the te

Re: [Python-Dev] configuring the buildbot to skip some tests?

2010-05-13 Thread Martin v. Löwis
> (Having said that, a similar situation with my buildslave prompted me > to spend the time fixing the bug so I didn't have to keep restarting > the slave, so maybe it's a good thing after all :-)) Indeed. More generally, I'd question the point of automated testing if people try to work around ser

Re: [Python-Dev] configuring the buildbot to skip some tests?

2010-05-13 Thread Paul Moore
On 13 May 2010 15:43, "Martin v. Löwis" wrote: > Of course, the slave is then useless until somebody contributes such a fix. That's the sad part. If there was a means of temporarily marking the test on a particular slave as a known issue, it would avoid a single bug rendering a buildslave useless

Re: [Python-Dev] configuring the buildbot to skip some tests?

2010-05-13 Thread Martin v. Löwis
exar...@twistedmatrix.com wrote: > On 03:17 am, jans...@parc.com wrote: >> I've got parc-tiger-1 up and running again. It's failing on test_tk, >> which makes sense, because it's running as a background twisted process, >> and thus can't access the window server. I should configure that out. > >

Re: [Python-Dev] configuring the buildbot to skip some tests?

2010-05-13 Thread Martin v. Löwis
>> I've got parc-tiger-1 up and running again. It's failing on test_tk, >> which makes sense, because it's running as a background twisted process, >> and thus can't access the window server. I should configure that out. >> >> I'm looking for documentation on how to configure the build slave so >

Re: [Python-Dev] configuring the buildbot to skip some tests?

2010-05-13 Thread exarkun
On 03:17 am, jans...@parc.com wrote: I've got parc-tiger-1 up and running again. It's failing on test_tk, which makes sense, because it's running as a background twisted process, and thus can't access the window server. I should configure that out. You can run it in an xvfb. Jean-Paul

Re: [Python-Dev] Possible patch for functools partial - Interested?

2010-05-13 Thread Daniel Urban
> While a partial object should reasonably never change, you could change it: from functools import partial p = partial(lambda *a, **kw: kw, 1, 2, spam='eggs') p() > {'spam': 'eggs'} p.keywords['spam'] = 'bacon' p() > {'spam': 'bacon'} > I realize touching p.keywords v

Re: [Python-Dev] Possible patch for functools partial - Interested?

2010-05-13 Thread Steven D'Aprano
On Thu, 13 May 2010 06:50:02 pm Yaniv Aknin wrote: > I'm never certain where to reply in such a case, on the list or on > the issue, but since no one is nosy yet to Daniel's patch, I thought > I'd ask here. > > While a partial object should reasonably never change, you could change it: [...] > I r

Re: [Python-Dev] configuring the buildbot to skip some tests?

2010-05-13 Thread Nick Coghlan
Bill Janssen wrote: > I've got parc-tiger-1 up and running again. It's failing on test_tk, > which makes sense, because it's running as a background twisted process, > and thus can't access the window server. I should configure that out. > > I'm looking for documentation on how to configure the

Re: [Python-Dev] Possible patch for functools partial - Interested?

2010-05-13 Thread Yaniv Aknin
I'm never certain where to reply in such a case, on the list or on the issue, but since no one is nosy yet to Daniel's patch, I thought I'd ask here. While a partial object should reasonably never change, you could change it: >>> from functools import partial >>> p = partial(lambda *a, **kw: kw, 1

Re: [Python-Dev] configuring the buildbot to skip some tests?

2010-05-13 Thread Martin v. Löwis
Bill Janssen wrote: > I've got parc-tiger-1 up and running again. It's failing on test_tk, > which makes sense, because it's running as a background twisted process, > and thus can't access the window server. It doesn't really make sense. It should skip the test, instead of failing it. I.e. abort