On 10 Nov 2018 01:03, Steven D'Aprano <st...@pearwood.info> wrote: On Thu, Nov 08, 2018 at 11:34:35AM -0500, Avi Gross wrote: > An interesting discussion that is outside the scope of a group like this is > HOW malicious things can be done and perhaps how to avoid them. > Isn't the rule, simply: this_is_stupid = eval(input("please enter malicious code: ")) ... and other uses range from 'code smell' to 'elegant' (where namedtuple is an example of the latter) _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
- Re: [Tutor] best way to dynamically set class variabl... Mats Wichmann
- Re: [Tutor] best way to dynamically set class va... Albert-Jan Roskam
- Re: [Tutor] best way to dynamically set clas... Alan Gauld via Tutor
- Re: [Tutor] best way to dynamically set ... Alan Gauld via Tutor
- Re: [Tutor] best way to dynamically set ... Alan Gauld via Tutor
- Re: [Tutor] best way to dynamically set ... Peter Otten
- Re: [Tutor] best way to dynamically ... Alan Gauld via Tutor
- Re: [Tutor] best way to dynamic... Avi Gross
- Re: [Tutor] best way to dyn... Albert-Jan Roskam
- Re: [Tutor] best way to dyn... Steven D'Aprano
- Re: [Tutor] best way to dyn... Albert-Jan Roskam
- Re: [Tutor] best way to dyn... Pablo Lucena
- Re: [Tutor] best way to dynamically set class variabl... Steven D'Aprano