
Aug. 29, 2019
1:10 p.m.
On Thu, Aug 29, 2019 at 10:07 PM Philippe Prados <philippe.prados@gmail.com> wrote:
... and, runtime type checking (like https://github.com/agronholm/typeguard) must have a synthetised Union[] in __annotations__.
Runtime type checking tools can parse "str | int" too. No need to implement runtime behavior for `str | int`. Regards, -- Inada Naoki <songofacandy@gmail.com>