On Sat, Jul 11, 2020, at 20:15, Greg Ewing wrote:
> The set of callables that can be considered "safe" depends
> on the application, so there can't really be a generic
> "safe" option. If that were possible, it would no doubt
> already exist and be the default.

My main concern is wanting to make the, yes, application specific decision on 
whether calling a callable is safe *at call time* [and with access to the 
arguments e.g to determine if getattr is safe], rather than simply at the time 
a global is loaded.
_______________________________________________
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/W5OEXMDQBRVW26LGBLG4SYTW3D2QC5YZ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to