Show newer

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.

#python #pycon

@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 "example.com/rss"

Show thread

Reading the asyncio docs on stage, very "A monad is a monoid in the category of endofunctors, what's the problem?" energy.

Show thread

"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 😛

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:

pganssle-talks.github.io/2025-

#PyConUS #PyConUS2025

Remember, if you can't remember the name of an eponymous law, just call it Cunningham's Law and someone will surely correct you.

@psobot I did not know that pedalboard could lazily read from mp3s and other compressed formats. Awesome! I once tried and failed to write a wrapper for minimp3 just to solve this issue. Glad to know I can not do that.

Show thread

Man, @psobot has some beautiful slides. Curious to know how some of this was done.

hey friends if you are at #PyConUS we semi desperately need volunteers so it would be super cool of you to step up 💞 us.pycon.org/2025/volunteer/vo

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.

Show thread

If you are at 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: pganssle-talks.github.io/2025-

@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! ☺

Paul Ganssle  
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.

If anyone at 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.

us.pycon.org/2025/events/open-

#PyCon
#sustainability

Show thread

Coming to PyCon? Find me, just walk up, introduce yourself and tell me your work dumpster fire story and I’ll give you one of these!

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.