this post was submitted on 26 Oct 2025
561 points (96.4% liked)

Programmer Humor

27154 readers
1595 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] jaybone@lemmy.zip 8 points 1 week ago

isPi() returns true. But isPyPi() returns false. But if you have resolved the package dependency version, then the code is not backwards compatible, so you need to use isPiPyPi(), which you can install from pip pypi

So it’s pretty easy. It’s almost like escaping SQL in php 20 years ago.