[issue35083] Fix documentation for __instancecheck__

2020-12-15 Thread M. Eric Irrgang
M. Eric Irrgang added the comment: Actually, it looks like performance concerns were raised as issues [2303](https://bugs.python.org/issue2303) and [2534](https://bugs.python.org/issue2534). For #2534, the issue was different. For issue #2303, behavior-changing optimization was proposed.

[issue35083] Fix documentation for __instancecheck__

2020-12-15 Thread M. Eric Irrgang
M. Eric Irrgang added the comment: The optimization appears to have been made without this level of discussion. The change to PEP 3119 was likely overlooked. The intended PEP 3119 behavior seems clear and reasonable. r61575 was a small part of the SVN merge that became git commit

[issue35083] Fix documentation for __instancecheck__

2020-12-15 Thread M. Eric Irrgang
Change by M. Eric Irrgang : -- nosy: +eirrgang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35083] Fix documentation for __instancecheck__

2019-07-29 Thread Caleb Donovick
Change by Caleb Donovick : -- nosy: +donovick ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35083] Fix documentation for __instancecheck__

2018-11-22 Thread Julien Palard
Julien Palard added the comment: Currently [1] there's no concensus about: - Is this a documentation issue and we should document the optimisation? - Is the optimisation over-zealeous? [1]: https://mail.python.org/pipermail/python-ideas/2018-October/054342.html -- nosy: +mdk

[issue35083] Fix documentation for __instancecheck__

2018-10-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: python-ideas thread for the issue : https://mail.python.org/pipermail/python-ideas/2018-October/054335.html -- nosy: +xtreak ___ Python tracker

[issue35083] Fix documentation for __instancecheck__

2018-10-27 Thread Joy Diamond
New submission from Joy Diamond : This is a request to fix the documentation for __instancecheck__. Please add the following: """ (Note that any object `x` is always considered to be an instance of `type(x)`, and this cannot be overridden.) """ Consider the following program: class M(type):