May as well throw this query out to the fediverse.
I am looking for *concrete examples* of code that works correctly when interpreted by Python 2.7 but *silently produces incorrect output* when interpreted by Python 3.x. I encountered such a thing about 10 years ago but didn't save it and have been unable to reconstruct it.
All examples are good, but examples that produce output from which it's difficult or impossible to recover the correct output are better.
@feoh @roguelynn Glad you liked it! If you see me around please say hi! I am wearing a blue hawaiian shirt with taco cats on it today.
From your other posts it seems like you are partially blind, hopefully that's a bright enough signal, but if you don't feel confident that you can identify me by sight and you did want to chat, let me know how I can find you and I'll keep an eye peeled!
Thanks @masonasons for the tip that yt-dlp can download from RSS feeds. Here's the command I came up with to download all available podcast items from a feed in chronological order (oldest first) to nicely numbered files with the title and date.
yt-dlp --no-abort-on-error --color "no_color" --download-archive ".download_history" --windows-filenames --embed-metadata --embed-chapters --playlist-items "::-1" --output "%(n_entries+1-playlist_index)02d %(title)s (%(upload_date>%B %d %Y)s).%(ext)s" --format bestaudio "https://example.com/rss"
Reading the asyncio docs on stage, very "A monad is a monoid in the category of endofunctors, what's the problem?" energy. #pyconus
"First thing to do is check robots.txt and see if this is allowed."
Probably not a subtle dig at the people DDoSing like 90% of the internet to scrape training data right now, but it should be 😛
"Artichoke sky" new band name. #pyconus
That was an excellent talk by @pganssle with some good takeaways:
* You can use whatever tech stack you want
* Projects are a great way to learn
* You can use programming to answer questions for yourself
* Your projects don't have to pay
* It's OK to make something just for you
* It's also great to tell other people about your work
The slides include links and references to all of the projects:
https://pganssle-talks.github.io/2025-pycon-us-programming-for-yourself/
hey friends if you are at #PyConUS we semi desperately need volunteers so it would be super cool of you to step up 💞 https://us.pycon.org/2025/volunteer/volunteering/
Also, I apologize in advance, I had much more limited time than normal to prepare this talk this year and I haven't had a chance yet to go through and add good alt text to all the images. If that's something that is valuable to you, check back in ~1 week.
If you are at #PyConUS and you might be interested in my talk, "Programming for Yourself", it is today at 14:45 in Room 301-305
The slides are available on github here: https://pganssle-talks.github.io/2025-pycon-us-programming-for-yourself
@hugovk @adamchainz Does `pull_request` still fire on a draft PR? I guess the maintainer still gets notified about a draft PR, which maybe defeats the purpose, but it seems like a fairly small fraction of people are running CI on their own forks. I basically never do that, I just make a draft PR early.
I guess this at least partially explains why ever PR I've ever gotten from you has been flawless and basically ready to merge from the get-go, though. 😅
Thanks for the help everyone who was looking for this. Just heard back from the Uber driver and apparently they found it! ☺
If anyone at #PyConUS finds this fitness tracker, please let me know. It fell out of the band today around noon, possibly near the registration desk.
I'm facilitating another #PyConUS open space:
Still on Python 2?
Sun. May 18th
11am-noon
room TBD
An opportunity for software #maintainers who are still supporting #Python 2.x to talk with people who are still using Python 2.x. What do users need before we can migrate? What do maintainers need to know or get before we can fully deprecate 2.x support? What funding might be necessary to make these happen? A supportive and nonjudgmental discussion.
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.