talonvoice / beta

Issue tracker for the private Talon Beta
10 stars 0 forks source link

`AttributeError: __name__` when printing captures #29

Closed jcaw closed 4 years ago

jcaw commented 4 years ago

Getting a strange error when I try to print captures. Minimal example:

>>> registry.decls.captures
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "talon\scripting\types.py", line 167, in __repr__
  File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\typing.py", line 702, in __getattr__
AttributeError: __name__

Accessing keys works, but accessing values triggers it.

lunixbochs commented 4 years ago

fixed in next release