Data Type Enforcement at Runtime Level in Python

Such a wild dream, isn't it? Python is quite dynamic. Variables can reference strings, then lists, then sets... It's an intrinsic characteristic of the language. I was there, thinking that it could be possible. Never found a safe trail for achieving this, and for a long time, I thought it was just me. Some think that Type Hints could be a starting point of having such feature, without…