Great! I'll begin work on this soon and reach out to you when I have something.
Thanks, Ben, for bringing this up.
___
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
I'll sponsor.
On Tue, Feb 4, 2020 at 9:43 AM Brandt Bucher wrote:
> This has struck me as unnecessarily restrictive ever since I first bumped
> up against it. I think that the reoccurring threads on this topic, the
> availability of awful (and inefficient) hacks to circumvent this
>
why not add an identity function to the builtins?
@noop(buttons[0].clicked.connect)
def foo():
... # do whatever
On 2020-02-03 9:08 p.m., Guido van Rossum wrote:
I’ve always resisted changing this, but it keeps coming up, and in
other cases we don’t restrict the grammar (except when there
This has struck me as unnecessarily restrictive ever since I first bumped up
against it. I think that the reoccurring threads on this topic, the
availability of awful (and inefficient) hacks to circumvent this restriction,
and the presentation here of a legitimate use case are all solid
Yes, it requires a PEP -- note that I am not longer the decider, and none
of the core devs will want to take responsibility for such a change of
heart, so it has to go to the Steering Council. And the easiest way for
that is a PEP.
On Tue, Feb 4, 2020 at 02:04 Eric V. Smith wrote:
> On 2/4/2020
On 2/4/2020 4:07 AM, Ben Avrahami wrote:
Thanks for the reply! Is this really deserving of a PEP? It's such a
minor change in the language, can't it be resolved as a python issue?
Out of curiosity, why have you always resisted changing this?
PEP-318 references
Thanks for the reply! Is this really deserving of a PEP? It's such a minor
change in the language, can't it be resolved as a python issue?
Out of curiosity, why have you always resisted changing this?
On Tue, Feb 4, 2020 at 2:08 AM Guido van Rossum wrote:
> I’ve always resisted changing this,
I’ve always resisted changing this, but it keeps coming up, and in other
cases we don’t restrict the grammar (except when there are real
ambiguities). So maybe the SC can accept a PRP for this?
On Mon, Feb 3, 2020 at 15:47 Ben Avrahami wrote:
> Hi all, decorators are a very powerful feature in