tBuLi / symfit

Symbolic Fitting; fitting as it should be.
http://symfit.readthedocs.org
MIT License
233 stars 17 forks source link

Pickle ModelOutput #319

Closed pckroon closed 3 years ago

pckroon commented 3 years ago

Turns out ModelOutput objects were not unpicklable. This PR fixes that.

Without the __getnewargs_ex__ method a missing positional argument error is raised on __new__, without the get/setstate methods you get an infinite recursion loop.

pckroon commented 3 years ago

Done, but note that py3.5 is EOL.