Article 6TMTM Reviving None-aware operators for Python

Reviving None-aware operators for Python

by
daroc
from LWN.net on (#6TMTM)

The idea of adding None-aware operators to Python has sprung up onceagain. These would make traversing structures with None values in themeasier, by short-circuiting lookups when a None is encountered. Almostexactly a year ago, LWN covered the previous attempt to bringthe operators to Python, but there have been periodic discussions stretching back to2015 and possibly before. This time Noah Kim has taken up the cause. After some debate, heeventually 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 thatit has been stuck in for most of the last decade.

External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments