Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCompatibility issue with Python 3.7 #117
Open
Comments
|
It seems need to be fixed. But from 0.5.0, nirum-python nearly used for Python target. So why don't you re-create target package on new nirum compiler(0.5.0+). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(This is not the same issue with as #116)
Since the
typingmodule in Python 3.7 doesn't have_Unionclass,AttributeErroroccurs by below lines. To support Python 3.7 it should be fixed.nirum-python/nirum/_compat.py
Lines 28 to 43 in 2f85525
p.s. @kanghyojun Could you explain why you used
_Unioninstead ofUnion?Relative links
UnionMetaand added_UnionandUnion_Union.Unionis now using the new class_SpecialForm.