mathspp blog

467 509,175 41,777
articles words lines of code

Learn about 4 of the most exciting updates made to the Python standard library in 3.15.

This article goes over the major improvements made to the typing module in Python 3.15.

Learn how to define a TypedDict that accepts extra items of a given type.

Learn about the new module profiling that was introduced in Python 3.15 to organise the built-in profiling tools.

Learn how to use Tachyon, Python's sampling profiler.

Learn about the top 3 developer experience improvements from Python 3.15

Learn how to use startup configuration files to run package entry points when the Python interpreter starts up.

Learn how to use the unpacking operator inside list comprehensions.

Learn how to use the new frozendict built-in to create and manipulate immutable dictionaries.

Learn how to use the sentinel built-in from Python 3.15 for placeholder values.

Learn how to use lazy imports to speed up the startup time of your Python applications.

This article explains the 5 best new features of Python 3.15 with clear examples and explanations.