STINNER Victor added the comment:

> For example we can take numpy where some ufuncs (i.e. function-like objects 
> implemented in C) don't have a __module__.

Oh. I was not aware of that. Is there a way to fix numpy to set the __module__ 
attribute? Maybe we should warn users that serialiaing objects without 
__module__ is much slower?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22676>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to