É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
___
___
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
Changes by Éric Araujo mer...@netwok.org:
--
stage: - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3214
___
___
É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
É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.
--
___
É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
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
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
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.
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
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
11 matches
Mail list logo