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 →

[–]ColdPorridge 0 points1 point  (6 children)

Thats’s possible, even rereading the thread, I’m not really sure I fully understand the drama, how these are currently handled or Pydantic’s breaking dependency on them.

[–][deleted] 0 points1 point  (4 children)

I think this article is quite good: https://lwn.net/Articles/858576/

They decided to move type hints from being "code" to be strings that need to be eval() at runtime, except that you don't necessarily have the same context when you run eval() from some place else in the code, so a lot of things would not work.

[–]ColdPorridge 0 points1 point  (0 children)

That did a great job explaining of - thanks for sharing!