English · 中文

All Keywords

Python

3 related articles

Migrating from Chat Completions to the Responses API: A Minimal Python Guide

Jan 10, 2026

Migrate one Python text path to the Responses API while preserving model, state, error, and evaluation control.

Designing Replaceable Python Boundaries with Protocols and Type Narrowing

Dec 6, 2025

Use structural protocols, TypeGuard, and Python 3.13 TypeIs to create caller-owned dependency seams with both static feedback and runtime validation.

Structured Concurrency in Python with asyncio.TaskGroup

Jun 30, 2025

Use TaskGroup in Python 3.12 and 3.13 to give concurrent work a bounded lifetime, predictable failure propagation, timeouts, and testable cancellation.

Portrait of Lukes Lu

Lukes Lu

Software Developer

  • lukes.lu@yahoo.com
  • github.com/ilukes
  • @lupingui
  • Home
  • About
  • Keywords →
    • SwiftUI
    • OpenAI
    • Responses API
    • cancellation
    • iOS 26 beta
    • reasoning effort
    • AI Agent
    • Codex

©2026 All rights reserved. Made with Jekyll and ♥