Navigation
Search
|
Reviving None-aware operators for Python
Friday January 17, 2025. 03:53 PM , from LWN.net
The idea of adding None-aware operators to Python has sprung up once
again. These would make traversing structures with None values in them easier, by short-circuiting lookups when a None is encountered. Almost exactly a year ago, LWN covered the previous attempt to bring the operators to Python, but there have been periodic discussions stretching back to 2015 and possibly before. This time Noah Kim has taken up the cause. After some debate, he eventually settled on redrafting the existing PEP to have a more limited scope, which might finally see it move past the cycle of debate, resurrection, and abandonment that it has been stuck in for most of the last decade.
https://lwn.net/Articles/1004893/
Related News |
25 sources
Current Date
Jan, Sat 18 - 01:58 CET
|