Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Quickly read the thread, isn't "hours" a bit much for what is basically a

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


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: