4 ms·
PEP contains lots of best practices that aren't enforced by the interpreter though, doesn't it? e.g. PEP 8. It's been a while so maybe PEP 8 is more unique than
by chefandy 2y ago
PEP contains lots of best practices that aren't enforced by the interpreter though, doesn't it? e.g. PEP 8. It's been a while so maybe PEP 8 is more unique than I realize? It seems like a pretty sensible recommendation that wouldn't necessarily need to change the way exceptions are handled by Python. Right there in PEP 8 it says in big text "A Foolish Consistency is the Hobgoblin of Little Minds." I imagine that enforcing this in the interpreter would fall under that, but it seems like a good piece of advice for folks new to the language, or more likely, new to coding.
- kristjansson 2y agoThere are PEPs that are not language features, but this PEP is emphatically proposing a modification to the language.
- theamk 2y agoNo one would anyone would object if this was a "best practice" or "linter rule". It's the enforcement by compiler, which will break lots of existing code, that makes people unhappy.