<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/"><category term="Python" label="r/Python"/><updated>2026-11-08T02:15:19+00:00</updated><icon>https://www.redditstatic.com/icon.png/</icon><id>/r/Python/.rss</id><link rel="self" href="https://www.reddit.com/r/Python/.rss" type="application/atom+xml" /><link rel="alternate" href="https://www.reddit.com/r/Python/" type="text/html" /><logo>https://b.thumbs.redditmedia.com/8HiO52_EuT_h63Qg.png</logo><subtitle>The largest Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. --- If you have questions or are new to Python use r/LearnPython</subtitle><title>Python</title><entry><author><name>/u/AutoModerator</name><uri>https://www.reddit.com/user/AutoModerator</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Post all of your code/projects/showcases/AI slop here. &lt;/p&gt; &lt;p&gt;Recycles once a month.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/AutoModerator&quot;&gt; /u/AutoModerator &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xntm2j/showcase_thread/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xntm2j/showcase_thread/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xntm2j</id><link href="https://www.reddit.com/r/Python/comments/1xntm2j/showcase_thread/" /><updated>2026-11-04T17:05:19+00:00</updated><published>2026-11-04T17:05:19+00:00</published><title>Showcase Thread</title></entry><entry><author><name>/u/AutoModerator</name><uri>https://www.reddit.com/user/AutoModerator</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;h1&gt;Weekly Thread: What&amp;#39;s Everyone Working On This Week? 🛠️&lt;/h1&gt; &lt;p&gt;Hello &lt;a href=&quot;/r/Python&quot;&gt;r/Python&lt;/a&gt;! It&amp;#39;s time to share what you&amp;#39;ve been working on! Whether it&amp;#39;s a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you&amp;#39;re up to!&lt;/p&gt; &lt;h1&gt;How it Works:&lt;/h1&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Show &amp;amp; Tell&lt;/strong&gt;: Share your current projects, completed works, or future ideas.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Discuss&lt;/strong&gt;: Get feedback, find collaborators, or just chat about your project.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Inspire&lt;/strong&gt;: Your project might inspire someone else, just as you might get inspired here.&lt;/li&gt; &lt;/ol&gt; &lt;h1&gt;Guidelines:&lt;/h1&gt; &lt;ul&gt; &lt;li&gt;Feel free to include as many details as you&amp;#39;d like. Code snippets, screenshots, and links are all welcome.&lt;/li&gt; &lt;li&gt;Whether it&amp;#39;s your job, your hobby, or your passion project, all Python-related work is welcome here.&lt;/li&gt; &lt;/ul&gt; &lt;h1&gt;Example Shares:&lt;/h1&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Machine Learning Model&lt;/strong&gt;: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Web Scraping&lt;/strong&gt;: Built a script to scrape and analyze news articles. It&amp;#39;s helped me understand media bias better.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Automation&lt;/strong&gt;: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;Let&amp;#39;s build and grow together! Share your journey and learn from others. Happy coding! 🌟&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/AutoModerator&quot;&gt; /u/AutoModerator &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xqknnl/sunday_daily_thread_whats_everyone_working_on/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xqknnl/sunday_daily_thread_whats_everyone_working_on/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xqknnl</id><link href="https://www.reddit.com/r/Python/comments/1xqknnl/sunday_daily_thread_whats_everyone_working_on/" /><updated>2026-11-08T00:00:21+00:00</updated><published>2026-11-08T00:00:21+00:00</published><title>Sunday Daily Thread: What's everyone working on this week?</title></entry><entry><author><name>/u/__peg_parser__</name><uri>https://www.reddit.com/user/__peg_parser__</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Run this on Python 3.15:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;&amp;gt;&amp;gt;&amp;gt; lazy import json &amp;gt;&amp;gt;&amp;gt; type(globals()[&amp;#39;json&amp;#39;]) &amp;lt;class &amp;#39;lazy_import&amp;#39;&amp;gt; &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;Now try separating that into an innocent variable:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;&amp;gt;&amp;gt;&amp;gt; lazy import json &amp;gt;&amp;gt;&amp;gt; x = globals()[&amp;#39;json&amp;#39;] &amp;gt;&amp;gt;&amp;gt; type(x) &amp;lt;class &amp;#39;module&amp;#39;&amp;gt; &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;Looks like the same code, but what?! The output changes! Can you guess why?&lt;/p&gt; &lt;p&gt;(Originally asked as a &lt;a href=&quot;https://stackoverflow.com/questions/80015329/adding-an-extra-line-changes-the-lazy-import-object-entirely&quot;&gt;Stack Overflow question&lt;/a&gt;, now posting here as a fun fact 😄)&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/__peg_parser__&quot;&gt; /u/__peg_parser__ &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xqblqi/mysterious_lazy_imports/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xqblqi/mysterious_lazy_imports/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xqblqi</id><link href="https://www.reddit.com/r/Python/comments/1xqblqi/mysterious_lazy_imports/" /><updated>2026-11-07T17:17:46+00:00</updated><published>2026-11-07T17:17:46+00:00</published><title>Mysterious Lazy Imports</title></entry><entry><author><name>/u/humbulani-ndou</name><uri>https://www.reddit.com/user/humbulani-ndou</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;This article is a deep dive into the internals of the asyncio Python standard library. It is written from a debugging perspective, stepping through the code line by line.&lt;/p&gt; &lt;p&gt;Article: &lt;a href=&quot;https://origintracer.app/excerpt/asyncio-internals/&quot;&gt;internals of asyncio&lt;/a&gt;&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/humbulani-ndou&quot;&gt; /u/humbulani-ndou &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xq2x06/internals_of_asyncio/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xq2x06/internals_of_asyncio/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xq2x06</id><link href="https://www.reddit.com/r/Python/comments/1xq2x06/internals_of_asyncio/" /><updated>2026-11-07T10:04:24+00:00</updated><published>2026-11-07T10:04:24+00:00</published><title>Internals of Asyncio</title></entry><entry><author><name>/u/Stunning-Sherbet1853</name><uri>https://www.reddit.com/user/Stunning-Sherbet1853</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;i run a long-lived python 3.11 backend on windows 11. at the end of october it died mid-task once with nothing in the logs, so i turned on faulthandler.enable(file=..., all_threads=True) to see where it died next time.&lt;/p&gt; &lt;p&gt;over the next three days it died four times, every time an access violation inside python311.dll. before that, this backend had never crashed like this.&lt;/p&gt; &lt;p&gt;my first suspect was a race: several threads setting restype on the same ctypes function. it looked plausible, so i fixed it. less than two hours later it crashed again.&lt;/p&gt; &lt;p&gt;going back to the log, there were far more dumps than real crashes. 254 in three days, all of them &amp;quot;Windows fatal exception: code 0x80010108&amp;quot;. that&amp;#39;s the COM &amp;quot;object disconnected&amp;quot; error, a handled and harmless exception. the program kept running fine after each one. from what we saw, faulthandler on windows reacts to these handled exceptions too and writes a dump every time.&lt;/p&gt; &lt;p&gt;all four crashes happened in the middle of writing one of those dumps. the output was cut off halfway through a File &amp;quot;...&amp;quot; line of another thread. my read is that with all_threads=True it was walking the stack of another thread that was still running, and died there. the tool i turned on to find out why the backend died was what was killing it.&lt;/p&gt; &lt;p&gt;●&lt;strong&gt;&lt;em&gt;the fix was one line&lt;/em&gt;&lt;/strong&gt;: all_threads=False. it only dumps the current thread, so if a real crash happens its location still gets logged. i also added a test so it can&amp;#39;t quietly flip back to True.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;em&gt;●result&lt;/em&gt;&lt;/strong&gt;: since the fix, the same 0x80010108 has fired 245 more times and the backend hasn&amp;#39;t crashed once. that&amp;#39;s four days on one machine, so not a long run yet. i still don&amp;#39;t know what sends the 0x80010108. it comes from a windows thread with no python stack, so i couldn&amp;#39;t trace it.&lt;/p&gt; &lt;p&gt;if you keep faulthandler on in a windows app, check whether COM codes like 0x8001xxxx pile up in the dump log. if they do, all_threads=True may be creating that many risky moments for you.&lt;/p&gt; &lt;p&gt;two things i&amp;#39;m curious about. 🤔&lt;/p&gt; &lt;p&gt;1) has a diagnostic or monitoring tool ever caused the bug you were chasing? &lt;/p&gt; &lt;p&gt;2) and how do you set up faulthandler for long-running python programs on windows?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Stunning-Sherbet1853&quot;&gt; /u/Stunning-Sherbet1853 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xq4rqx/the_faulthandler_i_turned_on_to_catch_crashes_was/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xq4rqx/the_faulthandler_i_turned_on_to_catch_crashes_was/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xq4rqx</id><link href="https://www.reddit.com/r/Python/comments/1xq4rqx/the_faulthandler_i_turned_on_to_catch_crashes_was/" /><updated>2026-11-07T12:02:20+00:00</updated><published>2026-11-07T12:02:20+00:00</published><title>the faulthandler i turned on to catch crashes was causing them (windows, all_threads=True)</title></entry><entry><author><name>/u/OrganizationGreat823</name><uri>https://www.reddit.com/user/OrganizationGreat823</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Hey everyone, I decided to make my course free in order to help people.&lt;br/&gt; This course is my backend development course which is about SQL, Python, APIs, Docker, Kubernetes, Linux, Git &amp;amp; More&lt;/p&gt; &lt;p&gt;The link is: &lt;a href=&quot;https://www.youtube.com/watch?v=CBIu6hcyStg&quot;&gt;https://www.youtube.com/watch?v=CBIu6hcyStg&lt;/a&gt;&lt;/p&gt; &lt;p&gt;If you can like and subscribe (and maybe add a comment) I would appreciate it a lot, Thanks.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/OrganizationGreat823&quot;&gt; /u/OrganizationGreat823 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xqgnoh/giving_back_to_the_community_the_complete_backend/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xqgnoh/giving_back_to_the_community_the_complete_backend/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xqgnoh</id><link href="https://www.reddit.com/r/Python/comments/1xqgnoh/giving_back_to_the_community_the_complete_backend/" /><updated>2026-11-07T20:54:10+00:00</updated><published>2026-11-07T20:54:10+00:00</published><title>Giving back to the community - The Complete Backend Development Course</title></entry><entry><author><name>/u/AutoModerator</name><uri>https://www.reddit.com/user/AutoModerator</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;h1&gt;Weekly Thread: Resource Request and Sharing 📚&lt;/h1&gt; &lt;p&gt;Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!&lt;/p&gt; &lt;h2&gt;How it Works:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Request&lt;/strong&gt;: Can&amp;#39;t find a resource on a particular topic? Ask here!&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Share&lt;/strong&gt;: Found something useful? Share it with the community.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Review&lt;/strong&gt;: Give or get opinions on Python resources you&amp;#39;ve used.&lt;/li&gt; &lt;/ol&gt; &lt;h2&gt;Guidelines:&lt;/h2&gt; &lt;ul&gt; &lt;li&gt;Please include the type of resource (e.g., book, video, article) and the topic.&lt;/li&gt; &lt;li&gt;Always be respectful when reviewing someone else&amp;#39;s shared resource.&lt;/li&gt; &lt;/ul&gt; &lt;h2&gt;Example Shares:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Book&lt;/strong&gt;: &lt;a href=&quot;https://www.amazon.com/Fluent-Python-Concise-Effective-Programming/dp/1491946008&quot;&gt;&amp;quot;Fluent Python&amp;quot;&lt;/a&gt; - Great for understanding Pythonic idioms.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Video&lt;/strong&gt;: &lt;a href=&quot;https://www.youtube.com/watch?v=pkYVOmU3MgA&quot;&gt;Python Data Structures&lt;/a&gt; - Excellent overview of Python&amp;#39;s built-in data structures.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Article&lt;/strong&gt;: &lt;a href=&quot;https://realpython.com/primer-on-python-decorators/&quot;&gt;Understanding Python Decorators&lt;/a&gt; - A deep dive into decorators.&lt;/li&gt; &lt;/ol&gt; &lt;h2&gt;Example Requests:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Looking for&lt;/strong&gt;: Video tutorials on web scraping with Python.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Need&lt;/strong&gt;: Book recommendations for Python machine learning.&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;Share the knowledge, enrich the community. Happy learning! 🌟&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/AutoModerator&quot;&gt; /u/AutoModerator &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xps4q4/saturday_daily_thread_resource_request_and/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xps4q4/saturday_daily_thread_resource_request_and/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xps4q4</id><link href="https://www.reddit.com/r/Python/comments/1xps4q4/saturday_daily_thread_resource_request_and/" /><updated>2026-11-07T00:00:16+00:00</updated><published>2026-11-07T00:00:16+00:00</published><title>Saturday Daily Thread: Resource Request and Sharing! Daily Thread</title></entry><entry><author><name>/u/AutoModerator</name><uri>https://www.reddit.com/user/AutoModerator</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;h1&gt;Weekly Thread: Meta Discussions and Free Talk Friday 🎙️&lt;/h1&gt; &lt;p&gt;Welcome to Free Talk Friday on &lt;a href=&quot;/r/Python&quot;&gt;/r/Python&lt;/a&gt;! This is the place to discuss the &lt;a href=&quot;/r/Python&quot;&gt;r/Python&lt;/a&gt; community (meta discussions), Python news, projects, or anything else Python-related!&lt;/p&gt; &lt;h2&gt;How it Works:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Open Mic&lt;/strong&gt;: Share your thoughts, questions, or anything you&amp;#39;d like related to Python or the community.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Community Pulse&lt;/strong&gt;: Discuss what you feel is working well or what could be improved in the &lt;a href=&quot;/r/python&quot;&gt;/r/python&lt;/a&gt; community.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;News &amp;amp; Updates&lt;/strong&gt;: Keep up-to-date with the latest in Python and share any news you find interesting.&lt;/li&gt; &lt;/ol&gt; &lt;h2&gt;Guidelines:&lt;/h2&gt; &lt;ul&gt; &lt;li&gt;All topics should be related to Python or the &lt;a href=&quot;/r/python&quot;&gt;/r/python&lt;/a&gt; community.&lt;/li&gt; &lt;li&gt;Be respectful and follow Reddit&amp;#39;s &lt;a href=&quot;https://www.redditinc.com/policies/content-policy&quot;&gt;Code of Conduct&lt;/a&gt;.&lt;/li&gt; &lt;/ul&gt; &lt;h2&gt;Example Topics:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;New Python Release&lt;/strong&gt;: What do you think about the new features in Python 3.11?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Community Events&lt;/strong&gt;: Any Python meetups or webinars coming up?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Learning Resources&lt;/strong&gt;: Found a great Python tutorial? Share it here!&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Job Market&lt;/strong&gt;: How has Python impacted your career?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Hot Takes&lt;/strong&gt;: Got a controversial Python opinion? Let&amp;#39;s hear it!&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Community Ideas&lt;/strong&gt;: Something you&amp;#39;d like to see us do? tell us.&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;Let&amp;#39;s keep the conversation going. Happy discussing! 🌟&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/AutoModerator&quot;&gt; /u/AutoModerator &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xoydtc/friday_daily_thread_rpython_meta_and_freetalk/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xoydtc/friday_daily_thread_rpython_meta_and_freetalk/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xoydtc</id><link href="https://www.reddit.com/r/Python/comments/1xoydtc/friday_daily_thread_rpython_meta_and_freetalk/" /><updated>2026-11-06T00:00:49+00:00</updated><published>2026-11-06T00:00:49+00:00</published><title>Friday Daily Thread: r/Python Meta and Free-Talk Fridays</title></entry><entry><author><name>/u/greenrobot_de</name><uri>https://www.reddit.com/user/greenrobot_de</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;&lt;a href=&quot;https://blog.jetbrains.com/pycharm/2026/11/what-s-new-in-pycharm-2026-3/&quot;&gt;https://blog.jetbrains.com/pycharm/2026/11/what-s-new-in-pycharm-2026-3/&lt;/a&gt;&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/greenrobot_de&quot;&gt; /u/greenrobot_de &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xol7yf/pycharm_20263_released_ide/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xol7yf/pycharm_20263_released_ide/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xol7yf</id><link href="https://www.reddit.com/r/Python/comments/1xol7yf/pycharm_20263_released_ide/" /><updated>2026-11-05T15:15:49+00:00</updated><published>2026-11-05T15:15:49+00:00</published><title>PyCharm 2026.3 released (IDE)</title></entry><entry><author><name>/u/scartfife</name><uri>https://www.reddit.com/user/scartfife</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;&amp;quot;If you want to learn programming, don’t start with Python; you should start with another language.&amp;quot;&lt;/p&gt; &lt;p&gt;This advice seems ridiculous to me, even though I hear it everywhere. Can someone explain this advice to me... and are they right?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/scartfife&quot;&gt; /u/scartfife &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xpay57/python_all/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xpay57/python_all/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xpay57</id><link href="https://www.reddit.com/r/Python/comments/1xpay57/python_all/" /><updated>2026-11-06T11:54:32+00:00</updated><published>2026-11-06T11:54:32+00:00</published><title>PYTHON 🆚 ALL ...</title></entry><entry><author><name>/u/scartfife</name><uri>https://www.reddit.com/user/scartfife</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;&amp;quot;Is there anything that is hard for AI to do in Python?&lt;/p&gt; &lt;p&gt;To be honest, coding by yourself is fun, but that doesn&amp;#39;t matter to the job market. We&amp;#39;ll just settle for building our own projects, but it&amp;#39;s frustrating to see AI outperform you... And since the job market is being destroyed—and will be destroyed!!—by AI, it seems we will end up turning to sabotage and attacking companies if no jobs are available for programmers, especially the Python community...&amp;quot;&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/scartfife&quot;&gt; /u/scartfife &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xp75ls/what_will_we_become_in_the_end/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xp75ls/what_will_we_become_in_the_end/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xp75ls</id><link href="https://www.reddit.com/r/Python/comments/1xp75ls/what_will_we_become_in_the_end/" /><updated>2026-11-06T07:51:53+00:00</updated><published>2026-11-06T07:51:53+00:00</published><title>What will we become in the end?</title></entry><entry><author><name>/u/Thin-Parsley-1660</name><uri>https://www.reddit.com/user/Thin-Parsley-1660</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;so i would want to know about the feasibility of such a tool/project and whether it has any real uses or is it the equivalent of re inventing a worse wheel , basically core idea is to somehow transpile python to rust but not all of python ,instead more similar to numpy but instead the whole specified block of code is compiled for maximum speed almost like numba?? any feedback would be appreciated&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Thin-Parsley-1660&quot;&gt; /u/Thin-Parsley-1660 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xoeowp/feasibility_check_writing_a_constrained/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xoeowp/feasibility_check_writing_a_constrained/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xoeowp</id><link href="https://www.reddit.com/r/Python/comments/1xoeowp/feasibility_check_writing_a_constrained/" /><updated>2026-11-05T09:50:05+00:00</updated><published>2026-11-05T09:50:05+00:00</published><title>Feasibility check: Writing a constrained Python-to-Rust transpiler for numeric code</title></entry><entry><author><name>/u/AutoModerator</name><uri>https://www.reddit.com/user/AutoModerator</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;h1&gt;Weekly Thread: Professional Use, Jobs, and Education 🏢&lt;/h1&gt; &lt;p&gt;Welcome to this week&amp;#39;s discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is &lt;strong&gt;not for recruitment&lt;/strong&gt;.&lt;/p&gt; &lt;hr/&gt; &lt;h2&gt;How it Works:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Career Talk&lt;/strong&gt;: Discuss using Python in your job, or the job market for Python roles.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Education Q&amp;amp;A&lt;/strong&gt;: Ask or answer questions about Python courses, certifications, and educational resources.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Workplace Chat&lt;/strong&gt;: Share your experiences, challenges, or success stories about using Python professionally.&lt;/li&gt; &lt;/ol&gt; &lt;hr/&gt; &lt;h2&gt;Guidelines:&lt;/h2&gt; &lt;ul&gt; &lt;li&gt;This thread is &lt;strong&gt;not for recruitment&lt;/strong&gt;. For job postings, please see &lt;a href=&quot;/r/PythonJobs&quot;&gt;r/PythonJobs&lt;/a&gt; or the recruitment thread in the sidebar.&lt;/li&gt; &lt;li&gt;Keep discussions relevant to Python in the professional and educational context.&lt;/li&gt; &lt;/ul&gt; &lt;hr/&gt; &lt;h2&gt;Example Topics:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Career Paths&lt;/strong&gt;: What kinds of roles are out there for Python developers?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Certifications&lt;/strong&gt;: Are Python certifications worth it?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Course Recommendations&lt;/strong&gt;: Any good advanced Python courses to recommend?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Workplace Tools&lt;/strong&gt;: What Python libraries are indispensable in your professional work?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Interview Tips&lt;/strong&gt;: What types of Python questions are commonly asked in interviews?&lt;/li&gt; &lt;/ol&gt; &lt;hr/&gt; &lt;p&gt;Let&amp;#39;s help each other grow in our careers and education. Happy discussing! 🌟&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/AutoModerator&quot;&gt; /u/AutoModerator &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xo41r2/thursday_daily_thread_python_careers_courses_and/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xo41r2/thursday_daily_thread_python_careers_courses_and/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xo41r2</id><link href="https://www.reddit.com/r/Python/comments/1xo41r2/thursday_daily_thread_python_careers_courses_and/" /><updated>2026-11-05T00:00:08+00:00</updated><published>2026-11-05T00:00:08+00:00</published><title>Thursday Daily Thread: Python Careers, Courses, and Furthering Education!</title></entry><entry><author><name>/u/Onyxl_build</name><uri>https://www.reddit.com/user/Onyxl_build</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;So everybody knows that Python has Tkinter and other libraries like tksheet for improving it i am thinking to push it to the max by creating a FULL Office starting of with Excel and major apps and then diving into cloud storage and web services&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Onyxl_build&quot;&gt; /u/Onyxl_build &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xp2j1u/guys_i_am_thinking_to_create_a/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xp2j1u/guys_i_am_thinking_to_create_a/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xp2j1u</id><link href="https://www.reddit.com/r/Python/comments/1xp2j1u/guys_i_am_thinking_to_create_a/" /><updated>2026-11-06T03:21:48+00:00</updated><published>2026-11-06T03:21:48+00:00</published><title>Guys i am thinking to create a Microsoft-office-like Application with python</title></entry><entry><author><name>/u/danielmartinez22</name><uri>https://www.reddit.com/user/danielmartinez22</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;pdf parsing in python is just good as long as youre using it but when someone uploads a 700 page file the worker runs out of memory so splitting it into 50 to 100 page chunks with docling or marker on celery gets you past that but tables get cut at the boundaries and now theres a queue, retries and memory limits to babysit the other route is paying for something like llamaparse or the paid parsers has anyone moved either way and was it worth it? like what did you do inside your tool/app when it started scaling&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/danielmartinez22&quot;&gt; /u/danielmartinez22 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xop2ap/has_anyone_moved_document_parsing_off_their_own/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xop2ap/has_anyone_moved_document_parsing_off_their_own/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xop2ap</id><link href="https://www.reddit.com/r/Python/comments/1xop2ap/has_anyone_moved_document_parsing_off_their_own/" /><updated>2026-11-05T17:43:25+00:00</updated><published>2026-11-05T17:43:25+00:00</published><title>Has anyone moved document parsing off their own Python workers?</title></entry><entry><author><name>/u/Sonu_Jana</name><uri>https://www.reddit.com/user/Sonu_Jana</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I&amp;#39;m interested in hearing about projects that genuinely improved your programming skills. Not necessarily huge projects, but ones that taught you something valuable&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Sonu_Jana&quot;&gt; /u/Sonu_Jana &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xnp9kl/what_python_project_taught_you_the_most_about/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xnp9kl/what_python_project_taught_you_the_most_about/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xnp9kl</id><link href="https://www.reddit.com/r/Python/comments/1xnp9kl/what_python_project_taught_you_the_most_about/" /><updated>2026-11-04T14:14:07+00:00</updated><published>2026-11-04T14:14:07+00:00</published><title>What Python project taught you the most about real world development?</title></entry><entry><author><name>/u/zurtex</name><uri>https://www.reddit.com/user/zurtex</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Today I got to be the release manager for pip 26.3! There are two big features, and one documentation update, that I think worth talking about:&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Extended Pylock Support&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;You can now install extras and non-default groups from a pylock file, e.g. &lt;code&gt;pip install -r &amp;quot;pylock.toml[extra1,extra2]&amp;quot;&lt;/code&gt; and &lt;code&gt;pip install --group pylock.toml:dev&lt;/code&gt;&lt;/p&gt; &lt;p&gt;This supports the installation part of a workflow that generates a single lock file for multiple situations. For example, using a universal pylock file generator, such as a tool I built called &lt;a href=&quot;https://github.com/notatallshaw/nab/&quot;&gt;nab&lt;/a&gt;, you might want to specify &amp;quot;I want a lock file with two mutually exclusive extras for different versions of SqlAlchemy and a dev dependency group&amp;quot;, e.g.:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;[project.optional-dependencies] sa14 = [&amp;quot;sqlalchemy==1.4.*&amp;quot;] sa20 = [&amp;quot;sqlalchemy==2.0.*&amp;quot;] [dependency-groups] dev = [&amp;quot;pytest&amp;quot;] [tool.nab] conflicts = [[{ extra = &amp;quot;sa14&amp;quot; }, { extra = &amp;quot;sa20&amp;quot; }]] &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;And now pip can pick which extra and group it wants to install from the output lock file, e.g. &lt;code&gt;pip install --group &amp;#39;pylock.toml[sa14]:dev&amp;#39;&lt;/code&gt; . This works with any tool that outputs standard &lt;code&gt;pylock.toml&lt;/code&gt; files.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Build backends warnings for local builds&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;This one has been a long time coming, when you build a package from some kind of source, you invoke a build backend (e.g. setuptools, hatchling, flit-core, uv-build, poetry-core, etc.). That build backend can emit warnings to tell you something isn&amp;#39;t configured correctly, or a feature will be dropped in the future. But for historical reasons, pip has never displayed those warnings (uv has inherited this and also doesn&amp;#39;t display these warnings).&lt;/p&gt; &lt;p&gt;Now, when building locally, e.g. &lt;code&gt;pip install .&lt;/code&gt;, or &lt;code&gt;pip install -e .&lt;/code&gt;, the build backend warning will be logged by default (and for non-local builds it will be in the &lt;code&gt;-vv&lt;/code&gt; output).&lt;/p&gt; &lt;p&gt;For example, if in setuptools you specify a &lt;code&gt;README.md&lt;/code&gt;file but setuptools can&amp;#39;t find it, you will get the warning:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;$ pip install . ... .../setuptools/config/expand.py:128: BuildBackendWarning: File &amp;#39;.../README.md&amp;#39; cannot be found &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;&lt;strong&gt;A caution on installing untrusted wheels&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;There have been a lot of supply chain attacks recently, and this has led to a lot of people learning about source distributions (sdists) which are built from source and can run arbitrary code on installation, as well as &lt;code&gt;.pth&lt;/code&gt; files which after being installed run at the beginning of every Python execution.&lt;/p&gt; &lt;p&gt;This has led a lot people to turn to only using binary distributions (with pip &lt;code&gt;--only-binary :all:&lt;/code&gt; or slightly weaker &lt;code&gt;--prefer-binary&lt;/code&gt;), otherwise known as wheels. What is great about wheels is they are just glorified zip files, and they are installed by unzipping the different parts of the wheel into the different Python installation locations.&lt;/p&gt; &lt;p&gt;However, a word of caution, Python&amp;#39;s import system is dynamic, and the moment a Python file exists in a location that can be imported, it can be imported even in a running Python processes. So while pip 26.3 includes significant hardening against untrusted wheels, we &lt;strong&gt;cannot guarantee&lt;/strong&gt; installing a malicious wheel won&amp;#39;t execute third party code.&lt;/p&gt; &lt;p&gt;I can&amp;#39;t speak for other tools, but I am fairly confident this applies to all other Python package installers (even those written in other languages).&lt;/p&gt; &lt;p&gt;I will continue to do more hardening in pip where issues come up, and propose fixes in Python to improve the situation there. (Also, a possible future is lock files only first, where the locker refuses to install anything and refuses to execute third party code by default, then exact distributions can be validated/inspected before install, that&amp;#39;s part of my pitch for &lt;a href=&quot;https://github.com/notatallshaw/nab/&quot;&gt;nab&lt;/a&gt; which does the first step).&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Official Links&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;The official announcement post is at: &lt;a href=&quot;https://discuss.python.org/t/announcement-pip-26-3-release/109822&quot;&gt;https://discuss.python.org/t/announcement-pip-26-3-release/109822&lt;/a&gt;&lt;/p&gt; &lt;p&gt;The full change log: &lt;a href=&quot;https://pip.pypa.io/en/stable/news/#v26-3&quot;&gt;https://pip.pypa.io/en/stable/news/#v26-3&lt;/a&gt;&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/zurtex&quot;&gt; /u/zurtex &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xmgv01/pip_263_extended_pylock_support_build_backend/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xmgv01/pip_263_extended_pylock_support_build_backend/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xmgv01</id><link href="https://www.reddit.com/r/Python/comments/1xmgv01/pip_263_extended_pylock_support_build_backend/" /><updated>2026-11-03T02:20:39+00:00</updated><published>2026-11-03T02:20:39+00:00</published><title>Pip 26.3 - Extended Pylock Support, Build Backend Warnings, and a caution on wheel installation</title></entry><entry><author><name>/u/tiangolo</name><uri>https://www.reddit.com/user/tiangolo</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I&amp;#39;m excited to share with you all that FastAPI Cloud is now generally available: &lt;a href=&quot;https://fastapicloud.com/blog/fastapi-cloud-generally-available/&quot;&gt;https://fastapicloud.com/blog/fastapi-cloud-generally-available/&lt;/a&gt;&lt;/p&gt; &lt;hr/&gt; &lt;p&gt;Note: I thought it could be shareable here as it&amp;#39;s a nice milestone (also for FastAPI itself), but let me know if this feels spammy and I&amp;#39;ll remove it.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/tiangolo&quot;&gt; /u/tiangolo &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xm7oif/fastapi_cloud_is_now_generally_available/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xm7oif/fastapi_cloud_is_now_generally_available/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xm7oif</id><link href="https://www.reddit.com/r/Python/comments/1xm7oif/fastapi_cloud_is_now_generally_available/" /><updated>2026-11-02T19:57:30+00:00</updated><published>2026-11-02T19:57:30+00:00</published><title>FastAPI Cloud is now generally available</title></entry><entry><author><name>/u/miabajic</name><uri>https://www.reddit.com/user/miabajic</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Hey everyone! In my free time I host Behind the Commit, a podcast with open-source maintainers. I wanted to talk to Larry Hastings because free-threaded Python brought lots of challenges with testing race conditions -- I myself had no idea how to test code without GIL.&lt;/p&gt; &lt;p&gt;What we talked about:&lt;/p&gt; &lt;p&gt;- How Brett Cannon offered him a commit bit at the PyCon sprints 1:23&lt;br/&gt; - Why the Gilectomy hit a wall: reference counting traffic meant more cores made it slower 2:54&lt;br/&gt; - Guido&amp;#39;s old bar for removing the GIL, and whether free threading clears it 4:49&lt;br/&gt; - Why threading tests are non-deterministic, and how his library Blanket lets the test decide which thread wins 7:05&lt;br/&gt; - His advice for code meeting free-threaded Python for the first time 14:25&lt;br/&gt; - Building Blanket with AI, and why he doesn&amp;#39;t call it vibe coding 16:14&lt;/p&gt; &lt;p&gt;One thing he said that was quite interestng: &amp;quot;Most code doesn&amp;#39;t have race conditions. Most code doesn&amp;#39;t have these problems.&amp;quot;&lt;/p&gt; &lt;p&gt;If you&amp;#39;re already running your tests on the free-threaded build, how are you catching races today? Anyone has any experience with testing free-threaded Python?&lt;/p&gt; &lt;p&gt;Here&amp;#39;s the episode if you&amp;#39;d like to watch: &lt;a href=&quot;https://youtu.be/CiSMbuq2wVs&quot;&gt;https://youtu.be/CiSMbuq2wVs&lt;/a&gt;&lt;br/&gt; I&amp;#39;m also always super open to feedback how to make those episodes useful.&lt;/p&gt; &lt;p&gt;EDIT: formatting. &lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/miabajic&quot;&gt; /u/miabajic &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xm18lx/cpython_core_dev_larry_hastings_on_testing_race/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xm18lx/cpython_core_dev_larry_hastings_on_testing_race/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xm18lx</id><link href="https://www.reddit.com/r/Python/comments/1xm18lx/cpython_core_dev_larry_hastings_on_testing_race/" /><updated>2026-11-02T16:06:09+00:00</updated><published>2026-11-02T16:06:09+00:00</published><title>CPython core dev Larry Hastings on testing race conditions in free-threaded Python and AI-coding</title></entry><entry><author><name>/u/sentientanus69</name><uri>https://www.reddit.com/user/sentientanus69</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I am aware a full blown clone wouldn&amp;#39;t be possible (hard to imagine how islands would work with Python). But the part where Astro is a free form static site framework is pretty neat and I don&amp;#39;t think the established players in this space within Python world are as malleable. Or am I wrong?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/sentientanus69&quot;&gt; /u/sentientanus69 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xmcpk7/what_is_the_closest_equivalent_to_astrojs_in_the/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xmcpk7/what_is_the_closest_equivalent_to_astrojs_in_the/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xmcpk7</id><link href="https://www.reddit.com/r/Python/comments/1xmcpk7/what_is_the_closest_equivalent_to_astrojs_in_the/" /><updated>2026-11-02T23:13:45+00:00</updated><published>2026-11-02T23:13:45+00:00</published><title>What is the closest equivalent to AstroJS in the Python ecosystem?</title></entry><entry><author><name>/u/AutoModerator</name><uri>https://www.reddit.com/user/AutoModerator</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;h1&gt;Weekly Wednesday Thread: Advanced Questions 🐍&lt;/h1&gt; &lt;p&gt;Dive deep into Python with our Advanced Questions thread! This space is reserved for questions about more advanced Python topics, frameworks, and best practices.&lt;/p&gt; &lt;h2&gt;How it Works:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Ask Away&lt;/strong&gt;: Post your advanced Python questions here.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Expert Insights&lt;/strong&gt;: Get answers from experienced developers.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Resource Pool&lt;/strong&gt;: Share or discover tutorials, articles, and tips.&lt;/li&gt; &lt;/ol&gt; &lt;h2&gt;Guidelines:&lt;/h2&gt; &lt;ul&gt; &lt;li&gt;This thread is for &lt;strong&gt;advanced questions only&lt;/strong&gt;. Beginner questions are welcome in our &lt;a href=&quot;#daily-beginner-thread-link&quot;&gt;Daily Beginner Thread&lt;/a&gt; every Thursday.&lt;/li&gt; &lt;li&gt;Questions that are not advanced may be removed and redirected to the appropriate thread.&lt;/li&gt; &lt;/ul&gt; &lt;h2&gt;Recommended Resources:&lt;/h2&gt; &lt;ul&gt; &lt;li&gt;If you don&amp;#39;t receive a response, consider exploring &lt;a href=&quot;/r/LearnPython&quot;&gt;r/LearnPython&lt;/a&gt; or join the &lt;a href=&quot;https://discord.gg/python&quot;&gt;Python Discord Server&lt;/a&gt; for quicker assistance.&lt;/li&gt; &lt;/ul&gt; &lt;h2&gt;Example Questions:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;How can you implement a custom memory allocator in Python?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;What are the best practices for optimizing Cython code for heavy numerical computations?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;How do you set up a multi-threaded architecture using Python&amp;#39;s Global Interpreter Lock (GIL)?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Can you explain the intricacies of metaclasses and how they influence object-oriented design in Python?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;How would you go about implementing a distributed task queue using Celery and RabbitMQ?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;What are some advanced use-cases for Python&amp;#39;s decorators?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;How can you achieve real-time data streaming in Python with WebSockets?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;What are the performance implications of using native Python data structures vs NumPy arrays for large-scale data?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Best practices for securing a Flask (or similar) REST API with OAuth 2.0?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;What are the best practices for using Python in a microservices architecture? (..and more generally, should I even use microservices?)&lt;/strong&gt;&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;Let&amp;#39;s deepen our Python knowledge together. Happy coding! 🌟&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/AutoModerator&quot;&gt; /u/AutoModerator &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xmdsr0/tuesday_daily_thread_advanced_questions/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xmdsr0/tuesday_daily_thread_advanced_questions/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xmdsr0</id><link href="https://www.reddit.com/r/Python/comments/1xmdsr0/tuesday_daily_thread_advanced_questions/" /><updated>2026-11-03T00:00:12+00:00</updated><published>2026-11-03T00:00:12+00:00</published><title>Tuesday Daily Thread: Advanced questions</title></entry><entry><author><name>/u/P403n1x87</name><uri>https://www.reddit.com/user/P403n1x87</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Python profiling has changed more in the last two years than in the decade before. With CPython 3.15 introducing a sampling profiler directly into the standard library (Tachyon) and free-threading going mainstream, the landscape looks vibrant as never before.&lt;/p&gt; &lt;p&gt;I’ve spent the last 8 years maintaining Austin, so I wanted to step back and write a comprehensive, objective look at where things stand today across what I believe are the four major sampling profilers.&lt;/p&gt; &lt;p&gt;Link: &lt;a href=&quot;https://p403n1x87.github.io/the-state-of-python-profiling-in-2026.html&quot;&gt;https://p403n1x87.github.io/the-state-of-python-profiling-in-2026.html&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Happy to chat about the engineering trade-offs of out-of-process sampling or how PEP 768 is changing the game for tool developers!&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/P403n1x87&quot;&gt; /u/P403n1x87 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xlcdgb/blog_post_the_state_of_python_profiling_in_2026/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xlcdgb/blog_post_the_state_of_python_profiling_in_2026/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xlcdgb</id><link href="https://www.reddit.com/r/Python/comments/1xlcdgb/blog_post_the_state_of_python_profiling_in_2026/" /><updated>2026-11-01T19:42:34+00:00</updated><published>2026-11-01T19:42:34+00:00</published><title>[Blog Post] The State of Python Profiling in 2026</title></entry><entry><author><name>/u/AutoModerator</name><uri>https://www.reddit.com/user/AutoModerator</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;h1&gt;Weekly Thread: Project Ideas 💡&lt;/h1&gt; &lt;p&gt;Welcome to our weekly Project Ideas thread! Whether you&amp;#39;re a newbie looking for a first project or an expert seeking a new challenge, this is the place for you.&lt;/p&gt; &lt;h2&gt;How it Works:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Suggest a Project&lt;/strong&gt;: Comment your project idea—be it beginner-friendly or advanced.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Build &amp;amp; Share&lt;/strong&gt;: If you complete a project, reply to the original comment, share your experience, and attach your source code.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Explore&lt;/strong&gt;: Looking for ideas? Check out Al Sweigart&amp;#39;s &lt;a href=&quot;https://www.amazon.com/Big-Book-Small-Python-Programming/dp/1718501242&quot;&gt;&amp;quot;The Big Book of Small Python Projects&amp;quot;&lt;/a&gt; for inspiration.&lt;/li&gt; &lt;/ol&gt; &lt;h2&gt;Guidelines:&lt;/h2&gt; &lt;ul&gt; &lt;li&gt;Clearly state the difficulty level.&lt;/li&gt; &lt;li&gt;Provide a brief description and, if possible, outline the tech stack.&lt;/li&gt; &lt;li&gt;Feel free to link to tutorials or resources that might help.&lt;/li&gt; &lt;/ul&gt; &lt;h1&gt;Example Submissions:&lt;/h1&gt; &lt;h2&gt;Project Idea: Chatbot&lt;/h2&gt; &lt;p&gt;&lt;strong&gt;Difficulty&lt;/strong&gt;: Intermediate&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Tech Stack&lt;/strong&gt;: Python, NLP, Flask/FastAPI/Litestar &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;: Create a chatbot that can answer FAQs for a website.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Resources&lt;/strong&gt;: &lt;a href=&quot;https://www.youtube.com/watch?v=a37BL0stIuM&quot;&gt;Building a Chatbot with Python&lt;/a&gt;&lt;/p&gt; &lt;h1&gt;Project Idea: Weather Dashboard&lt;/h1&gt; &lt;p&gt;&lt;strong&gt;Difficulty&lt;/strong&gt;: Beginner&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Tech Stack&lt;/strong&gt;: HTML, CSS, JavaScript, API&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;: Build a dashboard that displays real-time weather information using a weather API.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Resources&lt;/strong&gt;: &lt;a href=&quot;https://www.youtube.com/watch?v=9P5MY_2i7K8&quot;&gt;Weather API Tutorial&lt;/a&gt;&lt;/p&gt; &lt;h2&gt;Project Idea: File Organizer&lt;/h2&gt; &lt;p&gt;&lt;strong&gt;Difficulty&lt;/strong&gt;: Beginner&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Tech Stack&lt;/strong&gt;: Python, File I/O&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;: Create a script that organizes files in a directory into sub-folders based on file type.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Resources&lt;/strong&gt;: &lt;a href=&quot;https://automatetheboringstuff.com/2e/chapter9/&quot;&gt;Automate the Boring Stuff: Organizing Files&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Let&amp;#39;s help each other grow. Happy coding! 🌟&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/AutoModerator&quot;&gt; /u/AutoModerator &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xlifaf/monday_daily_thread_project_ideas/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xlifaf/monday_daily_thread_project_ideas/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xlifaf</id><link href="https://www.reddit.com/r/Python/comments/1xlifaf/monday_daily_thread_project_ideas/" /><updated>2026-11-02T00:00:10+00:00</updated><published>2026-11-02T00:00:10+00:00</published><title>Monday Daily Thread: Project ideas!</title></entry><entry><author><name>/u/AutoModerator</name><uri>https://www.reddit.com/user/AutoModerator</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;h1&gt;Weekly Thread: What&amp;#39;s Everyone Working On This Week? 🛠️&lt;/h1&gt; &lt;p&gt;Hello &lt;a href=&quot;/r/Python&quot;&gt;r/Python&lt;/a&gt;! It&amp;#39;s time to share what you&amp;#39;ve been working on! Whether it&amp;#39;s a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you&amp;#39;re up to!&lt;/p&gt; &lt;h1&gt;How it Works:&lt;/h1&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Show &amp;amp; Tell&lt;/strong&gt;: Share your current projects, completed works, or future ideas.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Discuss&lt;/strong&gt;: Get feedback, find collaborators, or just chat about your project.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Inspire&lt;/strong&gt;: Your project might inspire someone else, just as you might get inspired here.&lt;/li&gt; &lt;/ol&gt; &lt;h1&gt;Guidelines:&lt;/h1&gt; &lt;ul&gt; &lt;li&gt;Feel free to include as many details as you&amp;#39;d like. Code snippets, screenshots, and links are all welcome.&lt;/li&gt; &lt;li&gt;Whether it&amp;#39;s your job, your hobby, or your passion project, all Python-related work is welcome here.&lt;/li&gt; &lt;/ul&gt; &lt;h1&gt;Example Shares:&lt;/h1&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Machine Learning Model&lt;/strong&gt;: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Web Scraping&lt;/strong&gt;: Built a script to scrape and analyze news articles. It&amp;#39;s helped me understand media bias better.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Automation&lt;/strong&gt;: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;Let&amp;#39;s build and grow together! Share your journey and learn from others. Happy coding! 🌟&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/AutoModerator&quot;&gt; /u/AutoModerator &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xkp2bx/sunday_daily_thread_whats_everyone_working_on/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xkp2bx/sunday_daily_thread_whats_everyone_working_on/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xkp2bx</id><link href="https://www.reddit.com/r/Python/comments/1xkp2bx/sunday_daily_thread_whats_everyone_working_on/" /><updated>2026-11-01T00:00:08+00:00</updated><published>2026-11-01T00:00:08+00:00</published><title>Sunday Daily Thread: What's everyone working on this week?</title></entry><entry><author><name>/u/lovespeedtest</name><uri>https://www.reddit.com/user/lovespeedtest</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I’ve been running a small home media server for about a year, written entirely with the standard library: &lt;code&gt;http.server.ThreadingHTTPServer&lt;/code&gt;, &lt;code&gt;http.client&lt;/code&gt;, &lt;code&gt;urllib&lt;/code&gt;, &lt;code&gt;threading&lt;/code&gt;, &lt;code&gt;queue&lt;/code&gt;. No framework and no third-party packages. It’s about 3k lines and serves a handful of my own devices (phone, TV, laptop, tablet). I picked stdlib-only on purpose so it would run anywhere with a bare Python and nothing to upgrade, but the server has grown into things the stdlib server probably wasn’t meant for, and I’d like a reality check from people who’ve been here.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;What the traffic looks like&lt;/strong&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Mostly short JSON requests (library, history, search), which are fine.&lt;/li&gt; &lt;li&gt;Byte-range proxying of large media files, so connections stay open for minutes.&lt;/li&gt; &lt;li&gt;Live HLS: for each live stream a client watches, I run one “watcher” thread that follows the upstream playlist, plus 4 worker threads pulling segments ahead of the player through a &lt;code&gt;queue.PriorityQueue&lt;/code&gt;, with a &lt;code&gt;threading.Condition&lt;/code&gt; to wake request handlers waiting for a segment. A TV can sit on one of these for hours.&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;&lt;strong&gt;What I’ve done so far&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Capping concurrency, because thread-per-connection with no limit worried me:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;class Server(ThreadingHTTPServer): daemon_threads = True slots = threading.BoundedSemaphore(MAX_CONN) if MAX_CONN else None def process_request(self, request, client_address): # don&amp;#39;t stall the accept loop: if no slot frees up quickly, answer 503 and close if self.slots and not self.slots.acquire(timeout=0.2): request.sendall(b&amp;quot;HTTP/1.1 503 Service Unavailable\r\nRetry-After: 10\r\n&amp;quot; b&amp;quot;Connection: close\r\nContent-Length: 0\r\n\r\n&amp;quot;) self.shutdown_request(request) return super().process_request(request, client_address) def process_request_thread(self, request, client_address): try: super().process_request_thread(request, client_address) finally: if self.slots: self.slots.release() &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;Also:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;A small keep-alive pool of &lt;code&gt;http.client.HTTPSConnection&lt;/code&gt; objects per upstream host (up to 8 idle per host, behind a lock), because opening a fresh TLS connection per media segment was the slowest part.&lt;/li&gt; &lt;li&gt;State lives in JSON files, written to &lt;code&gt;file.tmp&lt;/code&gt; and then &lt;code&gt;os.replace()&lt;/code&gt; so a crash mid-write can’t corrupt anything. Every read-modify-write goes through one module-level &lt;code&gt;threading.Lock&lt;/code&gt;.&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;&lt;strong&gt;What I’m unsure about&lt;/strong&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Is the semaphore in&lt;/strong&gt; &lt;code&gt;process_request&lt;/code&gt; &lt;strong&gt;the right place?&lt;/strong&gt; It counts connections, not work. A client holding one hours-long live connection costs the same slot as a 5 ms JSON call. Would two pools be saner, one for streaming paths and one for everything else? Is that possible without rewriting the server class?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Clients that disappear.&lt;/strong&gt; When a TV is switched off mid-stream, sometimes I get &lt;code&gt;BrokenPipeError&lt;/code&gt;/&lt;code&gt;ConnectionResetError&lt;/code&gt; right away, and sometimes the handler thread sits in &lt;code&gt;wfile.write()&lt;/code&gt; until the socket timeout. What do people set for timeouts on long-lived responses, so dead clients are dropped without killing slow-but-alive ones?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Background threads per stream.&lt;/strong&gt; Five threads per live stream is fine for 1–2 streams, but it feels wasteful. Is anyone running a single asyncio loop in a side thread just for the upstream fetching, while keeping the threaded HTTP front end? Or does mixing the two models end up worse than picking one?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;The single lock for JSON state.&lt;/strong&gt; It’s simple and correct, but every library write serializes behind it. At this scale I doubt it matters. At what point did you move to &lt;code&gt;sqlite3&lt;/code&gt;, which is still stdlib, and was it worth it?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;The honest question:&lt;/strong&gt; at what point is stdlib-only a liability rather than a virtue? I know aiohttp/Starlette would make the streaming parts nicer. I’m trying to work out whether I’ve hit that point or am just bothered by how the code looks.&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;I’m not chasing scale. This will never serve more than ~10 clients. I mostly want to know which of these are real problems and which are fine at this size. War stories welcome.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/lovespeedtest&quot;&gt; /u/lovespeedtest &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xk4n1t/pushing_threadinghttpserver_past_toy_use/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1xk4n1t/pushing_threadinghttpserver_past_toy_use/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1xk4n1t</id><link href="https://www.reddit.com/r/Python/comments/1xk4n1t/pushing_threadinghttpserver_past_toy_use/" /><updated>2026-10-31T08:16:07+00:00</updated><published>2026-10-31T08:16:07+00:00</published><title>Pushing ThreadingHTTPServer past toy use: long-lived streams, a semaphore cap, and when to give up a</title></entry></feed>