Open gnuletik opened 1 month ago
Similarly running into
@lru_cache()
def _validate_inner(proto_message: Message):
func = file_template(proto_message)
global printer
printer += func + "\n"
exec(func)
try:
return generate_validate
except NameError:
> return locals()['generate_validate']
E KeyError: 'generate_validate'
I imagine this is related: https://docs.python.org/3/whatsnew/3.13.html#pep667-porting-notes-py
Are there any updates about this?
When using Python 3.13, following exception is raised: