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 -- [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/W5OEXMDQBRVW26LGBLG4SYTW3D2QC5YZ/ Code of Conduct: http://python.org/psf/codeofconduct/
