[issue3214] Suggest change to glossary explanation: Duck Typing

2010-07-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Applied in r82790 by Georg, thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3214 ___ ___

[issue3214] Suggest change to glossary explanation: Duck Typing

2010-07-10 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed the first sentence in r82760. -- resolution: works for me - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3214

[issue3214] Suggest change to glossary explanation: Duck Typing

2010-07-10 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3214 ___ ___

[issue3214] Suggest change to glossary explanation: Duck Typing

2010-07-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Benjamin: Georg, you may also want to amend this entry for ABCs. Georg: ABCs are not duck-typing since they involve isinstance() anyway. Since ABCs provide virtual subclassing, using hasattr without requiring subclassing or registering, isn’t

[issue3214] Suggest change to glossary explanation: Duck Typing

2010-07-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Re-reading the glossary for both entries, they already link to each other, and the subtleties of ABCs can be learned later in their documentation. The glossary is good, sorry for the noise. -- ___

[issue3214] Suggest change to glossary explanation: Duck Typing

2010-07-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: To make one useful comment today: I noticed one missing :term: construct to link ABCs from duck typing. Attaching patch. -- keywords: +patch Added file: http://bugs.python.org/file17937/add-ref.diff

[issue3214] Suggest change to glossary explanation: Duck Typing

2010-07-09 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I actually would challenge the first sentence A pythonic programming style which determines an object’s type by inspection of its method or attribute signature . To me, and at least some usage on python-list, duck-typing means determining the

[issue3214] Suggest change to glossary explanation: Duck Typing

2010-07-08 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I actually would challenge the first sentence A pythonic programming style which determines an object’s type by inspection of its method or attribute signature . To me, and at least some usage on python-list, duck-typing means determining the

[issue3214] Suggest change to glossary explanation: Duck Typing

2008-07-02 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: While we are at it, should we keep this one as is? « Python3000 A mythical python release, not required to be backward compatible, with telepathic interface. » Not so mythical after all... missing the telepathic interface though.

[issue3214] Suggest change to glossary explanation: Duck Typing

2008-07-01 Thread Paddy McCarthy
Paddy McCarthy [EMAIL PROTECTED] added the comment: Hi Georg, A bit of relevant background about me: I've been interested in Duck Typing _specifically_ for a couple of years when I started watching edits to it on Wikipedia. I researched the history of the use of the term and changed the

[issue3214] Suggest change to glossary explanation: Duck Typing

2008-06-26 Thread Paddy McCarthy
New submission from Paddy McCarthy [EMAIL PROTECTED]: The official glossary entry here: http://docs.python.org/tut/node18.html#l2h-46 says: duck-typing Pythonic programming style that determines an object's type by inspection of its method or attribute signature rather than by explicit