3 ms·
> I wrote up a list of "things I wish python would fix but I think probably never will" What else is on your list? I'd be interested to see what other parts of
by bakery2k 7y ago
> I wrote up a list of "things I wish python would fix but I think probably never will"
What else is on your list? I'd be interested to see what other parts of Python you would wish to change.
- pytester 7y agoAmong other things: * Implicitly casting strings, integers, dates, etc. to boolean (e.g. "if x" being true if x is a non empty string). Cause of more unexpected bugs that I can count, but would cause massive headaches if implemented and memories of the the 2-to-3 transition would scare anybody away from doing this I think. * Treating booleans as integers (True + True = 2). Probably wouldn't cause that many headaches if implemented but everybody still seems to think it's a neat idea for some reason. * Treating non-package dependencies of pip packages (e.g. C compilers, header files) as something that is either the package's problem or the OS's problem. Nobody looks at this problem and thinks "I should solve this".