Message274929
| Author |
gvanrossum |
| Recipients |
gvanrossum, levkivskyi |
| Date |
2016年09月08日.00:16:20 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAP7+vJ+mq_q-94FOE90eH1LRv4EXTH0opmaV=98aa9n1+B5tDQ@mail.gmail.com> |
| In-reply-to |
<1473293051.26.0.151154265067.issue27985@psf.upfronthosting.co.za> |
| Content |
Each statement at the REPL should re-initialize __annotations__ if it
contains any annotations. I think this is how exec() already works. It
adds __annotations__ to the namespace as needed, but just updates it
if present. Inside a class it's different, that should be considered a
single block. |
|