Problem description:
I found a bug (only in Python Beta Template). Basically an infinity exit loop. (and then the console literally says “Giving Up.” lol)
def this_never_existed(unreal_function):
def wrapper(*args, **kwargs):
exit('This function never existed lol')
return wrapper
@this_never_existed
def greet(name):
print(f'Hello, {name}!')
greet('John')
Expected behavior:
A single exit message
Actual behavior:
Steps to reproduce:
- Make Python (Beta) repl
- do the code above
- run repl
Bug appears at this link:
https://replit.com/@SnakeyKing/test#main.py
Browser/OS/Device:
Edge/Windows/Computer