[issue6761] Class calling

2020-10-27 Thread Éric Araujo
Change by Éric Araujo : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.9 -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.6, Python 3.7 ___ Python tracker

[issue6761] Class calling

2020-10-27 Thread miss-islington
miss-islington added the comment: New changeset 2cb259fcf3cde56f359c2f393280689784dcc834 by Miss Skeleton (bot) in branch '3.9': bpo-6761: Enhance __call__ documentation (GH-7987) https://github.com/python/cpython/commit/2cb259fcf3cde56f359c2f393280689784dcc834 --

[issue6761] Class calling

2020-10-27 Thread miss-islington
miss-islington added the comment: New changeset b1ce0440bfe87e092ca5e2e57875fb7fc1129137 by Miss Skeleton (bot) in branch '3.8': bpo-6761: Enhance __call__ documentation (GH-7987) https://github.com/python/cpython/commit/b1ce0440bfe87e092ca5e2e57875fb7fc1129137 --

[issue6761] Class calling

2020-10-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +21920 pull_request: https://github.com/python/cpython/pull/23005 ___ Python tracker ___

[issue6761] Class calling

2020-10-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 95f710c55714153f0c8cce48f8215bb3d866ac1d by Andre Delfino in branch 'master': bpo-6761: Enhance __call__ documentation (GH-7987) https://github.com/python/cpython/commit/95f710c55714153f0c8cce48f8215bb3d866ac1d -- nosy: +vstinner

[issue6761] Class calling

2020-10-27 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +21919 pull_request: https://github.com/python/cpython/pull/23004 ___ Python tracker

[issue6761] Class calling

2018-06-28 Thread Andrés Delfino
Andrés Delfino added the comment: The PR uses a slight rewording of David's phrasing. -- nosy: +adelfino versions: +Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___

[issue6761] Class calling

2018-06-28 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7598 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue6761] Class calling

2013-02-04 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6761 ___ ___ Python-bugs-list

[issue6761] Class calling

2009-08-24 Thread Stephen Fairchild
Stephen Fairchild signupaddr...@bethere.co.uk added the comment: On further reading it seems my objections only apply to new style classes. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6761

[issue6761] Class calling

2009-08-24 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: FYI, all special methods are (now) looked up on the type for new style classes. Your suggested rewrite makes things more confusing, IMO (partly because to make it accurate it would need to be something like type(x).__call__(x, *args,

[issue6761] Class calling

2009-08-24 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: For some reason the 3.2 docs don't contain the sentence you reference, but they do have the same mistake in section 3.4.4. Which is even more of a mistake in 3.x, since there are only new style classes there. -- versions: +Python

[issue6761] Class calling

2009-08-22 Thread Stephen Fairchild
New submission from Stephen Fairchild signupaddr...@bethere.co.uk: From: http://docs.python.org/reference/datamodel.html#the-standard-type-hierarchy Class instances Class instances are described below. Class instances are callable only when the class has a __call__() method; x(arguments) is