But the foo() finds the function to call, so foo.bind() could be made to find it too.
בתאריך יום ג׳, 20 בספט' 2016, 08:24, מאת Stefan Behnel <stefan...@behnel.de >: > אלעזר schrieb am 19.09.2016 um 17:59: > > If at all, it should be function.bind(). It was discussed and dropped; I > > don't remember why, but one problem is that it looks like an in-place > > modification. > > IMHO, the main drawback of that solution is that it only works for > functions and not for any other callable in Python. It would introduce an > inconsistency without solving the problem in general. > > Stefan > > > _______________________________________________ > Python-ideas mailing list > Python-ideas@python.org > https://mail.python.org/mailman/listinfo/python-ideas > Code of Conduct: http://python.org/psf/codeofconduct/
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/