Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'function' object has no attribute 'decorator_list' #101

Open
bionade24 opened this issue Nov 16, 2020 · 0 comments
Open

'function' object has no attribute 'decorator_list' #101

bionade24 opened this issue Nov 16, 2020 · 0 comments

Comments

@bionade24
Copy link

bionade24 commented Nov 16, 2020

When using @tco on a simple recursive function with python 3.8

import macropy.activate
from macropy.experimental.tco import macros, tco

@tco
def fact(n):
    if n == 0:
        return 1
    else:
        return n * fact(n-1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant