[Python-ideas] PEP 505: None-aware operators

Chris Angelico rosuav at gmail.com
Sun Jul 29 08:15:40 EDT 2018


On Sun, Jul 29, 2018 at 8:32 PM, David Mertz <mertz at gnosis.cx> wrote:
> I can hardly imagine a stronger bug magnet than PEP 505.

The hyperbole in this thread is impressive. Not just "I can hardly
imagine anyone PROPOSING a stronger bug magnet". You cannot imagine
one even existing.

And this is after people have proposed that "if x = 1:" become the
spelling for assignment expressions - something so well known as a bug
magnet that C compilers specifically warn against it, and style guides
recommend always writing "if (1 == x)" instead. Claiming that "?." is
*the worst possible bug magnet* rather weakens your credibility here.

ChrisA


More information about the Python-ideas mailing list