Hacker News new | ask | show | jobs
by a-french-anon 622 days ago
Quickly read the thread, isn't "hours" a bit much for what is basically a

  sed -Ei 's/^([\t ]*except):/\1 BaseException:/' **/*.py
4 comments

now try delivering that change to all of your dependencies before being able to deploy your software with a new interpreter.
Not that I support the PEP but they could easily add an interpreter flag or environment variable to disable the behavior.
Will this command be automatically run by venv, or poetry, or whatever, on every package update?
Definitely going to want to use Tree-sitter, not regex. That regex just broke my docstrings.
Multi-line strings don't exist.