On 2016-04-05, Jon Ribbens <jon+use...@unequivocal.co.uk> wrote: > On 2016-04-05, Chris Angelico <ros...@gmail.com> wrote: >> Your code is a *lot* safer for using 'eval' rather than 'exec'. >> Otherwise, you'd be easily exploited using exceptions, which carry a >> ton of info. > > ... but all in attributes that don't start with "_", as far as I can see.
Sorry, obviously I meant "that *do* start with '_'". -- https://mail.python.org/mailman/listinfo/python-list