Protect your Python programs from problems and perils The Python Security Response Team has declined to treat a memory-safety bug in the CPython runtime as a CPython vulnerability, even though the flaw could let AI model templates run arbitrary code on inference servers, according to a roundup of Python news. The same roundup notes that PyPI now requires source distributions and binary wheels to be archives in specific formats to prevent malicious misuse of archive extraction, and that Shed Skin, a Python-to-C++ compiler supporting only a restricted statically typed subset of Python, has reached its 1.0 milestone. When is a CPython vulnerability not a CPython vulnerability? How do the AI and machine learning capabilities of other programming languages stack up against those of Python? You’ll find the answers to those questions at the links below. And if you’re keeping Python secure and up-to-date on Windows, we have good news — a new tool makes the job easier. Flaw in CPython enables AI-server attacks https://www.infoworld.com/article/4245631/cpython-flaw-exposes-ai-inference-servers-to-sandbox-escape-attacks-2.html A memory-safety bug in the CPython runtime could enable AI model templates to run arbitrary code on inference servers. However, the Python Security Response Team says the issue falls outside of CPython’s security threat model. AI and machine learning outside of Python https://www.infoworld.com/article/4078766/ai-and-machine-learning-outside-of-python.html It’s a matter of habit to reach for Python when writing machine learning applications. But what’s the machine learning ecosystem like in other languages, like C and Rust? Get started with the new Python Installation Manager https://www.infoworld.com/article/4001983/get-started-with-the-new-python-installation-manager.html Windows users, take note: The old-school MSI installers for Python are going away, usurped by new Python Install Manager. It’s the convenient way to manage multiple Python editions side-by-side. How to use editable installs for Python packages https://www.infoworld.com/article/4011198/how-to-use-editable-installs-for-python-packages.html If you’re using libraries that you’re also developing, this powerful technique lets you avoid reinstalling those libraries with each change. Shed Skin, a Python to C++ compiler, reaches 1.0 milestone https://shed-skin.blogspot.com/2026/11/shed-skin-restricted-python-to-c.html After many years of development, and being overshadowed somewhat by the Cython project, Shed Skin is worth experimenting with for faster Python. However, it supports only a very restricted, statically typed subset of the Python language. Tried Python 3.16 alpha yet? https://www.python.org/downloads/release/python-3160a2 Some of the early new features include expanded regular expression support, faster interpreter startup, and further improvements to error messages. PyPI now has stricter checks for uploaded distributions https://blog.pypi.org/posts/2026-11-18-stricter-checks-for-uploaded-sdists Source distributions and binary wheels uploaded to PyPI now must be archives in specific formats, the better to prevent malicious misuse of archive extraction. Those using Python’s native tooling to make wheels and “sdists” should not have to change anything. Where Python 3.15’s lazy imports did and didn’t help https://namegarage.com/blog/python-3-15-lazy-imports A report from the field: Namegarage discusses how their use of Python’s new lazy import feature has paid off, and shares the techniques they employed to get the wins.