Re: [Tutor] Obfuscated Python [was Long Lines techniques]

2018-12-14 Thread Mats Wichmann
On 12/13/18 11:15 PM, Avi Gross wrote: > Steven, > > There are dunderheads who will maliciously misuse things. Yes, we know what > __add__ is supposed to do. But if someone codes a class with one that > ignores addition to a collection if it has reached a maximum size, or does > addition modulo 16

Re: [Tutor] Obfuscated Python [was Long Lines techniques]

2018-12-14 Thread Avi Gross
Steven, There are dunderheads who will maliciously misuse things. Yes, we know what __add__ is supposed to do. But if someone codes a class with one that ignores addition to a collection if it has reached a maximum size, or does addition modulo 16 or makes it play a happy birthday tune, while subt