On Tue, May 26, 2020 at 11:05 AM Steven D'Aprano <st...@pearwood.info> 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 -- 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/OV3QZVO3XBQB2VOXWYRXFAVLA4B43IWL/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to