0

In Django project, I have a class, "ClassName" that has a table in postgresql. I also have Proxy class, inherit from "ClassName", with name "ProxyClassName". if run refresh_from_db() on instance of "ProxyClassName", everything is fine, but if I specify any fields, refresh_from_db(fields=['field1', 'field2', 'field3']), code will crash with error "Process finished with exit code -1073741571 (0xC00000FD)" I see it has something to do with stack overflow and stack size (Process finished with exit code -1073741571 (0xC00000FD) in Python), but how should I prevent this from happening?

emran vfd
  • 11
  • 1

0 Answers0