Tagged articles
6 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
Mar 8, 2025 · Fundamentals

10 Hidden Python Features That Can Supercharge Your Code

Discover ten powerful yet often overlooked Python features—from the walrus operator and generators to dataclasses and f‑strings—that can dramatically simplify code, boost performance, and enhance readability for developers of all levels.

Advanced FeaturesCode OptimizationPython
0 likes · 8 min read
10 Hidden Python Features That Can Supercharge Your Code
Test Development Learning Exchange
Test Development Learning Exchange
Jul 24, 2024 · Fundamentals

Understanding the Walrus Operator (:=) in Python 3.8

Python 3.8 introduced the walrus operator (:=), a concise assignment expression that allows in-line variable assignment within expressions, and this article explains its purpose, benefits, and provides ten practical code examples illustrating its use in loops, comprehensions, conditionals, and function calls.

PythonPython 3.8assignment expression
0 likes · 5 min read
Understanding the Walrus Operator (:=) in Python 3.8
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.8assignment expression
0 likes · 7 min read
Discover Python 3.8’s Game‑Changing Features: Walrus Operator, Audit Hooks & Beyond
21CTO
21CTO
Jul 31, 2019 · Fundamentals

What’s New in Python 3.8? Key Features and Improvements Explained

Python 3.8, now in beta 2, introduces several notable enhancements—including the assignment expression (walrus operator), improved f‑string debugging, keyword‑only arguments enforcement, relocatable __pycache__, faster C‑extension calls, and various module updates—while targeting an official release by October 2019.

New FeaturesPositional‑only ParametersPython
0 likes · 9 min read
What’s New in Python 3.8? Key Features and Improvements Explained
MaGe Linux Operations
MaGe Linux Operations
Aug 4, 2018 · Fundamentals

Why Guido van Rossum Resigned and What It Means for Python’s Future

Guido van Rossum, the creator of Python and its longtime BDFL, announced his resignation citing health concerns and controversy over PEP 572, while discussing the upcoming inclusion of assignment expressions in Python 3.8, the future governance of the language, and his continued role as a contributor.

BDFLGuido van RossumPEP 572
0 likes · 8 min read
Why Guido van Rossum Resigned and What It Means for Python’s Future