News for hackers. Stuff that matters.
Re:What’s New in Python 3.8 by bandrami on Tuesday October 15, 2019 @02:31AM (#21256035)
just use "_P", a fairly-widely-recognized substitute from the Lisp world.
Re:What’s New in Python 3.8 by maksimum on Tuesday October 15, 2019 @02:39AM (#21256075)
As a python programmer I would have no idea what `valid_P` is supposed to mean. Valid Pascals?
Re:What’s New in Python 3.8 by bandrami on Tuesday October 15, 2019 @02:52AM (#21256134)
P is shaped like a question mark, though I think it was retronymed to stand for "Predicate"
Re:What’s New in Python 3.8 by NateEag on Tuesday October 15, 2019 @07:29AM (#21257418)
I think "predicate" is the original meaning of that postfix.

Emacs Lisp, at least, can use question marks in names without batting an eyelash.

I see no reason that would not have been true for Lisps generally since their birth.

Re:What’s New in Python 3.8 by ptx on Tuesday October 15, 2019 @08:05AM (#21257592)
The suffix is just "p" in Common Lisp[1], so I think the "predicate" explanation is more likely to be correct than the visual analogy to the question mark.

[1] http://www.lispworks.com/documentation/HyperSpec/Body/f_list...