Re: [Python-ideas] Decide if `type.__subclasses__` is part of future Python or not

2018-10-29 Thread Terry Reedy
On 10/29/2018 2:25 PM, Joy Diamond wrote: Thanks, Storchaka for finding the documentation. Though it is really annoying I could not find it with a google search... Next time, start with our excellent index, which includes a page for words starting with '_'. There is another page for

Re: [Python-ideas] Decide if `type.__subclasses__` is part of future Python or not

2018-10-29 Thread Joy Diamond
Thanks, Storchaka for finding the documentation. Though it is really annoying I could not find it with a google search... I looked really hard before taking the time to write my message. Sorry to bother everyone with this. On Mon, Oct 29, 2018 at 2:22 PM Serhiy Storchaka wrote: > 29.10.18

Re: [Python-ideas] Decide if `type.__subclasses__` is part of future Python or not

2018-10-29 Thread Joy Diamond
Thanks for clarification that `type.__subclasses__` is remaining. I submitted a bug request to document `type.__subclasses__` URL: https://bugs.python.org/issue35106 (Hopefully I did it correctly, as I am just learning how to submit python bugs). On Mon, Oct 29, 2018 at 2:15 PM Guido van

Re: [Python-ideas] Decide if `type.__subclasses__` is part of future Python or not

2018-10-29 Thread Serhiy Storchaka
29.10.18 20:11, Joy Diamond пише: Currently `type.__subclasses__` is not documented at docs.python.org (and works in both python 2 & python 3). I would like to keep `.__subclasses__` and have it documented at docs.python.org . Is there a

Re: [Python-ideas] Decide if `type.__subclasses__` is part of future Python or not

2018-10-29 Thread Guido van Rossum
__subclasses__ is a runtime thing. As such it should probably be documented -- someone should submit a doc PR. I don't think that "overhaul" is the right word to describe what's going to happen with types in Python -- yes, we're adding optional static type checking, and yes, this will occasionally

[Python-ideas] Decide if `type.__subclasses__` is part of future Python or not

2018-10-29 Thread Joy Diamond
Greetings, Currently `type.__subclasses__` is not documented at docs.python.org (and works in both python 2 & python 3). I would like to keep `.__subclasses__` and have it documented at docs.python.org. Is there a reason it is not documented? I realize the whole type system is going an