On Tue, May 26, 2020 at 11:05 AM Steven D'Aprano <[email protected]> wrote:
> If you want the default value to be X, then:
>
> - if you want a fresh X each time, then you want late binding;
>
> - if you want the same X each time, then you want early binding;
>
> - if you don't care, then early binding is likely to be a little
>   more efficient.

And if you don't care, then early binding also means early error
detection. Another reason it should remain the default.

ChrisA
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/OV3QZVO3XBQB2VOXWYRXFAVLA4B43IWL/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to