ITPUB
ITPUB
Oct 20, 2019 · Fundamentals

Explore Python 3.8: Assignment Expressions, Positional‑Only Params & New Features

Python 3.8 introduces several practical enhancements—including the walrus operator (:=) for assignment expressions, positional‑only parameters marked by '/', runtime audit hooks, f‑string debugging with '=', improved asyncio REPL handling, shared memory support, a built‑in @cached_property decorator, and numerous performance and library updates.

3.8Shared Memoryassignment expression
0 likes · 8 min read
Explore Python 3.8: Assignment Expressions, Positional‑Only Params & New Features
MaGe Linux Operations
MaGe Linux Operations
Oct 15, 2019 · Fundamentals

Discover Python 3.8’s Game‑Changing Features: Walrus Operator, Audit Hooks & Beyond

Python 3.8 introduces a suite of powerful language enhancements—including the assignment expression (Walrus Operator), mandatory positional‑only parameters, runtime audit hooks, cross‑process shared memory, importlib.metadata utilities, cached_property, decorator simplifications for lru_cache, an interactive asyncio REPL, f‑string debugging, AsyncMock for asynchronous testing, and iterable unpacking fixes—each illustrated with concise code examples.

AsyncMockPython 3.8Shared Memory
0 likes · 7 min read
Discover Python 3.8’s Game‑Changing Features: Walrus Operator, Audit Hooks & Beyond