I no longer use this platform. 💌: https://xitter.cf/t.co/3UeMsKYcya 🐘: @treyhunner@mastodon.social 🦋: https://xitter.cf/t.co/HrIl3uLbbd 💼: treyhunner

San Diego, CA
Joined February 2014
I have finally decided to abandon this platform completely. 👋 You can find me on other social media platforms: 🦋bsky.app/profile/trey.io 🐘mastodon.social/@treyhunner 💼linkedin.com/in/treyhunner 📺youtube.com/@PythonMorsels And in my weekly Python tip emails: 💌pym.dev/newsletter
2
2
22
2,255
Python 3.15 is out! 🐍🎉 A few of my favorite new features: • UTF-8 default encoding on Windows (boring but big) • profiling.sampling! • lazy import json • [*x for x in nested] • sentinel() • frozendict • pprint(data, expand=True) More 👇 youtu.be/OD0QObnCZmA
1
6
32
2,478
Prefer to read instead of watch a video? I made an article version too: pym.dev/python315/ This is nowhere near all the changes in Python 3.15. It's just a sampling of my personal favorites
1
1
363
Python 3.15.0 is now in uv too! uv self update && uv python install 3.15 That also upgrades you if you have a 3.15 release candidate installed.
3
256
Python Morsels now includes Daily Recall: a spaced repetition system for Python learning! 📣 I've been talking about this idea for YEARS, dogfooding it for months, and now it's finally live. 🎉 treyhunner.com/2026/09/pytho…
726
Trey Hunner retweeted
My concern for the AI era, or at least this phase of it, is that a generation is being taught that "close enough" is just fine. Take @AnthropicAI for example. Text wrapping in Claude Code has been broken for weeks. Superfluous spaces appear on the left edge. One engineer to another: you know its an out by one error. I refused to believe that nobody has noticed this. The shtick they are selling is that AI can fix this kind of thing. Either they tried to prompt a fix, and Claude ain't good enough to fix an out-by-one error. Or they haven't attempted it because it is "close enough". It can't be the case that AI is only good enough if we lower our standards. It can't. I'm well aware I have both feet firmly planted in my "grumpy old man" phase of life...
74
43
12
604
112,769
Whereabouts now includes a daily country-guessing game. Thanks to the friends & internet acquaintances who've been testing this out over the past week or so. 🗺️ May 7, 2026 5/5 countries in 7/13 guesses 🟩🟩🟩🟩🟧 #Whereabouts whereabouts.earth/daily/
1
3
366
It's Earth Day & I have a side project to announce. 🌏 Whereabouts.Earth is a fun app for learning the location of every country on Earth. My geography knowledge has improved a LOT over the past week thanks to it. Feedback very welcome! 💖 Happy #EarthDay
1
2
382
Trey Hunner retweeted
First PyCon US. Hotel lobby. A card game I'd never heard of. Trey Hunner pulled me in, taught me #Cabo, and I won three rounds in a row. The hotel lobby at PyCon US has its own lore. It starts the moment you check in. #PyConUS | Long Beach, CA us.pycon.org/2026/venue/hote… #Python
4
1
11
5,071
Trey Hunner retweeted
Book in the official #PyCon2026 hotel block and get a mystery swag item. We can't tell you what it is. (That's why it's called mystery swag.) Only way to get it is to book in the block. us.pycon.org/2026/venue/hote… #Python
2
13
4,965
Trey Hunner retweeted
I met Thomas Wouters in the hotel lobby. We talked about Python, community, the people who make it what it is. Three days later he was called on stage as a Distinguished Service Award recipient. He gave no hint. #PyConUS | Long Beach, CA us.pycon.org/2026/venue/hote… #Python
1
5
666
Trey Hunner retweeted
Loop smarter, not harder! Join Trey Hunner at #PyConUS 2026 for the tutorial "Lazy Looping in Practice: Building and Using Generators and Iterators" on May 13th & master #Python's iteration system from the ground up us.pycon.org/2026/schedule/p… Register now: us.pycon.org/2026/accounts/d…
1
5
709
Are you going to #PyConUS? Have you booked in our hotel block? New on the blog, some hard numbers & why we’re in a tight spot. We only have until April 24th to turn the tide, so please read, share, and book your PyCon US stay in the official block today. pyfound.blogspot.com/2026/04…
8
1
16
7,226
I love playing games in hotel lobbies during @pycon. It's hard to think of someone as a complete stranger when you spent time playing a game in a small group with them. I plan to play games in The Westin lobby during #PyConUS at least a couple nights. See you at The Westin?
1
1
2
443
Come to #PyConUS so I can teach you my favorite card game! Also come to meet a couple thousand wonderful folks who also happen to use #Python and who would love to meet you. See you in May!
First PyCon US. Hotel lobby. A card game I'd never heard of. Trey Hunner pulled me in, taught me #Cabo, and I won three rounds in a row. The hotel lobby at PyCon US has its own lore. It starts the moment you check in. #PyConUS | Long Beach, CA us.pycon.org/2026/venue/hote… #Python
4
422
Trey Hunner retweeted
While I'm still here, let me exercise my freedom of speech (which I know doesn't actually exist on Twitter). America was born out of a revolution against a capricious, arbitrary king. Once again we find ourselves struggling under an autocratic, unaccountable leader wanting to be a "king". So is it really too much to compare the situation to earlier revolutionary times and ask for an overthrow of his regime? The constitution is on my side.
181
173
49
2,271
285,771
I will be sharing 365 #Python tips this year, one for every day in 2026. These tips will be shared on Bluesky, on Mastodon, and via email. 💌 To follow along daily, follow me on Bluesky or Mastodon. To follow along weekly, subscribe to my newsletter: pym.dev/newsletter
1
1
3
544
You can find all 365 tips I post to Mastodon at mastodon.social/@treyhunner/… No need to sign up for an account to read them. I'll be posting a new one each day. To my newsletter each week, I'll share a summary of the prior week's tips with links to each.
1
2
385