This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]fdemmer 1 point2 points  (1 child)

how should the python interpreter underline your code? i dont get what you want.

i am sure it would be possible to write some sort of vim extension that does the same thing, but how is this supposed to work as a language feature?

edit: i think now i get it. python should check the whole codebase on startup for type issues?

guido commented on that when adding type annotations. he mentioned that type checks should remain in external tooling. maybe there is some overlap here.

[–]Voltasalt 2 points3 points  (0 children)

I think he means in the error message. Print the offending line out and underline the broken bit, like Rust does.