Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
a-french-anon
on Oct 9, 2024
|
parent
|
context
|
favorite
| on:
PEP 760: No more bare excepts
Quickly read the thread, isn't "hours" a bit much for what is basically a
sed -Ei 's/^([\t ]*except):/\1 BaseException:/' **/*.py
instig007
on Oct 9, 2024
|
next
[–]
now try delivering that change to all of your dependencies before being able to deploy your software with a new interpreter.
fny
on Oct 9, 2024
|
parent
|
next
[–]
Not that I support the PEP but they could easily add an interpreter flag or environment variable to disable the behavior.
Joker_vD
on Oct 9, 2024
|
prev
|
next
[–]
Will this command be automatically run by venv, or poetry, or whatever, on every package update?
shadowgovt
on Oct 9, 2024
|
prev
|
next
[–]
Definitely going to want to use Tree-sitter, not regex. That regex just broke my docstrings.
himinlomax
on Oct 9, 2024
|
prev
[–]
Multi-line strings don't exist.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: