Closed AiOO closed 5 years ago
However, with the higher version of Nirum compiler, deserialize_meta
dosen't used anymore. So we should fix compiler code https://github.com/nirum-lang/nirum/blob/0.5-maintenance/src/Nirum/Targets/Python.hs
Since https://github.com/nirum-lang/nirum/pull/278 was merged, deserialized_meta
was deprecated and typing.TupleMeta
wasn't used anymore. So I think that there are no bugs if you use the latest version of Nirum compiler. Thanks for your reporting :)
Since the
typing
module in Python 3.7 doesn't haveTupleMeta
class,AttributeError
occurs by below line . To support Python 3.7 it should be fixed.https://github.com/nirum-lang/nirum-python/blob/1721295424fdc07368c376cf9a3ead6f4b7bffe6/nirum/deserialize.py#L203
relative commit: https://github.com/python/cpython/commit/d911e40e788fb679723d78b6ea11cabf46caed5a#diff-015978a768b517a38abbc0ecdea87f5a