Adam Olsen wrote:
> Whereas keyword-only arguments force explicitness (at the cost of
> brevity), positional-only arguments do the opposite. The default
> already allows us to choose brevity when appropriate, and the only
> reason I see to force it is when there's a conflict with **kwargs.
Which
Well, we're basically hoping that the folks who actually uses Python
to read and write text files containing non-ASCII characters on OSX
tell us what they want. At least that's where I am. Since I personally
still live in a nearly-ASCII world (and probably always will), my own
experience just doesn
On 19 Feb 2008, at 10:49, Nick Coghlan wrote:
[...]
>> Such obscure features warrant an obscure yet well-named decorator,
>> not
>> an obscure syntax that's difficult to get help on.
>
> It's difficult to handle this in a decorator, as the problem that
> occurs is the underlying function repor
Hi.
I was mainly confused about the auto-detection of the encoding. I
thought I read something earlier that Python 3 will not try to guess
encodings and that opening files will always use the sys encoding
(defaulting to UTF-8) instead of guessing. Can't find where I read
that so I might have made
I have a library change request: currently partial Objects created by
functools.partial has the "keywords" attribute. However, the standard
name for something like it is kwargs. I request that it be renamed to
"kwargs".
http://docs.python.org/lib/partial-objects.html
__
On Feb 19, 2008 11:54 AM, hashcollision <[EMAIL PROTECTED]> wrote:
> I have a library change request: currently partial Objects created by
> functools.partial has the "keywords" attribute. However, the standard
> name for something like it is kwargs. I request that it be renamed to
> "kwargs".
-1
On Feb 19, 2008 11:54 AM, hashcollision <[EMAIL PROTECTED]> wrote:
> I have a library change request: currently partial Objects created by
> functools.partial has the "keywords" attribute. However, the standard
> name for something like it is kwargs. I request that it be renamed to
> "kwargs".
Is
Brett Cannon wrote:
> On Feb 19, 2008 11:54 AM, hashcollision <[EMAIL PROTECTED]> wrote:
>> I have a library change request: currently partial Objects created by
>> functools.partial has the "keywords" attribute. However, the standard
>> name for something like it is kwargs. I request that it be re
On 2/18/08, Adam Olsen <[EMAIL PROTECTED]> wrote:
> On Feb 18, 2008 1:17 PM, Arnaud Delobelle <[EMAIL PROTECTED]> wrote:
> > A typical use of positional-only arguments is with a function
> > def f(x, y=1, **kwargs):
> > ...
> >
> > where keyword arguments are potentially anything at all, i