Python 3.15 makes UTF-8 the default encoding and adds explicit lazy imports
Python 3.15.0 came out on October 9, 2026. Files opened without an explicit encoding are now read and written as UTF-8 on every system, and a new lazy import statement defers loading a module until it is used. The release also adds frozendict and a sampling profiler.
The Python Software Foundation released Python 3.15.0 on October 9, 2026. Two changes matter most for existing code. UTF-8 is now the default text encoding regardless of the operating system's settings, and a new lazy import statement lets a program put off loading a module until it first uses it, which can shorten startup time.
The change that can affect existing code
Under PEP 686, a call such as open("notes.txt") without an encoding argument now uses UTF-8 instead of whatever the system environment says. The Python documentation recommends always passing an explicit encoding. Projects that need the old behavior can turn UTF-8 mode off with PYTHONUTF8=0 or -X utf8=0.
This suggests the change is most visible on Windows, where the system encoding has often not been UTF-8: code that read or wrote files in the local encoding may now handle the same files differently.
Lazy imports and other additions
PEP 810 adds the lazy keyword. With lazy import json, Python does not load the module until the name is first accessed. The keyword works only at module level, and -X lazy_imports=all or PYTHON_LAZY_IMPORTS=all makes every import lazy.
The release adds two built-in types: frozendict, an immutable dictionary that is hashable when its contents are, and sentinel, for unique marker values. Comprehensions now support unpacking, and a new profiling package includes Tachyon, a high-frequency sampling profiler. The old profile module is deprecated and scheduled for removal in Python 3.17.
According to the release page, the experimental JIT compiler is 7 to 8% faster than the standard interpreter on x86-64 Linux and 11 to 12% faster than the tail-calling interpreter on AArch64 macOS, measured as a geometric mean. The official macOS installers now include free-threading support by default, and PEP 803 gives free-threaded builds a stable ABI.
Before upgrading
The release page warns that IDLE and other tkinter applications may hang when opening dialogs on macOS 27.0, and it suggests waiting with that macOS upgrade until a workaround is available. Python 3.15 gets bug-fix releases about every two months for two years and security fixes until about October 2031.
Sources
Once a week, in your inbox
The whole week's news, gathered into one email. No ads, no passing your address on, one-click unsubscribe.
The address is used only for this roundup. It is not sold and not passed to anyone.
Related
GitHub will bill organizations for Copilot code review by default starting December 30
GitHub said on November 25, 2026, that Copilot code review for licensed members will be billed to the organization that owns the repository whenever no billing choice has been saved. The change applies to Copilot Business and Copilot Enterprise. Administrators who want to keep the current arrangement have to select Member before December 30, 2026.
GitHub Changelogverified
OpenClaw 2026.11.10 turns on Deep Research by default and lets users take over the agent's browser
OpenClaw's new release includes Deep Research, which looks through several sources and returns a report with quotes and gaps marked. It is on by default and uses the models the user has already set up. A second addition lets a user take over a browser tab during a sign-in, although the agent can still capture the page. The optional Knowledge plugin stores memory in local Markdown files.
OpenClawverified

AWS WAF will bill each protected resource from February 2027 and drop its fees for rules
Amazon is changing how it charges for AWS WAF, the firewall that filters traffic to web applications. Rules and rule sets become free, while every protected resource gets an hourly fee. Sites with many rules on a few resources stand to pay less, and companies that cover many resources with one rule set can pay several times more.
AWSverified