Message215397
What is the use case?
What would be the criteria for comparing functions? Would the func_name have to match? Would the func_defaults have to match? Would the f.__code__.co_names have to match (the internal variable names? Do the function attributes in f.__dict__ have to match? Does the func.__doc__ have to match?
The problem is that functions are complex objects and the equivalence criteria means different things to different people. In the absence of a clear spec that makes sense to most people, object identity is the only sure definition of equivalence. |
|
Date |
User |
Action |
Args |
2014-04-02 20:51:27 | rhettinger | unlink | issue21130 messages |
2014-04-02 20:19:09 | rhettinger | set | recipients:
+ rhettinger, theller, eryksun |
2014-04-02 20:19:09 | rhettinger | set | messageid: <1396469949.18.0.147527406623.issue21130@psf.upfronthosting.co.za> |
2014-04-02 20:19:09 | rhettinger | link | issue21130 messages |
2014-04-02 20:19:08 | rhettinger | create | |
|