[Python-ideas] Object grabbing

Steven D'Aprano steve at pearwood.info
Sun May 1 23:36:12 EDT 2016


On Sun, May 01, 2016 at 08:27:40PM -0700, Guido van Rossum wrote:

> Like Steven, I think it's a reasonable idea.
[...]
> But unlike Steven, I'm still lukewarm at most and would currently vote -0.

That's why I say it's a tentative +1 :-)

I think we need to see that the performance gains, if any, are real (not 
just hypothetical), and that the proposal is readable enough to overcome 
the fact that the leading dot is awfully small.

And no, I wouldn't like to see a second attribute-access syntax like 
$attr just for the sake of this proposal.

If the OP still wants to argue in favour of this, perhaps he can pull 
out some real-life examples of code that would benefit?



-- 
Steve


More information about the Python-ideas mailing list