this post was submitted on 26 Oct 2025
556 points (96.3% liked)

Programmer Humor

27117 readers
2018 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 5 days 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.