On Fri, Jun 15, 2012 at 9:52 AM, Benjamin Peterson <benjamin at python.org> wrote: > 2012/6/15 Larry Hastings <larry at hastings.org>: >> If I understand you correctly, you seem to be trying to apply >> "is_implemented" 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. > I agree. It seems to me is_implemented solves too small a class of the problem it attacks to be worth including in the signature. > > -- > Regards, > Benjamin > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: http://mail.python.org/mailman/options/python-dev/alexandre.zani%40gmail.com
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4