- Sources: primary, related PEP, discussion
- Summary: PEP 824 is a draft adding the
?? and ??= operators targeting Python 3.16, replacing the check-and-assign pattern around None. The None-aware access operators are split into PEP 823 so the two proposals can be decided separately. - Why it matters: The draft adds ?? and ??= to replace the check-and-assign pattern around None, and splits the None-aware access operators into PEP 823 so the two can be decided separately.
- Follow-up: Watch the steering council decision on both PEPs and whether either lands in a 3.16 alpha.
send feedback on this story