Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Microsoft for Python Developers 2 min read Release mediumAdept

Python Environments Extension for VS Code- April Update

The April 2026 Python Environments extension update speeds up VS Code startup by discovering Pipenv, pyenv and poetry environments lazily and by narrowing the default venv search from `./**/.venv` to `.venv` and `*/.venv`. The old recursive pattern could hang the PET process for 30+ seconds over Remote-SSH and cause restart loops. Users with venvs nested more than one level deep can add them through `python-envs.workspaceSearchPaths`. Other fixes include retrying refresh after a PET crash, correct restoration of the conda base environment, automatic package list refresh by watching site-packages, a project picker for terminals in multi-project workspaces, and a process-scoped PowerShell execution policy so activation scripts run on Windows.

Assumes: Python virtual environmentsVS Code extensions

Related posts

  • Making Python in Zed Fun

    Zed easyNovice

    Zed reworked its Python support around a generic per-language toolchain selector backed by Microsoft's python-environment-tools, the same library Visual Studio Code uses for venv detection. A manifest tree tracks the nearest pyproject.toml so each monorepo sub-project gets its own toolchain. Zed also runs a separate language server per toolchain rather than making servers juggle multiple environments. Basedpyright is now the default LSP, ty and Ruff work out of the box, Pyrefly is available via an extension, and the team plans to move Astral's ty into core and add notebooks in 2026.

  • Master Docker and VS Code: Supercharge Your Dev Workflow

    Docker mediumAdept

    Docker containers paired with VS Code's Docker extension give every developer an identical environment and remove "works on my machine" bugs. The walkthrough builds and runs annotated Dockerfiles for an Express app and a Flask app, then manages containers from the extension's sidebar. It also covers attaching the debugger to Node's inspect port (9229) and to multiple services under Compose, and using Dev Containers for shared team environments. Tips include trusted base images, scanning with Docker Scout or Trivy, `.dockerignore` and multi-stage builds, and a GitHub Actions snippet that builds, tests and pushes images.

  • Security notice — malicious version of Anthropic.claude-code (2.1.312 and 2.1.313) identified in the Cursor VS Code Extension Marketplace · Cursor

    Cursor mediumAdept

    Tampered builds of the Anthropic.claude-code extension (2.1.312 and 2.1.313, macOS and Windows) were served from Cursor's VS Code Extension Marketplace for about 11 hours on Oct 29, 2026. The payload collected host and user details, added an attacker SSH key labeled svc-telemetry to authorized_keys, and tried to open a persistent reverse SSH tunnel through a LaunchAgent or a SysMon scheduled task. Without admin rights the SSH service step usually failed, and the attacker server has since been taken offline. Cursor pulled the versions, rotated keys and rebuilt the marketplace. It provides detection and remediation scripts plus full IOCs (hashes, IP, file paths, process command lines) and advises removing persistence and rotating credentials, since uninstalling the extension alone is not enough.

  • Auto Update Post-Mortem

    Zed mediumAdept

    A settings-loading refactor in Zed changed the auto-update setting's type from `Option<bool>` to `bool`, so a missing user value was treated as an explicit `false` instead of falling back to the default settings file, silently disabling auto-updates in v0.203.0–v0.203.4 and v0.204.0. The regression was spotted internally hours before the stable release, but the Slack message never reached the people shipping it. Affected users must run "auto update: check" or download manually. Zed added a CI test guarding the `auto_update` default, will route regression reports through a `@first-responders` escalation alias, and plans to simplify its settings code.

  • Python 3.15

    Astral mediumAdept

    Python 3.15 adds a `lazy` import keyword (PEP 810), a stdlib `profiling` module with the low-overhead Tachyon sampling profiler, new typing features (closed/extra_items TypedDicts, TypeForm), `sentinel` and `frozendict` builtins, and `*`/`**` unpacking in comprehensions. Ruff v0.17 adds lint rules TID254 and TID255 for enforcing and validating import laziness. uv gains a preview flag that makes build-backend imports lazy, speeding wheel builds by up to 18%. Windows x86-64 builds get 15-20% pyperformance gains from the Clang tail-call interpreter, ARM64 builds become the default on Windows ARM, and Ruff's default target moves to 3.11 as Python 3.10 reaches end of life.

The quest for software engineering knowledge.

Look:
Layout: