Swift pitch would mark closures that run exactly once
A second language proposal would let APIs promise a closure runs once, so it can consume noncopyable values and move non-Sendable ones.
By rvalueA second language proposal would let APIs promise a closure runs once, so it can consume noncopyable values and move non-Sendable ones.
By rvalueCompanion PEPs 823 and 824 force the community to weigh everyday ergonomics against teaching cost, precedence surprises, and sentinel interactions under Steering Council scrutiny.
By segfaultA language proposal would let ordinary functions suspend after handing out a value, then resume for cleanup, aiming to shrink with-style closure pyramids.
By rvalueA proposed send expression would enqueue ordered actor work from synchronous code without spinning up a full unstructured Task, generalizing an idea that began with distributed actors.
By rvalueA proposed #if on minimum OS versions would help shared libraries pick types at compile time, while core engineers call the need a deeper language gap.
By rvalueA non-interface union design for closed variant sets is under active review, including soft-keyword experiments and type-inference trade-offs.
By rvalueThe ?? and ??= forms would supply defaults only when a value is None, and can be accepted independently of related None-aware access syntax.
By segfaultThe draft splits long-running PEP 505 ideas so access operators can be judged apart from coalescing ones.
By segfaultThe attribute would let the compiler enforce at-most-once calls and reason about closure captures alongside non-copyable types.
By segfaultA single from-import form would also append names to __all__, targeting the double-entry tax that package facade modules pay today.
By segfaultGuido van Rossum and core developers clash over how visibly modules should opt into restricting their public API.
By rvalueSE-0539 would let accessor macros promise the compiler that an initializer expression will run only after self is fully available.
By rvalueThe change targets a blocker for public initializers on macro-generated structs without waiting on new synthesis syntax.
By rvalue