Re: [Python-Dev] Very Strange Argument Handling Behavior

2010-04-17 Thread Nick Coghlan
Steve Holden wrote: I'm sure we wouldn't want to go so far as to inhibit this. (Py 3.1) def f(**kwargs): ... kwargs[1] = dummy ... print(kwargs) ... f(this=Guido, that=Raymond, the_other=Steve) {'this': 'Guido', 1: 'dummy', 'the_other': 'Steve', 'that': 'Raymond'} Or would we? If

Re: [Python-Dev] Drop OS/2 support?

2010-04-17 Thread Nick Coghlan
Victor Stinner wrote: If we support OS/2, we need a buildbot. As Andrew said, there are 2 levels of support - the if we break it, we'll fix it level where our buildbots live, and the we won't go out of our way to break it, but it may degenerate as other things change (or simply miss out on some

Re: [Python-Dev] Drop OS/2 support?

2010-04-17 Thread Eric Smith
Andrew MacIntyre wrote: It is nice to get heads-up messages about issues that might involve such support though, and it shouldn't take much searching to find me to enquire. Especially since aimacintyre is listed in Misc/maintainers.rst. ___

Re: [Python-Dev] Very Strange Argument Handling Behavior

2010-04-17 Thread Xavier Morel
On 16 Apr 2010, at 23:31 , Guido van Rossum wrote: +1. Apparently dict(x, **y) is going around as cool hack for call x.update(y) and return x. Personally I find it more despicable than cool. This description doesn't make sense since `dict(x, **y)` returns not an updated `x` but a new

Re: [Python-Dev] Very Strange Argument Handling Behavior

2010-04-17 Thread Vinay Sajip
Steve Holden steve at holdenweb.com writes: I'm sure we wouldn't want to go so far as to inhibit this. (Py 3.1) def f(**kwargs): ... kwargs[1] = dummy ... print(kwargs) ... f(this=Guido, that=Raymond, the_other=Steve) {'this': 'Guido', 1: 'dummy', 'the_other': 'Steve', 'that':

Re: [Python-Dev] Very Strange Argument Handling Behavior

2010-04-17 Thread Guido van Rossum
On Fri, Apr 16, 2010 at 4:38 PM, Steve Holden st...@holdenweb.com wrote: I'm sure we wouldn't want to go so far as to inhibit this. (Py 3.1) def f(**kwargs): ...   kwargs[1] = dummy ...   print(kwargs) ... f(this=Guido, that=Raymond, the_other=Steve) {'this': 'Guido', 1: 'dummy',

Re: [Python-Dev] Very Strange Argument Handling Behavior

2010-04-17 Thread Steve Holden
Guido van Rossum wrote: On Fri, Apr 16, 2010 at 4:38 PM, Steve Holden st...@holdenweb.com wrote: I'm sure we wouldn't want to go so far as to inhibit this. (Py 3.1) def f(**kwargs): ... kwargs[1] = dummy ... print(kwargs) ... f(this=Guido, that=Raymond, the_other=Steve) {'this':

Re: [Python-Dev] Very Strange Argument Handling Behavior

2010-04-17 Thread Guido van Rossum
On Sat, Apr 17, 2010 at 5:41 AM, Vinay Sajip vinay_sa...@yahoo.co.uk wrote: Steve Holden steve at holdenweb.com writes: I'm sure we wouldn't want to go so far as to inhibit this. (Py 3.1) def f(**kwargs): ...   kwargs[1] = dummy ...   print(kwargs) ... f(this=Guido, that=Raymond,

Re: [Python-Dev] Very Strange Argument Handling Behavior

2010-04-17 Thread Nick Coghlan
Guido van Rossum wrote: Because Python promises that the object the callee sees as 'kwargs' is just a dict. Huh, I thought kwargs was allowed to be implemented as a string-keys-only dict (similar to class and module namespaces) while still be a valid Python implementation. I guess I was wrong.

Re: [Python-Dev] Very Strange Argument Handling Behavior

2010-04-17 Thread Guido van Rossum
On Sat, Apr 17, 2010 at 9:22 AM, Nick Coghlan ncogh...@gmail.com wrote: Guido van Rossum wrote: Because Python promises that the object the callee sees as 'kwargs' is just a dict. Huh, I thought kwargs was allowed to be implemented as a string-keys-only dict (similar to class and module

[Python-Dev] http://bugs.python.org/ is down

2010-04-17 Thread Victor Stinner
Hi, http://bugs.python.org/ displays Service Temporarily Unavailable. Is it normal? -- Victor Stinner http://www.haypocalc.com/ ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

Re: [Python-Dev] http://bugs.python.org/ is down

2010-04-17 Thread Daniel Stutzbach
On Sat, Apr 17, 2010 at 12:17 PM, Victor Stinner victor.stin...@haypocalc.com wrote: http://bugs.python.org/ displays Service Temporarily Unavailable. Is it normal? It's working fine for me. -- Daniel Stutzbach, Ph.D. President, Stutzbach Enterprises, LLC http://stutzbachenterprises.com

Re: [Python-Dev] Very Strange Argument Handling Behavior

2010-04-17 Thread Benjamin Peterson
2010/4/17 Guido van Rossum gu...@python.org: On Sat, Apr 17, 2010 at 9:22 AM, Nick Coghlan ncogh...@gmail.com wrote: Guido van Rossum wrote: Because Python promises that the object the callee sees as 'kwargs' is just a dict. Huh, I thought kwargs was allowed to be implemented as a

Re: [Python-Dev] Very Strange Argument Handling Behavior

2010-04-17 Thread Dino Viehland
Benjamin wrote: 2010/4/17 Guido van Rossum gu...@python.org: On Sat, Apr 17, 2010 at 9:22 AM, Nick Coghlan ncogh...@gmail.com wrote: Guido van Rossum wrote: Because Python promises that the object the callee sees as 'kwargs' is just a dict. Huh, I thought kwargs was allowed to be

Re: [Python-Dev] Very Strange Argument Handling Behavior

2010-04-17 Thread Maciej Fijalkowski
On Sat, Apr 17, 2010 at 11:38 AM, Dino Viehland di...@microsoft.com wrote: Benjamin wrote: 2010/4/17 Guido van Rossum gu...@python.org: On Sat, Apr 17, 2010 at 9:22 AM, Nick Coghlan ncogh...@gmail.com wrote: Guido van Rossum wrote: Because Python promises that the object the callee sees

Re: [Python-Dev] OS information, tags

2010-04-17 Thread anatoly techtonik
On Fri, Apr 16, 2010 at 7:13 AM, Steve Holden st...@holdenweb.com wrote: Brian Curtin wrote: On Thu, Apr 15, 2010 at 03:20, anatoly techtonik techto...@gmail.com mailto:techto...@gmail.com wrote:     On Tue, Apr 13, 2010 at 3:54 PM, Nick Coghlan ncogh...@gmail.com    

Re: [Python-Dev] Very Strange Argument Handling Behavior

2010-04-17 Thread Dino Viehland
Maciej wrote: On Sat, Apr 17, 2010 at 11:38 AM, Dino Viehland di...@microsoft.com wrote: Benjamin wrote: 2010/4/17 Guido van Rossum gu...@python.org: On Sat, Apr 17, 2010 at 9:22 AM, Nick Coghlan ncogh...@gmail.com wrote: Guido van Rossum wrote: Because Python promises that the

Re: [Python-Dev] Very Strange Argument Handling Behavior

2010-04-17 Thread Maciej Fijalkowski
On Sat, Apr 17, 2010 at 12:03 PM, Dino Viehland di...@microsoft.com wrote: Maciej wrote: On Sat, Apr 17, 2010 at 11:38 AM, Dino Viehland di...@microsoft.com wrote: Benjamin wrote: 2010/4/17 Guido van Rossum gu...@python.org: On Sat, Apr 17, 2010 at 9:22 AM, Nick Coghlan

Re: [Python-Dev] http://bugs.python.org/ is down

2010-04-17 Thread aditya bhargava
Works for me too. On Sat, Apr 17, 2010 at 12:19 PM, Daniel Stutzbach dan...@stutzbachenterprises.com wrote: On Sat, Apr 17, 2010 at 12:17 PM, Victor Stinner victor.stin...@haypocalc.com wrote: http://bugs.python.org/ displays Service Temporarily Unavailable. Is it normal? It's working

[Python-Dev] bbreport

2010-04-17 Thread Victor Stinner
Hi, Ezio and Florent are developing a tool called bbreport to collect buildbot results and generate short reports to the command line. It's possible to filter results by Python branch, builder name, etc. I send patches to link failed tests to existing issues to see quickly known failures vs

Re: [Python-Dev] Very Strange Argument Handling Behavior

2010-04-17 Thread Steve Holden
Dino Viehland wrote: Maciej wrote: [...] And yet that breaks some code :-) Sure, if you do: class C(object): locals()[object()] = 42 dir(C) You lose. Once I'm aware of some piece of code in the wild doing this then I'll be happy to change IronPython to be more compatible. :)

Re: [Python-Dev] bbreport

2010-04-17 Thread Mark Dickinson
On Sat, Apr 17, 2010 at 7:41 PM, Victor Stinner victor.stin...@haypocalc.com wrote: Ezio and Florent are developing a tool called bbreport to collect buildbot results and generate short reports to the command line. It's possible to filter results by Python branch, builder name, etc. I send

Re: [Python-Dev] Automatic installer builds (was Re: Fwd: Broken link to download (Mac OS X))

2010-04-17 Thread David Bolen
Martin v. Löwis mar...@v.loewis.de writes: This actually happened on Windows - some people now recommend to run the buildbot scripts on a regular developer checkout, because they supposedly do the right things. I have to admit that I'm guilty of this (though to be fair

Re: [Python-Dev] Automatic installer builds (was Re: Fwd: Broken link to download (Mac OS X))

2010-04-17 Thread Steve Holden
David Bolen wrote: Martin v. Löwis mar...@v.loewis.de writes: This actually happened on Windows - some people now recommend to run the buildbot scripts on a regular developer checkout, because they supposedly do the right things. I have to admit that I'm guilty of

Re: [Python-Dev] Very Strange Argument Handling Behavior

2010-04-17 Thread Maciej Fijalkowski
On Sat, Apr 17, 2010 at 1:03 PM, Steve Holden st...@holdenweb.com wrote: Dino Viehland wrote: Maciej wrote: [...] And yet that breaks some code :-) Sure, if you do: class C(object):     locals()[object()] = 42 dir(C) You lose.  Once I'm aware of some piece of code in the wild doing