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