Tagged articles
6 articles
Page 1 of 1
21CTO
21CTO
May 12, 2026 · Fundamentals

Python 3.15 First Beta Released – No New Features After This Point

The Python team has launched the first beta of Python 3.15, introducing a stable free‑threaded ABI, lazy import syntax, the zero‑overhead Tachyon profiler, default UTF‑8 encoding and a faster JIT, while announcing that no further features will be added before the final 2026‑10‑01 release.

Beta ReleaseJITLazy Import
0 likes · 5 min read
Python 3.15 First Beta Released – No New Features After This Point
21CTO
21CTO
Nov 5, 2025 · Fundamentals

How PEP 810’s Explicit Lazy Imports Can Speed Up Your Python Apps

PEP 810 introduces explicit lazy imports to Python, allowing modules to be loaded only when needed, which can significantly reduce startup time while keeping the feature optional and backward‑compatible, marking a major step forward after years of community debate and earlier failed attempts.

Lazy ImportPEP 810Startup Performance
0 likes · 3 min read
How PEP 810’s Explicit Lazy Imports Can Speed Up Your Python Apps
IT Services Circle
IT Services Circle
Jul 20, 2025 · Fundamentals

Why __init__.py Is the Secret Backbone of Your Python Packages

This article explains the purpose and evolution of the __init__.py file, shows how it marks a directory as a Python package, demonstrates core functions like package initialization, API control, lazy importing, version management, and provides best‑practice guidelines with real‑world examples.

InitializationLazy ImportPackage
0 likes · 9 min read
Why __init__.py Is the Secret Backbone of Your Python Packages
Code Mala Tang
Code Mala Tang
May 17, 2025 · Backend Development

How Lazy Imports Can Slash Python Startup Time by 80%

Learn how Python's eager import mechanism can cause slow startup in large projects and discover practical lazy import techniques—including function-level imports, custom LazyLoader classes, context manager approaches, and standard library solutions—that dramatically reduce launch time and memory usage while maintaining IDE support.

Lazy ImportMemory OptimizationStartup Time
0 likes · 11 min read
How Lazy Imports Can Slash Python Startup Time by 80%
IT Services Circle
IT Services Circle
Apr 15, 2025 · Backend Development

Lazy Import in Python: Techniques for Reducing Startup Time and Memory Usage

This article explains how Python's eager import mechanism can cause startup delays in large projects and demonstrates various lazy import techniques—including function-level imports, custom LazyLoader classes, standard library LazyLoader, and context manager approaches—to improve startup performance and reduce memory usage, supported by benchmark data and best‑practice recommendations.

Backend DevelopmentImport MechanismLazy Import
0 likes · 12 min read
Lazy Import in Python: Techniques for Reducing Startup Time and Memory Usage