Ram Rachum <cool...@cool-rr.com> added the comment:

Raymond: I don't think this matters. We don't need a canonical 
`.__parent_class__`, we just need to know where that function is defined so we 
could find it when unpickling. In the example that you gave, `f` would have a 
`.__parent_class__` of `None`, and it would be pickleable because it would be 
found on the top-level of the module it's defined on.

----------

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

Reply via email to