X PAPER / Full editionIssue 008

AI & Technology / Edited report

Python 3.15: useful changes without an automatic upgrade mandate

Source author: Simon Willison · @simonw
Source posted:
Written and edited by

Simon Willison shared practical notes on Python 3.15. Official documentation dates its release to October 9 and describes explicit lazy imports and the profiling package.

Lazy imports defer loading until first use, potentially reducing command-line startup work; import failures may likewise appear at first use. The Tachyon sampling profiler observes running programs.

Willison also discusses using Python 3.11 features now that his own projects no longer target 3.10. That is a maintainer’s compatibility choice, not an instruction for every project. We did not benchmark performance or validate dependencies.

Sources and further reading

edited

Selected through a verified followed account: @simonw.