On Mon, Dec 06, 2021 at 09:25:23PM +0000, Barry Scott wrote: > You can shoot your self in the foot with early-binding with ease. > You have to try harder with late-binding :-)
def func(arg, sessionid=>secrets.token_hex()): ... "Why does the default session ID change every time I call the function, instead of using the same value each time?" -- 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/LVGDQYFI4ZDHXCCV6OOO35MMOQEY6UO3/ Code of Conduct: http://python.org/psf/codeofconduct/