Re: [Python-Dev] Review of PEP 362 (signature object)

2012-03-13 Thread Yury Selivanov
Guido, Brett, I've tried to use the proposed signature object, however, I found that the 'bind' method is incorrect, and came up with my own implementation of the PEP: https://gist.github.com/2029032 (If needed, I can change the licence to PSFL) I used my version to implement typechecking, ar

Re: [Python-Dev] Review of PEP 362 (signature object)

2012-03-12 Thread Brett Cannon
On Mon, Mar 12, 2012 at 20:51, Guido van Rossum wrote: > I'm very sympathetic to this PEP. I would accept it outright except I > have a few quibbles on details, and some questions and remarks. > > - There are several examples of poor English grammar, perhaps from > your co-author. Can you fix the

Re: [Python-Dev] Review of PEP 362 (signature object)

2012-03-12 Thread Nick Coghlan
On Tue, Mar 13, 2012 at 10:51 AM, Guido van Rossum wrote: > - I don't quite understand how bind() is supposed to work. Maybe an > example would help? (It could also use some motivation. I think this > is meant to expose a canonical version of the algorithm that maps > arguments to parameters. What

[Python-Dev] Review of PEP 362 (signature object)

2012-03-12 Thread Guido van Rossum
I'm very sympathetic to this PEP. I would accept it outright except I have a few quibbles on details, and some questions and remarks. - There are several examples of poor English grammar, perhaps from your co-author. Can you fix these? (Do you need me to produce a list?) - You're using an informa