A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-April/003612.html below:

[Python-Dev] Object customization

[Python-Dev] Object customization [Python-Dev] Object customizationGreg Stein gstein@lyra.org
Mon, 17 Apr 2000 13:28:18 -0700 (PDT)
On Mon, 17 Apr 2000, Jeremy Hylton wrote:
> >>>>> "SM" == Skip Montanaro <skip@mojam.com> writes:
> 
>   Ken> We haven't even seen a satisfactory approach to referring to
>   Ken> the function, itself, from within the function.  Maybe it's not
>   Ken> even desirable to be able to do that - that's an interesting
>   Ken> question.
> 
>   SM> I hereby propose that within a function the special name __
>   SM> refer to the function.
> 
> I think the syntax is fairly obscure.  I'm neurtral on the whole idea
> of having a special way to get at the function object from within the
> body of the code.

I agree.

> Also, the proposal to handle security policies using attributes
> attached to the function seems wrong.

This isn't the only application of function attributes. Can't throw them
out because one use seems wrong :-)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4