[Python-Dev] frozendict (was: Possible patch for functools partial...)

2010-05-15 Thread Yaniv Aknin
> > > So I'm thinking either we make an > > immutable/hashable dict while we're at it, or store the keyword > > arguments as a tuple (which guarantees immutability), and only > > convert them back to a dict when you want to call the partial object > > (simpler, slower). > > I'd support an immutable

Re: [Python-Dev] robots exclusion file on the buildbot pages?

2010-05-15 Thread exarkun
On 08:32 pm, mar...@v.loewis.de wrote: I'd find it useful if the "branch" field was a choice pull-down listing valid branches, rather than a plain text field, and if the "revision" field always defaulted to "HEAD". Seems to me that since the form is coming from the buildmaster, that should be p

Re: [Python-Dev] buildbot svn exceptions again...

2010-05-15 Thread Martin v. Löwis
Bill Janssen wrote: > parc-leopard-1 (and most of the other builders) are failing the svn > checkout with the following error: > > svn: PROPFIND of '/projects/python/trunk': Could not resolve hostname > `svn.python.org': Temporary failure in name resolution > (http://svn.python.org) > > When I l

Re: [Python-Dev] robots exclusion file on the buildbot pages?

2010-05-15 Thread Martin v. Löwis
> I'd find it useful if the "branch" field was a choice pull-down listing > valid branches, rather than a plain text field, and if the "revision" > field always defaulted to "HEAD". Seems to me that since the form is > coming from the buildmaster, that should be possible. Unfortunately, these for

Re: [Python-Dev] robots exclusion file on the buildbot pages?

2010-05-15 Thread Martin v. Löwis
> I caused a few of those myself yesterday updating my PPC buildbots. > > Apologies! No need to apologize! these are not the ones Antoine is talking about. By convention, filling out the "Your name" field in a web build is recommended, so people know that this was an intentional build. I usually

Re: [Python-Dev] robots exclusion file on the buildbot pages?

2010-05-15 Thread Martin v. Löwis
>> Hmm. Before doing any modifications, I'd rather have a definite analysis >> on this. Are you absolutely certain that, when that happened, the >> individual builds that caused this svn exception where actually >> triggered over the web, rather than by checkin? > > How can I be "absolutely certa

Re: [Python-Dev] robots exclusion file on the buildbot pages?

2010-05-15 Thread Antoine Pitrou
On Sat, 15 May 2010 13:03:59 PDT Bill Janssen wrote: > I'd find it useful if the "branch" field was a choice pull-down listing > valid branches, rather than a plain text field, and if the "revision" > field always defaulted to "HEAD". Seems to me that since the form is > coming from the buildmast

[Python-Dev] buildbot svn exceptions again...

2010-05-15 Thread Bill Janssen
parc-leopard-1 (and most of the other builders) are failing the svn checkout with the following error: svn: PROPFIND of '/projects/python/trunk': Could not resolve hostname `svn.python.org': Temporary failure in name resolution (http://svn.python.org) When I log into that machine as "buildbot" a

Re: [Python-Dev] robots exclusion file on the buildbot pages?

2010-05-15 Thread Bill Janssen
Maciej Fijalkowski wrote: > On Sat, May 15, 2010 at 12:07 PM, Antoine Pitrou wrote: > > On Sat, 15 May 2010 17:57:28 - > > exar...@twistedmatrix.com wrote: > >> > >> One thing I have noticed is that spammers find these forms and submit > >> them with garbage.  We can probably suppose that su

Re: [Python-Dev] robots exclusion file on the buildbot pages?

