[Python-Dev] PEP 362 Third Revision (original) (raw)
Benjamin Peterson benjamin at python.org
Fri Jun 15 18:52:05 CEST 2012
- Previous message: [Python-Dev] PEP 362 Third Revision
- Next message: [Python-Dev] PEP 362 Third Revision
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2012/6/15 Larry Hastings <larry at hastings.org>:
If I understand you correctly, you seem to be trying to apply "isimplemented" to the problem of predicting which specific inputs to a parameter would be valid. I don't think that problem is tractable--it's way too context-specific.
Exactly! It's too context sensitive to belong on a generic signature object. Without is_implemented, all the properties of the signature object should only change if you alter the parameter list. How a parameter is dealt with in the function should not affect the signature of a function.
-- Regards, Benjamin
- Previous message: [Python-Dev] PEP 362 Third Revision
- Next message: [Python-Dev] PEP 362 Third Revision
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]