News for hackers. Stuff that matters.
Re:Opnieuw: A simple and intuitive retrying library for Python by oefrha on Wednesday February 05, 2020 @01:09PM (#22249463)
This library posted here is only ~150 loc without docstrings, and it’s more complicated than my typical equivalent decorator factory with basically the same features, sans logging.

I just don’t find this tricky. If only every problem I need to solve is as simple as this one.

> Is this more symptom of Python deps being "riskier" than Haskell deps due to types or versioning or something?

No, it’s a distaste for tons of small third-party packages that could easily be done in place. If anything I found Haskell deps more prone to breakage with upgrades compared to Python deps (given my limited experience with Haskell), at least with the set of popular packages I tend to use. Part of that is Python packages tend to not depend on a ton of other packages.

Re:Opnieuw: A simple and intuitive retrying library for Python by whateveracct on Wednesday February 05, 2020 @01:44PM (#22249822)
By "breakage with upgrades" do you mean bugs introduced due to compiler/library bumps or just PVP constraint violations?
Re:Opnieuw: A simple and intuitive retrying library for Python by oefrha on Wednesday February 05, 2020 @02:41PM (#22250315)
The latter — not necessarily PVP constraint violations though, but rather dependency hell situations. One example that pops to mind: packaging git-annex for Homebrew was always “great fun” until we settled on resolving with LTS Haskell (IIRC).