4
top 1 comments
sorted by: hot top controversial new old
[-] logging_strict@programming.dev 1 points 1 week ago

How old is this article? There hasn't been EnvironmentError since py33

Had to look it up.

Your point still stands, ignoring Exceptions bad. The next thing would wanna see are the unit tests. If those are nonexistent then of course the code is gonna be buggy. The hint is that you called the CLI a script. So not a package.

So it's a good thing you have revisited the code and hopefully rewritten it as a package with a test suite.

this post was submitted on 21 Nov 2025
4 points (83.3% liked)

Python

7593 readers
1 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS