<p dir="ltr">Le 8 févr. 2016 8:14 PM, "Guido van Rossum" <<a href="mailto:guido@python.org">guido@python.org</a>> a écrit :<br>
> Hum. I'm not excited by this idea. It is not bad syntax.</p>
<p dir="ltr">Do you see an use case for "constant statements" other than strings and ellipsis?</p>
<p dir="ltr">Such statement does nothing. Previously the compiler emited LOAD_CONST+POP_TOP.</p>
<p dir="ltr">GCC also emits a warning on such code.</p>
<p dir="ltr">> Have you<br>
> actually seen newbies who were confused by such things?</p>
<p dir="ltr">Well, not really. But I don't see any use case of such code except of obvious mistakes. Sometimes such code appears after multiple refactoring (and mistakes).</p>
<p dir="ltr">Are you suggesting to remove the warning?</p>
<p dir="ltr">Victor</p>