Not for single objects, no---but think of data structures. Is it going to check that every element in a list is an int? What if the list has a million elements?
? The person I'm responding to is suggesting type checking during runtime in pure Python. Numpy is a different discussion since the types are enforced in C.
0
u/cj81499 May 30 '19
runtime type checking doesn't sound to me like something that would take a lot of time. Care to explain why you think this?