[Python-Dev] Possible patch for functools partial (original) (raw)
VanL van.lindberg at gmail.com
Wed May 12 14:33:58 CEST 2010
- Previous message: [Python-Dev] Possible patch for functools partial - Interested?
- Next message: [Python-Dev] Summary of Python tracker Issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 5/11/2010 11:54 PM, Cameron Simpson wrote:
I know for functions "==" and "is" currently are equivalent, but we should be really finicky here about intent, especially since a few messages in the thread is contemplate testing function for equivalence to one degree or other. At which point "==" and "is" aren't the same any more.
As I stated above, I make no effort to address equivalence of the functions, nor of the arguments. I am addressing identity of the partial object, which I am defining as identity of the functions + identity of the args + equivalence of the keyword arguments after a deterministic process has been applied.
- Previous message: [Python-Dev] Possible patch for functools partial - Interested?
- Next message: [Python-Dev] Summary of Python tracker Issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]