15 Jul
2020
15 Jul
'20
5:10 p.m.
On Tue, Jul 14, 2020 at 09:47:15PM -0400, Random832 wrote:
I was asking for the current Unpickler class, which currently has a whitelist hook for loading globals, to be modified to also have a whitelist hook so that an application can provide a function that looks at a callable and its arguments that the pickle proposes to call, and can choose to either evaluate it, raise an error, or return a substitute value.
Could you provide a proof of concept subclass? -- Steven