try:
flaky_function()
except (BigProblem, SmallProblem):
...
With Python 3.14, you can simply list multiple exceptions separated by commas:
try:
flaky_function()
except BigProblem, SmallProblem:
...
The original syntax still works, of course, but the new syntax means a little less typing for a common scenario.
stdlib support for multiple interpreters
Python has long had multiple options for concurrent programming: threading, multiprocessing, and async. More recently, a long-dormant feature has been refined to be useful to end users: support for multiple interpreter instances inside a single process.
For a long time, the “subinterpreter” system had no real end-user interface. As of Python 3.14, the Python standard library now has a module, called concurrent.interpreters, that exposes some basic functionality for using subinterpreters. This provides a halfway house between the full isolation of multiprocessing and the shared contexts of a thread.
Right now, concurrent.interpreters doesn’t expose much functionality. For instance, there aren’t many high-level mechanisms for sharing objects between interpreters, and the way subinterpreters work generally doesn’t resemble the way threads or subprocesses work. To that end, subinterpreters should be thought of as an experimental new mechanism for concurrency, where the Python community will discover its best use cases as more functionality for it comes online.