2010-05-15 Thread Bill Janssen
Antoine Pitrou wrote: > The buildbots are sometimes subject to a flood of "svn exception" > errors. It has been conjectured that these errors are caused by Web > crawlers pressing "force build" buttons without filling any of the > fields (of course, the fact that we get such ugly errors in the >

Re: [Python-Dev] robots exclusion file on the buildbot pages?

2010-05-15 Thread Maciej Fijalkowski
For us at least no branch specified builds the default branch (trunk) and does not end up with exception in buildbot code. How about specifying the default branch in config file? On Sat, May 15, 2010 at 1:55 PM, Antoine Pitrou wrote: > On Sat, 15 May 2010 21:49:07 +0200 > "Martin v. Löwis" wrote

Re: [Python-Dev] robots exclusion file on the buildbot pages?

2010-05-15 Thread Antoine Pitrou
On Sat, 15 May 2010 21:49:07 +0200 "Martin v. Löwis" wrote: > > Hmm. Before doing any modifications, I'd rather have a definite analysis > on this. Are you absolutely certain that, when that happened, the > individual builds that caused this svn exception where actually > triggered over the web,

Re: [Python-Dev] robots exclusion file on the buildbot pages?

2010-05-15 Thread Martin v. Löwis
> The buildbots are sometimes subject to a flood of "svn exception" > errors. It has been conjectured that these errors are caused by Web > crawlers pressing "force build" buttons without filling any of the > fields (of course, the fact that we get such ugly errors in the > buildbot results, rather

Re: [Python-Dev] robots exclusion file on the buildbot pages?

2010-05-15 Thread Antoine Pitrou
Hi, > I can help modify buildbot if you want, but I suppose I need a > specification what precisely is a bug here. Not accepting forms with > garbage? By default buildbot "force build" does not require forms to > be filled and that's on purpose. Well, the "fix" would be to forbid an empty "Branc

Re: [Python-Dev] robots exclusion file on the buildbot pages?

2010-05-15 Thread Maciej Fijalkowski
On Sat, May 15, 2010 at 12:07 PM, Antoine Pitrou wrote: > On Sat, 15 May 2010 17:57:28 - > exar...@twistedmatrix.com wrote: >> >> One thing I have noticed is that spammers find these forms and submit >> them with garbage.  We can probably suppose that such people are going >> to ignore a robot

Re: [Python-Dev] robots exclusion file on the buildbot pages?

2010-05-15 Thread Antoine Pitrou
On Sat, 15 May 2010 17:57:28 - exar...@twistedmatrix.com wrote: > > One thing I have noticed is that spammers find these forms and submit > them with garbage. We can probably suppose that such people are going > to ignore a robots.txt file. So we could "just" fix the buggy buildbot code. N

Re: [Python-Dev] robots exclusion file on the buildbot pages?

2010-05-15 Thread exarkun
On 05:48 pm, solip...@pitrou.net wrote: Hello, The buildbots are sometimes subject to a flood of "svn exception" errors. It has been conjectured that these errors are caused by Web crawlers pressing "force build" buttons without filling any of the fields (of course, the fact that we get such ug

[Python-Dev] robots exclusion file on the buildbot pages?

2010-05-15 Thread Antoine Pitrou
Hello, The buildbots are sometimes subject to a flood of "svn exception" errors. It has been conjectured that these errors are caused by Web crawlers pressing "force build" buttons without filling any of the fields (of course, the fact that we get such ugly errors in the buildbot results, rather

Re: [Python-Dev] Python Web Developer @ Meebo (Perm in Mountain View, CA.)

2010-05-15 Thread Terry Reedy
On 5/13/2010 7:26 PM, Kiko Griffin wrote: Dear Kiko - The python-dev mailing list and the gmane.comp.python.devel mirror are for development of Python and CPython. Job announcements are considered off-topic spam and constitute a dis-promotion for your firm. Please do not repeat. Please red

[Python-Dev] Python Web Developer @ Meebo (Perm in Mountain View, CA.)

2010-05-15 Thread Kiko Griffin
Hello All, Meebo is looking for a bright, fun, dedicated software engineer who's interested in supporting a growing revenue team, loves a good challenge, and wants to learn about how advertising operations works from the inside out. In this role, you will be responsible for implementing and mainta

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

2010-05-15 Thread Daniel Urban
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(Timer('f(5)', 'f = lambda x: x').repeat()) > 0.93580079078674316 min(Timer('p(5)', 'from