Prev: getting rpy2 from repository
Next: cpan for python?
From: John Posner on 3 Mar 2010 11:32 On 3/3/2010 9:58 AM, John Posner wrote: > Film at 11, > John > Done -- see http://wiki.python.org/moin/FromFunctionToMethod -John
From: John Posner on 3 Mar 2010 12:02 On 3/3/2010 10:48 AM, Bruno Desthuilliers wrote: > > I spotted this: > > http://www.python.org/doc/faq/programming/#what-is-a-method > http://www.python.org/doc/faq/general/#why-must-self-be-used-explicitly-in-method-definitions-and-calls > > > Our text is probably a bit too long for a direct inclusion in the FAQ, > so I'd say it should go in the AdvancedTopics, and be linked from the FAQ. Linking from the FAQ means changing the official Python documentation, which requires lots of hoop-jumping-through. I suggest that we content ourselves with using the Wiki -- at least for now. > > Thanks for doing the grunt work. Pas de quoi. -John
From: Bruno Desthuilliers on 3 Mar 2010 12:03 John Posner a �crit : > On 3/3/2010 9:58 AM, John Posner wrote: > >> Film at 11, >> John >> > > Done -- see http://wiki.python.org/moin/FromFunctionToMethod Done and well done !-) Thanks again for the good job John. PS : Do you think it could be possible to add link to this page from the relevant FAQ items ? http://www.python.org/doc/faq/programming/#what-is-a-method http://www.python.org/doc/faq/general/#why-must-self-be-used-explicitly-in-method-definitions-and-calls
From: Eike Welk on 3 Mar 2010 18:33 Bruno Desthuilliers wrote: > John Posner a écrit : >> Done -- see http://wiki.python.org/moin/FromFunctionToMethod > > Done and well done !-) > Thanks again for the good job John. I like it too, thanks to both of you! I have two small ideas for improvement: - Swap the first two paragraphs. First say what it is, and then give the motivation. - The section about the descriptor protocol is a bit difficult to understand. But judging from the official descriptor documentation, it seems to be hard to explain: The official documentation is nearly incomprehensible (IMHO).
From: John Posner on 3 Mar 2010 18:56
On 3/3/2010 6:33 PM, Eike Welk wrote: > > I have two small ideas for improvement: > - Swap the first two paragraphs. First say what it is, and then give the > motivation. No problem -- since this is a Wiki, you can perform the swap yourself! (If you haven't done it in a day or so, I'll do the deed.) > - The section about the descriptor protocol is a bit difficult to > understand. But judging from the official descriptor documentation, it seems > to be hard to explain: The official documentation is nearly incomprehensible > (IMHO). I empathize -- it took me a while to grok descriptors. I was thinking today about "doing a Bruno", and producing similar pieces on: * properties created with the @property decorator * the descriptor protocol I'll try to produce something over the next couple of days. -John |