<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Patterns on 免费白票</title>
    <link>https://dibi8.com/tags/patterns/</link>
    <description>Recent content in Patterns on 免费白票</description>
    <image>
      <title>免费白票</title>
      <url>https://dibi8.com/og-default.png</url>
      <link>https://dibi8.com/og-default.png</link>
    </image>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 03 May 2026 10:00:00 +0800</lastBuildDate>
    <atom:link href="https://dibi8.com/tags/patterns/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Python Context Managers: The Three Cases You Actually Need</title>
      <link>https://dibi8.com/posts/python-context-managers-the-three-cases-you-actually-need/</link>
      <pubDate>Sun, 03 May 2026 10:00:00 +0800</pubDate>
      <guid>https://dibi8.com/posts/python-context-managers-the-three-cases-you-actually-need/</guid>
      <description>Most tutorials show the trivial &lt;code&gt;with open(...)&lt;/code&gt; example and stop. Here are the three patterns I actually reach for in real code, and the failure modes each one prevents.</description>
    </item>
  </channel>
</rss>
