<?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>缓冲 on My_blog</title><link>https://dsduyopg-github-io.pages.dev/tags/%E7%BC%93%E5%86%B2/</link><description>Recent content in 缓冲 on My_blog</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sat, 03 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://dsduyopg-github-io.pages.dev/tags/%E7%BC%93%E5%86%B2/index.xml" rel="self" type="application/rss+xml"/><item><title>Python 后台跑，日志文件一直是空的？搞懂 -u 和 flush=True</title><link>https://dsduyopg-github-io.pages.dev/%E4%B8%93%E6%A0%8F/ai%E6%95%B4%E7%90%86%E7%9A%84%E6%96%87%E4%BB%B6%E4%BB%A5%E5%8F%8A%E8%AE%B0%E5%BD%95/python-buffered-log-empty/</link><pubDate>Sat, 03 Oct 2026 00:00:00 +0000</pubDate><guid>https://dsduyopg-github-io.pages.dev/%E4%B8%93%E6%A0%8F/ai%E6%95%B4%E7%90%86%E7%9A%84%E6%96%87%E4%BB%B6%E4%BB%A5%E5%8F%8A%E8%AE%B0%E5%BD%95/python-buffered-log-empty/</guid><description>进程活着、文件建好了，日志却一直是 0 字节——stdout 缓冲在后台模式下不会自己刷，两个办法解决。</description></item></channel></rss>