You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The native _functools.partial type __getstate__ will return its __dict__. That will not include func, args or keywords.
This is different from the pure Python implementation of functools.partial (link), where it will return the slots, i.e. the state includes func, args or keywords.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered:
Bug report
Bug description:
The native
_functools.partial
type__getstate__
will return its__dict__
. That will not includefunc
,args
orkeywords
.This is different from the pure Python implementation of
functools.partial
(link), where it will return the slots, i.e. the state includesfunc
,args
orkeywords
.CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: