Message275697
| Author |
gvanrossum |
| Recipients |
Martin.Teichmann, eric.snow, gvanrossum, ncoghlan, ned.deily |
| Date |
2016年09月10日.20:59:11 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAP7+vJL8Nu6wZ74fvNH26pjShAQj6kW9P0Q2_o4id39eq61MJQ@mail.gmail.com> |
| In-reply-to |
<1473531259.04.0.0279021810635.issue23722@psf.upfronthosting.co.za> |
| Content |
Nick, if you feel like doing this, go ahead, either before or after
beta1 (but if you want to do it before please do it quickly).
(Off-topic: boy do I miss CI that triggers when you send a patch for review...)
On Sat, Sep 10, 2016 at 11:14 AM, Martin Teichmann
<report@bugs.python.org> wrote:
>
> Martin Teichmann added the comment:
>
> This is the originial patch rebased such that it applies to the current master.
>
> As a detail in the discussion: "__classcell__" is not visible during the execution of the class body, as it is added at the end of the class body. In this regard, it is different from "__qualname__", which is set at the beginning of the class body such that it may be changed.
>
> The new __classcell__ does show up, however, in the namespace parameter to the __new__ method of the metaclass.
>
> ----------
> Added file: http://bugs.python.org/file44533/classcell.patch
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue23722>
> _______________________________________ |
|