On Mon, Dec 06, 2021 at 10:16:06PM +1100, Chris Angelico wrote: > > You (Chris) argue in favour of your PEP, where the bytecode of the > > default expression is inlined into the function's body, because you > > insist that it belongs in the body. You justify that claim by making > > spurious arguments that it is "impossible" to do otherwise (your term, > > not mine). But it isn't impossible, and I shall justify that claim in > > another post. A bold claim for somebody who knows nothing about the C > > implementation :-) > > I am arguing that it belongs in the *header*.
The *source code* of the expression. But you are inlining its *bytecode* into the function body. > With definition-time expressions, their code is inlined into the body > of the surrounding context. With call-time expressions, their code is > inlined into the body of the function. Right! That's what I said. -- Steve _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/CFQFRQBDCOJYCXXF444QIB5OBTMDAJAS/ Code of Conduct: http://python.org/psf/codeofconduct/