[Python-Dev] im_func: implementation detail?

Guido van Rossum guido at python.org
Sun Mar 11 21:53:31 CET 2012


On Sun, Mar 11, 2012 at 1:11 PM, Ethan Furman <ethan at stoneleaf.us> wrote:
> How does someone know if something in CPython is an implementation detail or
> not?

Sadly, there's a large grey area where the language reference doesn't
have enough rigor, so asking here is often the only way.
> In the case of im_func, I think it is (an implementation detail), and
> another person thinks it is part of the language spec.  That all
> implementations must have.

It's part of the language spec. However it's now called __func__.
-- 
--Guido van Rossum (python.org/~guido)


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /