Closed litcc closed 2 years ago
How do you solve this problem?
Oh, and this is a bit old, I forget exactly, it's possible that parse_file(path) is being used instead of parse(text)
it turns out you can use the multiprocessing library in python 3.11 and not 3.9 because 3.11 defines setstate and getstate. If you are are using a python version less than 3.11 you can just add setstate and getstate to the parser Class Node
This code does not execute and cannot serialize the variable kk2, making it impossible to transfer this data between multiple python processes